/*
Theme Name:     Мастер Кровли
Theme URI:      
Description:    Дочерняя Twenty Seventeen
Author:         Sh4dow
Author URI:     
Template:       twentyseventeen
Version:        1.0
*/

.person {
    color: #ffffff;
}
@font-face {
font-family: 'Proxima Nova Regular';
src: url('css/ProximaNova-Regular.eot');
src: url('css/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),
url('css/ProximaNova-Regular.woff') format('woff'),
url('css/ProximaNova-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Proxima Nova Semibold';
src: url('css/ProximaNova-Semibold.eot');
src: url('css/ProximaNova-Semibold.eot?#iefix') format('embedded-opentype'),
url('css/ProximaNova-Semibold.woff') format('woff'),
url('css/ProximaNova-Semibold.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Proxima Nova Bold';
src: url('css/ProximaNova-Bold.eot');
src: url('css/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),
url('css/ProximaNova-Bold.woff') format('woff'),
url('css/ProximaNova-Bold.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
body, .container {
	min-width: 1140px;
}
.red-button {
	font-size: 16px;
	color: #fff;
	line-height: 36px; 
	border: none;
	background: #cd1313;
	padding: 0 25px;
	cursor: pointer;
	border-radius: 3px;
	text-transform: uppercase;
}
.red-button:hover {
	background: #fc1717;
}
.red-button:active {
	background: #aa0707;
}
.anchor {
	position: absolute;
	margin-top: -40px;
	display: block;
}

.slider-fullwidth {
	width: 100%;
	height: 650px;
	line-height: 650px;
}
.slider-fullwidth .viewport {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	font-size: 0;
	white-space: nowrap;
}
.slider-fullwidth .viewport .slide {
	display: inline-block;
	position: relative;
	font-size: 14px;
	width: 100%;
	text-align: center;
	height: 100%;
}
.slider-fullwidth .viewport .slide .wrapper {
	display: inline-block;
	vertical-align: middle;
	line-height: 100%;
	padding: 30px 50px;
	font-size: 74px;
	color: #fff;
	text-align: center;
	background: rgba(0,0,0,0.3);
}
.slider-fullwidth .viewport .slide .title {
	text-shadow: 0 0 5px rgba(0,0,0,0.75);
    font-family: 'Proxima Nova Bold';
}
.slider-fullwidth .viewport .slide .wrapper:hover {
	background: rgba(0,0,0,0.4);
}
.slider-fullwidth .viewport .slide .red-button {
	font-size: 16px;
	padding: 0 25px;
	line-height: 43px;
}


#top-menu {
	padding: 15px 0;
}
#top-menu ul {
	display: block;
	list-style: none;
	margin: 0 -10px;
	padding: 0;
}
#top-menu ul li {
	display: inline-block;
	margin: 0 2px 0 0;
	padding: 0;
	line-height: 36px; 
	font-size: 16px;
}
#top-menu li:before {
	content: " | ";
}
#top-menu li:first-child:before {
	content: "";
}
#top-menu li a {
	display: inline-block;
	padding: 0 10px;
	text-decoration: none;
	color: #000;
	text-transform: uppercase;
}

.logo a {
	display: block;
	padding: 5px 0;
	color: #333;
	text-decoration: none;
	line-height: 16px;
}
.logo a i {
	display: block;
	width: 120px;
	height: 50px;
	background: transparent url('./img/logo.png') 50% 50% no-repeat;
}
.logo a b {
	display: block;
	font-size: 19px;
	text-transform: uppercase;
}
.logo a span {
	display: block;
	text-transform: lowercase;
	font-size: 16px;
}
.logo a span.year {
	padding-top: 20px;
}
header {
	padding-top: 20px;
}
header .logo a {
	padding-left: 130px;
	padding-top: 12px;
}
header .logo a i {
	position: absolute;
	margin-left: -130px;
	top: 0;
}
header .contact {
	padding-left: 50px;
}
header .contact a {
	color: #333;
	display: block;
	padding: 7px 0;
}
header .contact .phone .icon1 {
	margin-left: -30px;
}
header .contact .address a {
	line-height: 16px;
}
header .contact .phone a {
	font-size: 18px;
	text-align: right;
	margin: 3px 0 -5px 0;
	line-height: 16px;
	margin-right: -15px;
}
footer .logo a {
	color: #fff;
}
footer .logo a i {
	width: 180px;
	height: 70px;
	margin-bottom: 10px;
	background: transparent url('./img/logo2.png') 50% 50% no-repeat;
}

