/*------------*/
/* ПЕРЕМЕННЫЕ */
/*------------*/
:root {
        --body-color: #333; /* #333 */
        --topb-color: var(--white); /* #333 */

	--main-color: #339933; /* #339933 */
	--head-color: #006600; /* #006600 */

	--scnd-color: var(--head-color); /* #E2F3FF */
	--thrd-color: var(--back); /* #D1ECFF */
	--frth-color: var(--main-color) ; /* #A4C8E2 */
	--icon-color: #fff; /* #288ac8*/
	--icon-color-hover: var(--white); /* #288ac8*/
	--icon-back: var(--scnd-color); /* #288ac8*/
	--icon-back-hover: var(--main-color); /* #288ac8 */
        --box-hdrs: #f3f3f3; /* #fff */ 
        --black: #000; /* #000 */ 
        --white: #fff; /* #fff */ 
        --adap-back: #C8E8FF; /* #C8E8FF */ 

	/*--main-color: #D9E5EA; */
	/*--head-color: #256698; */

	--head-img: url(sm_full.aspx?guid=25033);
	--back-hover: rgba(255, 255, 255, 0.85);
	--back: rgba(245, 245, 245, 0.75);
	--back-transparent: rgba(255, 255, 255, 0.00);
	--bsh: 0px 0px 10px rgba(0, 0, 0, 0.5);
	--bsh-hover: 0px 0px 10px rgba(0, 0, 0, 1.0);
	--tshw: 1px 1px 4px rgba(255, 255, 255, 1.0);
	--tshb: 1px 1px 4px rgba(0, 0, 0, 1.0);
	--imsh: 0px 0px 5px rgba(0, 0, 0, 0.3);
	--hdsh: 4px 4px 5px #aaaaaa;
        --tbl-hover: rgba(51, 153, 51, 0.10);
}


#opros { display: none; }

/*----------------*/
/* Общие правила  */
/*----------------*/

* {margin: 0; padding: 0; outline: 0; }
a, img {border: 0;}
a:link {color: #004E88; }
a:visited {color: #002F52; }
a:hover {text-decoration: underline; color: #005C9C; }


body { 
 /* Фон сайта */
 /* background: #EFEFEF; */
 width: 100%; 
 height: 100%; 
 font-family: Book Antiqua,Cambria,Bookman Old Style,Century,Georgia,sans-serif; 
  overflow-y: scroll;
}

body::before {
	background: url(sm_full.aspx?guid=24173) no-repeat center center;
	background-size: cover;
	content: ' ';
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	will-change: transform;
	z-index: -1;
}

ul {list-style-position: inside; list-style-type: square; }
ul ul {margin-left: 1.6em; list-style-type: square; }

hr {color: var(--main-color); background-color: var(--main-color); border: 0; height: 2px; /* высота 1px IE, Firefox, Opera, Safari */ clear:both;}

table {border-collapse: collapse; border-color: var(--body-color);width:100%;}
table td {vertical-align: middle; }

.content_box table td {padding: 5px; text-indent: initial;}
.content_box table p, .content_box table span {
    padding: unset;
    margin: unset;
    text-align: unset;
    text-indent: unset;
}

.content_box .entry_spoiler > div.excerpt_content { text-align: justify; }
.content_box .entry_spoiler > .excerpt_content > p { margin-bottom: 0.5em; text-align: justify; }

iframe {max-width: 100%; border: 0 solid transparent;}

.mirrorY { transform: scale(1, -1); }
.mirrorX { transform: scale(-1, 1); }
.mirrorXY { transform: scale(-1, -1); }

.video, .youtube {
position:relative;
padding-bottom:56.25%;
padding-top:30px;
height:0;
overflow:hidden;
border:1px solid #ccc;
width:auto;
margin:10px 50px;
}
.video iframe,.video object,.video embed, .youtube iframe,.youtube object,.youtube embed{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

#timetable { max-width: 810px; margin: 0 auto; }
#timetable iframe {min-height:400px;}
#timetable > #doc1 {height:1000px;}
#timetable > #doc2 {height:1250px;}
/* ТАБЛИЦА DIV НАЧАЛО ==================================== */
.d-table{ display: inline-block; width: 100%; }
.d-tr{ display: flex; }
.d-td { display: inline-block; width: 100%; }
.d-td:not(.no-p){ padding: 10px;}
/* ТАБЛИЦА DIV КОНЕЦ ==================================== */

/*---------------------*/
/* Глобальная разметка */
/*---------------------*/

body, #layout {font-size: 14px; /* Важно! Отправная точка для изменения размера текста на всём сайте*/}

/* Ширина основного блока с содержанием */
#layout { /* box-shadow: 0 0 50px #bbb; */}
   #layout > div.wrapper {padding: 0; }
.wrapper {padding: 5px; /* overflow: hidden; */}


/* Задаёт ширину боковой колонки */
#R1_default.column-width {max-width: 280px; }
.column-width {width: 35%; max-width: 210px; }


#scroll_up {
	color: var(--scnd-color);
	background: var(--back);
	display: block; 
	position: fixed; 
	bottom: 30px; 
	right: 40px; 
	min-width: 32px; 
	height: 50px; 
	border-radius: 4px; 
	line-height: 50px; 
	text-align: center; 
	cursor: pointer; 
	padding: 0 1em 0 55px; 
	opacity: 0.6; 
	-webkit-transition: initial;
	-moz-transition: initial;
	-o-transition: initial;
	transition: initial; 
}

#scroll_up:hover {opacity: 1; box-shadow: 0 0 50px #ded7d7; }

#R0 {
    display: flex;
    flex-direction: row;
    clear: both;
}

#R1,#R1_default { flex:auto; order:1;}
#R2 { flex:auto; order:2;}
#R3 { flex:auto; order:3;}

.div1, #h_menu ul, #h_menu li, .ajax__tab_default .ajax__tab_body, #carousel-default a img
{ 
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.div1:hover,#h_menu.div1:hover{
	box-shadow: var(--bsh-hover);
        /* filter: drop-shadow(var(--bsh-hover)); */
}

div.div1 a div, .excerpt.div1 {
	background: var(--back-transparent);
	border-radius: 5px 5px 5px 5px;
	/* border: 0px solid #000000; */
}

.ajax__tab_default .ajax__tab_body:hover,.excerpt.div1:hover,div.div1 a > div.div1:hover{
	background: var(--back-hover);
	box-shadow: var(--bsh-hover);
        /* filter: drop-shadow(var(--bsh-hover)); */
	border-radius: 5px 5px 5px 5px;
}

.site_search.div1 { }
.site_search.div1:hover { }
#carousel-default a img:hover  {
	/* background: var(--back-hover); */
	filter: drop-shadow(var(--bsh-hover));
	border-radius: 0px;
}


#contacts-map { float: right; margin: 0 30px 0 0;}
#contacts-page-map { display: unset; }
#contacts-page-map-link { display: none; }

#pay-att {}
#pay-att a:hover {
	text-decoration: none;
}
#pay-att div.div1 {
	margin: 0px -5px 0px -5px;
	padding: 0px 0px 0px 0px;
}

/*------*/
/* Лого */
/*------*/

#header {min-height: auto; clear: both; position:relative; background: linear-gradient( var(--main-color), rgba(255, 0, 0, 0), rgba(255, 0, 0, 0), rgba(255, 0, 0, 0));
	-webkit-transition: initial;
	-moz-transition: initial;
	-o-transition: initial;
	transition: initial; 
}
/* #header.defmenu { margin-bottom: 0px; } */
/* #header.fixmenu { margin-bottom: 0px; } */
#header > .wrapper {padding: 0; }

#top_bar {
	color: var(--topb-color);
	line-height: 22px; 
    height: auto;
    padding-top: 0.5%;
    padding-right: 10%!important;
    padding-bottom: 0.5%;
    padding-left: 10%!important;
	font-size: 1em; 
	background:none; 
	border-bottom: solid 0px var(--main-color); 
	text-align: right;
}
 #top_bar > div {display: inline-block; height: 22px; line-height: 22px; }

#logo {
     /* padding: 15px 30px 15px; */
     max-height: auto; 
     overflow:hidden; 
     background: none;
     display:flex;
     flex-direction: row;
     max-width: 1280px;
}

