/* Global =================================================================== */

html, body{
    width: 100%;
    height: 100%;
}

body {
    /* background: #b9e2f6; */
    margin:0;
    padding:0;
	background: #b9e2f6 url(../images/bg.jpg) top center;

}
#body section {  padding: 5px;}
#body section p{         font-size: 14px;    line-height: 20px; color: #353535;}


.headerbg {background: #f4f4f4 url(../images/m/header.png) top center no-repeat !important;height:183px}
.headerbg.new {background: #f4f4f4 url(../images/m/header_new.png) top center no-repeat !important;height:305px;    padding: 0px;}
.headerbg.new  ul {    margin: 0px;}

.headerbg.new:before {
    content: "";
    position: absolute;
    z-index: 100;
    top: 148px;
    width: 1040px;
    height: 116px;
    background: url(../images/m/header_line.png) top center no-repeat;
}
  #upbutton {
    background: url(../images/up.png) no-repeat top left;
    height: 60px;
    width: 60px;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 999;
  }

.bgstretcher, .bgstretcher UL, .bgstretcher UL LI {
	position: absolute;
	top: 0;
	left: 0;
}
.bgstretcher UL, .bgstretcher UL LI {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bgstretcher {
	background: #1579b1;
	overflow: hidden;
	width: 100%;
	position: fixed;
	z-index: 1;
	_position: absolute; /*IE6 doesn't support fixed positioning*/
	top: 0;
	left: 0;
	    border: 3px solid #157bb4;
		    max-width: 1040px;
		    max-height: 264px;
}

.headerbg.new .zoomIn {
    padding-top: 35px;
    height: 190px !important;
}

.headerbg.new .fadeInUp {height: 82px;margin-top: -8px;}
.headerbg.new  h1{
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px #206490, 1px -1px #206490, -1px 1px #206490, -1px -1px #206490, 3px 3px 6px rgba(0,0,0,.5);
    font-size: 24px;
    display: table;
    /* width: auto; */
    margin: 0 auto;
    background: rgb(30, 72, 102);
    padding: 8px 15px;
    border-radius: 10px;
    z-index: 1000;
    position: relative;
}
.footerline { background: #f4f4f4 url(../images/m/footer_top.png) center bottom no-repeat !important;
    height: 75px;
    padding-top: 20px;
}

.headerbg   .zoomIn {padding-top: 35px;height:142px}

.titlekz {background: url(../images/m/logokz.png) top center no-repeat;height:77px}
.titleru {background: url(../images/m/logoru.png) top center no-repeat;height:77px}

.titlegerb{background: url(../images/m/logoc.png) top center no-repeat;height:134px;    display: flex;
    width: 24%;
    float: left;
    background-size: 100px;
    /* padding-top: 20px; */
    margin-top: 10px;}


.title-birgemiz{background: url(../images/m/birgemiz.png) top center no-repeat;height:134px;background-size: 90px;
    display: flex;
    width: 24%;
    position: relative;
    float: left;
    margin-top: 15px;}	
.title-zhastar{background: url(../images/m/zhastarjyly.png) top center no-repeat;height:134px;background-size: 90px;
    display: flex;
    width: 24%;
    position: relative;
    float: left;
    margin-top: 15px;}	
.title-aqmola{background: url(../images/m/aqmola.png) top center no-repeat;height:134px;background-size: 95px;
    display: flex;
    width: 24%;
    position: relative;
    float: left;
    margin-top: 15px;}
.title-ruhani{background: url(../images/m/ruhani.png) top center no-repeat;height:134px;        background-size: 95px;
    display: flex;
    width: 24%;
    float: left;
    margin-top: 15px;}

.logotr .title-aqmola { width: 31%;height: 115px;}
.logotr .titlegerb { width: 29%;height: 115px;}
.logotr .title-ruhani { width: 36%;height: 115px;}
.vcentbg {height:131px;  }


.logoakmomuzey{background: url(../images/m/logo.png) top center no-repeat;height:134px}
.logoruhani{background: url(../images/m/ruhani.png) top center no-repeat;height:99px}


.sicon{width:120px;margin-top: 6px;}
.sicon a.fb {background: url(../images/m/fb.png) top center no-repeat;width:26px;height:26px;display: block;float: right;margin: 0px 5px;}
.sicon a.vk {background: url(../images/m/vk.png) top center no-repeat;width:26px;height:26px;display: block;float: right;margin: 0px 5px;}
.sicon a.in {background: url(../images/m/in.png) top center no-repeat;width:26px;height:26px;display: block;float: right;margin: 0px 5px;}
.sicon a.yt {background: url(../images/m/yt.png) top center no-repeat;width:26px;height:26px;display: block;float: right;margin: 0px 5px;}

.langbar{width:120px;margin-left: 20px;margin-top: 6px;}
.lang_switcher  a{    background: url(../images/m/lang_bg.png) top center no-repeat;
    width: 29px;
    height: 26px;
    display: block;
    float: left;
    margin: 0px 5px;
    border-radius: 5px;}
.contbg{  padding: 0px 10px;    margin-top: 0px;}
#body aside .menubg {background: url(../images/m/menu_bg.png) top center repeat-y !important;     width: 220px;    position: relative;
    z-index: 3;
    margin-top: 10px;
    padding-top: 30px;    padding-bottom: 20px;}
.menubgtop{background: url(../images/m/menu_bg_top.png) top right no-repeat;
    margin: 10px -10px 0px 0px;
    height: 120px;
    width: 105px;
    position: relative;
    z-index: 5;
    text-align: right;
    float: right;}
	
.widget.shadowt	{    box-shadow: 0px 0px 17px 1px rgba(117, 117, 117,0.5); margin-top:20px}
.widget.shadowt	.body {padding: 0px;}
.widget.shadowt .body.textsh.noned {display:none;}
.widget.shadowt	.body.textsh {padding: 10px;height: 268px;}
.widget.shadowt	.body.textsh p{     font-size: 14px ; line-height: 22px !important;color: #353535;}
	
.carusel{background: url(../images/m/footer_img_bg.png) top center no-repeat;    padding: 0px 0px;    margin: -5px 0px 0px 0px;height:177px;}

.container.footerbg {padding: 0px;}
.footer{min-width: 1020px;background: url(../images/m/footer_bg.png) top center no-repeat;    padding: 0px 0px;    margin: 0px 0px 0px 0px;height:146px;    padding-top: 0px;color: #fff;}

#body aside .menu li ul a { color: #fff !important;text-decoration: none !important;}
#body aside .menu li ul {right: auto !important;left: 170px !important; background: #1d4765;}

aside #widget_pos_right-top .widget {    background: transparent;}
#widget_pos_right-top .widget {    background: transparent;}
#widget_pos_right-top .widget li.active a{   text-decoration: underline;}
#controller_wrap .content_item{font-size:16px;color:#1f638f;}
#controller_wrap  {
	background: #fff;
    margin: -10px;
    padding: 15px;
	box-shadow: 0px 0px 17px 1px rgba(117, 117, 117,0.5);
}
.photo_filter {display:none;}	

.media hr {    border-top: 1px solid #1f638f;}
/* Wrapper ================================================================== */

#layout{
    width: 980px;
    margin: 0 auto;
    will-change: blur;
}
#popup-manager.popup-show + #layout, .wrap_blur {
    -webkit-filter:blur(2px);
    -moz-filter:blur(2px);
    -ms-filter:blur(2px);
    -o-filter:blur(2px);
    filter:blur(2px);
}
/* Header =================================================================== */

#layout header{
    height: 50px;
    line-height: 50px;
    padding: 0 14px;
    background:url("../images/bg_top.png") no-repeat center;
}

