body, html {
background: #fff;
text-align:center;
height:100%;
margin:0;
padding:0;
}
.notscroll{overflow: hidden;}
img{border: none; max-width: 100%;}
/*---------------------------------------------
               ОСНОВНОЙ КОНТЕЙНЕР
---------------------------------------------*/

#main-container{
margin:0 auto;
text-align:left;
min-height:100%;
}
* html #main-container{height:100%;}

/***************** Шапка сайта */
#header{
position:relative;
height:284px;
}
.insidepage #header{height: 284px;}
#header a.logo {
position:absolute;
left: -50px;
margin: 0;
padding: 0;
text-decoration:none;
width: 111px;
height: 136px;
background: url(../images/insidelogo.png) center center no-repeat;
}

/************************** Хлебные крошки */
.pathway {
	margin:0 0;
	padding:0 0;	
	font-size:9px;
	text-transform: uppercase;
	position: absolute;
	bottom: 15px;
}
.pathwaylink{color: #7f94a1 !important;}
.pathwaylink:last-child{color: #fff !important;}

/***************** Модульная позиция - TOP */
#top {
	margin: 0;
	overflow:hidden;
}

/***************** Левая колонка */
#left{
padding:5px;
float:left;
line-height:normal;
width:220px;
}

/***************** Правая колонка */
#right{
padding:0;
float:right;
line-height:normal;
width:31.57%;
}

/***************** Стили блока основного содержания */
#both{
margin:0 220px;
padding:0 15px;
}
#only_left {
margin:0 0 0 220px;
padding:0 15px;
}
#only_right {
margin:0 34.21% 0 0;
padding:0;
}
#no_sides {padding:0; max-width: 1140px; margin: 0 auto;}

/***************** Модульная позиция - BOTTOM */
#bottom {
	margin: 0;
	overflow:hidden
}

/***************** Clear block and Rasporka */
#clear{
height:0;
font-size:1px;
line-height:0px;
clear:both;
}
#rasporka {height:104px; margin: 0 0}


/*---------------------------------------------
                  ПОДВАЛ САЙТА 
---------------------------------------------*/
.foot{
	height: 104px;
	margin: -104px auto 0;
	background: #1a252b;
}
#footer{
position:relative;
height:104px;
font-family:Verdana, Geneva, sans-serif;
font-size:11px;
margin: 0 auto 0;
max-width:1140px
}
#footer p{ margin:0;}
/************************************ Счетчики */

.copyright {
	font:14px Arial, Helvetica, sans-serif;
	color:#a8a8a8;
	margin-top: 44px;
	display: inline-block;
	max-width: 50%;
}
.copyright a {color:#a8a8a8 !important; text-decoration: none !important;}
table.counters {
	position:absolute;
	right:0;
	bottom:10px;
}
.counters td {padding:0 3px}
.tecama{display: inline-block; float: right; margin: 44px 40px 0 0;}
.tecama a:last-child{font-size: 9px; color: #a8a8a8; text-decoration: none; float: right; text-align: left; margin: -4px 0 0 5px;}
.knopki{display: inline-block; float: left; margin: 44px 0 0 40px;}

/************************************ Модуля */
#left .module,
#right .module {
	margin:0 0 15px;
}
#left .moduletitle,
#right .moduletitle {
	font-size:18px;
	text-align:center;
	margin:0 0 10px
}
#left .modulebody,
#right .modulebody {}

