html{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*, *::before, *::after{
	box-sizing: inherit;
}
body, html {
text-align:center;
height:100%;
margin:0;
padding:0;
}
img{border: none;}

body {background: url(../images/bodybg.jpg) center top no-repeat;}


/*---------------------------------------------
               ОСНОВНОЙ КОНТЕЙНЕР
---------------------------------------------*/

#main-container{
margin:0 auto;
text-align:left;
min-height:100%;
width:100%;

}
* html #main-container{height:100%;}

/***************** Шапка сайта */
#header{
position:relative;
height:335px;
margin:0 auto;

width:1200px;
}
#header a.logo {
position:absolute;
left: 0px;
top: 115px;
margin: 0;
padding: 0 15px;
text-decoration:none;
background: url(../images/logo.jpg) center top no-repeat;
}

/************************** Хлебные крошки */
.pathway {
	margin:0 auto;
	padding:25px 0;
        width: 1140px;
        font-size:12px;
}
.pathway a {color:#989898;}
.pathway span {color:#000bdd;}
/***************** Модульная позиция - TOP */
#top {
	margin:15px 0;
	overflow:hidden
}

/***************** Левая колонка */
#left{
padding:5px;
float:left;
line-height:normal;
width:220px;
}

/***************** Правая колонка */
#right{
padding:5px;
float:right;
line-height:normal;
width:220px;
}

/***************** Стили блока основного содержания */
#both{
margin:0 220px;
padding:0 15px;
}
#only_left {
margin:0 0 0 220px;
padding:0 15px;
}
#only_right {
margin:0 220px 0 0;
padding:0 15px;
}
#no_sides {padding:0 10px}

/***************** Модульная позиция - BOTTOM */
#bottom {
	margin:0;
	overflow:hidden;
        background:rgba(23,27,115,1);
background: -moz-linear-gradient(top, rgba(23,27,115,1) 0%, rgba(101,20,119,1) 66%, rgba(101,20,119,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(23,27,115,1)), color-stop(66%, rgba(101,20,119,1)), color-stop(100%, rgba(101,20,119,1)));
background: -webkit-linear-gradient(top, rgba(23,27,115,1) 0%, rgba(101,20,119,1) 66%, rgba(101,20,119,1) 100%);
background: -o-linear-gradient(top, rgba(23,27,115,1) 0%, rgba(101,20,119,1) 66%, rgba(101,20,119,1) 100%);
background: -ms-linear-gradient(top, rgba(23,27,115,1) 0%, rgba(101,20,119,1) 66%, rgba(101,20,119,1) 100%);
background: linear-gradient(to bottom, rgba(23,27,115,1) 0%, rgba(101,20,119,1) 66%, rgba(101,20,119,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#171b73', endColorstr='#651477', GradientType=0 );
min-height:900px;

}

/***************** Clear block and Rasporka */
#clear{
height:0;
font-size:1px;
line-height:0px;
clear:both;
}
#rasporka {height:400px; margin:0px 0 0}


/*---------------------------------------------
                  ПОДВАЛ САЙТА 
---------------------------------------------*/
#footer{
position:relative;
height:400px;
font-family:Verdana, Geneva, sans-serif;
font-size:11px;
margin:-400px auto 0;
background: url(../images/footerbg.jpg) center top no-repeat;
}
#footer p{ margin:0;}
/************************************ Счетчики */
p.copyright {
	
	font-size:15px;
	color:#fff;
        text-align: center;
        margin: 65px auto 25px auto !important;
}
p.copyright a {color:#fff; text-decoration:none !important; }

p.knopki a {margin:0 12px;}

/************************************ Модуля */
#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%;}
}

/************************************* Модальное окно *******************************/

#modal_form{
    width: 600px; 
    height: auto; 
    border-radius: 5px;
    border: 3px #000 solid;
    background: #fff;
    position: fixed; 
    top: 45%; 
    left: 50%; 
    margin-top: -300px;
    margin-left: -150px; 
    display: none;
    opacity: 0; 
    z-index: 500;
    padding: 20px 10px;
	max-height: 500px;
	overflow-y: scroll;
}
#modal_form #modal_close{
    width: 21px;
    height: 21px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: block;
}
#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;
}

