@import url('intro-bold.css');
@import url('intro-light.css');


*{
	margin: 0;
	padding: 0;
}

.main-body{
	height: 100%;
	background-position: center center;
	background: url(../img/fon1.jpg) repeat-x;

}

.head-style{

	width:100%;
	background: url(../img/fon-head1.jpg) repeat-x;
	background-position: top center;
	position: fixed;
    top: 0;
}

.tbl-head{
	margin: 15px auto;
    width: 85%;
}

.tbl-head nav{
	margin-left: 0px !important;
    margin-right: 50px !important;
}

.header a{
	text-decoration: none;
	color:white;
}

.g-recaptcha{
	width: 300px;
	height: 78px;
	margin:0 auto;
}
.popup2{
  width: 430px;
  background-color:#e7e8eb;
  padding: 30px;
  text-transform: uppercase;
  font-family: 'Intro-Light';
  color: #000;
  font-size: 18px;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  /*top: -999px;*/
  z-index:100;
  border-radius: 6px;
  top:350px;
}

.overlay2 {
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	    background-color: rgba(28, 21, 55, 0.76);

}
.header{


	max-width: 1950px;
	font-family: 'Intro-Light';
	font-size: 12px;
	text-align: center;
	color: #fff;


}


table{
	margin: 30px auto 0;
}

.logo{
	width: 63px;
	height: 63px;
	background: url(../img/logo1.gif);
}

.email{
			width: 41px;
	height: 41px;
	background: url(../img/email1.gif);
}

.phone{
		width: 41px;
	height: 41px;
	background: url(../img/phone1.gif);
}

img{
	display: inline-block;
	vertical-align: center;
}

.text{

		margin-left: 10px; 
	margin-right: 50px;
}

.text1{
	font-family: 'Intro-Bold';
	font-size: 18px;
	margin-right: 10px;
	margin-left: 25px;

}

.img{
	height: 130px;
}

#main_head{
	font-size: 42px;
	margin-bottom: 30px;

}

#text3{
	font-size: 24px;
	margin-bottom: 30px;

}

.footer{


	font-family: 'Intro-Light';
	font-size: 14px;
	text-align: center;

		color: #fff;

}


.ftr-block{
	/*height: 60px;*/
	background: #27415c;
}

.ftr-block nav{
	padding: 20px 0;
}

a.active {
  color: #654321;
}

.main{
		margin-top: 250px;
		margin-bottom: 270px;
		font-family: 'Intro-Light';
		text-align: center;
	color: #fff;
}





.text h1{
	font-size: 18px;
	font-weight: normal;
}

.footer ul li{
	width:33,3%;
	display: inline-block;
	vertical-align: center;
}
nav{
	margin-left: 360px;
	margin-right: 360px;
	font-size: 18px;
}

nav a{
	margin-right: 13px;
	margin-left: 13px;
	text-decoration: none;
	color:#fff;
}

.footer nav a:hover, .tbl-head nav a:hover{
	color:#f4b918;
}

.footer nav a.active, .tbl-head nav a.active{
	color:#f4b918;
}
button{
	height: 52px;
	width: 210px;
	font-size: 18px;
	font-family: 'Intro-Bold';
	border-radius: 6px;
	border: 0px;
	background:  #fed100;
}

.wrapper{
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;
  z-index:100;
}
.btn{

  	display: block;
 	margin: 0 auto;
	width: 210px;
	text-align: center;
	font-size: 18px;
	font-family: 'Intro-Bold';
	border-radius: 6px;
	border: 0px;
	background:  #fed100;
  	cursor: pointer;
  	color: #000;
  	padding: 15px;
}



.popup{

  width: 430px;
  background-color:#e7e8eb;
  padding: 30px;
  text-transform: uppercase;
  font-family: 'Intro-Light';
  color: white;
  font-size: 18px;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  /*top: -999px;*/
  z-index:100;
  border-radius: 6px;
  top:200px;
}