.photoviewlink{
	display: block;
	border: 1px solid #ae8ecb;
	text-decoration: none !important;
	text-transform: uppercase;
	color: #906eb0 !important;
	width: 273px;
	text-align: center;
	border-radius: 2px;
	padding: 14px 0;
	margin-bottom: 8px;
	font-size: 12px;
}
.photoviewlink:hover{border: 1px solid #561673; color: #561673 !important;}

.prevphoto, .nextphoto{
	display: inline-block;
	width: 50px;
	height: 50px;
	background: url(../images/strelki.png) 0% 0% no-repeat;
}
.nextphoto{background: url(../images/strelki.png) 100% 0% no-repeat;}
.prevphoto:hover{background-position: 0% 100%;}
.nextphoto:hover{background-position: 100% 100%;}

.pagebar{
    margin: 10px 0;
	font-size:18px;
	clear:both;
	text-align: center;
}
.pagebar a{
	color: #000000 !important;
	text-decoration: none !important;
	font-family: 'PFBeauSansProRegular';
}
.pagebar a:hover{
	color: #2968b5 !important;
	border-top: 1px solid #2968b5;
	border-bottom: 1px solid #2968b5;
}
.pagebar_title{
	margin:5px;
    color:#375E93;
}
.pagebar_page{
	margin:2px;
	padding:5px;
}
.pagebar_current{
	margin:2px;
	padding:4px;
	color: #2968b5 !important;
	background: none !important;
	border-top: 1px solid #2968b5;
	border-bottom: 1px solid #2968b5;
}
/****************** ********************/

.ymaps-image{
	background-image: url(../images/mapmarker.png) !important;
	width: 172px !important;
	height: 153px !important;
	background-repeat: no-repeat;
	background-size: 100% !important;
	left: -52px !important;
	top: -147px !important;
}

.contentwrapper{max-width: 1140px; margin: 0 auto;}

.clientsmoduletitle{
	text-transform: uppercase;
	color: #343434;
	text-align: center;
	font-size: 30px;
	font-family: Arial;
	font-weight: bold;
}
.clientsmodulebody{
	max-width: 1140px;
	margin: 40px auto 55px;
}
.clientsmodulebody img{max-width: 23%; margin: 15px 1%;}

#down{
	box-sizing: border-box;
	padding-top: 33px;
	background: url(../images/down.jpg) top center no-repeat;
	height: 808px;
	position: relative;
	margin-bottom: 210px;
}
.mainmodule, .videomodule{max-width: 1140px; margin: 0 auto; z-index: 2; position: relative;}
.mainmodulebody, .videomodulebody{max-width: 840px; margin: 0 auto;}

