@import "reset.css";

@font-face {
	font-family: "Politica";
	src: url("fonts/Politica.eot");
	src: url("fonts/Politica.eot?#iefix") format("embedded-opentype"),
	url("fonts/Politica.otf") format("truetype"),
	url("fonts/Politica.svg#Politica") format("svg");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Politica";
	src: url("fonts/Politica-Bold.eot");
	src: url("fonts/Politica-Bold.eot?#iefix") format("embedded-opentype"),
	url("fonts/Politica-Bold.otf") format("truetype"),
	url("fonts/Politica-Bold.svg#Politica") format("svg");
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: "OfficinaSansC";
	src: url("fonts/OfficinaSansC-Book.eot");
	src: url("fonts/OfficinaSansC-Book.eot?#iefix") format("embedded-opentype"),
	url("fonts/OfficinaSansC-Book.otf") format("truetype"),
	url("fonts/OfficinaSansC-Book.svg#OfficinaSansC") format("svg");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "OfficinaSansC";
	src: url("fonts/OfficinaSansC-Bold.eot");
	src: url("fonts/OfficinaSansC-Bold.eot?#iefix") format("embedded-opentype"),
	url("fonts/OfficinaSansC-Bold.otf") format("truetype"),
	url("fonts/OfficinaSansC-Bold.svg#OfficinaSansC") format("svg");
	font-weight: bold;
	font-style: normal;
}

article,aside,audio,canvas,command,datalist,details,embed,figcaption,figure,footer,header,hgroup,keygen,meter,nav,output,progress,section,source,video{display:block}mark,rp,rt,ruby,summary,time{display:inline}
/* Global properties ======================================================== */
html {width:100%}

body {
	font-family: OfficinaSansC, Arial, sans-serif;
	font-size:14px;
	color:#ffffff;

    background-color: #fff;
}




.main{
  min-width: 934px;
  width: 934px;
  margin: 0 auto;
  height: 100%;

}
section, div {position:relative;}

#roof .logo{
	position: absolute;
	width:284px;
	height: 59px;
	top: 10px;
	left:15px;
	background: url(images/logoAMS.png);
}

#roof .phones{
	font-family: Politica, Arial, sans-serif;
	font-size: 30px;
	position: absolute;
	width:284px;
	height: 76px;
	top: 10px;
	right:70px;
	text-align: right;
}
#roof .social{
	position: absolute;
	width: 100px;
	height: 40px;
	top: 90px;
	right: 115px;
	text-align: right;
}
.social a{
	display: inline-block;
	width: 29px;
	height:29px;
	background: url(images/icon_01.png) ;
}
.social .facebook{background: url(images/icon_01.png) 0 0}
.social .mail{background: url(images/icon_02.png) 0 0}
.facebook:hover{background-position: 29px 0px; }
.mail:hover{background-position: 29px 0px;}
#roof .content{
	position: absolute;
	width: 800px;
	height: 430px;
	top: 242px;
	left: 17px;
}

.content2{
	position: absolute;
	width: 400px;
	height: 430px;
	top: 100px;
	left: 17 px;
    align: justify
}
.content2 p{
	font-size: 18px;
	margin: 12px 0 40px;
}

.content2 div{
	font-size: 18px;
	margin: 12px 0 40px;
	align: justify
}


.content h1{
	font-family: Politica, Arial, sans-serif;
	font-size:40px;
}
.content p{
	width: 500px;
	font-size: 18px;
	margin: 12px 0 40px;
}
.content .question{
	display: block;
	background: url(images/knopka_zadat_vopros_verh.png);
width: 193px; 
height: 52px;
text-decoration: none;
font-size: 27px;
font-family: Politica, Arial, sans-serif;
color:#ffffff;
font-weight: bold;
padding: 18px 0 0 29px;
}
.content .question:hover{
	opacity: 0.6;
}

#second_form{
	position: absolute;
	width: 380px;
	height: 435px;
	bottom: 30px;
	left: 265px;
}