.popup input{
  width: 100%;
  border: 0;
  margin: 10px 0;
  height: 35px;
  padding: 5px;
  outline: none;
  font-family: 'Intro-Light';
  text-align: center;
    border-radius: 6px;
  font-size: 18px;
}

.form-block input{
  width: 90%;
  border: 0;
  margin: 10px 0;
  height: 35px;
  padding: 5px;
  outline: none;
  font-family: 'Intro-Light';
  text-align: center;
    border-radius: 6px;
  font-size: 18px;
}

.submit{
  background-color: #fed100;
  color:#000;
  cursor: pointer;
  font-size: 18px;
  	font-family: 'Intro-Bold'!important;
  	width: 210px !important;
  	height: 50px !important;
}

.button {
    height: 52px;
	width: 210px;
	font-size: 18px;
	font-family: 'Intro-Bold';
	border-radius: 6px;
	border: 0px;
	background:  #fed100;
	margin: 0 auto;
	  cursor: pointer;
} 

.button span {
	line-height: 55px;
	color: #000;
}

.overlay {
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	    background-color: rgba(28, 21, 55, 0.76);

}
.close-popup {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 23px;
	height: 23px;
	cursor: pointer;
}

.close-popup:before {
	content: '';
	background-color: #fff;
	position: absolute;
	height: 1px;
	width: 31px;
	top: 11px;
	left: -4px;
	transform: rotate(-45deg);
}

.close-popup:after {
	content: '';
	background-color: #fff;
	position: absolute;
	height: 1px;
	width: 31px;
	top: 11px;
	transform: rotate(45deg);
	left: -4px;
}
.text-block{
	color:black;
	font-size: 12px;
	margin: 150px auto 15px;
	width: 75%;
}

.section-body{
	font-family: 'Intro-Light';
}

.text-block h1{
	text-align: center;
	font-weight: normal;
	font-family: 'Intro-Light';
	font-size: 24px;
}

.text-block p{
	text-align: justify;
	font-size: 14px;
	margin-top: 15px;
}

.form-block{

    background-color: #e7e8eb;
    padding: 30px;
    text-transform: uppercase;
    font-family: 'Intro-Light';
    color: white;
    font-size: 18px;
    border-radius: 6px;
        width: 75%;
    float: right;
    text-align: center;
}

.footer-bottom table{
	width: 75%;
}

.footer-bottom{
	margin-bottom: 15px;
}

.footer-bottom .phone, .footer-bottom .text1, .footer-bottom .email{
	display: inline-block;
	vertical-align: middle;

    margin-bottom: 15px;

}

.ftr-block table{
	height:100%;

}

.form-block table{
	width: 100%;
	margin: 0;
}

.tbl-td-contact{
	padding-left: 30px;
}

.tbl-td-contact .text1{
	width: 60%;
}

@media screen and (max-width: 768px) {

	.popup {
		top:100px;
		width: 350px;
		font-size: 15px;
	}
}

@media screen and (max-width: 768px) {

	.popup {

		font-size: 15px;
	}
}

@media (max-width: 1700px){
	.text1{
		width: 150px;
		font-size: 16px;
	}
	nav{
		margin-left: 180px !important;
		margin-right: 180px !important;
	}

}
@media (max-width: 1200px){

	.text1{
		font-size: 14px;
		width:120px;

	}
}

@media (max-width: 992px){

		nav{
			margin-left: 150px !important;
			margin-right: 100px !important;
		}
}

@media (max-width: 769px){

	tr td {
		display: block;
		margin-bottom: 5px;
	}
	.logo{
		margin:0 auto;
	}
	.phone{
		display: none;
	}
	.email{
		display: none;
	}
	nav{
		margin-left: 0 !important;
		margin-right: 0!important;
	}

	.text{
		margin-left: 0px;
		margin-right: 0px;
	}
	.text1{
		margin: 0 auto;
		width: 200px;
	}
}

@media (max-height: 1200px) and (max-width: 1920px)
		{
		.main{
			margin-top: 250px;
			margin-bottom: 270px;
}
}