/****************** ********************/
.logopage {position: absolute; display:block;  width:880px; height:100px; text-decoration:none !important; left: 155px;}
.contheadmodule {font-family: 'CoreSansE-25ExtraLight'; font-size:18px; color:#fff; margin:195px 0 0 360px;}
.contheadmodule  strong {font-size:14px; color:#d2ac71;}

.maintextmodule {background:  url(../images/maintextbg.jpg) 0% 0% no-repeat; margin:120px auto 0 auto; width:1200px; min-height:715px;}
.maintextmodule h1 {color:#0817aa !important; font-family: 'CoreSansA85Heavy' !important; text-transform: uppercase !important; font-size:44px !important; text-align: left !important; width:570px; padding:200px 0 0 0;}
.maintextmodule h2 {color:#0817aa !important; /*font-family: 'CoreSansA15Thin' !important;*/ text-transform: uppercase !important; font-size:36px !important; text-align: left !important; width:580px;}
.maintextmodule p {width: 555px; float: right; color:#555555 !important; font-size:15px !important; line-height:1.5 !important;}

#footerbox {width:1200px; margin:0 auto; }
#footerbox #mainmenu {height:125px !important; border-bottom:1px solid #8f1abb; padding:43px 0 0 0 !important;}
#footerbox #mainmenu li a {color:#d07dff !important;}

#footerbox #mainmenu li:hover a,
#footerbox #mainmenu li.hover a,
#footerbox #mainmenu li.selected a {color:#fff !important; }
.contfootmodule {margin:20px auto 0 auto; width:720px; color:#fff; text-align: left; font-size:17px;}
.contfootmodule strong {color:#d2ac71; font-size:13px; }

.slidecont {position: absolute; width:390px; height:525px; right:0; top:150px; background:rgba(138,4,150,0.9);  }

.lastvideomodule {width:1140px; margin: 0 auto; position: relative; background:url(../images/video-fon.png) center top no-repeat;}
.lastvideomoduletitle {font-family: 'CoreSansA85Heavy'; font-size:30px; color:#fff; text-align: center; padding:80px 0;}
.mod_latest_desc {height:100%;}
.mod_latest_desc p {margin:0; height:100%;}
.mod_latest_entry_0 {margin:0 25px 0 0;}
.mod_latest_entry_0, .mod_latest_entry_1 {width:555px; height:310px; float:left;}
.mod_latest_entry_2, .mod_latest_entry_3, .mod_latest_entry_4 {width:360px; height:205px; float:left; margin-top:25px ;}
.mod_latest_entry_2, .mod_latest_entry_3 {margin-right:25px;}
a.all {display: block; font-family: 'CoreSansA85Heavy'; font-size:14px; text-align: center; padding:620px 0 0 0; color:#d753ed; text-transform: uppercase;}

.component {width:1140px; margin: 0 auto; position: relative; min-height: 300px;}

body.page {background: url(../images/bodybgpage.jpg) center top no-repeat;}
#header_page {height:280px; 
margin: 0 auto;
    position: relative;
    width: 1200px;
}
#header_page a.logo {
position:absolute;
left: 0px;
top: 115px;
margin: 0;
padding: 0 15px;
text-decoration:none;
background: none;
}

#header_page .contheadmodule {margin: 150px 0 0 360px;}

.photo_thumb {
    position: relative;
}
.photo_thumb .photo_zoom {
    background: rgba(32, 50, 190, 0.8) url("../images/zoom.png") no-repeat scroll center center;
    display: block;
    height: 92%;
    left: 0;
    padding: 0;
    position: absolute;
    top: 0;
    transform: scale(0);
    transition: all 0.2s ease 0s;
    width: 100%;
}
.photo_thumb:hover .photo_zoom {
    transform: scale(1);
    transition: all 0.4s ease 0s;
}

.mod_lp_photo {
    position: relative;
}
.mod_lp_photo .photo_zoom {
    background: rgba(32, 50, 190, 0.8) url("../images/zoom.png") no-repeat scroll center center;
    display: block;
    height: 97%;
    left:20px;
    padding: 0;
    position: absolute;
    top:4px;
    transform: scale(0);
    transition: all 0.2s ease 0s;
    width:88%;
}
.mod_lp_photo:hover .photo_zoom {
    transform: scale(1);
    transition: all 0.4s ease 0s;
}

.slidebox {background:rgba(138,4,150,0.9); position: absolute; height:525px; width:390px; top: 60px; left:610px; z-index:2; }
.slidebox::after {
    content: ''; 
    position: absolute; /* Абсолютное позиционирование */
    width: 0;
height: 0;
border-style: solid;
border-width: 0 0 525px 125px;
right: 390px;
border-color: transparent transparent rgba(138,4,150,0.9) transparent;
}

a.more{color:#c047d4; font-size:14px; font-family: 'CoreSansA85Heavy'; display: block; text-align: right; text-transform: uppercase; margin:20px 0 0 0;}