@import "normalize.css";
@import "fancybox/jquery.fancybox.css";
@import "bxslider/jquery.bxslider.css";




table[border="0"], table[border="0"] td{
    border: none;
}

.header-image{
    background: url(images/header.jpg?);
    height: 210px;
    padding: 0 30px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
}
.header-image-subdomain{
    background: url(images/header_sub.png);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
}
.header-main{
  padding: 20px;
  float: left;
  background: rgba(255, 255, 255, 0.71);
  margin: 30px 10px;
    box-shadow: 0 0 10px rgb(228, 228, 228);
}


.header-secondary{
  margin: 58px 0 0;
  float: right;
  width: 200px;
}


.header-emblem{
    background: url(images/emblem.png);
    width: 80px;
    height: 100px;
    float: left;
}
.header-subtitle{
  margin-left: 101px;
  margin-top: 13px;
  font-size: 18px;
  text-shadow: 0 0 3px white;
  text-shadow: 0 0 5px white, 0 0 5px white;
  font-family: 'Myriad Pro';
}
.header-title{
  margin-left: 100px;
  font-size: 24px;
  margin-top: 12px;
  font-weight: bold;
  text-shadow: 0 0 5px white;
  text-shadow: 0 0 5px white, 0 0 5px white;
  font-family: 'Myriad Pro';
}

.header-special a{
  text-transform: uppercase;
  font: bold 13px 'Myriad Pro';
  text-decoration: none;
  border: 2px solid;
  color: #424242;
  padding: 6px 0 5px;
  text-align: center;
  display: inline-block;
  width: 196px;
  text-shadow: 0 0 5px white;
  text-shadow: 0 0 5px white, 0 0 5px white;
  box-shadow: 0 0 5px 1px white;
  font-weight: bold;
}
.header-special{
  margin-bottom: 12px;
}
.header-search input{
  width: 200px;
  padding: 8px 10px;
  border: none;
  background: #fff;
  box-shadow: 0 0 3px #bfbfbf;
}
.header-search form{
  position: relative;
}
.header-search input[type="submit"]{
  visibility: hidden;
  position: absolute;
  right: 3px;
  top: 3px;
  border: none;
  bottom: 3px;
  box-shadow: none;
  padding: 0 8px !important;
  width: auto !important;
  font-size: 12px;
  background: #555;
  color: white;
  font-weight: bold;
}
.header-search input:focus ~ input[type="submit"],
.header-search input[type="submit"]:active,
.header-search input[type="submit"]:focus
{
  visibility: visible;
}

.header-social{
  margin-top: 10px;
  text-shadow: 1px 1px 3px white, -1px -1px 3px white, -1px 1px 3px white, 1px -1px 3px white;
  font-weight: bold;
  text-transform: uppercase;
}

.header-social .social-title{
  float: left;
  margin: 9px 0;
}
.header-social .social-icons{
  float: right;
}
.header-social .social-icon{
  margin-left: 5px;
}

.social-icon{
  display: inline-block;
  width: 32px;
  height: 32px;
}
.social-icon-instagram{
  background: url(images/icon-instagram.png);
}
.social-icon-ok{
  background: url(images/icon-ok.png);
}


.header-nav{
    background: linear-gradient(#fff, #F4F8F9, #fff);
    padding: 5px 0;
}
.header-nav li{
    display: inline-block;
    list-style: none;
}

.header-nav > ul > li + li{
    border-left: 1px solid #e5e5e5;
}
.header-nav li ul {
    display: none;
}

.header-nav > ul{
    display: table;
    /* width: 100%; */
}

.header-nav > ul > li{
    display: table-cell;
    padding: 0 5px;
    text-align: center;
    vertical-align: middle;
}
.header-nav a{
    display: inline-block;
    padding: 10px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    color: #333;
}

.header-nav{
    box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.3);
}
.header-nav ul{
    /* width: 1000px; */
    padding: 0;
    margin: 0 auto;
}

