@charset "UTF-8";

/* ******************************* */
/* Типовой шаблон #3               */
/* v20221020                       */
/* ВЕБ-МАСТЕРСКАЯ.БЕЛ              */
/* ******************************* */

*:focus {outline: none; }

html {font-size: 18px;}
body {background: #f3dfd9;font-family: "Fira Sans Condensed", Arial, sans-serif;font-size: 1em;line-height: 1.4;}

#body_bg {background: url("/files/00034/img/bg_pattern.png") repeat;/* background-size: cover; */position: fixed;top: 0;left: 0;right: 0;bottom: 0;z-index: -100;}


a {color: #b70f03;text-decoration: underline;}
a:hover, a:focus {color: #ff5722;}
a:visited {color: #333; }


#top_bar {min-height: 32px; padding: 5px 0 5px; }


#header {background-color: rgb(255 255 255 / 75%);padding: 25px 0 30px;position: relative;}
#header .info {text-align: right;height: 100%;position: relative;width: 100%;}
#header .contacts {display: inline-block;font-size: .9em;}
#header .contacts a {text-decoration: none; color: inherit;}
#header .contacts a:hover {text-decoration: underline;}

@media only screen and (min-width: 992px){
	#header > .container {display: flex; }
	
	#header .info {text-align: right;display: flex;align-items: flex-end;justify-content: flex-end;width: 100%;flex-wrap: wrap;}
	#header .contacts {text-align: left;min-width: 125px;}
	#header .contacts i {float: left; margin-right: 5px;}
}


#logo {position: relative;display: inline-flex;align-items: center;}
#logo .emblem {display: inline-block;margin-right: 30px;width: 140px;height: 140px;text-align: center;line-height: 140px;}
#logo img {max-width: 100%;display: inline-block;}


#logo .content {
  color: #b70f03;
  display: inline-block;
  text-align: left;       /* ← выравнивание по левому краю */
  padding: 10px 15px;
}

#logo .content p {
  margin: 0 0 5px;        /* убран auto по горизонтали */
  font-size: 1em;
  line-height: 1.25em;
  color: #b70f03;
  font-weight: 400;
}

#logo .title {
  display: block;
  font-size: 1.8em;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #b70f03;
}


@media only screen and (max-width: 767px) {
	#header {padding: 0 0 30px;}
	
	#logo {text-align: center; display: block; }
	#logo .emblem {width: 90px;margin: 15px auto 15px;height: auto;line-height: inherit;}
	#logo .content {display: block; }

	#header .contacts {display: none;}

	#header .info {text-align: center;margin-top: 20px;}
	#header .mod_buttons {margin-bottom: 0;}
}



#date_time {font-size: 0.85em; color: #175a97; }

.mod_buttons {position: relative;z-index: 10;margin: 0 auto 20px;flex: 100%;width: 100%;}
.mod_buttons img {max-height: 24px; }
.mod_buttons a {opacity: 0.7;text-decoration: none;cursor: pointer;font-weight: 500;} 
.mod_buttons a:hover {opacity: 1; }

.mod_buttons .wep_toggle {margin-right: 30px;}
.mod_buttons .wep_toggle span {display: inline-block;vertical-align: middle;font-size: 21px;}

.lng_select a + a {margin-left: 5px;}






/* ===================================== */
/* ГЛАВНОЕ МЕНЮ — чистая стилизация      */
/* ===================================== */

/* ===================================== */
/* ГЛАВНОЕ МЕНЮ — исправленная версия    */
/* ===================================== */

/* ===================================== */
/* ГЛАВНОЕ МЕНЮ — с прозрачным мостиком  */
/* ===================================== */

/* ===================================== */
/* ГЛАВНОЕ МЕНЮ — с прозрачным мостиком  */
/* ===================================== */

/* ===================================== */
/* ГЛАВНОЕ МЕНЮ — без серого на активном */
/* ===================================== */

#main_menu {
  clear: both;
  min-height: 46px;
  font-weight: normal;
  border-top: 5px solid #eeeeee;
  background: #fff;
  position: sticky;
  top: -2px;
  z-index: 100;
  backdrop-filter: blur(2px);
}

#main_menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#main_menu li {
  display: block;
  position: relative;
}

#main_menu a {
  display: block;
  padding: 8px 16px;
  color: #222;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95em;
  transition: all 0.25s ease;
  position: relative;
}

