* {
	margin: 0;
	padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: rgb(255, 255, 255);
    font-family: 'Roboto', sans-serif;
}

.site {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

.color1 {
    color: #2B5692;
}

.color2 {
    color: #96989A;
}

.color3 {
    color: #373435;
}

.color3:hover {
    color: #020202;
}

.color4 {
    color: #847059;
}

.pb {
    padding-bottom: 10px;
}

.pt-30 {
    padding-top: 30px;
}

.pb-30 {
    padding-bottom: 30px;
}

.text_size {
    font-size: 12px;
}

.align_center {
    text-align: center;
}

a {
    text-decoration: none;
}

img {
    transition: transform 0.6s ease;
}

img:hover {
    transform: scale(1.03);
}

.search {
    flex: 1;
    background-color: #E6E7E8;
    border: 0px solid #ccc;
    border-radius: 2px;
    height: 25px;
    min-width: 0;
    max-width: 170px;
}

.search_btn {
    background-color: #E2C380;
    border: 0px solid #E2C380;
    color: white;
    border-radius: 2px;
    height: 25px;
    width: 80px;
    font-weight: 600;
    flex-shrink: 0;
}

.search_btn:hover {
    color: rgb(122, 117, 117);
}

.sn_logo {
    padding-top: 5px;
}

.vi {
    color: #96989A;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}

.vi:hover {
    color: #616264;
}

.lang {
    color: #96989A;
    font-size: 14px;
    font-weight: 600;
}

.lang1 {
    color: #57595a;
    font-size: 14px;
    font-weight: 600;
}

.lang:hover {
    color: #57595a;
}

.menu {
    padding: 10px 10px 1px 10px;
    background-image: url('/theme/cik/img/mainnav.png');
    background-repeat: repeat-x;
    background-position: center top;
    background-size: auto 100%;
    text-align: center;
}

.menu_data {
    display: inline-block;
    margin-right: 20px;
    color: #606062;
    text-shadow: 0px 0px 20px #585656;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 10px;
}

.menu_data a {
    color: #606062;
}

.menu_data a:hover,
.menu_data_submenu a:hover {
    color: #3a3a3f;
}

.menu_data {
    position: relative;
    cursor: pointer;
}

.menu_data:hover .menu_data_submenu {
    display: block;
}

.menu_data_submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    background: #e6dfcf;
    width: 300px;
    text-align: left !important;
    z-index: 1000;
}

.menu_data_submenu a {
	font-weight: 500;
}

.menu_data_submenu li {
    padding: 5px 7px 10px 15px;
}

.left_panel_item:hover .menu_data_submenu {
    display: block;
}

.container51 {
    text-align: center;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1060px) {
    .container51 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .container51 {
        grid-template-columns: 1fr;
    }
}

.left_panel {
    background-color: #e6dfce;
    text-align: left;
    display: flex;
}

.left_panel_1 {
    width: 50px;
    height: 100%;
    flex-shrink: 0;
    background-image: url('/theme/cik/img/left_background.png');
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100%;
}

.left_panel_2 {
    flex: 1;
    padding-right: 10px;
    font-weight: 600;
    line-height: 1.5;
	font-size: 15px;
}

.left_panel_2 ul,
.right_panel ul {
    padding-left: 10px;
    list-style-type: none;
}

.left_panel_2 ul li,
.left_panel_2 ul li a,
.right_panel ul li {
    margin: 15px 0px 15px 0px;
    color: #2B5692;
}

.left_panel_2 a:hover,
.left_panel_2 li:hover,
.right_panel li:hover {
    color: #102b50;
}

.left_panel_item {
    position: relative;
    cursor: pointer;
}

.left_panel_submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    /* справа от li */
    list-style: none;
    margin: -16px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    background: #e6dfce;
    width: 250px;
}

.left_panel_submenu li {
    padding-left: 15px;
}

.left_panel_item:hover .left_panel_submenu {
    display: block;
}

.innertext {
	height: auto;
}

.innertext ol, .innertext ul{
	padding: 0;
    margin-left: 30px;
}
.innertext p {
	text-indent: 39px;
	text-align: justify;
	text-justify: inter-word;
	margin: 0;
}

.innertext h2 {
	text-align: center;
	text-justify: inter-word;
	font-size: 1.2em;
}
.innertext h3 {
	line-height: 22px;
}