.icon1 {
	background: transparent url('./img/iconset1.png') left top no-repeat;
	width: 40px;
	height: 40px;
	display: block;
	position: absolute;
	margin-left: -45px;
}
.icon1.icon-address { background-position: 0 0; }
.icon1.icon-email { background-position: -40px 0; }
.icon1.icon-phone { background-position: -80px 0; }
footer .icon1.icon-address { background-position: 0  -40px; }
footer .icon1.icon-email { background-position: -40px  -40px; }
footer .icon1.icon-phone { background-position: -80px  -40px; }

.advantages {
	background: #502d28 url('./img/advantages.jpg') left top repeat-x;
	padding: 30px 0 50px 0;
}
.advantages h3 {
	display: block;
	text-align: center;
	line-height: 60px;
	color: #fff;
	text-transform: uppercase;
	font-size: 24px;
}
.advantages h3:before {
	content: " ";
	display: inline-block;
	margin-right: 10px;
	margin-top: -20px;
	width: 80px;
	vertical-align: middle;
	height: 60px;
	background: transparent url('./img/advantages-house.png') left top no-repeat;
}
.advantages .wrapper {
	display: block;
	margin-top: 15px;
	position: relative;
	height: 90px;
	line-height: 95px;
	white-space: nowrap;
	opacity: 0.9;
	padding-left: 100px;
}
.advantages .wrapper .image {
	display: block;
	position: absolute;
	margin-left: -100px;
	top: 5px;
	width: 90px;
	height: 90px;
	background: #cd1313;
	border-radius: 50% 50%;
	vertical-align: middle;
}
.advantages .wrapper .image i{
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background: transparent 50% 50% no-repeat;
	background-size: auto;
}
.advantages .wrapper .title {
	white-space: normal;
	display: inline-block;
	line-height: 100%;
	color: #fff;
	vertical-align: middle;
    font-family: 'Proxima Nova Regular';
}


.about {
	background: #ffffff;
	padding: 30px 0 50px 0;
	position: relative;
	margin-bottom: 20px;
	box-shadow: 0 0 5px rgba(0,0,0,0.20);
	overflow: hidden;
	z-index: 999;
}
.about:before,
.about:after {
	z-index: 1;
        content: " ";
    display: block;
    position: absolute;
    right: 20px;
    bottom: -8px;
    width: 56%;
    height: 400px;
    min-width: 1800px;
    background: transparent url(./img/house-left.png) left no-repeat;
}
.about:after {
	right: auto;
	background: transparent url('./img/house-right.png') right bottom no-repeat;
}
.about .title {
	margin: 10px 0;
	padding: 0;
	display: block;
    font-family: 'Proxima Nova Semibold';
	font-size: 36px;
	font-weight: bold;
	z-index: 998;
}
 .about .container {
	 z-index: 998;
	 }
.about .text {
	font-size: 16px;
	z-index: 998;
}
#footer {
	background: #000000;
	max-height: 241px;
	padding: 20px 0 0 0;
}
#footer .logo {
	padding-top: 10px;
}
#footer .bottom-menu {
	padding-top: 10px
	list-style: none;
}
#footer .bottom-menu li {
	display: block;
	margin: 0 0 5px 0;
	padding: 0;
}
#footer .bottom-menu li a {
	color: #fff;
	text-decoration: underline;
}
#footer .bottom-menu li a:hover {
	color: #eee;
}
#footer .contact,
#footer .contact a {
	color: #fff; 
	font-size: 15px;
}
#footer .contact > div {
	display: block;
	margin-bottom: 5px;
}
#footer .contact a {
	display: block;
	padding: 5px 0;
}
#footer .contact .phone .icon1 {
	margin-top: -5px;
}
#footer .contact .address a {
	line-height: 14px;
}
#footer .contact .phone a {
	font-size: 17px;
	margin: 3px 0 -5px 0;
	line-height: 14px;
}

