/* Theme Switcher - Complete */

/* Светлая тема */
body[data-theme="light"] {
  background: #ffffff !important;
  color: #333333 !important;
}

/* Инверсия картинки переключения тем в светлой теме */
body[data-theme="light"] #theme-switcher img {
  filter: invert(1) !important;
}

/* Инверсия только конкретных иконок в светлой теме */
body[data-theme="light"] img[src*="contract.png"],
body[data-theme="light"] img[src*="alert.png"],
body[data-theme="light"] img[src*="blacklist.png"],
body[data-theme="light"] img[src*="cooperate.png"],
body[data-theme="light"] img[src*="photo.png"],
body[data-theme="light"] img[src*="production.png"],
body[data-theme="light"] img[src*="works.png"],
body[data-theme="light"] img[src*="rao-logo3.png"] {
  filter: invert(1) !important;
}

/* Замена цвета ссылок на #2266cc в светлой теме */
body[data-theme="light"] a {
  color: #2266cc !important;
}

/* Замена цвета заголовков постов (архив, список постов) */
body[data-theme="light"] .post-title a,
body[data-theme="light"] .entry-title a,
body[data-theme="light"] h1 a,
body[data-theme="light"] h2 a,
body[data-theme="light"] h3 a,
body[data-theme="light"] h4 a,
body[data-theme="light"] h5 a,
body[data-theme="light"] h6 a {
  color: #2266cc !important;
}

/* Замена цвета в ховере */
body[data-theme="light"] a:hover {
  color: #1a5aa3 !important;
}

/* ЗАМЕНА ЦВЕТА МЕНЮ */
body[data-theme="light"] .menu-box a {
  color: #2266cc !important;
}

body[data-theme="light"] .menu-box a:hover,
body[data-theme="light"] .menu-box :hover > a {
  color: #1a5aa3 !important;
  background-color: #e6f0ff !important;
}

/* Замена границы меню */
body[data-theme="light"] .menu-box-wrapper {
  border-bottom-color: #2266cc !important;
}

/* ЗАМЕНА ФОНА ВЫПАДАЮЩИХ ПУНКТОВ МЕНЮ */
body[data-theme="light"] .menu-box ul ul,
body[data-theme="light"] .menu-box .sub-menu,
body[data-theme="light"] .menu-box .dropdown-menu {
  background-color: #2266cc !important;
}

body[data-theme="light"] .menu-box ul ul a,
body[data-theme="light"] .menu-box .sub-menu a,
body[data-theme="light"] .menu-box .dropdown-menu a {
  color: #ffffff !important;
}

body[data-theme="light"] .menu-box ul ul a:hover,
body[data-theme="light"] .menu-box .sub-menu a:hover,
body[data-theme="light"] .menu-box .dropdown-menu a:hover {
  background-color: #1a5aa3 !important;
  color: #ffffff !important;
}

/* ТОЧНО ТАК ЖЕ КАК В ТЕМНОЙ ТЕМЕ, НО ДЛЯ СВЕТЛОЙ */
body[data-theme="light"] #header .menu-box .current-menu-item > a,
body[data-theme="light"] #header .menu-box .current-menu-ancestor > a,
body[data-theme="light"] #header .menu-box .current_page_item > a,
body[data-theme="light"] #header .menu-box .current-page-ancestor > a,
body[data-theme="light"].home #header .menu-box .link-home {
  background-color: #2266cc !important;
  color: #ffffff !important;
}

/* ФОН ПОЛЯ И КНОПКИ ПОИСКА В СВЕТЛОЙ ТЕМЕ */
body[data-theme="light"] #s,
body[data-theme="light"] .searchform-wrapper input[type="text"] {
  background-color: #ffffff !important;
  color: #333333 !important; /* Темный цвет текста */
}

body[data-theme="light"] .send.icon_search,
body[data-theme="light"] input[type="submit"].send {
  background: #2266cc !important;
  color: #ffffff !important;
}

body[data-theme="light"] #container-shadow {
  background: #ffffff !important;
}

body[data-theme="light"] #wrapper #wrapper-footer,
body[data-theme="light"] #wrapper #footer,
body[data-theme="light"] .footer-signature,
body[data-theme="light"] .footer-widget-area,
body[data-theme="light"] .footer-widget-area.footer-widget-area-2 {
  background: #ffffff !important;
}

body[data-theme="light"] .footer-signature .footer-signature-content {
  background: #ffffff !important;
  border-top-color: #e6e6e6 !important;
}