.innertext .bjqs-caption { text-indent: 0px; line-height: 24px; }

div.news-list {
  margin-top: 10px;
}

.news_img_preview {
  float: left;
  padding: 3px;
  margin: 0 5px;
  border: 1px dotted rgb(220, 220, 220);
  box-shadow: 0 0px 3px #909090;
}

.news-item {
  margin-right: 5px;
}

.news-item td {
  padding: 9px 5px 9px 5px;
}

.news-date-time {
  display: inline-block;
  font-size: 11px;
  font-style: italic;
  line-height: 14px;
  color: #111;
  white-space: nowrap;
  vertical-align: baseline;
  cursor: pointer;
}

.news-link {
  font-weight: 500;
  line-height: 12px;
  color: rgb(40, 90, 130);
  padding-bottom: 17px;
  text-decoration: none;
}

.margin-center {
  margin: 0 auto;
}

.election-imap {
  height: auto;
  text-align: center;
}

.img240 {
  width: 240px;
  border: 1px dotted #ccc;
  padding: 4px;
  margin: 10px;
}

.detail-picture {
  padding: 3px;
  margin: 8px;
  border: 1px dotted #DCDCDC;
  box-shadow: 0px 0px 3px #909090;
}

table {
  border-collapse: collapse;
  border-spacing: 0px;
}

.text-center {
  text-align: center;
}

.grad01 {
	background: linear-gradient(to bottom, rgb(255, 255, 255) 0%,rgb(121, 185, 185) 100%);
}

.greycolor {
  color: #666;
}

.width100 {
  width: 100%;
}

.width90 {
  width: 100%;
}

.search-suggest {
    width: 100%;
    max-width: 363px;
}

.search-input, .search-suggest {
    height: 35px;
    width: 100%;
    max-width: 263px;
    border: 1px solid #205ca0;
	appearance: none;
	box-sizing: border-box;
}

.search-submit, .news-search-submit {
    height: 35px;
    width: 35px;
    border: 1px solid #205ca0;
    background-image: url(/theme/cik/images/search.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
	appearance: none;
	box-sizing: border-box;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}

.news-search {
  border: 1px solid #888;
  padding: 5px;
}

.right_panel {
    padding-right: 5px;
}

.right_panel span {
    text-align: left;
    display: block;
}

.right_panel li {
    font-size: 14px;
}

.consultant {
    color: #E2C380;
    font-weight: 600;
    padding-left: 5px;
    vertical-align: middle;
    text-align: center !important;
}

.consultant a {
    color: #E2C380;
}

.consultant a:hover {
    color: #a18444;
}

.block {
    padding: 10px;
}

.container40 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    /* 25% 50% 25% (по сути) */
    gap: 12px;
}

@media (max-width: 900px) {
    .container40 {
        grid-template-columns: 2fr 1fr;
    }

    .left_panel {
        display: none;
    }

    .col-2 {
        padding-left: 5px;
    }
}

@media (max-width: 600px) {
    .container40 {
        grid-template-columns: 1fr;
    }

    .col-2 {
        order: 1;
        padding-left: 5px;
        padding-right: 5px;
    }

    .right_panel {
        order: 2;
        padding-left: 5px;
        padding-right: 5px;
    }
	
	.print-here img {
		display: block;
		width: 100%;	
		height: auto;
	}
}

.container45 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 600px) {
    .container45 {
        grid-template-columns: 1fr;
    }
}

.item45 span {
    display: block;
}

.item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.link_panel {
    background-image: url('/theme/cik/img/link_background.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.link_panel_1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.link_panel_item {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media (max-width: 768px) {
    .link_panel_1 {
        grid-template-columns: 1fr;
    }
}

.link_panel_2 {
    justify-content: center;
    width: 70%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1060px) {
    .link_panel_2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 530px) {
    .link_panel_2 {
        grid-template-columns: 1fr;
    }
}

.footer {
    padding: 20px;
    background-color: #e6dfce;
}

.footer_item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer_panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    font-weight: 600;
    line-height: 1.5;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer_panel {
        grid-template-columns: 1fr;
    }
}

.leftPanelButton,
.sidebar,
.overlay {
    display: none;
}