#logo_image {    
    margin: 2% 2%;
    width: 150px;
    height: 150px;
    flex:none; 
    text-align: center; 
}
#logo_image img {display: inline-block; width: auto; height: 140px; max-height: 140px; margin: 5px 0;}
#logo_block {display: table; height: auto;width: 100%;;margin-left: 20px;}

          #logo_block_content {padding: 12px 0; display: table-cell; vertical-align: middle; }
#logo_block p {
	color: var(--head-color);
	/* text-shadow: var(--hdsh); */

	vertical-align: middle;
	font-size: 1.1em;
	font-style: italic;
	margin-bottom: 0em;
        margin-top: 0em;
text-shadow:-1px -1px 2px rgb(255, 255, 255), 1px 1px 1px rgb(245, 245, 245), 1px 1px 3px rgba(0, 0, 0, 0.4), 3px 3px 5px rgba(0, 0, 0, 0.3)
}
#logo_block h1hd {
	font-size: 3.5em;
	font-style: normal;
	font-weight: bold;
text-shadow: -1px -1px 1px rgb(255, 255, 255), 1px 1px 0px rgb(245, 245, 245), 2px 2px 0px rgb(235, 235, 235,1.0), 3px 3px 1px rgb(225, 225, 225,0.9), 2px 2px 10px rgba(0, 0, 0, 0.4), 6px 5px 20px rgba(0, 0, 0, 0.3);
}
#logo_block h2hd {
	font-size: 1.5em;
	font-weight: bold;
text-shadow: -1px -1px 1px rgb(255, 255, 255), 1px 1px 0px rgb(245, 245, 245), 2px 2px 0px rgb(235, 235, 235,1.0), 3px 3px 1px rgb(225, 225, 225,0.9), 2px 2px 10px rgba(0, 0, 0, 0.4), 6px 5px 20px rgba(0, 0, 0, 0.3);

}
#logo_block .hd-nachalniki {
    text-align:right;
    margin-right: 6px;
}
#logo_block .hd-title {
    text-align:left;
}

.hd-logo {
	background-size: contain;
	min-width: 100%;
	min-height: 100%;
	background-image: var(--head-img);
	-webkit-filter: drop-shadow(var(--bsh));
	filter: drop-shadow(var(--bsh));

	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.hd-logo:hover {
	-webkit-filter: drop-shadow(var(--bsh-hover));
	filter: drop-shadow(var(--bsh-hover));
}

.hd-logo-container {

}


/*--------------------------------------------*/
/* Главное горизонтальное меню (+ выпадающее) */
/*--------------------------------------------*/
#main-menu-title { display: none; max-width: 95%; margin: 0 auto; }
#main-menu-title p { color: var(--white); text-shadow: var(--tshb); font-size: 2em; text-align: left; }
#main-menu-title > p span.glyphicon { margin: 0px 48px; }
#main-menu-title > p span.glyphicon::before { top: 4px; left: -33px; font-size: 1em; }
#main-menu-title .glyphicon > span  { font-family: initial; margin-left: 1em; }

#main_nav {width:100%; min-height:36px; margin-bottom: 10px;
/* GRADIENT */
	background: var(--main-color);
	background: -moz-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: -webkit-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--main-color)', 
        endColorstr='var(--head-color)', GradientType=0);
          /* GRADIENT */
}
#main_nav.default {position:relative;}
.transbg {
  background-color: rgba(60, 130, 190, 0.7)!important;
}
#main_nav.fixed {
        position:fixed;
        margin: 0 auto;
        top: 0;
        width: 100%;
        z-index: 960;
}

#h_menu { text-transform: capitalize; clear: both; width: 100%;box-shadow: var(--bsh);
          text-align: center; line-height: 2.4em; font-size: 1.2em; 
          /* GRADIENT */
	background: var(--main-color);
	background: -moz-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: -webkit-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--main-color)', 
        endColorstr='var(--head-color)', GradientType=0);
          /* GRADIENT */
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease; 
}
#h_menu.defaut { position: unset;}
#h_menu.fixed {
        position:fixed;
        margin: 0 auto;
        top: 0;
        width: 100%;
        z-index: 999;
}
       #h_menu ul {list-style-type: none; display: inline; }
       #h_menu li {display: inline-block;  position: relative;}
#h_menu li:hover {background-color: var(--head-color); color: var(--white); text-shadow: var(--tshw);}
#h_menu li a, #h_menu li span {display:block; padding: 0 0.6em; text-decoration: none; min-width: 32px; }
              
#h_menu li.parent_active, .home-icon-active {background: var(--head-color);color: var(--white); position:relative;}
#h_menu .menu_active {background: var(--head-color);color: var(--white); position:relative; text-transform:initial;}
#h_menu li.parent_active:hover{background-color: var(--main-color)}
#h_menu li.parent_active:hover > a{ /* color: var(--head-color); */ }
#h_menu ul a {color: var(--white); }
#h_menu ul li ul li a {color: var(--black); text-transform:initial; }
#h_menu ul li ul li a:hover {color: var(--white);}
#h_menu li.parent > a {text-shadow: var(--tshb);}
#h_menu li.parent:hover > a {text-shadow: var(--tshw);}

/* Пункт "Главная" (значок) */
/*
.home-icon a {background: url(/sm.aspx?guid=1463) center no-repeat; display: inline-block; min-width: 32px; padding: 0 0.8em; text-indent: -9999px; }
*/
.home-icon {display: inline-block;width: 0;}
.home-icon a {position: relative;}
/*.home-icon a:hover, .home-icon-active a {background: var(--head-color);}*/


/* Настройка выпадающего меню */
#h_menu .level_0 ul {visibility: hidden; position: absolute; width: 260px; margin: 0; z-index: 999; opacity: 0; transition: visibility 0.2s ease-in 0.2s, opacity 0.3s;  }

#h_menu li:hover > ul {visibility: visible; opacity: 1; }


/* Настройка отдельных уровней */
#h_menu .level_1 {left: 0; background: var(--back-hover); font-size: 0.9em; line-height: 1.1em;box-shadow: var(--bsh);}
#h_menu .level_0 > li:last-child ul {left: initial; right: 0; }
#h_menu .level_1 li {display: block; text-align: left; color: black;}
#h_menu .level_1 li > span, #h_menu .level_1 li > a {padding: 0.5em 0.8em;}
#h_menu .level_2 {left: 100%; top: 0; background:var(--head-color); }


/*--------------*/
/* Выбор языков */
/*--------------*/

   #lng {height: 24px; line-height: 24px; float: left; font-size: 12px;display: flex; }
   #lng > span, #lng > a {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
/* #lng > a { color: var(--body-color); } */
/* #lng > span:hover, #lng > a:hover {background: var(--head-color); color: var(--white); text-decoration: none;} */
/* #lng > span span {margin: 0 0.6em; } */
/* #lng img {height: 16px; width: auto; display: block; float: left; margin: 3px 0;} */

/* .lng_active {background-color: var(--head-color);} */
/* .lng_active: hover {background-color: var(--head-color);}  */


/*---------------------------------*/
/* Блок настройки шрифта (в шапке) */
/*---------------------------------*/

#font_size_changer {float: left; margin-right: 50px;}
#font_size_changer a {display: inline-block; width: 2.2em; text-align: center; font-size: 12px; cursor: pointer; float: left; text-decoration: none; font-weight: bold; }
#font_size_changer a:hover {background-color: var(--head-color); color: #fff; }
.fs_active {background-color: var(--head-color); }


/*---------------------------*/
/* RSS ссылка / карта сайта  */
/*---------------------------*/
#rss_top_link, #site_map_link, #date_time {overflow: hidden;display:inline-block; }
   #rss_top_link a, #site_map_link a {display: inline-block; overflow: hidden; width: 3em; text-align: center; text-decoration: none; }
#site_map_link a { color: var(--body-color); width: auto; padding: 0 0.5em; }
   #rss_top_link a:hover, #site_map_link a:hover { background-color: var(--head-color); color: #fff; 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/*------------------------ */
/* Соц. кнопки, html_to_pdf*/
/*------------------------ */

.share-buttons-top .b-share {padding: 0 !important; }

.b-share a {padding: 3px !important; text-align: center; }
.b-share a:hover {background-color: var(--head-color); }


.share-buttons-article {
   line-height: 24px; 
   display: inline-block; 
   padding: 0.5em;
   width: 100%;
   /* border-top: solid 2px var(--head-color); */
}
.share-buttons-article > div { float:left; }
.share-buttons-article div.share-buttons-description {
   font-size: 0.8em; 
   margin-right: 0.6em;
}
.yashare-auto-init {font-size: 0;}