#main_menu a span {
  display: inline-block;
  line-height: 1.1em;
}

/* --- Пункты верхнего уровня --- */
#main_menu .level_0 > li {
  display: inline-block;
  line-height: 46px;
  border-top: none !important;
  vertical-align: middle;
  padding: 5px 3px;
  margin: 0 2px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Hover эффект — ТОЛЬКО для НЕактивных пунктов! */
#main_menu .level_0 > li:hover:not(.active):not(.parent_active) {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#main_menu .level_0 > li:hover:not(.active):not(.parent_active) a {
  color: #b70f03;
}

/* Активный раздел — только красный градиент, без серого */
#main_menu .level_0 > .active,
#main_menu .level_0 > li.parent_active:not(:first-of-type) {
  background: linear-gradient(135deg, #b70f03 0%, #d63031 100%);
}

#main_menu .level_0 > .active > a,
#main_menu .level_0 > li.parent_active:not(:first-of-type) > a {
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(183, 15, 3, 0.3);
}

/* --- Домик (главная) --- */
#main_menu .level_0 > li:first-child {
  flex-shrink: 0;
  flex-grow: 0;
}

#main_menu .level_0 > li:first-child > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-width: 42px;
}

#main_menu .level_0 > li:first-child > a span {
  display: none;
}

#main_menu .level_0 > li:first-child > a:before {
  display: inline-block;
  font-family: "FontAwesome";
  content: "\f015";
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s ease;
  margin: 0;
}

#main_menu .level_0 > li:first-child:hover a:before {
  transform: scale(1.15) rotate(5deg);
}

/* --- СТРЕЛКИ И ВЫПАДАЮЩИЕ МЕНЮ (Десктоп) --- */
@media screen and (min-width: 768px) {
  #main_menu .parent > a {
    padding-right: 30px !important;
  }
  
  #main_menu .parent > a:after {
    content: '\f107';
    font-family: "FontAwesome";
    position: absolute;
    right: 10px !important;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 0 !important;
    opacity: 0.7;
  }
  
  #main_menu .parent:hover > a:after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
  }
  
  /* Выпадающее меню 1 уровня */
  #main_menu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 280px;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.04);
    border-top: 3px solid #b70f03;
    z-index: 1000;
  }
  
  /* ПРОЗРАЧНЫЙ МОСТИК 1 уровня */
  #main_menu ul ul::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
  }
  
  /* Показываем при наведении на li */
  #main_menu .level_0 > li:hover > ul.level_1,
  #main_menu ul.level_1 > li:hover > ul.level_2 {
    display: block;
  }
  
  /* Пункты выпадающего меню */
  #main_menu ul ul li {
    position: relative;
  }
  
  #main_menu ul ul li a {
    padding: 10px 20px;
    color: #222 !important;
    background: #fff !important;
    font-weight: 400;
    border-radius: 0;
  }
  
  #main_menu ul ul li:hover > a {
    background: #fff5f5 !important;
    color: #b70f03 !important;
    padding-left: 24px;
  }
  
  #main_menu ul ul li:hover > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #b70f03;
    border-radius: 2px;
  }
  
  /* Стрелка для пунктов с подменю */
  #main_menu ul ul li.parent > a::after {
    content: '\f105';
    font-family: "FontAwesome";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    opacity: 0.6;
  }
  
  /* Выпадающее меню 2 уровня (справа) */
  #main_menu ul ul ul {
    top: 0;
    left: 100%;
    margin-left: 8px;
    margin-top: 0;
  }
  
  /* ПРОЗРАЧНЫЙ МОСТИК 2 уровня */
  #main_menu ul ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    bottom: 0;
    width: 8px;
    height: auto;
    background: transparent;
  }
  
  #main_menu .level_1 li:hover > a {
    background: #fff5f5 !important;
    color: #b70f03 !important;
  }
}