@media (max-height: 900px) and (max-width: 1600px)
		{
		.main{
			margin-top: 210px;
			margin-bottom: 240px;
}
}

@media (max-height: 960px) and (max-width: 1536px)
		{
		.main{
			margin-top: 240px;
			margin-bottom: 270px;
}
}

@media (max-height: 1024px) and (max-width: 1536px)
		{
		.main{
			margin-top: 270px;
			margin-bottom: 290px;
}
}

@media (max-height: 900px) and (max-width: 1440px)
		{
		.main{
			margin-top: 20px;
			margin-bottom: 250px;
}
}

@media (max-height: 1050px) and (max-width: 1400px)
		{
		.main{
			margin-top: 180px;
			margin-bottom: 180px;
}

}

@media (max-height: 900px) and (max-width: 1140px)
		{
		.main{
			margin-top: 200px;
			margin-bottom: 250px;
}
}
@media (max-height: 1024px) and (max-width: 1280px)
		{
		.main{
			margin-top: 250px;
			margin-bottom: 290px;
}
}

@media (max-height: 768px) and (max-width: 1280px)
		{
		.main{
			margin-top: 130px;
			margin-bottom: 170px;
}
}
@media (max-height: 600px) and (max-width: 1200px)
		{
		.main{
			margin-top: 80px;
			margin-bottom: 0px;
}
}

@media (max-height: 864px) and (max-width: 1152px)
		{
		.main{
			margin-top: 180px;
			margin-bottom: 200px;
}
}

@media (max-height: 768px) and (max-width: 1024px)
		{
		nav{
			margin-left: : 0px;
			margin-right: : 0px;
}
}

@media (max-height: 480px) and (max-width: 854px)
		{
		.main{
			margin-top: 40px;
			margin-bottom: 60px;
}
		h1{
			font-size: 16px;
		}
		#main_head{
			font-size: 30px;
		}
		#text3{
			font-size: 20px;
		}
}

@media (max-height: 480px) and (max-width: 320px)
		{
			table{
				margin:0 auto;
			}
			h1{
				font-size: 12px;
			}
			#main_head{
				font-size: 30px;
			}
			.main{
				margin-top: : 200px;
				margin-bottom: : 270px;
			}
}

@media (max-height: 960px) and (max-width: 540px)
		{
		.main{
			margin-top: : 100px;
			margin-bottom: : 170px;
}
}

@media (max-height: 800px) and (max-width: 480px)
		{
		.main{
			margin-top: : 30px;
			margin-bottom: : 30px;
}
}

@media (max-height: 1136px) and (max-width: 640px)
		{
		.main{
			margin-top: : 150px;
			margin-bottom: : 200px;
}
}

@media (max-height: 1334px) and (max-width: 750px)
		{
		.main{
			margin-top: : 180px;
			margin-bottom: : 200px;
}
}

@media (max-height: 640px) and (max-width: 360px)
		{
			table{
				margin:0 auto;
			}
			h1{
				font-size: 12px;
			}
			#main_head{
				font-size: 30px;
			}
			.main{
				margin: 10px auto;
			}

}

@media (max-height: 823px) and (max-width: 411px)
		{
			table{
				margin:0 auto;
			}
			h1{
				font-size: 12px;
			}
			#main_head{
				font-size: 30px;
			}
			.main{
				margin: 10px auto !important;
			}

}

@media (max-height: 736px) and (max-width: 414px)
		{
			table{
				margin:0 auto !important;
			}
			h1{
				font-size: 12px;
			}
			#main_head{
				font-size: 30px;
			}
			.main{
				margin: 10px auto !important;
			}

}

@media (max-height: 1024px) and (max-width: 768px)
		{
		.main{
			margin: 110px auto !important;
}

}

@media (max-height: 768px) and (max-width: 1366px)
		{
		table{
			margin: 0 auto 0;
		}
		.main{
			margin-top: 90px;
			margin-bottom: 110px;
		}
		h1{
			font-size: 14px;
		}
		#main_head{
			font-size: 34px;
		}
		#text3{
			font-size: 18px;
		}

}