.page-sidebar{
    float: left;
    width: 270px;
    margin: 15px 15px;
}
.sidebar-widget{
/*     padding: 10px; */
/*     box-shadow: 0 0 18px rgba(0, 0, 0, 0.17); */
	margin: 0 0 30px;
}
.sidebar-widget ul{
    margin: 0;
    padding: 0;
}
.sidebar-widget ul li{
    display: block;
    border-bottom: 1px solid #ccc;
    margin: 0;
    padding: 0;
}
.sidebar-widget ul li a:hover{
    background: #CEE8EC;
}
.sidebar-widget ul li.active a{
    background: #407098;
    color: #fff;
}
.sidebar-widget ul a{
    text-decoration: none;
    display: block;
    padding: 8px;
    color: #000;
}
.page-main{
    
}
.page-content{
    width: 940px;
    float: left;
    margin: 15px 0;
}
body{
    font-size: 13px;
    font-family: Arial;
    color: rgb(40, 40, 40);
    line-height: 1.4;
    background: #f7f7f7;
}
.page{
    width: 1260px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 10px #b3b3b3;
}
a{
    color: #2C7FD4;
}
a:hover{
    color: #3699FF;
}
.content-title, .sidebar-widget-title, h1{
    display: block;
    font-size: 130%;
    color: #434343;
    padding: 0 0px 5px 0px;
    border-bottom: 1px solid #7A65C3;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0 0 10px;
}

h2{
    display: block;
    font-size: 130%;
    color: #434343;
    padding: 0 0px 5px 0px;
    border-bottom: 1px solid #95BCEC;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0 0 10px;
}

table.person td{
    vertical-align: top;
    padding-bottom: 10px;
    border-bottom: 1px solid #E4E4E4;
}
table.person img{
    margin-top: 6px;
}
table.person{
    margin-bottom: 60px;
}

table.person td{
    width: 150px;
}
table.person td + td{
    width: auto;
    padding-left: 20px;
}
table.person:last-child td{
    border-bottom: none;
}

.page-footer{
    clear: both;
    padding: 50px 0;
    border-top: 1px solid rgb(230, 230, 230);
}

.footer-info{
    text-align: center;
    font-size: 90%;
}
table{
    margin-bottom: 30px;
    width: 100%;
}
table th{
    font-weight: bold;
    text-align: left;
}
table, table td, table th{
    border: 1px solid #ccc;
    border-collapse: collapse;
}
table td, table th{
    padding: 5px 8px;
}


table[border="0"] td{
    padding: 0;
}

.footer-banners{
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}


p{
	text-indent: 0 !important;
	margin: 0 0 15px !important;
}
time{
    color: #4E5255;
    font-family: "Times New Roman";
}

.error{
  background: #ef2e2e;
  color: #fff;
  padding: 3px 10px;
  display: block;
  margin: 3px 0;
  border-radius: 2px;
}
.alert{
  text-align: center;
  padding: 10px 20px;
  font-size: 130%;
  border: 2px solid;
  margin: 0 0 10px;
  border-radius: 1px;
  text-transform: uppercase;
}

.alert-success{
  color: white;
  background: #349df5;
}
.alert-danger{
  color: white;
  background: #d01818;
}
.posts-item{
    margin: 0 0 15px;
}


.pagination{
    margin: 30px 0;
    text-align: center;
    padding: 0;
}

.pagination li{
    display: inline-block;
    margin: 0 10px;
}