#html_to_pdf {line-height:24px; display:inline-block; margin-left: 3em; font-size: 0.8em; }
    #html_to_pdf a {display: inline-block; width: 24px; height: 24px; border-radius: 3px; margin: 0 0.5em; float: right; background: darkred url(/images/pdf-icon.png) center no-repeat; opacity:0.75; }
     #html_to_pdf a:hover {opacity: 1; }

/*-------------------*/
/* Центральная часть */
/*-------------------*/


.announcement img { max-width: 100%; max-height:auto;}
#aside,#bside{margin-top:.5em;}

#body{clear:both;margin-top:.5em;}
#body > .wrapper {padding: 0;}
      .aside_box {
	flex:auto;
        clear:both; 
        overflow: hidden; 
        font-size: 1em;
	margin-bottom: 10px;
	background: var(--back);
	border: 0px solid #000000;
	box-shadow: var(--bsh);
        /* filter: drop-shadow(var(--bsh)); */
	border-radius: 5px;
      }

._aside_box h3 { display: none; }
#hren div > a > img:hover
{ 
    /* background: var(--back-hover); */
    filter: drop-shadow(var(--bsh-hover));
    border-radius: 0px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease; 
}

.raspzv { 
        flex:auto;
        clear:both; 
        overflow: hidden; 
        font-size: 1em;
	margin-bottom: 10px;
        background: transparent;
	border: 0px solid #000000;
	border-radius: 0px;
        box-shadow: none;
}
.raspzv > div.banners img{ 
        filter: drop-shadow(var(--imsh));

}


.aside_box:hover {
	background: var(--back-hover);
}
.raspzv:hover { 
        background: transparent;
	border: 0px solid #000000;
	box-shadow: none;
	border-radius: 0px;
}
      .aside_box > .wrapper{  overflow: hidden;  } 
          .aside_box > h3 > span > span  { font-family: initial; }
.aside_box > a , .aside_box > a:hover {text-decoration: none;}

          .aside_box > h3 , .aside_box > a > h3 {
            color: var(--box-hdrs);
            margin: 0; 
            padding: 0.5em 1em; 
            border-bottom: solid 0px var(--thrd-color); 
            font-size: 1.2em;
            text-shadow: var(--tshb);
/* GRADIENT */
	background: var(--main-color);
	background: -moz-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: -webkit-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--main-color)', endColorstr='var(--head-color)', GradientType=0);
/* GRADIENT */
          }
          .aside_box > h3 span.glyphicon {left: 20px;}
          .aside_box img {
            max-width: 180px;
            height: auto; 
          }

#hren {display:flex; flex-direction: column;}
#hren > div {flex:auto;}

.chapter-menu { display: inline-block; font-size: 1.5em; padding: 1em;}

.chapter-menu-region2 .level_0 { list-style-type: none; text-decoration: none; display: flex; flex-direction: column; }
.chapter-menu-region2 ul { display: block; }
.chapter-menu-region2 li > a > div { display: flex; flex-direction: row; padding: 10px 5px; }
.chapter-menu-region2 a:link, .chapter-menu-region2 a:visited, .chapter-menu-region2 a:hover {text-decoration: none; }
.chapter-menu-region2 img { display: block; max-width: 32px; max-width: 32px; margin: auto 0; filter: drop-shadow(var(--bsh)); }
.chapter-menu-region2 span { display: block; margin: auto 0; padding-left: 1em; font-size: 1.2em; font-weight: bold;}


.content_box {flex:auto; clear: both; margin: 0 0 20px 0px; border-radius: 5px;} 
.content_box:first-child{margin-top:0;}
.content-box-slider-fix div{
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none; 
}



#region_2_default {
	/* background-size: 400px 600px;  */
	background: var(--back);
	border: 0px solid #000000;
	box-shadow: var(--bsh);
	border-radius: 5px 5px 5px 5px;
      }

div #region_2_default:hover {
        box-shadow: var(--bsh-hover);
	background: var(--back-hover);
}

#region_2_default .content_box {padding: 10px 20px; font-size:1.2em; font-family: Georgia;}

#breadcrumbs {
    font-size: 1em;
    /* margin: 10px; */
    padding: 10px 20px;
	/* border-bottom: solid 2px var(--head-color); */
	/*background: linear-gradient(45deg, purple 15%, crimson 30%, orangered 50%, gold 75%);*/
}


/*--------*/
/* Подвал */
/*--------*/

#footer {clear: both;background: var(--back); overflow: hidden; box-shadow: var(--bsh);}
#footer:hover {background: var(--back-hover);}
   #footer > .wrapper {padding: 1em 30px 2em; overflow: hidden; }

#footer_line {background:var(--back-transparent);line-height: 0;height:100px;}
#carousel-default {width: 97%;margin: 0 auto;}

#footer_block {font-size: 1em; }
#footer_block_content .glyphicon:before { font-size: inherit; position: initial;}
#footer_block_content {
text-align: left;
    margin-bottom: 1em;
    margin-top: 0em;     
    display: flex;
    align-items: baseline;
    flex-direction: row;
}

#footer_block_content div{
    flex: auto;
    padding: 10px;
    vertical-align: top;
}

#footer_block_content span > a { font-family: auto; }

/*----------------------------------------------------------------*/
/* Содержание блоков с информацией (новости, план 6-го дня и т.п.) */
/*----------------------------------------------------------------*/




/* карточка */

.card {
    margin: 1,5em 0 3em;
    border: 1px solid #dcdcdc;
    padding: 3em 3em 1em;
}

/* карточка */

.content_box h1 { margin-bottom: 0; /* padding: 0 1em; */ }
.content_box p { margin-bottom: 1em; }

.content_box h2 {margin-bottom: 1em;}
.content_box h3 {margin-bottom: 0.8em;}

.post {margin-bottom: 1em; overflow: visible; /*  padding: 0 1em; */  }

.post ul, .post ol {padding-left: 2em; margin: 0.5em 0 1em; }
h1, .post h1 {font-size: 1.8em; margin: 0 0 1em; }
.post_content {font-size: 1.2em;margin-bottom: 2em;overflow-x:auto;overflow: visible;margin: 0 auto;max-width:100%;width: initial;}

.post_content > p > a { text-decoration: underline; }

.post_content table td { border: 1px solid var(--body-color); font-size: 1em; }

.post h2 {font-size: 1.5em; margin: 0.5em 0 1em; }
.post h3 {font-size: 1.2em; margin: 0.5em 0 1em; }

