/* Clear */
*{
	margin:0; padding:0;
}
a:link, a:visited, a:hover, a:focus, a:active {
	color:#000;
	border:0;
	outline:0;
	text-decoration:none;
}
input:focus, button, button:active, button:focus, textarea{ 
 	border:0;
	outline:0;
}
button::-moz-focus-inner, input[type="button"]::-moz-focus-inner{
	border:none;
}


/* Constants */
body{
	-webkit-text-size-adjust:100%;
	font-family:'Open Sans';
	line-height:1.2;
}
header,section,footer{
	position:relative;
	display:block;
	width:100%;
	min-width:980px;
}
.error::-webkit-input-placeholder{color:#fff;} .error::-moz-placeholder{color:#fff;} .error:-moz-placeholder{color:#fff;} .error:-ms-input-placeholder{color:#fff;}
.error{
	border-color:#CD5C5C !important;
}
.clearfix::after{
	content:"";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
.box{
	position:relative;
	margin:0 auto;
	width:980px;
}
.tac{
	text-align:center;
}
.vam::before{
	content:'';
	display:inline-block;
	vertical-align:middle;
	height:100%;
}


/* Custom constants */
.h2{
	text-transform:uppercase;
	font:400 36px 'Open Sans';
	color:#4d4d4d;
}
.form-wrapper{
	float:left;
	width:308px;
	height:239px;
	
	border:18px solid #9dbd24;
	border-top:11px solid #9dbd24;
	-webkit-border-image:url(../assets/images/border-form.png)11 18 18 18 stretch stretch;
    -moz-border-image:url(../assets/images/border-form.png)11 18 18 18 stretch stretch;
    -o-border-image:url(../assets/images/border-form.png)11 18 18 18 stretch stretch;
	border-image:url(../assets/images/border-form.png)11 18 18 18 stretch stretch;
	
	background:rgba(255,255,255,0.75);
	background-clip:padding-box;
	box-shadow:inset 0 4px 4px rgba(0,0,0,0.35);
}
.form-wrapper form{
	padding-top:38px;
}
.form-wrapper form input[type="text"]{
	box-sizing:border-box;
	margin-bottom:21px;
	padding-left:8px;
	
	width:274px;
	height:37px;
	border:1px solid rgb(149,149,149);
	border-radius:4px;
	box-shadow:-3px -2px 3px rgba(0,0,0,0.25);
	
	font:14px 'Open Sans';
}
.form-wrapper form input[type="submit"]{
	margin-top:12px;
	width:269px;
	height:42px;
	border:1px solid rgba(108,161,35,0.5);
	border-radius:4px;
	
	background: rgb(82,192,14);
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUyYzAwZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxZTYyMWQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(82,192,14,1) 0%, rgba(30,98,29,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(82,192,14,1)), color-stop(100%,rgba(30,98,29,1)));
	background: -webkit-linear-gradient(top,  rgba(82,192,14,1) 0%,rgba(30,98,29,1) 100%);
	background: -o-linear-gradient(top,  rgba(82,192,14,1) 0%,rgba(30,98,29,1) 100%);
	background: -ms-linear-gradient(top,  rgba(82,192,14,1) 0%,rgba(30,98,29,1) 100%);
	background: linear-gradient(to bottom,  rgba(82,192,14,1) 0%,rgba(30,98,29,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#52c00e', endColorstr='#1e621d',GradientType=0 );
	background-clip:padding-box;
	
	text-shadow:0 3px 5px rgba(70,137,2,0.5);
	
	font:600 18px 'Open Sans';
	color:#fff;
	cursor:pointer;
}
.form-wrapper form input[type="submit"]:hover{
	box-shadow:inset 0 0 8px rgba(0,0,0,0.5);
}
.form-wrapper form input[type="submit"]:active{
	box-shadow:inset 0 0 14px 2px rgba(0,0,0,0.5);
}


/* Шапка */
header{
	min-height:800px;
	background:url(../assets/images/bg-1.jpg)center top no-repeat;
	color:#fff;
}
.header-top-slogan{
	float:left;
	box-sizing:border-box;
	padding:19px 0 0 20px;
	width:400px;
	min-height:153px;
}
.header-top-slogan h3{
	text-transform:uppercase;
	font:400 24px/1.26 'Open Sans';
}
.header-top-slogan p{
	font-size:14px;
}
.header-top-contacts{
	float:right;
	box-sizing:border-box;
	padding:16px 20px 0 0;
	width:260px;
}
a.htc-phone{
	display:inline-block;
	width:260px;
	padding-bottom:5px;
	
	font-size:18px;
}
a.htc-phone:hover{
	color:#fff;
}
a.htc-phone strong{
	font-weight:700;
}
a.callback-btn{
	display:inline-block;
	position:relative;
	box-sizing:border-box;
	margin:0 0 20px 20px;
	padding:10px 0 0 52px;
	
	width:220px;
	height:40px;
	border-radius:5px;
	background:#619424;
	text-transform:uppercase;
	
	font-size:14px;
	color:#fff;
}
a.callback-btn:hover{
	background:#4a7d0e;
}
a.callback-btn::before{
	content:'';
	position:absolute;
	top:10px;
	left:20px;
	
	width:20px;
	height:20px;
	background:url(../assets/images/icon-1.png)no-repeat;
}
.htc-address{
	padding:6px 0 0 10px;
	font-size:14px;
}
.htc-address a{
	color:#619424;
}
.htc-address a:hover{
	color:#4a7d0e;
}

.header-main h1{
	padding:21px 0 20px;
	text-transform:uppercase;
	font:400 36px/1.2 'Open Sans';
}
.header-main-content{
	position:relative;
	margin:0 auto;
	width:980px;
	height:360px;
}
.hmc-details{
	position:absolute;
	box-sizing:border-box;
	padding:9px 0 0 19px;
	
	width:137px;
	height:80px;
	background:rgba(23,73,126,0.7);
	cursor:pointer;
}
.hmc-details:hover{
	background:rgba(23,73,126,1);
}
.hmc-details h3{
	padding-bottom:1px;
	font:400 24px 'Open Sans';
}
.hmc-details span{
	font-size:14px;
}
.hmc-details:nth-of-type(-1n+3)::after{
	content:'';
	position:absolute;
	top:0;
	right:-23px;
	
	width:0;
	height:0;
	border-top:40px solid transparent;
	border-bottom:40px solid transparent;
	border-left:23px solid rgba(23,73,126,0.7);
}
.hmc-details:nth-of-type(-1n+3):hover::after{
	border-left:23px solid rgba(23,73,126,1);
}
.hmc-details:nth-of-type(1n+4){
	padding:9px 19px 0 0;
	text-align:right;
}
.hmc-details:nth-of-type(1n+4)::after{
	content:'';
	position:absolute;
	top:0;
	left:-23px;
	
	width:0;
	height:0;
	border-top:40px solid transparent;
	border-bottom:40px solid transparent;
	border-right:23px solid rgba(23,73,126,0.7);
}
.hmc-details:nth-of-type(1n+4):hover::after{
	border-right:23px solid rgba(23,73,126,1);
}
#hmc-detail-1{
	top:20px;
	left:0;
}
#hmc-detail-2{
	top:120px;
	left:0;
}
#hmc-detail-3{
	top:220px;
	left:0;
}
#hmc-detail-4{
	top:20px;
	right:0;
}
#hmc-detail-5{
	top:120px;
	right:0;
}
#hmc-detail-6{
	top:220px;
	right:0;
}
#hmc-car{
	position:absolute;
	top:68px;
	left:202px;
}