.pagination .active{
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.footer-banners table{
    width: 900px;
    margin: 0 auto;
}
.footer-banners table[border="0"] td{
    padding: 5px;
}
.footer-counters{
text-align: center;
margin: 20px 0;
}

img{
max-width: 100%;
}

.body{
  font-size: 15px;
}

.special a{
  color: #222;
}
.special *{
  text-shadow: none !important;
}
.special table, .special table td, .special table th{
  border-color: inherit !important;
}
.special .header-image{
  background: none;
}

.special .header-emblem,
.special .header-social{
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.special a:hover{
  color: #000;
}
.special .source{
    background: #555
}
.special img{
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.sidebar-widget img{
  transition: transform 0.2s ease-in-out;
}
.sidebar-widget img:hover{
  transform: scale(1.05);
}
.sidebar-widget h4 a{
    text-decoration: none;
    color: inherit;
}
.sidebar-widget h4 a:hover{
    color: #2C7FD4;
}
.sidebar-widget img{
    width: 60%;
}

.search-form fieldset{
    border: none;
    padding: 0;
}

.search-form input[type="text"]{
  height: 2em;
  padding: 3px 10px;
  width: 170px;
}

.search-form input[type="submit"]{
  padding: 8px 10px;
  width: 65px;
}

.source{
  background: #3699FF;
  padding: 1px 5px;
  color: white;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 0.8em;
}














.selector{
  cursor: default;
}
.selector-item{
  display: inline-block;
  padding: 0 3px;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
}
.selector-item.active{
  border: 2px solid;
}

.selector-item:hover{
  border: 2px solid;
}

.size-small{
  font-size: 12px;
}
.size-medium{
  font-size: 15px;
}
.size-large{
  font-size: 18px;
}


.font-sansserif{
    font-family: "Arial", "Verdana", sans-serif!important;
}

.font-serif{
    font-family: "Times New Roman", Times, serif!important;

}


.interval-medium{
    letter-spacing: 2px;
}

.interval-large{
    letter-spacing: 5px;
}




.color-invert{
  color: #eee;
  background: #000;
}

.color-invert .page{
  background: #111;
}

.color-invert a{
  color: #eee !important;
}
.special .sidebar-widget ul li.active a{
    background: #000;
}

.special .content-title, .special .sidebar-widget-title, .special h1, .special h2{
  color: inherit;
}
.color-invert .sidebar-widget ul li.active a{
background: #fff;
color: #111 !important;
}

.special .header-nav{
  background: none;
}

.special .content-title, .special .sidebar-widget-title, .special h1, .special h2{
    border-color: inherit;
}


.color-invert input, .color-invert textarea, .color-invert button{
  background: none;
  border: 2px solid #fff;
  color: #fff;
}

.floated{
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}


.page-sidebar2{
  float: right;
  width: 270px;
  margin: 15px 15px;
}

.form-group{
  margin-bottom: 15px;
  float: left;
  width: 100%;
}
.form-actions{
  text-align: center;
}
.form-actions button{
  font-size: 1.1em;
  padding: 5px 10px;
}
.form-agreement{
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: bold;
}
.control-label{
  font-size: 1.1em;
  float: left;
  width: 27%;
  margin-right: 3%;
  text-align: right;
  font-weight: bold;
  padding: 0.3em 0;
}
.control-box{
  width: 70%;
  float: left;
}

.control-group{
  padding: 0.3em 0;
  font-size: 1.1em;
}
.control-group label{
  vertical-align: ;
}
.control-group label + label{
  margin-left: 20px;
  display: inline-block;
}
.control-box .textbox,
.control-box .textarea,
.control-box .attachment{
  width: 100%;
  box-sizing: border-box;
  font-size: 15px;
  padding: 5px;
  border: 1px solid #ccc;
}
.control-box .textarea{
  resize: vertical;
}
.asterix{
  color: #f00;
  display: inline-block;
  width: 0.4em;
  margin-left: 0.2em;
  margin-right: -0.6em;
}
.control-note{
  opacity: 0.7;
  font-size: 0.9em;
  padding-top: 5px;
}

fieldset{
  border: none;
  padding: 0;
  margin: 0;
}
.special-bar{
  padding: 0 30px;
  letter-spacing: 0;
  font-size: 17px;
}
.special-bar > span{
  display: inline-block;
  padding: 10px 0;
}

.B_crumbBox{
  margin: 0 0 10px;
  padding: 0;
}
.B_crumbBox li{
  list-style: none;
  display: inline-block;
}


@media print{
body{
    zoom: 0.6;
}
.sidebar-widget p img{
display: none;
}
.sidebar-widget p a:before{
  content: attr(title);
}


.footer-banners{
  display: none;
}
.no-print{
display: none;
}


.header-title{
  display: block;
}

}

.sisea-highlight{
  background: #fbff80;
  padding: 2px 5px;
}

/* Gallery */
.content-gallery{
    overflow: hidden;
    clear: both;
    margin: 0 -4px;
}
.content-gallery-item{
    float: left;
    padding: 2px;
    border: 1px solid #d4d4d4;
    margin: 4px;
    position: relative;
    width: 320px;
    height: 240px;
}
.content-gallery-item:hover{
    border-color: #777;
}
.content-gallery-item img{
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
/* Стили для Экранного диктора */
.selector-item#audio-reader-toggle.active { /* Активная кнопка "Включен" */
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.selector-item[onclick*="toggleAudioReader()"]:not(.active) { /* Неактивная кнопка "Выключен" */
    background: #eee !important;
    color: #333 !important;
    border-color: #777 !important;
}

/* Стиль для ползунка громкости */
input[type="range"]#audio-reader-volume {
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    height: 10px;
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: opacity .2s;
}
input[type="range"]#audio-reader-volume:hover {
    opacity: 1;
}
input[type="range"]#audio-reader-volume::-webkit-slider-thumb { /* Ползунок */
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
}
input[type="range"]#audio-reader-volume::-moz-range-thumb { /* Ползунок для Firefox */
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
}
/* Стили для Экранного диктора */