.steps .list {
	display: block;
	margin: 90px 0 80px 0;
	height: 110px;
	padding: 0 30px;
	position: relative;
}
.steps .list:before,
.steps .list:after {
	content: " ";
	background: #cd1313;
	width: 8px;
	height: 8px;
	border-radius: 50% 50%;
	position: absolute;
	display: block;
	left: 15px;
	top: 50%;
	margin-top: -4px;
	z-index: 50;
}
.steps .list:after {
	left: auto;
	right: 15px;
}
.steps .list .wrapper1 {
	position: relative;
	margin: 0 -15px;
	padding-left: 15px;
}
.steps .list .wrapper1:before {
	content: " ";
	width: 100%;
	height: 2px;
	z-index: 50;
	display: block;
	position: absolute;
	background: #cd1313;
	top: 50%;
	left: 0;
	margin-top: -1px;
}
.steps .list .steps-item {
	position: relative;
	z-index: 100;
}
.steps .list .steps-item .wrapper {
	width: 170px;
	position: relative;
}
.steps .list .steps-item .title {
	display: block;
	position: absolute;
	width: 100%;
    font-family: 'Proxima Nova Semibold';
	bottom: 100%;
	padding: 0 5px 15px 5px;
	text-align: center;
	font-size: 16px;
	color: #333;
}
.steps .list .steps-item .image {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 110px;
	height: 110px;
	border: #cd1313 2px solid;
	background: #eee;
	border-radius: 50% 50%;
	cursor: pointer;
}
.steps .list .steps-item:hover .image {
	background: #cd1313;
}
.steps .list .steps-item .image i {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background: transparent 50% 50% no-repeat;
}
.steps .list .steps-item .image i:nth-child(2) { display: none; }

.steps .list .steps-item:hover .image i { display: none; }
.steps .list .steps-item:hover .image i:nth-child(2) { display: block; }

.services {
	padding: 50px 0 50px 0;
    font-family: 'Proxima Nova Semibold';
}
h3 {
	margin-bottom: 30px;
    font-family: 'Proxima Nova Semibold';
}
.services .wrapper {
	text-align: center;
	margin: 0 0 30px 0;
}
.services .wrapper .image {
	display: block;
	height: 330px;
	position: relative;
    background: url('/wp-content/uploads/2017/06/bg333.png');
}
.services .wrapper .image i,
.services .wrapper .image .overlay {
	display: block;
	position: absolute;
	background: transparent 50% 50% no-repeat;
	width: 100%;
	height: 100%;
	z-index: 50;
    
}

.services-74 .wrapper .image i {
/*    width: 170px!important;*/
}
.services .wrapper .image i {
    width: 100%;
    height: 100%;
}
.services .wrapper .image .overlay {
	z-index: 100;
	background: rgba(0,0,0,0.5);
	padding-top: 35%;
	display: none;
}
.services .wrapper:hover .image .overlay {
	display: block;
}
.services .wrapper .title {
	color: #333;
	font-size: 16px;
	display: block;
    padding: 10px 0 25px 0;
    min-height: 110px;
	border: #eee 1px solid;
	border-radius: 0 0 4px 4px;
    font-family: 'Proxima Nova Regular';
}
.services .wrapper .price {
	color: #333;
	font-size: 21px;
	display: block;
	position: absolute;
	width: 100%;
	bottom: 45px;
	margin-left: -15px;
	font-weight: bold;
}