/* мобильная версия */
@media (max-width: 900px) {

    .leftPanelButton {
        display: block;
        font-size: 26px;
        background: none;
        border: none;
        padding: 15px;
        cursor: pointer;
        z-index: 1;
        position: relative;
    }
	
	.close-btn {
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        position: absolute;
        top: 15px;
        right: 15px;
        cursor: pointer;
    }

    .sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100%;
        color: #fff;
        transform: translateX(-100%);
        transition: transform .3s ease;
        z-index: 1000;
        padding: 20px;
		overflow-y: auto;
        overflow-x: hidden;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar nav a {
        display: block;
        color: #fff;
        text-decoration: none;
        margin-bottom: 15px;
    }

    .overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.4);
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        z-index: 999;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}


/* =========================
   A11Y / Версия для слабовидящих
   ========================= */

html.a11y {
  scroll-behavior: auto;       /* убираем smooth (может мешать) */
  font-size: 20px;             /* увеличиваем базовый размер */
  line-height: 1.6;
}

html.a11y body {
  background: #ffffff !important;
  color: #000000 !important;
  font-family: Arial, sans-serif; /* проще/читаемее */
}

/* Ссылки заметнее */
html.a11y a {
  color: #0000EE !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Фокус для клавиатуры (очень важно) */
html.a11y :focus-visible {
  outline: 3px solid #000 !important;
  outline-offset: 3px;
}

/* Убираем "приглушённые" цвета, делаем контрастнее */
html.a11y .color1,
html.a11y .color2,
html.a11y .color3,
html.a11y .color4,
html.a11y .vi,
html.a11y .lang,
html.a11y .lang1,
html.a11y .news-link,
html.a11y .consultant,
html.a11y .left_panel_2 ul li,
html.a11y .left_panel_2 ul li a,
html.a11y .right_panel ul li {
  color: #000 !important;
  text-shadow: none !important;
}

/* Увеличиваем читаемость мелких элементов */
html.a11y .text_size,
html.a11y .footer_panel,
html.a11y .right_panel li,
html.a11y .news-date-time {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

/* Меню: контраст + больше кликабельные зоны */
html.a11y .menu {
  background-image: none !important;
  background: #ffffff !important;
  border-bottom: 2px solid #000;
}

html.a11y .menu_data {
  color: #000 !important;
  text-shadow: none !important;
  font-size: 20px !important;
  padding: 14px 12px !important;
}

html.a11y .menu_data a {
  color: #000 !important;
}

html.a11y .menu_data_submenu {
  background: #fff !important;
  border: 2px solid #000;
}

html.a11y .menu_data_submenu li {
  padding: 10px 10px 10px 14px !important;
}

/* Левое/правое меню: контраст */
html.a11y .left_panel,
html.a11y .footer {
  background: #ffffff !important;
  border: 2px solid #000;
}

html.a11y .left_panel_1 {
  background-image: none !important;
  background: #fff !important;
  border-right: 2px solid #000;
}

/* Поиск: делаем крупнее и контрастнее */
html.a11y .search {
  background: #fff !important;
  border: 2px solid #000 !important;
  height: 44px !important;
  max-width: none !important;     /* важно: не ограничиваем 170px */
  font-size: 18px !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
}

html.a11y .search_btn {
  background: #000 !important;
  border: 2px solid #000 !important;
  color: #fff !important;
  height: 44px !important;
  width: auto !important;
  padding: 0 16px !important;
  font-size: 18px !important;
  border-radius: 6px !important;
}

/* Карточки/блоки: больше воздуха */
html.a11y .block {
  padding: 16px !important;
}

/* Текстовый контент */
html.a11y .innertext p {
  text-indent: 0 !important;       /* красная строка часто мешает чтению */
  text-align: left !important;
  margin: 12px 0 !important;
  font-size: 20px !important;
  line-height: 1.7 !important;
}

html.a11y .innertext h2,
html.a11y .innertext h3 {
  color: #000 !important;
  line-height: 1.4 !important;
}

/* Убираем анимации/увеличение картинок при наведении */
html.a11y img {
  transition: none !important;
}

html.a11y img:hover {
  transform: none !important;
}

/* Убираем любые анимации/transition (если есть где-то ещё) */
html.a11y * {
  animation: none !important;
  transition: none !important;
}