#second_form input{
	font-family: Politica, Arial, sans-serif;
	float: left;
	width: 100%;
	height:30px;
	border: none;
	border-radius: 5px;
	padding: 4px 10px 0;
	margin: 6px 0;
	color:#ffffff;
	font-size: 18px;
}
#second_form .foth{
	font-family: Politica, Arial, sans-serif;
	padding: 7px 10px;
	margin: 6px 0;
	border: none;
	border-radius: 5px;
	width: 100%;
	height:100px;
	color:#ffffff;
	font-size: 18px;
}
#second_form .zaglav{
	font-family: Politica, sans-serif;
	font-size: 34px;
	float: left;
	color: #ffffff;
}
#second_form input[type="submit"]{
		display: block;
	background: url(images/knopka_zadat_vopros_niz.png);
width: 214px;
height: 70px;
text-decoration: none;
font-size: 28px;
font-family: Politica, Arial, sans-serif;
color:#ffffff;
font-weight: bold;
padding: 1px 0 0 0px;
border-radius: 0px;
}
#second_form input[type="submit"]:hover{
	opacity: 0.6;
}

footer{
	position: relative;
	background: #000;
	width: 100%;
	height: 100px;
	min-width: 934px;
}
footer .logo{
	position: absolute;
	width:172px;
	height: 36px;
	top: 32px;
	left:15px;
	background: url(images/logo_foot.png);
}
footer .social{
	position: absolute;
	width: 100px;
	height: 40px;
	top: 33px;
	left: 422px;
	text-align: right;
}
footer .phones{
	font-family: Politica, Arial, sans-serif;
	font-size: 20px;
	position: absolute;
	width: 350px;
	height: 76px;
	top: 12px;
	right: 15px;
	text-align: right;
	color: #ffffff;
}



.gallery{
	position: absolute;
	height: 700px;        <!--  ïîçèöèÿ ïî âûñîòå: óìåíüøàÿ äî 632 èäåò âíèç   -->
	overflow: hidden;
	width: 100%;
	z-index: 100;
	bottom: -5px;
}
section.gallery ul.cards {
margin: 0;
padding: 0;
list-style: none;
width: 2541px;
left: -816px;
position: relative;
margin-left: 50%;
}
section.gallery ul.cards li {
display: inline-block;
float: left;
width: 608px;
height: 608px;
padding: 72px 72px;
transition: 0.5s;
cursor: pointer;
position: relative;
vertical-align: top;
box-sizing: border-box;
margin: 0 -56px;
}
section.gallery ul.cards li div {
	position: relative;
width: 100%;
height: 100%;
box-shadow: 0px 5px 15px 5px rgba(100, 100, 100, 0.5);
border-radius: 8px;
background-color: #dcd6d2;
transition: all 0.2s;
overflow: hidden;
}
section.gallery ul.cards li img {
width: 100%;
height: 100%;
border-radius: 8px;
background-color: #dcd6d2;
transition: all 0.1s;
}

.imgbutton:hover{
	opacity: 0.6;
}
.imgbutton{		display: block;
display: none;
background: url(images/knopka_zakazat_center.png);
position: absolute;
bottom: 16px;
left: 34px;
width: 118px;
height: 42px;
text-decoration: none;
font-size: 28px;
font-family: Politica, Arial, sans-serif;
color: #ffffff;     <!-- ÇÄÅÑÜ   çàêàë=çûâàåòñÿ ÖÂÅÒ   òåêñòà íà áàòòîíå  ÑÌÎÒÐÅÒÜ  â ÑËÀÉÄÅÐÅ   -->
font-weight: bold;
padding: 7px 0 0 19px;
border-radius: 0px;
}

#retphase{
	display:none;
	position:fixed;
	width:100%;
	height:100%;
	background: rgba(0, 0, 0, 0.69);
	left:0;
	top:0;
	z-index: 200;
}
#retphase  img{
	position: fixed;
	left:50%;
	margin-left:-216px;
	top:50%;
	margin-top:-100px;
}