.news-post h3 {margin: 0; font-size: 1em; margin: 0 0 0.2em; color: #333;}
.news-post h1 {margin: 0 0 0.5em;}

.excerpt { 
    clear: both;
    border-bottom: dotted 2px var(--main-color);
    padding: 0.5em;
    margin: 1%;
    overflow: hidden;
    height: auto;
}
.excerpt a > div { display: flex; flex-direction: row;}
.excerpt a > div.excerpt_preview { display: block; flex-direction: none;}
.excerpt p { margin-bottom: 0; }
.excerpt:hover { border-bottom: solid 2px var(--head-color); }
.excerpt:nth-last-child(-n+2) {border-bottom: solid 2px var(--back-transparent);}

.announcement { 
    border-bottom: none;
    margin: 0;
}

.post a > img {
    /* margin: 0.5em; */
    height: auto;
    border: 0px;
    border-radius: 3px;
    /* filter: drop-shadow(0 0 2px black); */
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}


.content_box a > img{
    /* filter: drop-shadow(0 0 2px black); */
    border: 0px;
    border-radius: 3px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}


.post a img:hover, .avatar:hover, .content_box a > img:hover, .announcement:not a > img:hover  {
    /* filter: drop-shadow(0 0 5px black); */
    box-shadow:0 0 10px black;
}

.post img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border: 0px;
    border-radius: 3px;
    display: inline-block;
}
.post p {
    text-align: justify;
    /* text-indent: 1em; */
    margin-top: 10px; 
    margin-bottom: 10px;
}
.photo-block {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.photo-block a > img {
    margin: 0.5em;
    max-width: 25%;
    max-height: 200px;
    width: auto;
}

.author { 
    align-items: center;
    float: right;
    display: flex;
    height: min-content;
    margin: 10px;
    border: 1px solid grey;
    border-radius: 10px;
}
.author img, .author a img {
    display: block;
    max-width: 100px;
    height: auto;
    margin: 10px;
}
.author p {
    display: block;
    /* width: min-content; */
    text-indent: unset;
    margin: 10px;
    font-style: italic;
    font-weight: bold;
}

/* --------------------- */
/* Комментарии Вконтакте */
/* --------------------- */

#vk_comments { margin-bottom: 10px; box-shadow: var(--bsh); border-radius: 5px;}


/* --------------------- */
/* Шестой день           */
/* --------------------- */

.sixthday {}
.six-date p { text-align: left; font-size: 1.4em; }
.six-zag h3 { text-align: center; }
.six-text { width: max-content; margin: 0 auto; }
.six-day-page { padding: 1em 0; }

/* --------------------------------------------------------------------------- */
/* Эскизы-превью в архивах новостей, записях, горячих новостях, отчетах и т.п. */
/* --------------------------------------------------------------------------- */
.excerpt_preview {
    overflow: hidden;
    display: block;
    float: left;
    min-height: 100px;
    max-height: 150px;
    min-width: 100px;
    max-width: 100px;
    /* padding: 5px; */
    margin-right: 10px;
    /* margin-bottom: 15px; */
    /* border-radius: 5px 5px 5px 5px; */
}
.excerpt_preview img {
    /* min-width: 0; */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px 5px 5px 5px;
}
.entry_spoiler .excerpt_preview { min-width: 0px; }
.excerpt_content {margin-bottom: 0.5em; /* margin-left: auto; */ overflow-x: auto; /* min-height: 120px; */ }
   .excerpt_content h3 {margin: 0; font-size: 1em; color:var(--body-color);}
   .excerpt_content h2 {margin-bottom: 0.5em; font-size: 1.2em; color:var(--body-color);}
   .excerpt_content h1 {     text-align: center !important; margin: 0 !important; font-size: 1.5em;}
.excerpt_content .glyphicon:before { font-size: inherit; position: initial;}

.excerpt_text, .excerpt_ano { color:var(--body-color); font-size: 1.2em; /* margin-bottom: 0.3em; */  }

.news, .news:nth-last-child(-n+2) { border-bottom: dotted 2px var(--main-color); }
.news:nth-last-child(-n+1) { border-bottom: solid 2px var(--back-transparent);}

.news a {}

.news .excerpt_content ul {list-style-type: square; padding-left: 2em;}

#hot-hot-news {display: flex;flex-wrap: wrap;}
#hot-hot-news-column {display: block; }
.hot_news {flex-grow: 1;width: 48%;}
.hot_news_column { width: auto; }
.hot_news a > div { height: auto; overflow: inherit; }

.anno {display: none; color: var(--head-color); font-weight: bold; margin-bottom: 1.6em;}

.date {
	display: inline-block; 
	font-size: 0.9em; 
	color: var(--head-color);
	font-weight:bold;
	margin-left: 0.3em;
}
.title, .name, .nazv  {display: block; clear: both; font-weight: bold;}

ul.no-list {list-style-type: none; padding-left: 0;}
ul.rss {list-style-type: none; }
.rss { margin: 10px; }
.rss li {margin: 0 0 1em; border-bottom: dotted 2px var(--frth-color); padding: 0; }
.rss .title {margin-bottom: 0.5em; line-height: 1.2em; font-weight: normal; }

.own_product, .pay_service {display: inline-block; margin-right: 30px;}

.adm_procedure li, .hyperlinks li {margin: 0.5em 0; overflow: hidden; border-bottom: dotted 2px var(--frth-color); padding: 0.5em 0;}
.adm_procedure li:last-child, .hyperlinks li:last-child {border-bottom: none; }

.hyperlinks {list-style-type: none;}
.hyperlinks ul {
    margin-left: 2em;
}
.hyperlinks li {
    display: flex;
    align-items: center;
}

.hyperlinks img { max-height: 32px; width: auto; margin: 0 5px 0 0; }

.htmllinks {}
.htmllinks img { }


.show-hide, .read_more {display: block; clear: both; margin: 1em 0 1em; text-decoration: none; }
.show-hide:hover, .read_more:hover {text-decoration: underline;}

.spoiler {border-top: dotted 1px #bbb; padding: 1em 0 2em;}
   .spoiler .show-hide {float: right;}

.banners {text-align: center;}
   .banners a {display: grid; margin: 5px; }
   .banners img {
	border: 0px solid var(--head-color);
	margin: auto;
	border-radius: 0px;
	filter: drop-shadow(var(--bsh));
	box-shadow: none;
}
.aside_box > div.banners > a > img {
        max-width: 100%;
}


.off-banners {text-align: center;}
.off-banners a {display: inline-block; margin: 10px; }
.off-banners a img {	
        border: 0px solid var(--head-color);
	margin: 0px;
	border-radius: 3px 3px 3px 3px;
	box-shadow: var(--imsh);
	width:auto;
	height:60px; }

.random_quote {clear:both; padding: 1em 0; font-size: 0.9em;}

.link-button {display: inline-block;padding: 0.2em 2em; border-radius: 3px; text-decoration: none; margin-bottom: 1em;margin-top: 1em; color:var(--white);text-shadow: var(--tshb);
          /* GRADIENT */
	background: var(--main-color);
	background: -moz-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: -webkit-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--main-color)', 
        endColorstr='var(--head-color)', GradientType=0);
          /* GRADIENT */
    webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: var(--scnd-color);
    color: var(--white)!important;
    font-size: 1.2em;
    text-align: center;
}
.link-button > span.glyphicon {top: -4px; left: -4px;}
.link-button:active {cursor: pointer;background: var(--scnd-color);}
.link-button:hover {cursor: pointer;background: var(--scnd-color);text-shadow:var(--tshw);box-shadow: inset 1px 1px 5px -2px black}
.div-hovering-button{
    margin-top: 10px;
    webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.announcement .link-button {
    width: 100%;
    text-align: center;
    padding: 0.3em;
    margin: 5px auto;
    font-size: 1.3em;
}

.div-hovering-button a{

}
.div-hovering-button a:hover{

}


/*--------------*/
/* Меню раздела */
/*--------------*/
.section_menu {
    line-height: 1.4em; 
    padding: 5px; 
}

.section_menu ul{
    display: flex;
    flex-direction: column;
}
.section_menu li{
    /* display: block; */
     padding: 5px 0;
}
.section_menu li.parent{
    /* background: red; */
}
.section_menu .active > span{background:none;}

.section_menu a:link, .section a:visited {
    text-decoration: none;
    padding: 5px;
}
.section_menu a:hover { text-decoration: underline; }

.section_menu a img.icon-img-menu {display: none; width:16px; height:16px;}

.section_menu ul ul {margin-left: 1.2em;}

.section_menu .level_0 {list-style-type: none; font-size: 1.3em;}

.section_menu .level_1, .section_menu .level_2, .section_menu .level_3, .section_menu .level_4, .section_menu .level_5 {
    list-style-position: initial;
    font-size: 0.9em;
}

.section_menu .level_2 { list-style-type: circle; }
.section_menu .level_3 { list-style-type: disc; }

.section_menu li:not(.parent_active) ul {display: none;}
.section_menu li.active ul {display: block; }

.popular .level_0 { list-style-type: none; text-decoration: none; display: flex; flex-direction: column; }
.popular ul { display: block; }
.popular li > a > div, .popular li > div { display: flex; flex-direction: row; padding: 10px 5px; }
.popular a:link, .section_menu a:visited, .section_menu a:hover {text-decoration: none; }
.popular img { display: block; max-width: 32px; max-width: 32px; margin: auto 5px; filter: drop-shadow(var(--bsh)); }
.popular span { display: block; margin: auto 0; padding-left: 1em; font-size: 1.2em; font-weight: bold;}


.newcontent .level_0 { list-style-type: none; text-decoration: none; display: flex; flex-direction: column; }
.newcontent ul { display: block; }
.newcontent li > a > div, .popular li > div { display: flex; flex-direction: row; padding: 5px 5px; }
.newcontent a:link, .section_menu a:visited {text-decoration: none; }
.newcontent a:hover {text-decoration: underline; }
.newcontent img { display: block; max-width: 32px; max-width: 32px; margin: auto 5px; filter: drop-shadow(var(--bsh)); }
.newcontent span { display: block; margin: auto 0; /* padding-left: 1em; */ font-size: 1em; font-weight: bold;}




/* ------------ */
/* Блок опросов */
/* ------------ */

.poll {text-align: center; padding-bottom: 0 !important;}
    .poll h4 {}
    .poll ul {list-style-type: none; text-align: left; line-height: 1.5em;
              margin: 0 auto;width: max-content;
    }
    .poll input {margin-right: 0.8em;}
    .poll_voted_text {text-align: center; margin: 0.6em 0 2em;}

.poll-result {clear:both; overflow: hidden; padding: 1em 0 2em; margin-bottom: 2em; border-bottom: dotted 2px var(--frth-color); }
.poll-result img {float: left; margin-right: 20px; border-radius: 100px; }
.poll-result .summary {clear: both; }
.poll-result-stats {list-style-type: none; line-height: 1.5em; margin-bottom: 2em; padding-left: 0 !important; }
    .poll-result-stats .title {display: inline; font-weight: normal; }
    .poll-result-stats li { /* height: 1.5em;  */ line-height: 1.5em; padding: 0.2em 0; }


/* Разное */

.pos {display: inline-block; width: 1.5em; height: 1.5em; float: left; margin-right: 0.5em; border-radius: 1.5em; }

.some_links {background: none; line-height: 1.5em; }
.some_links a, .some_links span {clear:both; display: block; margin-bottom: 0.8em;}

.counter_cy {font-size: 0.9em; }

pre {overflow-wrap: break-word; word-wrap: break-word; width: 100%; border: solid 2px #ccc; padding: 0.5em; box-sizing: border-box; }


/* ----------------- */
/*  Формы обращения  */
/* ----------------- */

.form_structure {list-style-type: none; }
.form_structure li {clear: both; display: block; margin-bottom: 1em; width: 100%; float: left; }
.form_structure .info_field {display: block; float: left; width: 35%; padding-right: 10px; }
.form_structure .input_field {display: block; float: left; width: 65%;}
.form_structure input[type="button"] {border: none; /* font-size: 1em; */ }

.form_structure input[type="text"], .form_structure textarea, .form_structure select {width: 100%; max-width: 100%; box-sizing: border-box; border: solid 2px var(--main-color); border-radius: 3px; padding: 0.3em; font-size: 0.8em; }

.form_structure select {cursor: pointer; background: #fff;}


.form_structure input[type="text"]:valid, .form_structure textarea:valid {background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA1ElEQVQ4T6WT4Q3CIBSEj+B/beIAjtAmDqAjuEGZxFHoKA6gqW7gAE3KAoiBFIIIlCo/gfve8e5B8Ociv+h5P9asqe5auxjAb0NLFDiArt1v2SKAJ7bGu2JARAwF9SgCpMSgq4MBTBfOitKTbY71mBOzphIkuCAUpUcLmRObFPh1EARYe3EaCF6ynrrtjvSbtW1d2W4SnSmkvIQQABt/RmJiNwcJSLayc+CaFXdiogpt+84+YgydzImjo2whgHrmKn89wbfF+3EHQPjdTn26oknM/dg3BfKDm4nsiKYAAAAASUVORK5CYII='); background-position: right 5px center; background-repeat: no-repeat; }

.form_structure input[type="text"]:focus, .form_structure textarea:focus, .form_structure select:focus {border: solid 2px var(--head-color); background-color: white; font-weight: bold; }

.form_structure input[type="text"]:focus:valid, .form_structure textarea:focus:valid {background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA1klEQVQ4T6WTMRKCMBBF/55AGnqPwBH0CBbMWOo5KLRBj6E9jUfwCHoDe5qUgsU6m3GdkAkQNCWT//L5+5fw56Ff9GleZnVV3EQ7GZDm5YaITsx8rqtiOwmgYnUtkGiALxYIA/coQJ/41bYLC/hc2DHzSsNRm0Nic9kbci8wswGwVMiY2E4hzQ+GCDMnGAsBkEna7pjln8W2vKzfxUEG0NWHEFEyJv72IASJEXeK1AcJ2XbhnTH6kDFxsMoKAeHhBxbam2CRkvVxjmdj3LT7li6qiUMb+wYA3IxQS8gWoAAAAABJRU5ErkJggg=='); }


#pmgimg {float: left; margin-right: 1em; width: 200px; height: 50px; }
#pmgimg img {width: 200px; height: 50px; }
#pmgtext {width: auto; }

#pin_reload {background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAuZJREFUeNqkU9tLVGEQn3Pb21HX1V1dV0hbL2mBUadwS7qR+FARJXSh3oOgP6GH3noK6rGX7GHtwaKCwCQiiMUoYgsltXDX9dKalz3pupdzvu/cmuOaGQU9dGC+73zfzPxm5jfzMZZlwf98vL0c61u6i5v0F30c5SaKgJLHYLJpGFTXddA17ReAYRgxsCzpQk9IIqSUEc8x8OjVPJw9WtcgZ2kgnVHp7IKSNw2YQPW3nxFYe0G0KKIO9Q/OxhnLhEJOA0IMsCNp1GREgattCXoaTh4I7HLwVg8GC/8GoBESAkPrOtVZI2WWiuBy4p2qoTOFhy9TuXdji+V5hTSvympTzz7/HgaM85ZpVmI5GxlQ2tsYdDVnV4rA8xY8GJyMCw68JwTQKD6bzr54HptRVErD8lKheZvf2YE+hwzkYZ0DSkhXtchXUaLBaEpO4vnt/SfjpRwRhGXZD0hgcDSRkdpDFfX+cp6gzRHUPiuVoKotHAseHetPppZXDV2/htFvo8SVfB5yKyt2loNTqWUH2tSjbRh99qNsZlBQdGtN0631f7OIpQhCFPsRxRLsFscKa2tRjufFgm5VCLBuJ262karq++UcqTAYzhnwizQ9lzmBkQcFpxM25sOWSDDorZRVEzjQiugzubULr2e/ZiZkEKZ82+sVZP8w1rxXxUxQB8d7D0q4R/w7m5rQBubS8nc8D9u6EgClsekvM6OuSjGR5sSpcHfEXV7r60EuJEwVkkUWdp/rlhIKC6bogcTYdAJ9HtvTuA6Ada6q+eJAfGDoo8frTs67vAmzM5Kru3imHMmDLOeAkRwHvioPjESfxmmhMIwlzOeHbpQ4yPVfArambYrsOK18uqe0e1vDZUK40UHqgpY9TKZDADdrwYIJ0H71sjR6p892+6wvjkcZ+zUyDGNf2KwGGLevGgJtIpSFBIauGVDTcQWqW1r/eGby5IT55tb1rQA4e+BBcaMw/3jF9ovTbfp+CDAAIqquPExvnOoAAAAASUVORK5CYII=') 0 50% no-repeat; display: inline-block; padding-left: 20px; margin-bottom: 0.6em;}

.feedback_anno {clear: both; border-top: dotted 2px var(--head-color); margin-top: 2em; padding-top: 1em; text-align: justify; }


/*-------------------*/
/* Фото-видео эскизы */
/*-------------------*/

.thumbs {
    clear:both; 
    border-top: solid 2px var(--scnd-color);
    list-style-type: none; 
    padding: 1em 1em 2em; 
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.post_content .thumbs{
    display: inline-block;
}

.thumbs li {display: inline-block; }
.thumbs_box {}
.thumbs_box ul { }
.thumbs_box li {
    min-width: 20%;
    max-width: 20%;
    /* margin: 0 auto; */
    padding: 5px;
    /* flex-grow: 1; */
}
.thumbs_box h3 {float: left; font-size: 1em; padding: 0 1em; background: var(--scnd-color); border-radius: 3px 3px 0 0; line-height: 1.6em; margin-bottom: 0; margin-top: 10px;
            color: var(--box-hdrs);
            font-size: 1.2em;
            text-shadow: var(--tshb);
/* GRADIENT */
	background: var(--main-color);
	background: -moz-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: -webkit-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--main-color)', endColorstr='var(--head-color)', GradientType=0);
/* GRADIENT */
}
.thumbs a img, .photo-block a img{ /* border: solid 3px #fff;  max-width: 20%; height: auto; */ transition: all 0.2s ease-in .1s; }
.thumbs a:hover, .photo-block a:hover {z-index: 959; }
.thumbs a:hover img, .photo-block a:hover img, .thumbs a:hover div.rabimg {transform: scale(1.1); }

.thumbs-random {padding: 1em 0 2em; border-top: none;}




/*Структура гимназии*/
.structure {text-align:center; height:30px;}
.structure div {margin:10px 20px;}
.str_row {text-align:center;}
.str_row a {color:#fff; text-decoration:none; display:table-cell; vertical-align:middle;}
.str_row a:hover {color:lightblue;}
.str_head {font-size:1.3em;}
.center_row {width:70%; margin:0 auto;}
.str_row img {float:left; width:150px; height:auto; margin-right:10px;}
.str_bg {background:lightblue; padding:20px 10px; overflow:hidden; clear:both; margin:20px 0;}
.director {display:inline-block; margin:30px auto !important; height:80px; width:50%; text-align:center;}
.director p {display:table-cell; height:100%; width:100%;}
.zam, .ped, .soc, .tech {background:red; /*float:left;*/ width:200px; margin:10px 5px; padding:7px 0; height:70px; text-align: center; position:relative; display:inline-block;}
.tech {margin:10px auto !important; float:none !important;}
.zam p, .ped p, .soc p, .tech p, .director p{display:table; height:100%; width:100%;
    text-align: inherit;
    text-indent: inherit;
    margin-top: 0;
    margin-bottom: 0;
}
.ped {height: 80px !important;}
.open {position: absolute; display:none;}
.open img {float:none;}

.zam.ahr, .tech {background:#2C658A; border-color:#2C658A;}
.zam.ahr:after {border-top-color:#2C658A;}
.zam.ur, .gum, .mat, .lang, .lib {background:#7C7EA5; border-color:#7C7EA5;}
.zam.ur:after {border-top-color:#7C7EA5;}
.zam.vr, .teach, .org, .psy, .sped {background:#75A58E; border-color:#75A58E;}
.zam.vr:after {border-top-color:#75A58E;}

#mask {
    position:absolute;
    left:0;
    top:0;
    z-index:9000;
    background-color:#000;
    display:none;
    }
  
    .window {
    position:absolute;
    left:0;
    top:0;
    width:440px;
    height:200px;
    display:none;
    z-index:9999;
    padding:20px;
    }  
  
#director {
    background:url(/sm.aspx?guid=10013) no-repeat 0 0 transparent; 
    width:326px; 
    height:229px;
    padding:50px 0 20px 25px;
    }

.director, .zam {
	position: relative;
	background: #88b7d5;
	border: 3px solid #c2e1f5;
}
.director:after, .zam:after, .director:before, .zam:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.director:after, .zam:after {
	border-color: rgba(136, 183, 213, 0);
	border-top-color: #88b7d5;
	border-width: 20px;
	margin-left: -20px;
}
.director:before, .zam:before {
	border-color: rgba(194, 225, 245, 0);
	border-top-color: #c2e1f5;
	border-width: 24px;
	margin-left: -24px;
}

.crow {background:#D1ECFF;}
.crow, .brow {padding:10px 0;}
.crow h1, .brow h1 {text-align:center;}

figcapture {font-size:0.8em; font-style:italic;}

.intro_img img {float:left; width:30%; margin:5px 10px 5px 0;}
.contactus span {display:inline-block;}

/*----------------*/
/* Гостевая книга */
/*----------------*/

.guestbook_form {overflow: hidden; margin-bottom: 2em; padding-bottom: 1em; border-bottom: dotted 2px var(--head-color); }

ul.guestbook {   list-style-type: none;}
.guestbook_post {margin-bottom: 1.5em; list-style-type: none;}

.message { }
.answer{ margin-left: 30px;  font-style: oblique;  padding: 1em;  color: #777; }

.site_search {
   margin-bottom: 10px; /* компенсируем padding 6px в стилях Яндекс.Поиска */
   box-shadow: var(--bsh);
   border-radius: 5px;
   background:linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease; 
}
#ya-site-form0 .ya-site-form__search-input{padding:3px!important;}
.ya-site-form__input-text {line-height: 24px; border-color: transparent !important; border: solid 3px transparent !important; box-sizing: border-box; border-right: none !important; padding: 0 4px; height: 30px; border-radius: 4px 0 0 4px; }

.ya-site-form__submit {
    display: block;
    background: transparent url(sm.aspx?guid=26063) 50% no-repeat;
    text-indent: -9999px;
    width: 30px !important; line-height: 24px;
    margin: 0 !important;
    border: solid 3px transparent; 
    box-sizing: border-box;
    border-radius: 0 4px 4px 0;
    border-left: none;
    height: 30px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease; 
}

.ya-site-form__submit:hover {

    background-color: none;
    cursor: pointer;
    filter: drop-shadow(var(--tshw));
}
.ya-site-form__submit input{

}
.ya-site-form__submit input:hover{
filter: drop-shadow(var(--tshw))
}



/*--------------------------------------------------------*/
/* Вкладки на главной: пользовательская тема edu_by theme */
/*--------------------------------------------------------*/

.ajax__tab_default .ajax__tab_tab { padding: 0.6em 0.7em 0.2em; margin-right: 0 !important; text-align: left !important; cursor: pointer; display: -moz-inline-box; display: inline-block; line-height: 1.2em; overflow: auto;}
.edu_by .ajax__tab_container {
    background: initial;
    box-shadow: initial;
}
.edu_by .ajax__tab_container:hover {
    background: initial;
    box-shadow: initial;
}
.edu_by .ajax__tab_header {font-size: 1em;}

.edu_by .ajax__tab_header .ajax__tab_outer {
        filter: opacity(0.8) brightness(0.8);
        border-radius: 3px 3px 0 0; 
        background: var(--head-color);
        margin-right:1px; 
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease; 
}
.edu_by .ajax__tab_header .ajax__tab_outer:hover{filter: opacity(1) brightness(1);}

.edu_by .ajax__tab_header .ajax__tab_tab { color: var(--box-hdrs);font-size: 1em;}
.link-button:hover { text-decoration: none; }

.edu_by .ajax__tab_header span:hover {}
.ajax__tab_tab { width: 100%; }


.edu_by .ajax__tab_active .ajax__tab_outer {filter: opacity(1) brightness(1);font-weight:bold;
/* GRADIENT */background: var(--main-color);background: -moz-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);background: -webkit-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);background: linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--main-color)', endColorstr='var(--head-color)', GradientType=0);/* GRADIENT */}
.edu_by .ajax__tab_active .ajax__tab_tab {border:0px solid var(--main-color); font-size: 1.1em;}
.edu_by .ajax__tab_active .ajax__tab_outer {box-shadow: var(--bsh);}
.edu_by .ajax__tab_active:hover{text-shadow: var(--tshw);}
.edu_by .ajax__tab_active{text-shadow: var(--tshb);}


.edu_by .ajax__tab_body {font-size: 1em; border:2px solid var(--main-color); padding: 0.5em; background-size: 300px 450px;background-color: var(--back);border-radius: 0px 5px 5px 5px; box-shadow: var(--bsh);}
.edu_by .ajax__tab_body:hover { background-color: var(--back-hover);  .div; }

#content .ajax__tab_body h1, #region_2_default > div.content_box > h1, .six-day-page > h1 { /* font-size: 1.4em; */ text-align: left; padding-bottom: 0.3em; margin: 10px 10px 0px 10px; border-bottom: solid 2px var(--frth-color); }

.ajax__tab_inner {overflow-wrap: break-word; width: 100%; }

/*-------------------------------------------*/
/* Вкладки с содержанием (объекты "Вкладка") */
/*-------------------------------------------*/

#tabs .ui-tabs-nav {padding: 0; list-style-type: none; } 

.ui-tabs-nav li {display:inline-block; margin-right: 1px;}
      .ui-tabs-nav li a {display:block; padding: 0 1em; text-decoration: none; color: #000; background: var(--scnd-color); height: 1.4em; line-height: 1.4em; border-radius: 3px 3px 0 0; margin-top: 0.2em;}
.ui-tabs-nav li a:hover {background: var(--main-color);}

.ui-tabs-panel {clear:both;font-size:1em;border-top:2px solid var(--main-color);padding:0.5em;overflow-x: auto;}
.ui-tabs-panel h1 {font-size: 1.4em;}

li.ui-tabs-active {}

.ui-tabs-nav li.ui-tabs-active a {font-weight: bold;background: var(--main-color);margin-top: 0; }


/*-----------------*/
/* Архивы объектов */
/*-----------------*/

td.ArxiwDetail {width: 100%;}

/* Отображение архива объектов как вкладок */
.MapYear, .MapMonth {clear: both; border-bottom: solid 2px var(--thrd-color); overflow: hidden;}
    .MapYear span {display: block; float: left; line-height: 1.4em; height: 1.4em; padding: 0 1em; margin-right: 1px; cursor: pointer; background: var(--scnd-color); border-radius: 3px 3px 0 0; margin-top: 0.2em;}
     
    .MapYear span:hover {background: var(--head-color); color: #fff; }
    .MapYear span.sel {color: #fff; background: var(--thrd-color); height: 1.6em; line-height: 1.6em; margin-top: 0;}

.MapMonth {padding: 1px 0 2px; margin-bottom: 1.5em; border-bottom: dotted 1px var(--frth-color); text-align: left;}
    .MapMonth span a, .MapMonth span b {color: #000; display: inline-block; padding: 0 0.6em; height: 2em; line-height: 2em; text-decoration: none; font-size:0.9em;}
       .MapMonth span a {}
       .MapMonth span b {background: var(--thrd-color); color: #fff; font-weight: normal; }
       .MapMonth span a:hover {background: var(--head-color); }


/*----------------*/
/* mini-Framework */
/*----------------*/

.w25 {width: 25%;}    .w30 {width: 30%;}    .w50 {width: 50%;}
.w70 {width: 70%;}    .w75 {width: 75%;}
.op50 {opacity: 0.5; }
.leftimg {margin: 0 0.5em 0.5em 0 !important; max-width: 30% !important; }
.rightimg {margin: 0 0 0.5em 0.5em !important; max-width: 30% !important; }
.centerimg {margin: 0 auto !important; max-width: 90%; }

.fleft, .leftimg {float:left !important;}    
.fright, .rightimg {float: right !important;}
.centerimg {display: block !important; }
.text-center {text-align: center;}
.v-align-middle {line-height: initial; display: table-cell; vertical-align: middle;}
.clear {clear: both;}
span.active, a.active, .active > span, .active > a {font-weight: bolder;background: var(--back-transparent);}
.no_bg {background-color: transparent !important; }

.load-spinner {background-image: url(/sm.aspx?guid=26073); background-position: 50% 35%; background-repeat: no-repeat;}

/* Красивые таблицы в содержании */
.content_box .tbl {margin: 0.5em auto; vertical-align: middle; }
.content_box .tbl thead { color: var(--white); text-shadow: var(--tshb); border-bottom: solid 2px var(--body-color); 
  /* GRADIENT */
	background: var(--main-color);
	background: -moz-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: -webkit-linear-gradient(top, var(--main-color) 0%, var(--head-color) 100%);
	background: linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='var(--main-color)', 
        endColorstr='var(--head-color)', GradientType=0);
          /* GRADIENT */
}
.content_box .tbl td {border:1px solid var(--body-color); padding: 5px; vertical-align: middle; 
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;}
/* .content_box .tbl tr:nth-of-type(even) {background-color: var(--scnd-color);}  */
.content_box .tbl td:hover { background:var(--tbl-hover); text-shadow: var(--tshw);}
.content_box .tbl thead > tr > td:hover { background:var(--head-color); text-shadow: var(--tshw);}
.content_box .tbl caption {margin-bottom: 5px;}



/*-----------Адаптив------------------*/
@media only screen and (min-width: 1199px) {
   #region_2_default .content_box {padding: 0px 40px!important; font-size:1.3em!important;}  
   #breadcrumbs {     padding: 10px 40px;   }

}

@media only screen and (max-width: 1199px) {
    #optMenu .item-settings{padding:0 15px;}
    #optMenu .wrapperr > div{border-right:none;}
    #hot-hot-news {display: block;}
    .hot_news { width:auto; }
    #collective div.avatar, #klruk div.avatar { width:60%; height:160px; }
   .post a img { max-width: 25%; }
   .photo-block a > img { max-height: 100px; width: auto; }
.excerpt:nth-last-child(-n+2), .rss li:nth-last-child(-n+2) {border-bottom: dotted 2px var(--main-color);}
.excerpt:nth-last-child(-n+1), .rss li:nth-last-child(-n+1) {border-bottom: solid 2px var(--back-transparent);}

}

@media screen and (min-width: 991px) {
   #footer_block { font-size: 1em; } 
}

@media screen and (max-width: 991px) {
   #R0 {     /* flex-direction: column; */ /* flex-wrap: wrap; */ }
   #R1,#R1_default { }
   #R1_default.column-width {max-width: unset; }
   #R2 {}
   #R3 {order:1; display: none; }
  #h_menu{
    font-size: 0.9em;
    min-height: 3em;
  }
.glyphicon.glyphicon-home { 
    width: 34px;
    height: 30px;
    left: 5px;
    top: -19px;
}
#logo_block .hd-nachalniki { display: none; }
   #hot-hot-news {display: block;}
   .hot_news { width:auto; }
  .tbl{min-width:650px;}
   #footer_block { font-size: 0.9em; } 
   #footer_block_content { display: flex; align-items: normal; }
#timetable > #doc1 {height:1050px;}
#timetable > #doc2 {height:1350px;}
#contacts-map { float: none; margin: 0;}
#contacts-map > div { margin: 0 auto; }
#chapter-menu { display: none; }
#rasp-zvon {display:none;}
#contacts-page-map { display: none; }
#contacts-page-map-link { display: unset; }
#collective .thumbs li {
  width: calc(90%/3);
  max-width: calc(90%/3);
#breadcrumbs {
	font-size: 0.9em; 
	margin: 0 10px; 
        padding: 0px 10px;
}
  }


}

@media screen and (max-width: 767px){
   #R3 { order: 3; display: block; }
.content_box table {
		overflow-x: auto;
		display: block;
}
.content_box .tbl > tr > td { font-size: 0.4em; max-width: min-content;}
.div1:hover, #h_menu.div1:hover, .ajax__tab_default .ajax__tab_body:hover, .excerpt.div1:hover, div.div1 a > div.div1:hover, .aside_box:hover { box-shadow: var(--bsh); filter: none;}

#pay-att {padding: 0.5em 0; font-size:1em;}
#pay-att .div-hovering-button { font-size:1.2em;}
#hren {
 display:flex; 
 flex-direction: row; 
 background: var(--back);
 box-shadow: var(--bsh);
 border-radius: 5px;
 margin-bottom: 10px;
}
#hren .aside_box {
 background: none;
 box-shadow: none;
 border-radius: 0;
 }
.aside_box > h3, .aside_box > a > h3 { min-height: 41px; }
#timetable {text-align:center;}
#timetable > #doc1 {height:1200px;}
#timetable > #doc2 {height:1400px;}
 .link-button > span.glyphicon {top: -18px; left: -4px;}
  table .tbl {font-size:0.7em;}
  #main_nav.fixed { display:block;}
  #h_menu.fixed { display:unset;}
  #top_bar {font-size:0.9em; padding-bottom: 10px; display: block;align-items: center;text-align: center; /* background-color:var(--back); */ }
  #main-menu-title {display: block;}
  #h_menu li.parent_active{background:var(--adap-back);}
  #h_menu .level_0{margin: 0;}  
  #main_nav.active-main_nav{width: 100%;top: 0;position:fixed;z-index:1001;    height: 100%;}
  .active-main_nav #h_menu .level_0 ul{visibility: visible;position:static;}
  .active-main_nav .parent{margin: 20px auto;width: 85%;background: var(--adap-back);border-radius: 15px;}
  #main_nav.active-main_nav .parent:hover{background-color:var(--adap-back);}
  #main_nav.active-main_nav .parent li:hover a,
  #main_nav.active-main_nav .parent li:hover .menu_active{padding-left: 25px;transition:padding-left .5s ease;}  
  #main_nav.active-main_nav .parent > a{border-radius: 15px 15px 0 0; background: linear-gradient(to bottom, var(--main-color) 0%, var(--head-color) 100%);}
  #main_nav.active-main_nav .parent > a:hover{background-color:var(--head-color);}
  #h_menu ul li ul li a {color: var(--black); text-transform:initial;background: var(--back);}
  #h_menu ul li ul li a:hover {color: var(--white);background: var(--head-color);}
  #main_nav.active-main_nav #h_menu li:hover{color:black}
  #main_nav.active-main_nav .parent li:last-child,
  #main_nav.active-main_nav .parent li:last-child a{border-radius: 0 0 15px 15px;}
  .active-main_nav #h_menu{background: none;}
  #main_nav.active-main_nav #transparent-bg-for-modal{display:block;}
  #main_nav.active-main_nav .home-icon{display:block;margin: 50px auto 20px auto;width: 40%;background: aqua;border-radius: 15px;}
  .active-main_nav .glyphicon-home{top: -50px;left: 50%;margin-left: -20px;border-radius: 50%;background:var(--adap-back);}
  .active-main_nav .level_0.parent_active > .active > .menu_active {border-radius: 13px 13px 0 0;}  
  .internal-indentation{text-align:center;}
  .edu_by .ajax__tab_body{padding: 20px 10px 0 10px;border-top: 2px solid var(--thrd-color);border-left:none;border-right:none;border-bottom:none;}
  #region_2_default .content_box{padding: 2px 5px;}
  .excerpt{margin: 0;}
  .bx-wrapper .bx-controls-direction a{width: 0;height: 0;bottom: -8px;}
  .bx-wrapper .bx-prev{right: 100px;margin: 0;left: initial;}
  .bx-wrapper .bx-next{right: 77px;margin: 0;}
  .glyphicon-chevron-left:before,
  .glyphicon-chevron-right:before{font-size: 14px;top: -18px;}
  .content_box{margin-bottom: 20px;}
  .content_box h1 { /* margin-left: 5px; */ }
  #content .ajax__tab_body h1 {margin: initial;}
  #layout{padding: 0 5px;}
  #h_menu{display:none;border-bottom:none; max-height: 100%; overflow-y: scroll;  
    font-size: 0.9em;
    min-height: 3em;
  }
  #h_menu li{display:block;}
  #content > .wrapper{padding: 0 10px 0 10px;} 
  #logo{padding:0 10px;flex-direction: column;}
  #logo_block{width:100%;height: auto;min-height: 120px;margin: 0px 0px 0px 0px; /* background-color:var(--back); */ }
  #logo_block_content{padding:0;}
  #logo_image{width:100px; height:100px;float:none;text-align: center;position: absolute;}
  #logo_image img{}
   #logo_block .hd-nachalniki {
     display: none;
     padding-left: 100px;
     padding-right: 10px;
     margin: 0 auto;
     max-width: 100%;
   }
   #logo_block .hd-title {text-align: center; margin-top: 0em;margin-left: 30%;}
   #logo_block h1hd { font-size: 3em; }
   #logo_block h2hd { font-size: 1.1em; }
   #logo_block p { font-size: 0.9em; }
  #optMenu .opt-block{padding:0;min-height:65px;}
  #aside{margin:0 auto;padding: 0 5px;}
  #body > .wrapper {width:100%;}
  .column-width{width:100%;max-width: 767px;}
  #aside > .wrapper{padding: 0 5px;}
  .menu__icon{display: inline-block;}
  .menu__icon span {background:#3CA0D0;}
  .active-main_nav .menu__icon span {background:red;}
  .ajax__tab_outer {display: block;border-radius:0!important;width: 70%;max-width: 500px;min-width: 243px;}   
  .ajax__tab_default .ajax__tab_header {white-space: normal!important;}
  .ui-tabs-nav li{float:none;display: block;margin-bottom: -3px;}
  .excerpt_preview,.ArxiwMap,#scroll_up{display:block;}
  .ArxiwMap,.ArxiwDetail{display:block;margin-bottom: 30px;}
  .post ul, .post ol{padding-left:0.5em;}
  .post a img { margin: 5px; max-width: 45%;}
  .photo-block a > img { max-height: 100px; width: auto; }
  .post { margin-bottom: 1em; margin-left:10px;margin-right:10px; padding: 0.5em;}
  .post p { font-size: 0.8em;   text-align: justify; text-indent: 0em;}
  #footer_block_content {margin-bottom: 0em;margin-top: 0em; flex-direction: column;}
  #footer div.internal-indentation { margin: 0 10px; }
  #footer_block_content .footer-counter { text-align: center; }
  body.colorSiteBlack #main_nav.active-main_nav .parent{background:black;}
  body.colorSiteBlack #main_nav.active-main_nav .parent a{color:white!important;}
  body.colorSiteBlack #transparent-bg-for-modal{background: rgba(255,255,255,.7);}
  body.colorSiteBlack #main_nav.active-main_nav .home-icon{background: black;}  
  body.colorSiteWhite #main_nav.active-main_nav .parent{background:white;}
  body.colorSiteWhite #main_nav.active-main_nav .parent a{color:black!important;}
  body.colorSiteWhite #transparent-bg-for-modal{background: rgba(0,0,0,.7);}
  body.colorSiteWhite #main_nav.active-main_nav .home-icon{background: white;}
  body.colorSiteBlue #main_nav.active-main_nav .parent{background:#9dd1ff;}
  body.colorSiteBlue #main_nav.active-main_nav .parent a{color:#063462!important;}
  body.colorSiteBlue #transparent-bg-for-modal{background: rgba(6,52,98,.7);}
  body.colorSiteBlue #main_nav.active-main_nav .home-icon{background:#9dd1ff;}
  body.colorSiteBlue #h_menu li:hover a{background:#7CE700;}
  body.colorSiteBlack #header{box-shadow: 0px 1px 20px white;border-bottom: 2px solid white;}
  body.colorSiteWhite #header{box-shadow: 0px 1px 20px black;border-bottom: 2px solid black;}
  body.colorSiteBlue #header{box-shadow: 0px 1px 20px #063462;border-bottom: 2px solid #063462;}
  body.colorSiteBeige #header{box-shadow: 0px 1px 20px #3d4144;border-bottom: 2px solid #3d4144;}
  body.colorSiteWhite #main_nav.active-main_nav .level_1 > li:hover > a, 
  body.colorSiteWhite #main_nav.active-main_nav .level_0 > li > a:hover {background:black;color:white!important;}
  body.colorSiteBeige .active-main_nav .parent{background:#f7f3d6;color:#4d4b43;}
  body.colorSiteBeige #h_menu li:hover a{background:#f7f3d6;}
  body.colorSiteBlue #h_menu li.parent_active a{background-color:#9dd1ff;}
  #carousel-default{max-width:91%;}
	#R0 {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap!important;
		max-height: 100% !important;
		max-width: 95%;
		margin: 0 auto;
	}
	#R1,#R1_default { order:1!important; display: block; width:auto;margin-top:5px;}
	#R2 {	order:2!important; display: block; width:auto;}
	#R3 {	order:3!important; display: block; width:auto;}
        #footer_block { font-size: 1em; } 
	#footer_block_content {
		display: flex;
		align-items: normal;
	}
        #footer_block_content div {padding: 10px 0px;}
.excerpt_preview img {min-width: 0; max-width: 90px;}
.excerpt_content h2 { font-size: 1em;}
.date {font-size: 0.7em;}
.link-button { width: 100%; padding: 0.5em; }
  .slider-text { font-size: 1em;}
  .slider-text > h2 { font-size: 1.2em;}
  #collective, #klruk {
    font-size: 0.8em;
  }
   .aside_box > div.banners > a > img {
      max-width: 80%;
   }
  #top_bar > div.sitemap {display: none;}
  h1, .post h1 {font-size: 1.4em; margin: 0 0 0.5em; }
.video {margin:5px;}
}

@media screen and (min-width: 768px) {
  #h_menu{
    display:block;
    border-bottom: solid 3px var(--thrd-color); 
  }

}

@media screen and (max-width: 600px) {
  #bxslider .slider-text > span{font-size: 0.6em;}

  .form_structure .info_field,.form_structure .input_field{width:100%;float:none;}
  .form_structure .info_field{padding-right: 0;}
  .link-button{font-size: 1em;}
}

@media screen and (max-width: 767px) {
  .edu_by .ajax__tab_header > span {display:block;}  
}


@media screen and (max-width: 767px) {
  #collective .thumbs li {
    width: calc(90%/2);
    max-width: calc(90%/2);
  }
}


/****** NewYear Disabler */
#NewYear { display: none; }
#snowfall { display: none; }
#new-year-banner { display: none; }