body, html {
background: url(../images/bg.jpg) center top no-repeat #fff;
text-align:center;
height:100%;
margin:0 auto;
padding:0;
max-width: 1920px;
}
img{border: none; max-width: 100%; height: auto;}

*, *::before, *::after{
	box-sizing: border-box;
}

#menu4checker, .menu4checkerlab{
display: none;
}
@media (min-width: 500px) {
    iframe {
        width:500px;
        height:285px;
    }
}

/*---------------------------------------------
               ОСНОВНОЙ КОНТЕЙНЕР
---------------------------------------------*/

.yashare-auto-init {
    position: absolute;
    right: 0;
    top: 10px;
}

#main-container{
margin:0 auto;
text-align:left;
min-height:100%;
}
.contwrapper{
	max-width: 1120px;
	margin: 0 auto;
}
* html #main-container{height:100%;}

/***************** Шапка сайта */
header{
position:relative;
height:279px;
margin: 0 auto 23px;
}
header a.logo {
position:absolute;
left: 0px;
right: 0;
top: 22px;
margin: 0 auto;
padding: 0;
text-decoration:none;
display: block;
width: 160px;
}
.headerwr, .circlesmodule, .footer, .footermod, .partnersmodule,
.newsmodule, .bestworksmodule{
	max-width: 1120px;
	margin: 0 auto;
}

/************************** Хлебные крошки */
.pathway {
	margin:0 0;
	padding:0 0 2px;
	max-width: 1120px;
	margin: 0 auto 25px;
	border-bottom: 1px dotted #5bbacd;
}
.pathwaylink{
	font: 11px 'HelveticaNeueCyrLight', sans-serif;
	color: #627591;
}
.pathwaylink:last-child{
	color: #000;
	text-decoration: none;
}

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

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

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

/***************** Стили блока основного содержания */
#both{
margin:0 220px;
padding:0 15px;
}
#only_left {
margin:0 0 0 285px;
padding:0;
}
#only_right {
margin:0 220px 0 0;
padding:0 15px;
}
#no_sides {padding:0 10px}

/***************** Модульная позиция - BOTTOM */
#bottom {
	margin: 0;
	overflow:hidden;
	background: url(../images/bottom.jpg) center center no-repeat;
}

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


/*---------------------------------------------
                  ПОДВАЛ САЙТА 
---------------------------------------------*/
footer{
position:relative;
height:502px;
font-family:Verdana, Geneva, sans-serif;
font-size:11px;
margin:-502px auto 0;
background: url(../images/footer.jpg) center top no-repeat #000;
}
footer p{ margin:0;}
.footermod{
	height: 369px;
	padding: 70px 0 0;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: flex-start;
    -webkit-align-items: flex-start;
        -ms-flex-align: flex-start;
            align-items: flex-start;
}
.footer{
	position: relative;
	height: 133px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;

}

/************************************ Счетчики */
p.copyright {
	font:12px Arial, Helvetica, sans-serif;
	color:#fff;
}
p.copyright a {color:#fff; text-decoration: none;}
table.counters {
	position:absolute;
	right:0;
	bottom:10px;
}
.counters td {padding:0 3px}
.sitemap{margin-right: 10px;}

/************************************ Модуля */
#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;
}

#popup_message img{
	max-width: 150px;
}

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

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

/****************** ********************/

.contactmod{
	font: 14px/18px 'HelveticaNeueCyrLight', sans-serif;
	color: #fff;
	margin-top: 35px;
}
.contactmod p{
	margin: 0 0 10px;
}
.contactmod em{
	font-style: normal;
	color: #ff5455;
	text-decoration: underline;
}
.contactmod strong{
	font-size: 20px;
}
.leftcontmodule a{color: #fff !important;}
.rightcontmodule a{color: #ff5455 !important;}

.leftcontmodule{
	float: left;
}
.rightcontmodule{
	float: right;
	text-align: right;
}

#modal_form{
    width: 600px; 
    height: auto; 
    border-radius: 5px;
    border: 3px #000 solid;
    background: #fff;
    position: fixed; 
    top: 25%; 
    left: 50%; 
    margin-top: -250px;
    margin-left: -300px; 
    display: none;
    opacity: 0; 
    z-index: 500;
    padding: 20px 10px;
	max-height: 700px;
	overflow-y: scroll;
}
#modal_form #modal_close{
    width: 21px;
    height: 21px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: block;
}
#modal_form #modal_close:hover{
	color: #ff0000;
}
/* Подложка */
#modal_overlay{
    z-index: 3; 
    position: fixed; 
    background-color: #000; 
    opacity: 0.8;
    width: 100%; 
    height: 100%;
    top: 0; 
    left: 0;
    cursor: pointer;
    display: none;
}
.modalmodule{
	float: right;
	clear: both;
	margin-bottom: 14px;
}
.modalmodule p{
	margin: 0;
}
#openmodallink, .modalmodule a{
	font: 15px 'HelveticaNeueCyrBold', sans-serif;
	position: relative;
	display: block;
	padding: 6px 11px 7px;
	text-decoration: none !important;
	color: #fff !important;
	background: #de4c4d;
}
#openmodallink:hover, .modalmodule a:hover{
	background: #fff;
	color: #de4c4d !important;
}
#openmodallink::before, .modalmodule a::before{
	position: absolute;
	display: block;
	content: "?";
	right: 100%;
	top: 0;
	text-align: center;
	width: 30px;
	padding: 6px 0 7px;
	background: #000;
}