/* --- Мобильное меню --- */
@media screen and (max-width: 767px) {
  #main_menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 9000;
    max-height: 100vh;
    overflow-y: auto;
    border: none;
    background: rgba(255,255,255,.92);
  }
  
  #main_menu > .container { padding: 0; }
  #main_menu a:hover { background: #EDC067; }
  #main_menu .level_0 { display: none; }
  #main_menu .level_0 > li { display: block; height: auto; border-top-width: 3px; margin: 3px 0; }
  #main_menu .level_0 > li > a { font-weight: bold; padding: 10px 15px; display: block; }
  #main_menu .level_0 ul { display: block !important; position: static !important; clear: both; padding: 0 15px 15px 20px; background: #f9f9f9; border-radius: 0; box-shadow: none; border: none; margin-top: 0; }
  #main_menu .level_0 > li:first-child > a { display: inline-flex; min-width: auto; padding: 10px 15px; }
  #main_menu .level_0 > li:first-child > a:before { margin-right: 8px; }
  #main_menu .level_1 li { display: inline-block; }
  #main_menu .level_1 li.parent { display: block; }
  #main_menu .level_1 li a { display: inline-block; padding: 8px 15px; }
  #main_menu .level_1 ul { font-size: .9em; }
  #main_menu .parent > a { padding-right: 32px !important; }
  #main_menu .parent > a:after { right: 14px !important; font-size: 14px; }
  #main_menu ul ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-top: none; background: #f9f9f9; border-radius: 0; margin-top: 0; padding: 5px 0 10px 15px; }
  #main_menu ul ul li a { padding: 8px 15px; font-size: 0.9em; }
  #main_menu ul ul li:hover > a { padding-left: 15px; background: transparent; }
  #main_menu ul ul li:hover > a::before { display: none; }
}
}
#hot_links {text-align: center;padding: 0 0 30px;overflow: hidden;}
#hot_links .wrapper {padding: 0;float: none;flex-shrink: 0;}
#hot_links .item {text-align: center;border-radius: 3px;color: #000;padding: 10px;font-weight: bold;margin: 0 auto 15px;word-break: break-word;}
#hot_links .item .preview {/* height: 128px; *//* line-height: 128px; */margin-bottom: 15px;}
#hot_links .item img {max-height: 128px; display: inline-block;}
#hot_links .item:hover {background-color: #DCB15D;z-index: 1;}
#hot_links .item:hover a {color: inherit; text-decoration: none; }





.hot_contacts {padding: 0 0 45px;}
.hot_contacts a {display: inline-block;}

@media only screen and (max-width: 767px) {
	.hot_contacts {text-align: center;}
}




/* **************************** */
/* Контент на главной странице  */
/* **************************** */

/* слайдер на главной */
#main_slider {margin-bottom: 25px; }
#main_slider .item {
	background-color: #ccc;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 44%;
	position: relative;
	/* min-height: 300px; */
}

#main_slider .content {position: absolute;left: 0;right: 0;bottom: 0;width: 100%;background-color: rgba(0,0,0,1);color: #eee;padding: 10px 15px 10px;opacity: 0.6;font-size: 1rem;}
#main_slider a {color: inherit; }
#main_slider h3 {margin: 0 0 5px;font-size: inherit;}
#main_slider p {margin: 0;font-size: .9em;}


@media screen and (max-width: 767px) {
	#main_slider .content {padding: 5px 10px;font-size: .9em;}
}

/* слайдер баннеров */
#banners_slider {padding: 0; }
#banners_slider .item {margin: 5px;height: 64px;line-height:  64px;}
#banners_slider .item img {max-width:  100%;width: auto;max-height:  64px;height: auto;display: inline-block;}



/* последние новости (учреждения) */
.hot_news .row {padding: 0 5px;}