/* Форма-1 */
.form{
	min-height:190px;
	color:#fff;
}
.form-1{
	background:url(../assets/images/bg-2.jpg)center no-repeat;
}
.form h3{
	padding:33px 0px 25px;
	font-weight:400;
	font-size:24px;
}

.form .form_div
{
	padding-left:1;0px;
}

.form .form_div input{
	margin-right:16px;
	padding-left:18px;
	
	width:200px;
	height:38px;
	border:1px solid #fff;
	background:transparent;
	
	font:18px 'Open Sans';
	color:#fff;
}
.form .form_div .client-button{
	width:220px;
	height:40px;
	border-radius:5px;
	background:#619424;
	
	font:18px 'Open Sans';
	color:#fff;
	cursor:pointer;
}
.form .form_div .client-button:hover{
	background:#4a7d0e;
}


/* Услуги */
.services{
	min-height:460px;
}
.services h2{
	padding:58px 0 39px;
}
.services-content{
	padding:0 0px;
}
.services-content-cell{
	display:inline-block;
	margin-right:18px;
	vertical-align:top;
	text-align:center;
}
.services-content-cell:last-child{
	margin-right:0;
}
.services-content-cell>div{
	margin-bottom:15px;
	width:138px;
	height:138px;
	border:1px solid #17497e;
	border-radius:50%;
	background:url(../assets/images/sprite-services.png)no-repeat;
}
.services-content-cell>div:hover{
	background-color:#17497e;
}
#scc-1{
	background-position:0 0;
}
#scc-2{
	background-position:-160px 0;
}
#scc-3{
	background-position:-320px 0;
}
#scc-4{
	background-position:-480px 0;
}
#scc-5{
	background-position:-640px 0;
}
#scc-6{
	background-position:-800px 0;
}
#scc-1:hover{
	background-position:0 -138px;
}
#scc-2:hover{
	background-position:-160px -138px;
}
#scc-3:hover{
	background-position:-320px -138px;
}
#scc-4:hover{
	background-position:-480px -138px;
}
#scc-5:hover{
	background-position:-640px -138px;
}
#scc-6:hover{
	background-position:-800px -138px;
}
.services-content-cell figcaption{
	font-size:18px;
}


