.section_menu{font-size:1.2em;}

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

.ajax__tab_default .ajax__tab_tab {padding: 4px 1em 0; 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_header {font-size: 1em;}

.edu_by .ajax__tab_header .ajax__tab_outer {border-radius: 3px 3px 0 0; background: #e1e1e1; margin-right:1px; }
.edu_by .ajax__tab_header .ajax__tab_outer:hover{background: #a0ccec;}

.edu_by .ajax__tab_header .ajax__tab_tab {font-size: 1em;font-weight: bold;}
.link-button:hover { background:#d1ecff; text-decoration: none; }


.edu_by .ajax__tab_active .ajax__tab_outer {background: #275fac;font-weight: bold;color: #fff;}
.edu_by .ajax__tab_active .ajax__tab_tab {font-size: 1em;}

.edu_by .ajax__tab_body {    font-size: 1em;border: 1px solid #bababa;padding: 1em;background-size: 300px 450px;}

#content .ajax__tab_body h1 {font-size: 1.3em; text-align: right; padding-bottom: 0.3em; margin: 0 auto 0.5em; border-bottom: dotted 2px #A4C8E2; }

.ajax__tab_inner {overflow-wrap: break-word;}


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

#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: #E2F3FF; height: 1.4em; line-height: 1.4em; border-radius: 3px 3px 0 0; margin-top: 0.2em;}
.ui-tabs-nav li a:hover {background: #a0ccec;}

.ui-tabs-panel {clear:both;font-size:1em;border-top:2px solid #a0ccec;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: #a0ccec;margin-top: 0; }

/* --------------------------------------------------------------------------- */
/* Эскизы-превью в архивах новостей, записях, горячих новостях, отчетах и т.п. */
/* --------------------------------------------------------------------------- */
.excerpt_preview {display: block; float:left; min-height: 70px; width: 100px; padding: 5px; margin-right: 15px; }
   .excerpt_preview img {min-width: 0; max-width: 100px; height: auto; display: block; margin: 0 auto;}

.excerpt_content {margin-left: auto; overflow-x: auto;}
   .excerpt_content h3 {margin: 0; font-size: 1em; }
   .excerpt_content h2 {margin-bottom: 0.5em; font-size: 1.2em; }

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

.anno {color: #288ac8; font-weight: bold; margin-bottom: 1.6em;}

.date {display: block; font-size: 0.9em; color: #288ac8;font-weight:bold;}
.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 li {margin: 0 0 1em; border-bottom: dotted 2px #A4C8E2; padding: 0 0 1em; }
.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-bottom: 1em; overflow: hidden; border-bottom: dotted 2px #A4C8E2; padding: 0 0 1em;}
.adm_procedure li:last-child, .hyperlinks li:last-child {border-bottom: none; }

.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: inline-block; margin: 5px; }

.off-banners {}
.off-banners img {max-height: 50px; width: auto;}

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

.link-button {background-color: #e2f3ff; display: inline-block;padding: 0.2em 2em; border-radius: 3px; text-decoration: none; margin-bottom: 1em;margin-top: 1em;}
.link-button:hover {cursor: pointer;}
.news_post h4{font-weight: bold;}

/**************************SCROLL PAGINATION NEWS*********************************/

.MapYear,
.MapMonth span {
  display: flex;
  justify-content: space-between;
}

.MapYear {
  background-color: #f9f9f9;
  color: #aaa;
  height: 2rem;
}

.MapMonth span,
.MapYear span.sel {
  background-color: #eee;
}

.MapMonth,
.MapWrap {
  background-color: #eee;
}

.MapMonth span a {
  color: #aaa;
}

.MapYear span {
  cursor: pointer;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  _margin: 0 1px 1px 0;
}

.MapYear span.sel {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  _margin: 0 1px 1px 0;
}

.MapYear span.sel,
.MapMonth span b {
  color: #333;
}

.MapMonth {

  overflow-x: auto;
  overflow-y: none;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.MapWrap {
  margin-bottom: 0;
  overflow: hidden;
  width: 100%;
  height: 1.9rem;
}

.MapMonth span a,
.MapMonth span b {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  _margin: 0 1px 0 0;
}

.MapMonth span a:hover {
  background-color: #ddd;
}

.MapYear span:hover {
  background-color: #eee;
}


.MapMonth span b {
  background-color: #fbdf89;
  font-weight: normal;
}

.MapBody {
  margin-top: 1rem;
}

/*Нумерация*/
.page_controls{text-align: center;}
.page_current{    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    background: #ddd;}
.page_link{padding: 5px;
    border: 1px solid #ddd;
    margin: 5px;
    border-radius: 5px;}

/* Для поиска по сайту*/
.site_search #ya-site-form0 .ya-site-form__search-input{padding:0}.site_search #ya-site-form0 .ya-site-form__input-text{-webkit-box-sizing:border-box!important;box-sizing:border-box!important;width:100%!important;margin:0!important;outline:0!important;line-height:1em!important;padding:10px 14px!important;font-size:16px!important;color:#a9a7a7!important;background:#fff!important;border:1px solid #eaeaea!important;border-radius:2px!important;height:41px;-webkit-transition:all .3s;transition:all .3s}.site_search #ya-site-form0 .ya-site-form__input-text:focus{-webkit-box-shadow:0 0 10px rgba(0,0,0,.2);box-shadow:0 0 10px rgba(0,0,0,.2)}.site_search #ya-site-form0 .ya-site-form__submit{padding:0;margin:0 0 0 5px;width:41px;height:41px;font-size:0;background-color:#265eab;color:transparent!important;border:none;outline:none;border-radius:2px;cursor:pointer;position:relative;background-position:50%;background-repeat:no-repeat;background-size:20px}.site_search #ya-site-form0 .ya-site-form__submit,.site_search #ya-site-form0 .ya-site-form__submit:active,.site_search #ya-site-form0 .ya-site-form__submit:focus,.site_search #ya-site-form0 .ya-site-form__submit:hover{background-image:url('data:image/svg+xml;utf8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="search" class="svg-inline--fa fa-search fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23ffffff" d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"></path></svg>')}.site_search #ya-site-form0 .ya-site-form__submit:active,.site_search #ya-site-form0 .ya-site-form__submit:focus,.site_search #ya-site-form0 .ya-site-form__submit:hover{background-color:#434343}#ya-site-results{background:transparent!important}

td.site_search #ya-site-form0 {border:none;}
table, th, td.site_search #ya-site-form0 {border:none;}

/*Для записей, карточки сотрудника*/

.show-more,
.show-all {
    display: inline-flex;
    margin: 10px;
    text-decoration: none;
    position: relative;
    font-size: 16px;
    line-height: 16px;
    padding: 12px 20px;
    color: #FFF;
    /*font-weight: bold;
    text-transform: uppercase; */
    font-family: 'Roboto Condensed', Тahoma, sans-serif;
    background: #337AB7;
    cursor: pointer; 
    border: 2px solid #BFE2FF;
    overflow: hidden;
    z-index: 1;
}
.show-more:hover,
.show-more:active,
.show-more:focus,
.show-all:hover,
.show-all:active,
.show-all:focus{
    color: #FFF;
}
.show-more:before,
.show-all:before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    left: 0;
    border-right: 50px solid transparent;
    border-top: 50px solid #2D6B9F;
    transition: transform 0.5s;
    transform: translateX(-100%);
    z-index: -1;
}
.show-more:hover:before,
.show-more:active:before,
.show-more:focus:before,
.show-all:hover:before,
.show-all:active:before,
.show-all:focus:before{
    transform: translateX(0);
}

.html_block a{color: #428bca;}
.html_block a:hover{ 
    text-decoration: underline;
    font-weight: 600;}