.hot_news .w {margin: 0 -5px 20px;flex-grow: 1;}
.hot_news .item {clear: both;overflow: hidden;padding: 10px 10px 15px;background: #eee;border-radius: 5px;height: 100%;}

.hot_news h3 {margin: 0; }
.hot_news .date {margin-bottom: 10px; font-size: 0.9em; }
.hot_news .preview {display: block;/* float: left; */background-position: 50%;background-repeat: no-repeat;background-size: cover;padding-bottom: 66%;/* width: 160px; *//* height: 120px; *//* margin-right: 15px; */margin: 0 auto 15px;border-radius: 5px;}
.hot_news .content {}

.hot_news .anno {margin-bottom: 15px; font-size: .9em; }
.hot_news .read_more { }

.hot_news .more_news {text-align: right; }



.section_tiles {text-align: center;padding: 0 0 30px;overflow: hidden;display: flex;flex-wrap: wrap;justify-content: space-between;}
.section_tiles .wrapper {padding: 0;float: none;flex-shrink: 0;}
.section_tiles .item {text-align: center;border-radius: 3px;color: #000;padding: 10px;font-weight: bold;margin: 0 auto 15px;word-break: break-word;}
.section_tiles .item .preview {/* height: 128px; *//* line-height: 128px; */margin-bottom: 15px;}
.section_tiles .item img {max-height: 128px; display: inline-block; border-radius: 3px;}
.section_tiles .item:hover {background-color: #fdc130;z-index: 1;}
.section_tiles .item:hover a {color: inherit; text-decoration: none; }

.section_tiles .row {flex-grow: 1;}



/* объявления */
.announcements {margin-bottom: 30px;overflow: hidden;background: #f5f5f5;clear: both;}
.announcements .item {padding: 0;}
.announcements .item:not(:first-of-type) {margin-top: 15px; border-top: dashed 2px #ccc; }



/* RSS-новости на главной */
.rss_news {}
.rss_news .item {font-size: 0.85em; color: #555; }



#body {clear: both; }

		
/* **************************** */
/* Контент на обычных страницах */
/* **************************** */


/* Основное содержание страницы */
#body_content {margin: 17px auto 23px;padding: 18px 18px 20px;background: #fff;border-radius: 10px;}
#body_content_wrapper {padding-left: 0;margin-bottom: 30px;}



@media only screen and (max-width: 768px) {
	#body_content_wrapper {padding-right: 0; }
}

h1,	h2,	h3,	h4,	h5,	h6,
.panel-heading {line-height: 1.2em;margin-bottom: 15px;}

h1 {color: #f14a3e;padding: 0;font-size: 36px;font-weight: 500;margin: 0 auto 15px;}
h2 {font-size: 30px; margin: 0 auto 15px;}
h3 {font-size: 24px; margin: 0 auto 15px;}

.section_heading {padding: 0 0 5px;display: block;margin: 0 auto 20px;color: #f14a3e;font-size: 1.6em;font-weight: 500;position: relative;}
.section_heading:after {top: 100%;display: block;left: 0;width: 120px;height: 4px;background: #8cc152;content: "";position: absolute;}



.breadcrumbs {border: 1px solid #eee;margin-bottom: 15px;padding: 8px 10px;border-radius: 5px;}

.entry {padding: 0 0 30px;overflow-x: auto;word-break: break-word;}
	
	.spoiler .preview {min-height: 80px; }
		.spoiler .preview img {display: inline-block; }
		
	.spoiler .anno {overflow: hidden;}
	.spoiler .content {display: none;clear: both;}
	#body_content .spoiler.entry:not(:last-of-type) {margin-bottom: 15px; border-bottom: dashed 2px #ccc; }
	.spoiler .content .button {margin: 15px 0 0; }


@media only screen and (max-width: 768px) {
	.spoiler .preview {margin-bottom: 15px; text-align: center; }
	.spoiler .anno {clear: both; overflow: initial; }
}


#body_content iframe {max-width: 100%; }
#body_content img {max-width: 100%; height: auto; }	

img[align="left"] {margin: 5px 10px 5px 0; }
img[align="right"] {margin: 5px 0 5px 10px; }






.page_share_buttons {margin-top: 45px; margin-bottom: -15px; }




/* Боковая колонка */
#sidebar {padding-left: 0; padding-right: 0; }
#sidebar .panel {margin: 0 0 15px 0;}

#sidebar ul,
.cool_list {list-style-type: none; list-style: none; margin: 0px; padding: 0px;	}

#sidebar ul li,
.cool_list li {padding: 2px 0 2px 12px;background: url("/files/00034/img/list.png") 0 10px no-repeat;}


.section_menu li {display: none; }
.section_menu a {color: #333;text-decoration: none;}
.section_menu a:hover {color: #ff5722;text-decoration: underline;}

/*
.section_menu .level_0 > li,
.section_menu .level_1 > li {display: block; }
*/

.section_menu .parent_active,
.section_menu .parent_active > ul,
.section_menu .parent_active > li,
.section_menu .active,
.section_menu .parent.active > ul > li {display: block; }



/* поле поиска */
.search_field {border: 1px solid #ccc;text-align: left;padding: 10px 40px 10px 10px;margin-bottom: 15px;border-radius: 5px;position: relative;overflow: hidden;}
.search_form {line-height: 1em; }
.search_form input[type="search"] {background: none; color: #979797; border: 0; width: 100%; padding: 0; margin: 0; outline: none; font-size: 0.9em; }

.search_field .button {position: absolute;top: 0;right: 0;bottom: 0;width: 40px;text-align: center;padding: 0;height: auto;border-radius: 0;}
.search_field .button:before {height: 1em; width: 1em; display: inline-block; position: absolute; top: 50%; left: 50%; margin-top: -.5em; margin-left: -.5em;}
.search_field .button:hover {color: #000 !important;}



/* блок "обратите внимание" */
.attention_block {overflow: hidden; }
.attention_block .item {margin: 10px 0; text-align: center; }
.attention_block img {display: inline-block; width: 100%; height: auto;}


/* опросы на главной */
.poll_answers {margin-top: 5px; }

.poll_answers label {display: block; margin: 0; }
.poll_answers > span {display: block; clear: both; }
.poll_answers input {margin-right: 0.3em; }

.poll_submit button {margin-top: 10px; }

.poll_results {margin-top: 15px; font-size: .86em;}



/* ************************************** */
/* Архивы по датам (новости, фотогалереи) */
/* ************************************** */
.archive_header {margin: 1.5em 0 1em; }
.archive_header.item {overflow: hidden; padding: 15px 0; }
.archive_list .item {overflow: hidden; margin-bottom: 30px; }
.archive_list .item h3 {margin-top: 0;  }
.archive_list .item .preview {display: block; float: left; background-position: 50%; background-repeat: no-repeat; background-size: cover; width: 96px; height: 96px; margin-right: 15px; }


/* тип 3: настраиваемый */
.archive_header > span,
.archive_header > a
{display: inline-block; line-height: 32px; padding: 0 0.4em; margin-right: 0.3em; }

.archive_header > span	{font-weight: 600; background-color: #f5f5f5; }
.archive_header > a:hover {background-color: #f14a3e; }


/* тип 2: закладки */
.archive_header .MapTabs {border-bottom: solid 2px #f14a3e;}
.archive_header .MapTabs .tabSelect {background-color: #f14a3e;color: #fff;}
.archive_header .MapTabs span {display: inline-block; line-height: 32px; padding: 0 0.4em; margin-right: 0.3em; cursor: pointer; }

.archive_header .MapTabsBody {}
.archive_header .MapTabsBody > span {line-height: 32px; margin-right: 0.3em; }

.archive_header .MapTabsBody > span > span {display: inline-block;font-weight: 500;padding: 0 0.4em;background: #ee5045;color: #fff;}
.archive_header .MapTabsBody > span > a {display: inline-block; text-decoration: underline; padding: 0 0.4em; }
.archive_header .MapTabsBody > span > a:hover {text-decoration: none; background-color: #f5f5f5; }

/* */



/* Фотогалереи */
.gallery {overflow: hidden; }
.gallery > .item {display: block; float: left; margin: 5px; position: relative; overflow: hidden; }
.gallery > .item > span {opacity: 0; position: absolute; bottom: 0; left: 0; right: 0; height: 22px; line-height: 22px; background: rgba(34, 101, 164, 0.75); color: #ccc; font-size: 14px; overflow: hidden; text-align: center;
transition: opacity 0.3s ease-in; }
.gallery > .item:hover > span {opacity: 1; }



/* карточка сотрудника, учащегося, вакансия, продукция и т.п. */
.item_card {overflow: hidden; padding: 15px 0; }
.item_card h3 {margin-top: 0; }
.item_card .preview {display: block; float: left; background-position: 50%; background-repeat: no-repeat; background-size: contain; width: 196px; height: 196px; margin-right: 15px; margin-bottom: 10px;}
.item_card .content {/* float: left; */}

@media (max-width: 520px) {
	.item_card .preview {float: none;} 
}

/* формы обратной связи */
.ww_form {list-style-type: square; padding: 15px; }
.ww_form li {padding: 15px 0; border-bottom: dotted 2px #ccc; clear: both; color: #f14a3e; }
.ww_form li > * {color: #333; }
.ww_form li:last-of-type {border-bottom: none; }

.ww_form label {display: block; margin: 0; }

.ww_form input[type="text"],
.ww_form input[type="email"],
.ww_form select,
.ww_form textarea {border: solid 2px #bbb; line-height: 1.6em;  }

.ww_form input[type="text"]:focus,
.ww_form input[type="email"]:focus,
.ww_form select:focus,
.ww_form textarea:focus {border-color: #2265A4; }

.ww_form input[type="text"],
.ww_form input[type="email"],
.ww_form select,
.ww_form textarea,
.ww_form .Captcha {width: 100%; font-size: 0.8em; max-width: 100%; padding: 0 0.2em; min-height: 28px; }


[data-bind="u"] {display: none; }
[field="captcha"] {display: block; width: 100%; clear: both; margin-top: 15px;  }


@media (min-width: 768px) {
	.ww_form input[type="text"],
	.ww_form input[type="email"],
	.ww_form select {min-width: 350px; width: 50%; }
}




/* блоки-панели */
.panel {border-radius: 5px;}
.panel-heading {background: #8bc34a;margin: 0 0 12px;padding: 10px;color: #fff;line-height: 1em;font-weight: normal;text-decoration: none;border-radius: 5px;border-bottom: 3px solid #529603;}
.panel-body {padding: 0 15px 15px;}
.panel-body ul,
.panel-body ol {padding-left: 1em; font-size: 0.9em;  }



.social_networks {}
.social_networks a {display: inline-block;width: 26px;height: 26px;line-height: 26px;color: inherit;font-size: 20px;text-align: center;opacity: .75;color: #000;}
.social_networks a:hover {opacity: 1; }



/* кнопки */
button, .button {color: #fff;background: #ff5722;padding: 8px 14px;font-size: .9em;line-height: 16px;display: inline-block;text-decoration: none;border: none;cursor: pointer;border-radius: 5px;}
button:hover, .button:hover {background: #ffc107;text-decoration: none;color: #000;}
a.button {color: #fff;}

button[disabled],
button.disabled,
.button.disabled {pointer-events: none; opacity: .5;}



.nav-tabs {clear: both;/* overflow: hidden; */text-align: left;margin: 0;padding: 0;}
.nav-tabs > li {display: inline-block;border: solid 1px transparent;line-height: 1.1em;vertical-align:  bottom;border-radius: 5px 5px 0 0;}
.nav-tabs > .active {background-color: #ff5722;color: #fff;}
.nav-tabs > li > a {color: inherit;display: block;line-height: 1.1em;padding: 5px 15px;text-decoration: none;border-radius: 5px;vertical-align: bottom;}
.nav-tabs > li > a:hover {background: #eee;}
.nav-tabs > .active > a {}
.nav-tabs > .active > a:hover {background: none;}


@media screen and (max-width: 991px) {
	.nav-tabs > li {display: block; clear: both; width: 100%; }
}

.tab-content {border-top: solid 2px #ff5722;padding: 15px 15px 30px;}




.pagination {text-align: center; display: block; margin: 15px 0; padding: 15px; font-weight: bold; }
.pagination span {border: solid 1px #ccc;display: inline-block;line-height: 26px;height: 28px;width: 28px;margin: 0 3px;padding: 0; overflow:  hidden;}
.pagination span:hover {background: #dcb15d; border-color: #dcb15d; color: #fff;}
.pagination span:hover a { }
.pagination .page_hidden {margin: 3px; background: none; }
.pagination span a {color: inherit; display: block; text-decoration: none; }
.pagination .page_current {border: solid 1px #2265a4;background: #2265a4;margin: 0 5px;color:  #fff;}






/* ****** */
/* Подвал */
/* ****** */
#footer {background: rgb(169 69 38 / 92%);padding: 0 0 25px;color: #fff;font-size: .9em;}
#footer a {color: inherit;text-decoration: none;}
#footer a:hover {text-decoration: underline;}
#footer_content {padding: 15px 0 15px;}


.fixed-footer {position: relative; min-height: 100vh; }
.fixed-footer #footer {position: absolute; left: 0; right: 0; bottom: 0; }


#copyrights {padding: 0 15px 0;}

#last_mod {margin-top: 5px;opacity: .5;font-size: .9em;}


/* mini-framework */
.container.row {padding-left: 0; padding-right: 0; margin-left: auto; margin-right: auto; }

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}




.popup_layer {display: block;text-align: center;position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0,0,0,.3);font-size: 0;z-index: 2100;}
.popup_layer:before {content: "";display: inline-block;width: 0;height: 100%;vertical-align: middle;}

.popup_layer .popup_window {display: inline-block;vertical-align: middle;width: 100%;font-size: 1rem;max-width: 600px;background: #fff;padding: 15px;position: relative;text-align: left;box-shadow: 0 2px 20px 4px rgba(0,0,0,.5);}
.popup_layer .popup_window .caption {margin: -15px -15px 15px;height: 40px;background: #f14a3e;position: relative;text-align: left;padding: 0 20px;line-height: 40px;}
.popup_layer .popup_window .caption .close {display: block;color: #fff;width: 30px;height: 30px;position: absolute;right: 5px;top: 5px;line-height: 30px;opacity: 1;font-weight: 400;text-align: center;}

.popup_layer .popup_window .title {/* text-align: center; */font-weight: 600;font-size: 1em;color: #fff;padding-right: 30px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;}
.popup_layer .popup_window .content {padding: 5px 5px 5px;}





#scroll_up_button {position: fixed;bottom: 45px;right: 45px;display: none;width: 42px;height: 42px;font-size: 26px;line-height: 42px;opacity: 0.5;text-align: center;cursor: pointer;z-index: 999;padding: 0;}
#scroll_up_button:hover {opacity: 1; transition: opacity 0.5s ease; }




/* Красивые таблицы в содержании */
.tbl {
	border-collapse: collapse;
	border-spacing: 0;
	max-width: 100%;
	font-size: .9em;
}

.tbl tr {background: #fafafa;}
.tbl td {
	border: 1px solid #f44336;
	border-bottom-width: 1px;
	padding: 6px;
}

.tbl thead td,.tbl th {
	background: #f44336;
	color: #fff;
	border: 1px solid #f44336;
	padding: 8px 6px;
}

.tbl tr:hover {background: #fff;color: #000;}
.tbl tr:hover td:hover {background: #fff2f1;color: #000;}





/* GoogleTranslate hack */
body {top: 0 !important;}
#google_translate_element,
.skiptranslate,
.goog-te-banner-frame {display: none !important;}






/* === СНЕГ: КАЖДАЯ СНЕЖИНКА — УНИКАЛЬНА (CSS-only) === */

/*body::before,
body::after {
  content: "";
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 9999 !important;
}

/* Слой 1 — медленные, крупные, плавные */
/*body::before {
  background-image: 
    radial-gradient(circle, #ffffff 1.8px, transparent 1.8px),
    radial-gradient(circle, #ffffff 1.2px, transparent 1.2px);
  background-size: 180px 180px, 140px 140px;
  background-position: 20% 0%, 70% 0%;
  animation: fall-slow 24s linear infinite, sway-dance-1 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  opacity: 0.85;
}

/* Слой 2 — быстрые, мелкие, резкие */
/*body::after {
  background-image: 
    radial-gradient(circle, #ffffff 0.9px, transparent 0.9px),
    radial-gradient(circle, #ffffff 1.4px, transparent 1.4px);
  background-size: 100px 100px, 160px 160px;
  background-position: 40% 0%, 85% 0%;
  animation: fall-fast 18s linear infinite, sway-dance-2 9s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  opacity: 0.9;
}

@keyframes fall-slow { to { background-position: 20% 105vh, 70% 105vh; } }
@keyframes fall-fast { to { background-position: 40% 105vh, 85% 105vh; } }

@keyframes sway-dance-1 {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-18px) rotate(-8deg); }
  45% { transform: translateX(22px) rotate(10deg); }
  70% { transform: translateX(-14px) rotate(-6deg); }
}

@keyframes sway-dance-2 {
  0%, 100% { transform: translateX(0) rotate(0); }
  25% { transform: translateX(16px) rotate(7deg); }
  50% { transform: translateX(-20px) rotate(-9deg); }
  75% { transform: translateX(12px) rotate(6deg); }
}*/



/* Убираем цветные полоски над меню */
#header::after,
#header::before,
#header .row::before,
#header .row::after,
.container.row::before,
.container.row::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  background: none !important;
  border: none !important;
}

#header {
  border-top: none !important;
  box-shadow: none !important;
  background: none !important;
}
