@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300&subset=latin,cyrillic);

/* HTML5 display-role reset for older browsers */
article, footer, header, menu, nav, section, figcaption { 
	display: block; 
}
*{
	margin: 0;
	padding: 0;
}
html,
body{
    background-image: url(img/back_fon.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;	
	font: 15px 'Times New Roman', Times, serif;

}



h1{
	color: #fff;
	padding-bottom: 20px;
}
h2{
	color: #fff;
	padding: 10px 10px 10px 0;
	position: relative;
    font-family: Trebuchet MS;
	font-size: 21px;	
}
h2:after {
    width: 10%;
    height: 1px;
    position: absolute;
    bottom: 6px;
    left: 0%;
    background: #fff;
    content: '';
}	
ul li,ol li{
	list-style-position: inside;
	padding-left: 20px;
}
p,ul{
	padding-bottom: 10px;
}

a{
	color: #E8AC72;
}

img.img-single{
	float: left;
    margin-right: 20px;
    border: 3px solid #464646;	
}

#map{
	float: right;
	margin-left: 20px;
	background: #c0c0c0;
	width: 48%;
	overflow: hidden;
}

/* ШАПКА САЙТА */
header{
	width: 1024px;
	margin: 0 auto;
	color: #fff;
	height: 150px;
}

header .headContact{
	height: 40px;
}
	header .headContact p{
		float: right;
		font-size: 19px;
		background: #000;
		padding: 2px 5px;
		margin: 4px 0;
	}
	header .headContact p a{
		padding: 0 20px;
		text-decoration: none;
	}	
	.bold{
		font-weight: bold;
		font-size: 110%;
	}		
	header .headContact p a:hover{
		color: #BD423E
	}
header .headInfo{
	width: 100%;
	background: rgba(70,84,94,0.5);
	position: absolute;
	left: 0;
	right: 0;
	height: 80px;
}
header .headContent{
	height: 80px;
	position: relative;
	width: 1020px;
	margin: 0 auto;
	background: #343434;
}
header a img{
	position: absolute;
	top: -28px;
	width: 100px;
	padding: 0 10px;
	left: 0;
}
header .headTitle{
	margin-left: 130px;
    font-size: 18px;
    width: 25%;
    padding: 17px 0;
    float: left;
}
	header .headTitle p#head {
		font-size: 23px;
		font-weight: bold;
		padding: 0;
	}
	header .headTitle p#desc{
		font-size: 17px;
		color: #c0c0c0;
		line-height: 13px;
		padding: 0;
	}	
header .headMenu{	
	float: right;
	font-size: 18px;
	padding: 28px 30px 0 0;
}
header ul li{
	display: inline;
	padding: 0 10px;
}
header a{
	color: #fff;
	text-decoration: none;
}
header a:hover{
	text-decoration: underline;
	color: #c0c0c0;
}

/* ОСНОВНОЙ МАКЕТ */
div.main{
	background: rgba(6,22,33,0.6);
	color: #E2E2E2;
	padding: 20px;
	font: 15px Trebuchet MS;
	line-height: 1.5;	
	width: 980px;
	margin: 0 auto;
	overflow: hidden;
}

/* БЛОКИ ДЛЯ ГЛАВНОЙ */
p.text1-quotes{
	font: 30px 'Times New Roman', Times, serif;
	text-align: center;
	position: relative;
	margin: 15px 0 10px 0;
	color: #FBC68B;	
	text-transform: uppercase;
}
/* p.text1-quotes:before{
	position: absolute;
	top: 25px;
	font-size: 36px;
	content: "«";
	left: 23%;
}
p.text1-quotes:after{
	position: absolute;
	top: 25px;
	font-size: 36px;
	content: "»";
	right: 23%;
} */

p.text2-blackfon{
	font: 23px 'Times New Roman', Times, serif;
	background: #000;
	padding: 15px 20px;
	margin: 20px -20px;
	color: #c0c0c0;
	text-align: center;
	border-top: 5px solid rgba(210, 210, 210, 0.2);
	border-bottom: 5px solid rgba(210, 210, 210, 0.2);
}	
.mainBlocks{
	overflow: hidden;
	margin: 20px 0;
}
.mainBlocks a{
	/* font: 18px Courier New, monospace; */
    text-align: center;
    width: 22%;
    padding: 25px 0;
    background: rgba(0,0,0,0.4);
    float: left;
    margin: 5px 14px;
    position: relative;
}
.mainBlocks a{
	color: #fff;
	text-decoration: none;
}
.mainBlocks a:hover{
	background: rgba(0,0,0,0.6)
}
.mainBlocks a p{
	padding-top: 10px;
	font-size: 15px;
}
.mainBlocks a span,
span.red{
	color: #ff0000;
}
.text3-left-quotes{
	width: 73%;
	text-align: left;
	margin: 30px auto;
	position: relative;
}

div.license{
	position: absolute;
    width: 100%;
    background: rgba(0,0,0,0.5);
	left: 0;
	right: 0;	
}
div.license .center{
	width: 1000px;
	margin: 0 auto;
}
div.license .center div{
	width: 50%;
	float: left;
}
div.license .center div + div p{
	padding-top: 25px;
}
/* div.license .center div{
	width: 77%;
	margin: 0 auto;
} */
div.license img{
	float: left;
/* 	padding: 0 25px; */
    padding: 0 15px;
	height: 162px;
}
div.license p{
	color: #c0c0c0;
	padding: 5px;

}
div.license div{
    overflow:hidden;
	background: none;
}	