.reviews .viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	font-size: 0;
	white-space: nowrap;
	margin: 0 -15px;
}
.reviews .pages {
	list-style: none;
	text-align: center;
	margin: 10px 0 40px 0;
}
.reviews .pages li {
	display: inline-block;
	margin: 0 2px;
	padding: 0 1px;
	font-size: 0;
	width: 14px;
	height: 14px;
	border: #fff 1px solid;
	border-radius: 50% 50%;
	cursor: pointer;
}
.reviews .pages li a {
	display: inline-block;
	margin: 2px 1px;
	font-size: 0;
	width: 8px;
	height: 8px;
	background: #333;
	border-radius: 50% 50%;
}
.reviews .pages li:hover { border-color: #aaa; }
.reviews .pages li.active { border-color: #333; }
.reviews-item {
	display: inline-block;
	vertical-align: top;
	width: 25%;
	font-size: 16px;
	white-space: normal;
}
.reviews-item .wrapper .image img{
        width: 265px;
  background-color: rgb(247, 247, 248);
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.35);
      height: 370px;
}
.reviews-item .wrapper {
	margin: 0 15px 20px 15px;
}
.reviews-item .wrapper .image {
	height: 370px;
	position: relative;
}
.reviews-item .wrapper .image i {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background: transparent 50% 50% no-repeat;
	background-size: cover;
}
.reviews-item .wrapper .bottom {
	padding: 10px 30px;
}
.reviews-item .wrapper .title {
	font-size: 20px;
	display: block;
	padding-bottom: 5px;
}
.reviews-item .wrapper .text {
	position: relative;
	margin: 0 35px 0 35px;
	text-align: justify;
    font-style: italic;
}
.reviews-item .wrapper .text:before,
.reviews-item .wrapper .text:after {
	display: inline-block;
	content: " ";
	width: 24px;
	height: 20px;
	position: absolute;
	background: transparent url('./img/q1.png') 50% 50% no-repeat;
	left: -33px;
	top: 0;
}
.reviews-item .wrapper .text:after {
	left: auto;
	top: auto;
	right: -30px;
	bottom: 5px;
	background: transparent url('./img/q2.png') 50% 50% no-repeat;
}


.request-consult {
	background: #502d28 url('./img/advantages.jpg') left top repeat-x;
	padding: 30px 0;
    font-family: 'Proxima Nova Bold';
}
.request-consult .wpcf7-text {
	display: block;
	width: 100%;
	position: relative;
	border: none;
	border-radius: 4px;
	background: #fff;
	color: #333;
	padding: 0 15px;
	line-height: 45px;
	height: 45px;
}
.request-consult .red-button {
	line-height: 45px;
	width: 100%;
}
.request-consult .left {
	color: #fff;
	font-size: 26px;
	line-height: 26px;
	margin-top: -5px;
}
.request-consult .left b,
.request-consult .left span {
	display: block;
}
.request-consult .left b {
	font-size: 30px;
}

.request-consult .wpcf7-response-output {
	color: #fff;
	padding: 15px 30px;
	margin: 10px 0 0 0;
}
.request-consult .row .row {
	width: 113%;
}
.request-consult .col-9 > p { display: none; }


.request-valuation {
	padding: 160px 0 0 0;
	min-height: 640px;
	background: transparent url('./img/request.jpg') 50% top no-repeat;
	background-size: cover;
}
.request-valuation .form-outer {
	background: #fff;
	padding: 18px;
	max-width: 800px;
	margin: 0 auto;
}
.request-valuation .form-inner {
	border: #bd1c18 2px solid;
	padding: 30px 60px;
}
.request-valuation .wpcf7-text {
	display: block;
	width: 100%;
	position: relative;
	border: #eee 1px solid;
	border-radius: 4px;
	background: #fff;
	color: #333;
	padding: 0 15px;
	line-height: 45px;
	height: 45px;
}
.request-valuation .red-button {
	line-height: 45px;
	width: 100%;
	font-size: 15px;
}
.request-valuation .title {
	font-size: 35px;
	text-align: center;
	padding-bottom: 30px;
	font-family: 'Proxima Nova Bold';
	line-height: 40px;
}
.request-valuation .notice {
	font-size: 14px;
	padding-top: 0px;
	text-align: center;
}
.request-valuation .wpcf7-form.sent .title,
.request-valuation .wpcf7-form.sent .form-wrapper,
.request-valuation .wpcf7-form.sent .notice {
	display: none;
}
.request-valuation .wpcf7-form.sent .wpcf7-response-output {
	border: none;
	text-align: center;
	font-size: 20px;
}

span.wpcf7-not-valid-tip {
	font-size: 12px;
	padding: 0 5px;
}

#footer .created a {
	display: block;
	margin-left: -40px;
	margin-top: 10px;
	font-size: 12px;
}
#footer .created a span {
	display: block;
	white-space: nowrap;
	padding: 0 0 5px 0;
}
#footer .created a img {
	max-width: 90%;
}

.line{
	display: flex;
	flex-flow: row;
	justify-content: space-evenly;
	min-height: 242px;
	vertical-align: center;
	margin: auto 0;
}
.fill{
	position: relative;
	z-index: 2;
	margin: 0 auto;
	padding: 23px;
	border: 1px solid #cd1313;
	/*height: 93px;*/
	/*width: 93px;*/
	border-radius: 68%;
	background: white;
}
.fill svg{
	height: 53px;
	width: 60px;
}

.fill:hover{
	background: #cd1313;
	cursor: pointer;
}

.fill:hover path.fil0 {
	fill: #ffffff;
}
.inline-svg{
	display: flex;
	flex-flow: column;
	vertical-align: middle;
}
.inline-svg h3{
	font-size: 15px;
	color: #0A246A;
	text-align: center;
}
#hr-inline{
	background:#cd1313;
	position: absolute;
	top: 53%;
	z-index: 1;
	height: 1px;
	width: 96%;
}
#hr-inline::before{
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #cd1313;
	left: 0;
	top: -8px;
	bottom: -3px;

}
#hr-inline::after{
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #cd1313;
	right: 0;
	top: -8px;
	bottom: -3px;

}
.my-file{
	background: url("./svg/file.svg") center center no-repeat;
	height: 10px;
	width: 14px;


}
.my-file input{
	opacity: 0;
	width: 28px !important;
}
span.hideinput input[name=hideinput]{
	width: auto;
	border: none;

}