.mainmodulebody p, .videomodulebody p{margin: 0 0 20px; font-family: Arial; font-size: 17px; color: #fff; line-height: 28px;}
.mainmodulebody h1{font-family: Arial; font-size: 45px; font-weight: bold; color: #fff; margin-top: 70px;}
.videomodulebody iframe{max-width: 100%; box-shadow: 0 0 0 20px rgba(255,255,255,0.3);}

.contentwrapper{margin-bottom: 90px;}

#down::after{
	position: absolute;
	display: block;
	content: "";
	outline: 5px solid #f24942;
	width: 100%;
	height: 111%;
	max-width: 1140px;
	left: 0;
	right: 0;
	margin: 0 auto;
	top: 95px;
}
.videomodule{position: absolute; left: 0; right: 0; bottom: -190px;}

.newsmodule{overflow: hidden; padding: 35px 0 0 10px;}
.mod_latest_entry{
	max-width: 360px;
	float: left;
	position: relative;
	z-index: 1;
}
.mod_latest_entry:nth-child(2){float: right;}
.mod_latest_title{
	color: #343434 !important;
	font-size: 22px;
	font-family: Arial;
	font-weight: bold;
	margin: 0 32% 0 7.5%;
	display: block;
}
.mod_latest_date{
	font-size: 11px;
	color: #a4a4a4;
	margin: 15px 0 35px 7.5%;
}
.mod_latest_desc{
	color: #5e5e5e;
	font-size: 14px;
	font-family: Arial;
	line-height: 24px;
	padding: 0 5px 0 15%;
}
.viewnews{
	color: #000 !important;
	text-decoration: none !important;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	display: block;
	margin: 35px 0 0 15%;
}
.mod_latest_entry::before{
	position: absolute;
	display: block;
	content: "";
	width: 84%;
	height: 69%;
	background: url(../images/newsback.png) left top no-repeat;
	left: -9px;
	top: -35px;
	z-index: -1;
}

.doskamodule{
	font-size: 16px;
	font-family: Arial;
	color: #343434;
	text-transform: uppercase;
	font-weight: bold;
	background: url(../images/doska.png) right top no-repeat;
	height: 445px;
}
.doskamodulebody{
	width: 290px;
	max-width: 100%;
	float: right;
	box-sizing: border-box;
	padding: 160px 50px 0 45px;
	line-height: 30px;
	color: #fff;
}
.doskamodulebody a{
	display: block;
	box-sizing: border-box;
	color: #fff !important;
	text-decoration: none !important;
	text-transform: uppercase;
	border: 2px solid #fff;
	width: 216px;
	max-width: 216px;
	padding: 4px 0;
	text-align: center;
	margin: 0 auto;
	font-size: 14px;
}
.doskamodulebody a:hover{
	background: #000;
	color: #fff !important;
	border: none;
}
.doskamoduletitle span{
	font-family: Arial;
	font-size: 24px;
	text-transform: uppercase;
	color: #343434;
	font-weight: bold;
	background: #fff;
	padding: 14px 19px;
	display: block;
	max-width: 200px;
}

.photo_thumb:hover{outline: 3px solid #f0cf37;}

.carousemodule{position: relative;}
.sliderhover{width: 100%; height: 100%; position: absolute; background: rgba(0,0,0,0.8); opacity: 0;}
.sliderhover:hover{opacity: 1; cursor: url('../images/cursor.png') 36 36, auto;}

.allphotomodule a{
	display: block;
	text-decoration: none !important;
	margin: 0 auto 40px;
	font-size: 18px;
	color: #5e5e5e;
	text-transform: uppercase;
	border: 1px solid #f24942;
	width: 158px;
	text-align: center;
	padding: 5px 0;
}
.allphotomodule a:hover{
	background: #f24942;
	color: #fff;
}

.trueheadermodulewrapper, .headermodulewrapper{
	max-width: 1140px;
	margin: 0 auto;
	position: relative;
	height: 100%;
}
#header p{margin: 0 !important;}

#header{background: url(../images/insideheaderall.jpg) center bottom no-repeat;}
.trueheader{
	height: 80px;
	background: url(../images/insideheader.png) center center no-repeat;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 5;
}

.phonesmodule{
	font-size: 14px;
	color: #fff;
	position: absolute;
	left: 61%;
	top: 24px;
}
.phonesmodule strong{
	font-weight: normal;
	color: #f24942;
}
.zakazmodule{
	position: absolute;
	left: 76%;
	top: 18px;
}
.zakazmodule a{
	display: block;
	width: 270px;
	height: 38px;
	background: url(../images/zakazfull.png) center center no-repeat;
	position: relative;
	cursor: pointer;
}
.zakazmodule a::after{
	position: absolute;
	display: block;
	content: "";
	width: 18px;
	height: 14px;
	background: url(../images/galochka.png) left center no-repeat;
	left: 231px;
	top: 9px;
}
.zakazmodule a:hover::after{
	-webkit-animation: zakaz 1s;
	-moz-animation: zakaz 1s;
	-ms-animation: zakaz 1s;
	-o-animation: zakaz 1s;
	animation: zakaz 1s;
}
@-webkit-keyframes zakaz{from{width: 0;}to{width: 18px;}}
@-moz-keyframes zakaz{from{width: 0;}to{width: 18px;}}
@-ms-keyframes zakaz{from{width: 0;}to{width: 18px;}}
@-o-keyframes zakaz{from{width: 0;}to{width: 18px;}}
@keyframes zakaz{from{width: 0;}to{width: 18px;}}
.zakazmodule span{display: none;}


.fullnamemodule, .weathermodule, .scrolldownmodule, .clockmodule,
.cloud1, .cloud2, .cloud3, .shieldmodule{display: none;}



.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 630px;
	min-width: 320px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
.md-show {visibility: visible;}
.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(2, 1, 1, 0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.md-show ~ .md-overlay {opacity: 1; visibility: visible;}
.md-content {
	color: #fff;
	background: rgba(255, 255, 255, 0.5);
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
}
.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
}
.md-effect-14.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	-ms-perspective: 1300px;
	-o-perspective: 1300px;
	perspective: 1300px;
}
.md-effect-14 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateY(100%) rotateX(90deg);
	-moz-transform: translateY(100%) rotateX(90deg);
	-ms-transform: translateY(100%) rotateX(90deg);
	-o-transform: translateY(100%) rotateX(90deg);
	transform: translateY(100%) rotateX(90deg);
	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	-ms-transform-origin: 0 100%;
	-o-transform-origin: 0 100%;
	transform-origin: 0 100%;
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
.md-show.md-effect-14 .md-content {
	-webkit-transform: translateY(0%) rotateX(0deg);
	-moz-transform: translateY(0%) rotateX(0deg);
	-ms-transform: translateY(0%) rotateX(0deg);
	-o-transform: translateY(0%) rotateX(0deg);
	transform: translateY(0%) rotateX(0deg);
	opacity: 1;
}

.md-content h3{
  font-family: 'RalewayLight';
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  font-size: 24px;
  padding-top: 20px;
}
.md-close{
  font-size: 30px;
  position: absolute;
  right: 15px;
  top: 13px;
  cursor: pointer;
}

.captchaIntro{color: #000;}

#menubutton{display: none;}

label[for="menubutton"]{
	display: block;
	width: 80px;
	height: 80px;
	background: #f24942;
	cursor: pointer;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1000;
}
label[for="menubutton"]:hover{background: #f24942;}

label[for="menubutton"] i{
	display: block;
	height: 4px;
	width: 24px;
	background: #000;
	position: absolute;
	top: 38px;
	left: 30px;
}
label[for="menubutton"] i::before,
label[for="menubutton"] i::after{position: absolute; display: block; content: ""; background: #000; height: 4px; width: 24px;}
label[for="menubutton"] i::before{top: -7px;}
label[for="menubutton"] i::after{bottom: -7px;}

label[for="menubutton"]:hover i,
label[for="menubutton"]:hover i::before,
label[for="menubutton"]:hover i::after{
	background: #fff;
}

#menubutton:checked ~ .mainmenumodule{top: 0;}
#menubutton:checked ~ label{background: none;}

#menubutton:checked ~ label i,
#menubutton:checked ~ label i::before,
#menubutton:checked ~ label i::after{background: #fff;}

#menubutton:checked ~ label i{width: 0;}
#menubutton:checked ~ label i::before{-webkit-transform: rotate(45deg); transform: rotate(45deg); top: 0;}
#menubutton:checked ~ label i::after{-webkit-transform: rotate(-45deg); transform: rotate(-45deg); top: 0;}

#menubutton ~ label i,
#menubutton ~ label i::before,
#menubutton ~ label i::after{
	-webkit-transition: 0.25s;
	-moz-transition: 0.25s;
	-ms-transition: 0.25s;
	-o-transition: 0.25s;
	transition: 0.25s;
}

#menubutton:checked ~ .mainmenumodule li{text-indent: 0;}

@media screen and (max-width: 1199px){
	
	.phonesmodule{display: none;}
	#header, .insidepage #header{
		height: 254px;
	}
	.trueheader{
		height: 50px;
		background-size: auto 100%;
		background-position: -100px center;
	}
	#header a.logo{
	    display: none;
		-webkit-transform: scale(0.8,0.8);
		-moz-transform: scale(0.8,0.8);
		-ms-transform: scale(0.8,0.8);
		-o-transform: scale(0.8,0.8);
		transform: scale(0.8,0.8);
		top: -10px;
	}
	label[for="menubutton"]{
		height: 50px;
		width: 50px;
	}
	label[for="menubutton"] i{
		top: 26px;
		left: 16px;
	}
	.zakazmodule{
		top: 0;
		left: calc(100% - 100px);
	}
	.zakazmodule a{
		width: 50px;
		height: 50px;
		background: url(../images/phone.png) center center no-repeat;
	}
	#menu1{
		top: 90px !important;
	}
	#mainmenu{background-position: 1vw 1vh !important;}

}