#layout header #logo a, #layout header #logo > span{
    display: block;
    float: left;
    width: 180px;
    height: 50px;
    background: url("../images/logo.png") no-repeat left center;
}

/* Header Navigation ======================================================== */

header .menu,
header .menu li { margin:0; padding:0; list-style: none; background:none; }

header .menu {
    float:right;
    position: relative;
    z-index: 15;
    height: 30px;
    line-height: 30px;
    padding-top:10px;
}

header .menu .item{
    background-image: url("../images/icons/bullet_arrow_down.png");
    background-repeat: no-repeat;
    background-position: 5px center;
    padding-left:28px;
}

header .menu > li {
    float: left;
    padding-left:5px;
}

header .menu > li > a {
    display: block;
    padding: 0 5px;
    color:#ecf0f1;
    text-decoration: none;
    font-size: 12px;
}

header .menu > li > a:hover {
    color:#FFF;
}

header .menu > li.active > a { color:#F5CF53; }
header .menu > li.active > a:hover { color:#F5CF53; }
header .menu > li.active > ul a:hover { color:#EEE; }

header .menu ul li a,
header .menu li.active ul li a {
    text-shadow: none;
    text-decoration: none;
    padding-right: 10px;
    font-size: 12px;
}

header .menu li ul li.active a{ color:#F5CF53; }
header .menu li ul li.active a:hover { color:#F5CF53; }

header .menu li:hover {
    position: relative;
    z-index: 599;
    cursor: default;
}

header .menu ul {
    visibility: hidden;
    position: absolute;
    top: 99%;
    left: -15px;
    z-index: 598;
    width: 100%;
    box-shadow: 0 1px 1px #000;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

header .menu ul li {
    float: none;
    border-bottom: solid 1px #224674;
    background-color: #224674;
    color: #FFF;
}

header .menu ul li:last-child {
    border-bottom: none;
}

header .menu ul li a {
    display: block;
    height:30px;
    line-height:30px;
    color:#A3CAE0;
}

header .menu ul li:hover > a { background-color: #224674; color: #FFF; }

header .menu ul ul {
    top: 0px;
    left: 90%;
}

header .menu li:hover > ul {
    visibility: visible;
}

header .menu ul { width:250px; }

header .menu ul li:last-child,
header .menu ul li:last-child a {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

header .menu ul li:first-child,
header .menu ul li:first-child a {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

header .menu > .folder a {
    padding-right: 8px;
}

/* Main Navigation =========================================================== */

nav {
    height:50px;
    background: #1f638f;
    padding: 0;
    margin-bottom: 10px;
    font-size:12px;
}

nav .menu,
nav .menu li,
nav .menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .menu {
    position: relative; z-index: 5; float: left;
    height: 50px;
    line-height: 50px;
}

nav .menu .item{
    background-image:none !important;
}

nav .menu > li {
    float: left;
}

nav .menu > li:first-child {
    background:none;
}

nav .menu > li > a {
    display: block;
    padding: 0 15px;
    color:#FFF;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

nav .menu > li > a:hover {
    background: #27ae60 !important;
}

nav .menu > li.active > a { background: #2980b9 !important; }
nav .menu > li.active > a:hover {  }
nav .menu > li.active > ul a:hover { color:#000; }

nav .menu ul li a,
nav .menu li.active ul li a {
    color: #000;
    text-shadow: none;
    text-decoration: none;
    padding: 0 10px;
}

nav .menu li ul li.active > a{ color:#2980B9; }
nav .menu li ul li.active > a:hover { color:#2980B9; }

nav .menu ul li:hover > a { background-color: #DAE9FA; }

nav .menu li:hover {
    position: relative;
    z-index: 599;
    cursor: default;
}

nav .menu ul {
    visibility: hidden;
    position: absolute;
    top: 98%;
    left: 0;
    z-index: 598;
    width: 100%;
    box-shadow: 0 1px 1px #000;
}

nav .menu ul li {
    float: none;
    border-bottom: solid 1px #DAE9FA;
    background-color: #f9f9f9;
    color: #000;
}

nav .menu ul li:last-child {
    border-bottom: none;
}

nav .menu ul li a {
    display: block;
    height:30px;
    line-height:30px;
    overflow: hidden;
}

nav .menu ul ul {
    top: 0px;
    left: 99%;
}

nav .menu li:hover > ul {
    visibility: visible;
}

nav .menu ul { width: 200px; margin-top: 1px; }

nav .menu ul li:last-child,
nav .menu ul li:last-child a {
}

nav .menu ul li:first-child,
nav .menu ul li:first-child a {
}

nav .menu > .folder > a {
    padding-right: 8px;
}

nav .menu > .folder > a > .wrap {
    padding-right: 20px;
    background: url("../images/nav-arrow-down-white.png") no-repeat right center !important;
}

nav .menu ul *.folder > a {
    padding-right: 15px;
    background-image: url("../images/nav-arrow-right.png") !important;
    background-position: 100% 50%;
    background-repeat: no-repeat;
}

nav select { display: none; }

/* Body ===================================================================== */

#body{
}

/* Breadcrumbs ============================================================== */

#breadcrumbs { margin:-20px; margin-bottom: 20px; padding:0 10px; position: relative; }

#breadcrumbs ul, #breadcrumbs li { margin:0; padding:0; list-style: none; }

#breadcrumbs ul{
    overflow: hidden;
    position: relative;
}
#breadcrumbs > ul:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
   
    width: 50px;
    height: 100%;
}
#breadcrumbs ul li {
    font-size: 12px;
    color: #1f638f;
    display: table-cell;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-spacing: 0;
    vertical-align: middle;
}

#breadcrumbs ul li a {
    color:#2c3e50;
}

#breadcrumbs ul li a:hover {
    color:#1f638f;
    text-decoration: none;
}

#breadcrumbs ul li.sep {
    padding:0 10px;
    width: 4px;
    background: url("../images/nav-arrow-right-light.png") no-repeat center center;
}

#breadcrumbs ul li.home {
    width: 16px;
}

#breadcrumbs ul li.home a {
    display:block;
    width:16px;
    height:32px;
    background: url("../images/nav-home.png") no-repeat left center;
}

/* Section ================================================================== */

#body section{
    float:left;
    width:770px;
}

#body section article {
    padding: 20px;
    margin-bottom: 10px;
	margin-top: 20px;
}

#body section h1{
    margin-bottom: 20px;
    color:#1f638f;
}

#body section h1 + .parent_title{
    font-size:16px;
    margin: -10px 0 20px 0;
}
.item_group_title {
    background: url("../images/icons/group.png") no-repeat left center;
    padding: 0 0 0 25px;
}
/* Sidebar ================================================================== */

#body aside{
    float:right;
    width:240px;
    margin-bottom: 10px;
	position: relative;
    z-index: 100;
}

/* Sidebar Navigation ======================================================= */

#body aside .menu, #body aside .menu li,
#body section .menu, #body section .menu li
{ margin:0; padding:0; list-style: none; }

#body aside .menu ul,
#body section .menu ul{
    border: solid 1px #EDEDED;
    border-bottom: none;
}