div.listAct{
	overflow: hidden;
	padding: 10px;
}
div.listAct div{
	float: left;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	margin: 6px;
	height: 225px;

	line-height: 1.2;
	width: 32%;
}
div.listAct div img{
	width: 100%;
	-webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;	
}
div.listAct div:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
	z-index: 1020;
}
div.listAct div:hover a{
	color: #000;
	background: rgba(255,255,255,0.3);
}	
div.listAct div a{
	font-size: 22px;
    position: absolute;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    left: 3px;
    right: 3px;
	top: 3px;
	bottom: 3px;	
    text-align: left;
    font-weight: bold;
    padding: 30px 15px;
	z-index: 1030;
	text-decoration: none;
}
div.listAct div a:after{
    width: 31%;
    height: 1px;
    position: absolute;
    left: 8%;
    background: #fff;
    content: '';
    top: 47%;
}
ul.listul{
	padding-bottom: 20px;
}
ul.listul li{
	position: relative;
    list-style-image: url(img/galka.png);
	padding-bottom: 5px;
}
div.clients{
	text-align: center;
}	
div.clients img{
	padding: 0 1%;
}


/* ФУТЕР */
footer{
	width: 1020px;
	margin: 0 auto;
}
footer.foot{
	height: 100px;
	background: rgba(6,22,33,0.6);
	margin-top: 30px;
	color: #fff;
	font-size: 17px;
}
.foot p{
	background: #000;
	padding: 10px 50px;
	position: relative;
	top: 20px;
	text-align: center;
}
.telFooter{
	float: left;
}
.telFooter a{
	text-decoration: none;
	color: #fff;
}
.yearFooter{
	float: right;
}
.yearFooter a{
	color: #fff;
	text-decoration: none;
}

div.answer{
	text-align: center;
    padding: 15px 0;
    background: rgba(0,0,0,0.5);
	margin: 20px -20px 0 -20px;
}
div.answer p{
	padding: 0;
	font-weight: bold;
}
input[type="text"]{
    border: 1px solid #756D66;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    padding: 8px;
    width: 20%;
    color: #848484;
    background: #fff;
}	
.zakaz_button {
    color: #fff;
    text-decoration: none;
    background: #756D66;
    padding: 6px 35px;
    outline: none;
    margin: 15px 10px 0px 11px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 17px;
}	
/*
--------------------- 
-> БЛОК: Заказ звонка, вызов замерщика и т.д.
---------------------
*/
.modal_div {
	border-radius: 5px;
	border: 3px #000 solid;
	background: #fff;
	position: fixed; /* чтобы окно было в видимой зоне в любом месте */
	top: 50%; /* отступаем сверху 45%, остальные 5% подвинет скрипт */
	left: 50%; /* половина экрана слева */
	margin-top: -190px;
	margin-left: -140px; /* тут вся магия центровки css, отступаем влево и вверх минус половину ширины и высоты соответственно =) */
	display: none; /* в обычном состоянии окна не должно быть */
	opacity: 0; /* полностью прозрачно для анимирования */
	z-index: 1200; /* окно должно быть наиболее большем слое */
	padding: 20px 10px;
	text-align:center;
	width:240px;
}
.modal_div p{
	text-align: left;
	margin: 10px 0;
	font-size: 13px;
}
.modal_div span{
	font-size: 20px;	
	color: #696969;
	display: block;
}
.wrap_modal span{
	text-decoration: underline;
}
/* Кнопка закрыть для тех кто в танке) */
.modal_close {	
	height: 15px;
	position: absolute;
	top: 5px;
	right: 8px;
	cursor: pointer;
	display: block;
}
/* Подложка */
#overlay {
	z-index: 1200; /* подложка должна быть выше слоев элементов сайта, но ниже слоя модального окна */
	position: fixed; /* всегда перекрывает весь сайт */
	background: rgba(0, 0, 0, 0.85);
	width: 100%; 
	height: 100%; /* размером во весь экран */
	top: 0; 
	left: 0; /* сверху и слева 0, обязательные свойства! */
	cursor: pointer;
	display: none; /* в обычном состоянии её нет) */
	overflow: auto;
}

.notification_ok{
	background: #565656;
	padding: 10px;
	font-size: 18px;
	color: #fff;
	}	
.wrap_modal input[type="text"]{
    width: 90%;
}	

/* Прайс */
table.price{
	width: 100%;
	text-align: left;
	margin: 30px 0;
	border-collapse: collapse;
}
table.price td,
table.price th{
	padding: 10px;
}
table.price tr.th{
background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-weight: bold;
}
table.price tr{
	background: rgba(0, 0, 0, 0.45);

}
.blago_list{
	display: flex;
}
.blago_list a{
	display: block;
	width: 33%;
	margin-right: 2%;
}
.blago_list a:last-child{
	margin-right: 0;
}
.blago_list a img{
	max-width: 100%;
	opacity: 0.9;
}
.blago_list a img:hover{
	opacity: 1;
}