@media screen and (max-width: 1140px){
	.mod_latest_entry{max-width: 280px;}
	.doskamodule{background-size: 100% 100%;}
	.doskamodulebody{padding-left: 55px;}
	#menu1{display: block !important; text-align: center;}
	#menu1 li{display: inline-block;}
}

@media screen and (max-width: 960px){
    .social-link {
        display: none;
    }
	#only_right{
		width: 90%;
		margin: 0 auto;
	}
	#right{
		clear: both;
		float: none;
		width: 90%;
		margin: 0 auto 30px;
	}
	.doskamodule{
		display: none;
	}
	.doskamobilemodule img{height: auto !important;}
	.mod_latest_entry{
		max-width: 50%;
	}
	.videomodule{
		bottom: -30%;
	}
	#menu1 li a{
		font-size: 10px !important;
	}
	.userform_table input, .userform_table textarea, form[name="userform"]{
		max-width: 96%;
		margin: 0 auto;
	}
	.md-modal{
		width: 90%;
		top: 35%;
	}
	.md-content > div{
		padding: 15px 1vw 30px;
	}
	#down{
		background: none;
	}
	.mainmodulebody h1, .mainmodulebody p{
		color: #000;
	}
	.mainmodule{
		max-width: 90%;
		margin: 0 auto;
	}
	#down::after{
		width: 92%;
	}
	.videomodulebody iframe{
		box-shadow: none;
		max-width: 80%;
	}
}