#body aside .menu {
    width: 220px;
}

#body aside .menu li ul {
    visibility: hidden;
    position:absolute;
    top:-1px;
    left: auto;
    right: 91%;
    width:220px;
    box-shadow: 0 1px 2px #666;
    z-index: 999;
}

#body aside .menu li {
    margin: 0px 12px 0px 5px;
}

#body aside .menu li:hover,
#body aside .menu li.active,
#body section .menu li:hover,
#body section .menu li.active {
    position: relative;
    z-index: 2;
    cursor: default;
	
    
}
#body aside .menu li:last-child {
    border-bottom: none;
}
#body aside .menu li:hover > ul {
    visibility: visible;
}
aside .menu .item, section .menu .item {
    background: url("../images/menulist.png") no-repeat 0px 6px;
}
#body aside .menu li.active .item,
#body section .menu li.active .item {
       color: #fff;
}
#body aside .menu a,
#body aside .menu span.item,
#body section .menu a,
#body section .menu span.item {
    overflow: hidden;
    display:block;
    color: #ffffff;
    text-decoration: none;
    padding:4px 10px;
    padding-left:12px;
	font-weight: bold;
}

#body aside .menu a:hover {
    color:#fff;
	    text-decoration: underline;
}

#body aside .menu .counter,
#body section .menu .counter{
    float:right;
    padding: 0px 7px;
    background: #376499;
    border-radius: 50px;
    font-size: 11px;
    color: white;
}