.footercontmodule{
	font: 14px/25px 'HelveticaNeueCyrLight', sans-serif;
	color: #fff;
	padding: 38px 44px;
	border: 1px solid #385467;
	width: 570px;
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	margin-top: -40px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    text-align: left;
}
.footercontmodule em{
	font-family: 'HelveticaNeueCyrBold', sans-serif;
	color: #b2dbe3;
	font-style: normal;
	text-decoration: underline;
}
.footercontmodule strong{
	font-weight: normal;
	margin-bottom: 10px;
	display: block;
}
.footercontmodule a{
	font-family: 'HelveticaNeueCyrBold', sans-serif;
	color: #ff6368 !important;
}

footer .mainmenumodule{
	width: 285px;
}
footer .footermenumodule{
	width: 170px;
}

.partnersmodule{
	padding-bottom: 65px;
}
.partnersmoduletitle{
	font: 24px 'HelveticaNeueCyrBold', sans-serif;
	color: #004069;
	text-transform: uppercase;
	text-align: center;
	padding: 55px 0 50px;
}
.partnersmodule img{
	max-width: 265px;
	height: auto !important;
}
#carousel_photo .jcarousel-prev,#carousel_photo .jcarousel-next{
	top: 50%;
	margin-top: -32px;
}

.newsmoduletitle, .bestworksmoduletitle{
	font: 24px 'HelveticaNeueCyrBold', sans-serif;
	color: #000;
	text-transform: uppercase;
	text-align: center;
	padding: 80px 0 60px;
}
#module_ajax_19, .contentlist{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: space-around;
	    -ms-flex-pack: distribute;
	        justify-content: space-around;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
}
.mod_latest_entry{
	width: 32%;
	padding: 30px;
	border: 1px solid #91b0c5;
}
.mod_latest_entry:hover{
	border-color: #de4c4d;
}
.mod_latest_image{
	margin: 0 auto 30px;
	text-align: center;
	position: relative;
}
.mod_latest_image img{
width: 250px !important;
}
.viewnews{
	font: 14px 'HelveticaNeueCyrBold', sans-serif;
	color: #000 !important;
}
.mod_latest_entry:hover .mod_latest_date{
	color: #de4c4d;
}
.allnewsmodule{
	margin: 50px 0;
}
.allnewsmodule a{
	font: 14px 'HelveticaNeueCyrBold', sans-serif;
	color: #de4c4d !important;
}

/* ***************************** */

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

header, footer, #main-container > div{
	padding: 0 20px;
}
#no_sides{
	padding: 0;
}

}

.mainmenucheckerlab{
	display: none;
}
#mainmenuchecker{
	display: none !important;
}


@media only screen and (max-width: 900px){
#left, #only_left{
	width: 100%;
	margin: 0;
	float: none;
	clear: both;
}
}



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

.newsmodule .mod_latest_entry:nth-child(2), .footermod, .tecama, .knopki,
header::after, header::before{
	display: none;
}
body, html{
	background: #fff;
}
header{
	height: 150px;
	background: url(../images/bg.jpg) center top no-repeat #fff;
	margin-bottom: 10px;
}
header a.logo{
	right: auto;
	top: -30px;
	left: -25px;
	-webkit-transform: scale(0.5,0.5);
	    -ms-transform: scale(0.5,0.5);
	        transform: scale(0.5,0.5);

}
.leftcontmodule{
	float: right;
	margin: 35px;
}
.contactmod{
	margin-top: 50px;
	margin-bottom: 20px;
}
.contactmod p{
	display: none;
}
.contactmod p:nth-child(1){
	display: block;
	background: url(../images/phone.png) 5px center no-repeat rgba(0,0,0,0.6);
	padding: 5px 5px 5px 30px;
}
.modalmodule {
    float: none;
    width: 250px;
    margin: 0 auto;
}
.modalmodule a:hover, .modalmodule a:hover::before{
	outline: 1px solid #de4c4d;
}
footer{
	height: 100px;
	margin: -100px auto 0;
	background: #000;
}
#rasporka, .footer{
	height: 100px;
}
.copyright{
	margin: 0 auto;
}

.mainmenucheckerlab{
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 35px;
	height: 35px;
	background: url(../images/pol.png) center center no-repeat #df383d;
	z-index: 3;
	cursor: pointer;
}
#mainmenuchecker:checked ~ .mainmenucheckerlab{
	background: url(../images/krest.png) center center no-repeat #000;
}

.contentlist{
	display: block;
}
.contentlist .mod_latest_entry{
	width: 100%;
}

}

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

.contactmod{
	display: none;
}
.modalmodule{
    float: right;
    width: 150px;
    position: relative;
    top: 47px;
    text-align: right;
}
.modalmodule a::before{
	display: none;
}





}

#slider{
	display: none;
	visibility: hidden;
}


@media only screen and (min-width: 1141px){

header{
	background: none;
}
#slider{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
#slider img{
	width: 100% !important;
	margin-left: 0 !important;
}

header a.logo{
left: -1000px;
-webkit-animation: logoan 0.75s forwards linear;
   -moz-animation: logoan 0.75s forwards linear;
     -o-animation: logoan 0.75s forwards linear;
        animation: logoan 0.75s forwards linear;
}
@-webkit-keyframes logoan{
0%{}
100%{left: 0;}
}
@-moz-keyframes logoan{
0%{}
100%{left: 0;}
}
@-o-keyframes logoan{
0%{}
100%{left: 0;}
}
@keyframes logoan{
0%{}
100%{left: 0;}
}


}