@media screen and (max-width: 620px){
	.trueheader{
		background-position: -260px center;
	}
	.logo, .knopki{display: none;}
	.clientsmodulebody img{
		max-width: 100%;
	}
	.clientsmodulebody p:nth-child(2){display: none;}
	.clientsmodule p{text-align: center;}
	.mod_latest_entry::before{width: 300px;}
}

@media screen and (max-width: 480px){
    
	.mod_latest_entry, .sitemap, .pathway{display: none;}
	.mod_latest_entry:first-child{
		max-width: 90%;
		margin: 0 auto;
		display: block;
	}
	.videomodulebody iframe{
		height: auto;
	}
	.videomodule{
		bottom: -190px;
	}
	.contentwrapper{
		margin-bottom: 0;
	}
	#mainmenu{
		font-size: 33px !important;
	}
	.foot, #footer{
		height: 208px;
	}
	.tecama{
		clear: both;
		display: block;
		float: none;
		width: 200px;
		margin: 0 auto;
	}
	.copyright{
		height: 45%;
		margin-bottom: 5%;
		max-width: 90%;
	}
	#menu1 li a{
		font-size: 11px !important;
	}
	.trueheader{
		background-position: -280px center;
	}
	#mainmenu{background: none !important;}
	#mainmenu li{text-indent: 0 !important;}
	#menu1{width: 100%; margin-top: 70px !important;}
	#menu1 li{display: block; width: 96%; margin: 0 auto;}
	#header, .insidepage #header{height: 435px; background-size: 100% 100%;}
	#header{background: url(../images/headermobile.jpg) center center no-repeat;}
	.trueheader{background: url(../images/trueheadermobile.png) left center no-repeat; height: 32px;}
	label[for="menubutton"], .zakazmodule a{width: 32px; height: 32px;}
	label[for="menubutton"] i{top: 15px; left: 5px;}
	#header a.logo{display: block; top: 35px; left: 0; right: 0; margin: 0 auto; -webkit-transition: 0.5s; -moz-transition: 0.5s; -ms-transition: 0.5s; -o-transition: 0.5s; transition: 0.5s;}
	.scrolllogo{top: -100px !important;}
	.zakazmodule{left: calc(100% - 66px);}
	.userform_table, .userform_table tr, .userform_table td{display: block; max-width: 300px;}
	td.userform_fieldtitle{display: none;}
	.simpleCaptcha .captchaImage{width: 15%;}
	.refreshCaptcha{float: right !important;}
}

@media screen and (max-width: 680px) and (orientation: landscape){
	#mainmenu{
		font-size: 15px !important;
	}
	#mainmenu li{text-indent: 0 !important;}
}


audio{display: none;}





@media screen and (max-width: 1023px){
	.photo_album_tumb, .photo_thumb{width: 48%;}
}

@media screen and (max-width: 719px){
	.photo_layout td{display: block; width: 100%;}
	.photo_album_tumb, .photo_thumb{width: 99%;}
	.photo_thumb img, .photo_layout img{height: auto; width: 100%;}
}

@media screen and (min-width: 960px){
	.doskamobilemodule{display: none;}
}


.userform_table input[type="submit"]{
width: 220px;
  background: #f9dc03;
  padding: 6px 0;
  font-size: 13px;
  text-transform: uppercase;
  color: #233d4b;
  margin: 0 auto;
  display: block;
}

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

.md-show{
height: 60%;
overflow: scroll;
}

}