#body aside .menu li:hover .counter,
#body section .menu li:hover .counter{
    background:#BDC3C7;
}

/* Footer =================================================================== */

#layout footer{
    background: #1f638f;
    height: 60px;
    color: #7f8c8d;
    padding: 0 15px;
    clear:both;
    font-size:12px;
}

#layout .footer ul, #layout .footer li {
    margin: 0; padding: 0; list-style: none;
}

#layout .footer ul {
    overflow: hidden;
	margin: 0 auto;
    display: table;
	    border-bottom: 1px solid #fcdbae;    
		margin-bottom: 10px;
}

#layout .footer.menu .item, #layout .footer .menu .item {
    background: url(../images/menulist.png) no-repeat 6px 3px;
}

#layout .footer ul li {
    height: 60px;
    line-height: 60px;
    float:left;
    margin-right: 15px;
}

#layout .footer ul li:last-child { margin:0; }


#layout .footer a {     color: #fff;    padding-left: 20px;     font-size: 16px;}
#layout .footer a:hover { color:#ecf0f1; }

#layout .footer span.item { padding:0 10px; border-left: solid 1px #7f8c8d; }

/* Footer SQL Debug ======================================================== */

#sql_debug{
    display:none;
}

#sql_queries .query{
    padding:10px;
    margin:10px;
    background:#FFF;
    border:solid 1px #DDD;
}