/* Почему с нами выгодно */
.advantage{
	min-height:680px;
}
.advantage h2{
	padding:58px 0 41px;
}
.advantage-table{
	display:table;
}
.advantage-row{
	display:table-row;
}
.advantage-cell{
	display:table-cell;
	width:490px;
}
.advantage-cell div{
	display:inline-block;
}
.advantage-cell:first-child{
	text-align:right;
}
.advantage-cell .dac-img{
	width:138px;
	height:138px;
	border:1px solid #17497e;
	background:#17497e url(../assets/images/sprite-advantage.png)no-repeat;
}
.advantage-cell .dac-img:hover{
	background-color:#fff;
}
.advantage-cell:first-child .dac-img{
	float:right;
	margin:8px 10px 12px 20px;
}
.advantage-cell:last-child .dac-img{
	float:left;
	margin:8px 20px 12px 10px;
}
.advantage-cell .dac-txt{
	width:300px;
	color:#4c4c4c;
}
.advantage-cell .dac-txt h3{
	padding-bottom:11px;
	font:400 24px 'Open Sans';
}
.advantage-cell .dac-txt p{
	font-size:18px;
}
#dac-img-1{
	background-position:0 0;
}
#dac-img-2{
	background-position:-160px 0;
}
#dac-img-3{
	background-position:0 -160px;
}
#dac-img-4{
	background-position:-160px -160px;
}
#dac-img-5{
	background-position:0 -320px;
}
#dac-img-6{
	background-position:-160px -320px;
}
#dac-img-1:hover{
	background-position:-300px 0;
}
#dac-img-2:hover{
	background-position:-460px 0;
}
#dac-img-3:hover{
	background-position:-300px -160px;
}
#dac-img-4:hover{
	background-position:-460px -160px;
}
#dac-img-5:hover{
	background-position:-300px -320px;
}
#dac-img-6:hover{
	background-position:-460px -320px;
}


/* Форма 2 */
.form-2{
	background:url(../assets/images/bg-3.jpg)center no-repeat;
}


/* Отзывы */
.feedbacks{
	min-height:560px;
}
.feedbacks h2{
	padding:8px 0 40px;
}
.feedbacks-slider-photo{
	float:left;
}
.feedbacks-slider-txt{
	margin:9px 0 0 340px;
	width:500px;
	
	font:italic 18px 'Open Sans';
	line-height:1.2;
	color:#4c4c4c;
}
.feedbacks-slider li{
	min-height:266px;
}
.feedbacks-slider li::before,
.feedbacks-slider li::after{
	content:'';
	position:absolute;
	
	width:60px;
	height:45px;
	background:url(../assets/images/quotes.png)no-repeat;
}
.feedbacks-slider li::before{
	top:0;
	right:0;
}
.feedbacks-slider li::after{
	bottom:0;
	left:240px;
}
.feedbacks-slider-name{
	margin:23px 0 0 340px;
	width:500px;
	text-align:right;
	
	font-size:18px;
	color:#4c4c4c;
}


/* Местоположение */
.map-wrapper{
	position:relative;
	width:100%;
	height:400px;
	background:url(../assets/images/map.jpg)center no-repeat;
}
.map-txt{
	position:absolute;
	top:60px;
	left:50%;
	margin-left:70px;
	padding:0 30px;
	
	width:280px;
	height:260px;
	background:rgba(0,0,0,0.8);
	color:#fff;
}
.map-txt h3{
	padding:21px 0 8px;
	border-bottom:1px solid #f8f8f8;
	font:400 24px 'Open Sans';
}
.map-txt p{
	padding:2px 0 7px;
	font-size:18px;
}
.map-txt a{
	position:relative;
	top:2px;
	
	font-size:18px;
	color:#fff;
}
.map-txt a:hover{
	text-decoration:underline;
}


.vd {
	display:block;
	color:red;
}