/* Общие стили для кнопки */
#audio-reader-toggle-button {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #777;
    cursor: pointer;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    line-height: 1.2;
    border-radius: 0 !important; /* Убираем скругление */
}

/* Когда озвучка ВКЛЮЧЕНА (темный фон) */
#audio-reader-toggle-button.enabled { /* Я добавил класс .enabled, который будет применяться к кнопке */
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* Когда озвучка ВЫКЛЮЧЕНА (светлый фон) */
#audio-reader-toggle-button.disabled {
    background-color: #eee !important; /* Светло-серый фон */
    color: #333 !important;
    border-color: #777 !important;
}

/* Стиль для ползунка громкости */
input[type="range"]#audio-reader-volume {
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    height: 10px;
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: opacity .2s;
    vertical-align: middle; /* Для выравнивания с текстом */
}
input[type="range"]#audio-reader-volume:hover {
    opacity: 1;
}
input[type="range"]#audio-reader-volume::-webkit-slider-thumb { /* Ползунок */
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
}
input[type="range"]#audio-reader-volume::-moz-range-thumb { /* Ползунок для Firefox */
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
}
.page { 
    width: 98% !important; 
    max-width: 1260px !important; 
    margin: 0 auto; 
    background: #fff; 
    box-shadow: 0 0 10px #b3b3b3; 
}
/* --- АДАПТИВНАЯ ВЕРСИЯ (МОБИЛЬНЫЕ) --- */
@media screen and (max-width: 960px) {
    /* 1. Общие настройки: снимаем все float и выстраиваем в столбик */
    .page-sidebar, .page-sidebar2, .page-content,
    .header-main, .header-secondary, .header-image {
        float: none !important;
        width: 100% !important;
        margin: 0 auto 15px auto !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* 2. Шапка: центрирование и размеры */
    .header-image { height: auto !important; padding: 10px !important; }
    .header-title { font-size: 18px !important; margin-left: 0 !important; }
    .header-subtitle { font-size: 14px !important; margin-left: 0 !important; }
    .header-emblem { float: none !important; margin: 0 auto 10px !important; display: block !important; }
    
    /* 3. Меню: в столбик и по центру */
    .header-nav { width: 100% !important; margin: 0 !important; }
    .header-nav > ul { display: block !important; padding: 0 !important; margin: 0 !important; width: 100% !important; }
    .header-nav > ul > li { 
        display: block !important; 
        width: 100% !important; 
        border-bottom: 1px solid #ccc !important;
        text-align: center !important; 
    }
    .header-nav a { 
        display: block !important; 
        padding: 15px 5px !important; 
        text-align: center !important;
        text-decoration: none !important;
        font-size: 14px !important; 
    }

    /* 4. Поиск и кнопки */
    .header-search input { width: 90% !important; max-width: 300px !important; margin: 5px auto !important; }
    .header-special a { width: 90% !important; max-width: 300px !important; margin: 5px auto !important; }
    .header-social { text-align: center !important; margin-top: 10px !important; float: none !important; }
    .header-social .social-title, .header-social .social-icons { display: block !important; margin: 5px auto !important; float: none !important; }

    /* 5. Подвал и БАННЕРЫ (выравнивание в столбик) */
    .footer-banners table, 
    .footer-banners table tbody, 
    .footer-banners table tr, 
    .footer-banners table td {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        border: none !important; /* Убираем рамки внутри мобильных баннеров */
    }
    .footer-banners table {
        width: 100% !important;
        margin: 0 !important;
    }
    .footer-banners img {
        max-width: 90% !important; 
        height: auto !important; 
        margin: 10px auto !important;
    }
}