#sql_queries .query .src{
    font-size:12px;
    color:#999;
    margin-bottom:4px;
}
#sql_queries .query_time {
    color: #999;
    font-size: 12px;
    margin: 4px 0 0;
}
#sql_queries .red_query {
    color: #c0392b;
}
#sql_queries .green_query {
    color: #27ae60;
}
#sql_stat {
    margin: 10px;
    font-size: 11px;
    color: #AAA;
}
/* Footer Navigation ======================================================== */

#layout footer #nav {
    float:right;
    margin-right: 0;
}

/* Site offline notice ====================================================== */

#site_off_notice{
    position: fixed;
    left:15px; top:15px;
    padding:5px 10px;
    padding-left:28px;
    background: url("../images/icons/error.png") no-repeat 8px center #FFF;
    border:solid 1px red;
    color:red;
}
.modal_padding {
    padding: 10px;
    box-sizing: border-box;
}
.modal_padding h3, .modal_padding h2  {
    margin-top: 5px;
}
/* Media Queries ============================================================ */

.hs_container{
position: relative;
    width: 950px;
    height: 344px;
    /* overflow: hidden; */
    /* clear: both; */
    /* cursor: pointer; */
    float: left;
    margin-left: -41px;
    z-index: 4;
	    margin-top: -1px;
}
.hs_container .hs_area{
	position:absolute;
	overflow:hidden;
}
.hs_area img{
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.hs_area img.hs_visible{
	display:block;
	z-index:9999;
}
.hs_area1{
	border-right:2px solid #30150a;
}

.hs_area4{
	border-right:2px solid #30150a;
}
.hs_area3{
	border-top:2px solid #30150a;
}
.hs_area1{
	width:463px;
	height:344px;
	top:0px;
	left:0px;
}
.hs_area2{
	width:537px;
	height:172px;
	top:0px;
	left:463px;
}
.hs_area3{
	width:537px;
	height:172px;
	top:172px;
	left:463px;
}

.widget_content_list.tiles-big .vistavka .image {
    height: 150px !important; 
}
.widget_content_list.tiles-big .vistavka {
    float: none !important;
    width: 100% !important;
	 padding-right: 10px;
	     border-bottom: 1px solid #b9e2f6;
    margin-bottom: 20px !important;
    padding-bottom: 10px;

}

.content_list.tiled .tile.vistavki_list_item:nth-child(3) {
    padding-right: 10px !important; 
}



.grid-container {
  -webkit-column-gap: 16px;
          column-gap: 16px;
  margin: 8px 16px;
}
@media only screen and (max-width: 480px) {
  .grid-container {
    -webkit-column-count: 1;
            column-count: 1;
  }
}
@media only screen and (min-width: 481px) and (max-width: 620px) {
  .grid-container {
    -webkit-column-count: 2;
            column-count: 2;
  }
}
@media only screen and (min-width: 621px) and (max-width: 1023px) {
  .grid-container {
    -webkit-column-count: 3;
            column-count: 3;
  }
}
@media only screen and (min-width: 1024px) {
  .grid-container {
    -webkit-column-count: 4;
            column-count: 4;
  }

}
.grid-container .element-item {
    background-color: #157ab2;
    margin: 5px 0;
    padding: 3px;
  display: inline-block;
}
.grid-container .element-item img {width:100%;}

.headerbg-top {    background: #1c6c9b !important;    padding: 5px;    text-align: right;}
.headerbg-top a, .headerbg-top i{   color:#fff !important;}

.csize a {color:#fff;}
.csize a:hover {color:#fff;}
.csize {
    position: fixed;
    right: 0px;
    top: 30%;
    background: #1d6c9b;
    padding: 10px 15px;
    width: 45px;
    text-align: center;
    color: #949494;
}