body[data-theme="light"] .currencystyle {
  background: #ffffff !important;
  color: #169fe6 !important;
}

/* Заголовки светлые */
body[data-theme="light"] h1,
body[data-theme="light"] h2, 
body[data-theme="light"] h3,
body[data-theme="light"] h4,
body[data-theme="light"] h5,
body[data-theme="light"] h6 {
  color: #333333 !important;
}

/* Сайдбар светлый */
body[data-theme="light"] .sidebar-widget {
  background: #ffffff !important;
  color: #333333 !important;
}

body[data-theme="light"] .sidebar-widget p,
body[data-theme="light"] .sidebar-widget ul li,
body[data-theme="light"] .sidebar-widget ol li {
  color: #333333 !important;
}

/* Меню светлое */
body[data-theme="light"] .menu-box-wrapper {
  background: #ffffff !important;
}

/* ФИКС ФУТЕРА ДЛЯ СВЕТЛОЙ ТЕМЫ */
body[data-theme="light"] #wrapper-footer,
body[data-theme="light"] #wrapper #wrapper-footer,
body[data-theme="light"] #footer,
body[data-theme="light"] .footer-widget-area,
body[data-theme="light"] .footer-widget-area-1,
body[data-theme="light"] .footer-widget-area-2,
body[data-theme="light"] .footer-widget-area-3,
body[data-theme="light"] #text-15,
body[data-theme="light"] .widget_text,
body[data-theme="light"] .footer-headline,
body[data-theme="light"] .footer-headline-text,
body[data-theme="light"] .textwidget {
  background: #ffffff !important;
  color: #333333 !important;
}

/* Текст в футере */
body[data-theme="light"] #footer *,
body[data-theme="light"] .footer-widget-area *,
body[data-theme="light"] .footer-headline,
body[data-theme="light"] .footer-headline-text,
body[data-theme="light"] .textwidget,
body[data-theme="light"] .textwidget p {
  color: #333333 !important;
}

/* Ссылки в футере */
body[data-theme="light"] #footer a,
body[data-theme="light"] .footer-widget-area a {
  color: #2266cc !important;
}

body[data-theme="light"] #footer a:hover,
body[data-theme="light"] .footer-signature a:hover,
body[data-theme="light"] .footer-widget-area a:hover {
  color: #1a5aa3 !important;
}

/* Заголовок "НАШИ ПАРТНЕРЫ" */
body[data-theme="light"] .footer-headline-text {
  color: #333333 !important;
}

/* ЗАМЕНА ФОНА КНОПКИ ПОИСКА В СВЕТЛОЙ ТЕМЕ */
body[data-theme="light"] #searchform .searchform-wrapper .send {
  background-color: #2266cc !important;
}

/* ЗАМЕНА ФОНА КНОПКИ "ЧИТАТЬ ДАЛЕЕ" В СВЕТЛОЙ ТЕМЕ */
body[data-theme="light"] .read-more-button,
body[data-theme="light"] .post-entry .read-more-button {
  background-color: #2266cc !important;
  color: #ffffff !important;
}

/* Ховер эффект для кнопки */
body[data-theme="light"] .read-more-button:hover,
body[data-theme="light"] .post-entry .read-more-button:hover {
  background-color: #1a5aa3 !important;
  color: #ffffff !important;
}

/* ИНВЕРСИЯ ЛОГОТИПОВ ПАРТНЕРОВ В ФУТЕРЕ ДЛЯ СВЕТЛОЙ ТЕМЫ */
body[data-theme="light"] #footer img[src*="KAZ.png"],
body[data-theme="light"] #footer img[src*="GAKZ.png"],
body[data-theme="light"] #footer img[src*="UMZ.png"],
body[data-theme="light"] #footer img[src*="AEMZ1.png"] {
  filter: invert(1) !important;
}

/* Тёмная тема (по умолчанию) */
body[data-theme="dark"] {
  background: #353333 !important;
  color: #FEF7F7 !important;
}

/* В тёмной теме иконки отображаются как есть (цвет #dd9933) */
body[data-theme="dark"] img[src*="contract.png"],
body[data-theme="dark"] img[src*="alert.png"],
body[data-theme="dark"] img[src*="blacklist.png"],
body[data-theme="dark"] img[src*="cooperate.png"],
body[data-theme="dark"] img[src*="photo.png"],
body[data-theme="dark"] img[src*="production.png"],
body[data-theme="dark"] img[src*="works.png"],
body[data-theme="dark"] img[src*="rao-logo3.png"] {
  filter: none !important;
}

body[data-theme="dark"] #container-shadow {
  background: #363333 !important;
}

body[data-theme="dark"] #wrapper #wrapper-footer,
body[data-theme="dark"] #wrapper #footer,
body[data-theme="dark"] .footer-signature,
body[data-theme="dark"] .footer-widget-area,
body[data-theme="dark"] .footer-widget-area.footer-widget-area-2 {
  background: #353333 !important;
}

body[data-theme="dark"] .footer-signature .footer-signature-content {
  background: #353333 !important;
  border-top-color: #535353 !important;
}

body[data-theme="dark"] .currencystyle {
  background: #353333 !important;
  color: #dd9933 !important;
}

/* Меню - тёмная тема */
body[data-theme="dark"] .menu-box a {
  color: #ffffff !important;
}

body[data-theme="dark"] .menu-box-wrapper {
  background: #353333 !important;
  border-bottom-color: #dd9933 !important;
}

body[data-theme="dark"] .menu-box a:hover,
body[data-theme="dark"] .menu-box :hover > a {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Выпадающее меню в темной теме */
body[data-theme="dark"] .menu-box ul ul,
body[data-theme="dark"] .menu-box .sub-menu,
body[data-theme="dark"] .menu-box .dropdown-menu {
  background-color: #dd9933 !important;
}

body[data-theme="dark"] .menu-box ul ul a,
body[data-theme="dark"] .menu-box .sub-menu a,
body[data-theme="dark"] .menu-box .dropdown-menu a {
  color: #ffffff !important;
}

/////////////////////////////
/* ИСПРАВЛЕНИЕ ИНФОРМЕРА GISMETEO В СВЕТЛОЙ ТЕМЕ */
body[data-theme="light"] .gsInformer,
body[data-theme="light"] .gsInformer * {
  color: #333333 !important;
}

/* Фон информера */
body[data-theme="light"] .gsInformer,
body[data-theme="light"] .secondaryWrap {
  background-color: #ffffff !important;
}

/* Текст города */
body[data-theme="light"] .gsCity,
body[data-theme="light"] .gsCityF,
body[data-theme="light"] #gsCityHead,
body[data-theme="light"] #cityLink {
  color: #333333 !important;
}

/* Температура */
body[data-theme="light"] .gsTemp,
body[data-theme="light"] .gsTemp2,
body[data-theme="light"] .deg,
body[data-theme="light"] .temperature {
  color: #333333 !important;
}

/* Дополнительная информация */
body[data-theme="light"] .gsAddInfo,
body[data-theme="light"] .gsAddInfo2,
body[data-theme="light"] .gsAddInfo3 {
  color: #333333 !important;
}

/* Ссылки */
body[data-theme="light"] .gsLinks,
body[data-theme="light"] .gsLinks .leftCol span,
body[data-theme="light"] .gsLinks .leftCol b {
  color: #333333 !important;
}

body[data-theme="light"] .gsLinks .gis-blue {
  color: #2266cc !important;
}

/* Границы и разделители */
body[data-theme="light"] .gsInformer table,
body[data-theme="light"] .gsInformer td,
body[data-theme="light"] .gsInformer th {
  border-color: #e6e6e6 !important;
}

/* ДОПОЛНИТЕЛЬНЫЕ СЕЛЕКТОРЫ ДЛЯ ОСТАВШИХСЯ БЕЛЫХ ЭЛЕМЕНТОВ */
body[data-theme="light"] .gsInformer span,
body[data-theme="light"] .gsInformer em,
body[data-theme="light"] .gsInformer div,
body[data-theme="light"] .gsInformer p,
body[data-theme="light"] .gsInformer td,
body[data-theme="light"] .gsInformer th {
  color: #333333 !important;
}

/* Все текстовые элементы без исключений */
body[data-theme="light"] .gsInformer *:not(img):not(svg):not(canvas) {
  color: #333333 !important;
}

/* Особо для любых span и div */
body[data-theme="light"] .gsInformer span *,
body[data-theme="light"] .gsInformer div * {
  color: #333333 !important;
}

/* Принудительно для всех дочерних элементов */
body[data-theme="light"] .gsInformer * {
  color: inherit !important;
}

//////////////////////////////////////
