/*
	Theme Name: Rehub child theme
	Author: Sizam
	Version: 20
	Template: rehub-theme

/* General Admin Area Styles */

/* ======================== */
/* === MyChooz-Style 1.0 === */
/* ======================== 
1. Каждый элемент прописан
2. Все в одном месте
3. Подготовка к переносу на блочную тему.
/* ========================  */








/* ============================== */
/* === Hover underline on links === */
/* ============================== */


/* Добавляем подчёркивание при ховере и при фокусе с клавиатуры */
a:hover,
a:focus-visible {
	text-decoration: underline !important;
	text-decoration-thickness: 1px;      /* толщина линии (можно убрать) */
	text-underline-offset: 2px;          /* отступ от текста (опционально) */
}



/* ✅✅✅ Компактная и адаптивная таблица Gutenberg - обновленная версия 2025 ✅✅✅ */
.wp-block-table {
    overflow-x: auto;
    margin-bottom: 1.5em;
    /* Скрыть полосу прокрутки на WebKit */
    scrollbar-width: thin;
    scrollbar-color: #c0d1e4 transparent;
}

.wp-block-table::-webkit-scrollbar {
    height: 5px;
}

.wp-block-table::-webkit-scrollbar-thumb {
    background-color: #c0d1e4;
    border-radius: 5px;
}

.wp-block-table::-webkit-scrollbar-track {
    background: transparent;
}

.wp-block-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    border-radius: 6px;
    overflow: hidden;
    font-size: 0.9em;
    isolation: isolate; /* Создаёт новый контекст наложения */
}

.wp-block-table thead {
    background: linear-gradient(135deg, #4a6fa1, #305486);
    color: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.wp-block-table th {
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    border: none;
    font-size: 0.95em;
    letter-spacing: 0.03em;
}

.wp-block-table td {
    padding: 6px 10px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #e1eaf8;
    vertical-align: middle;
    line-height: 1.3;
}

.wp-block-table tbody tr {
    transition: all 0.2s ease;
}

.wp-block-table tbody tr:nth-child(even) {
    background-color: #f0f7ff;
}

.wp-block-table tbody tr:hover {
    background-color: #e6f0fd;
}

/* Стили для ссылок в таблице */
.wp-block-table a {
    color: #4a6fa1;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.wp-block-table a:hover {
    color: #305486;
}

.wp-block-table a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #305486;
    transition: width 0.3s ease;
}

.wp-block-table a:hover::after {
    width: 100%;
}

/* Адаптивность для мобильных устройств */
@media screen and (max-width: 768px) {
    .wp-block-table table {
        width: 100%;
        min-width: 480px;
        font-size: 0.8em;
    }
    
    .wp-block-table th,
    .wp-block-table td {
        padding: 4px 6px;
    }
    
    .wp-block-table th {
        white-space: nowrap;
    }
}

/* Стили для первой колонки */
.wp-block-table td:first-child {
    font-weight: 600;
    color: #305486;
}

/* Тонкая анимация при загрузке */
@keyframes tableAppear {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.wp-block-table {
    animation: tableAppear 0.3s ease-out;
}

/* Улучшенная читаемость для длинных ячеек */
.wp-block-table td {
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 300px;
    position: relative;
}

/* Универсальный стиль для важного текста */
.wp-block-table strong {
    font-weight: 600;
    color: #333;
}

/* Добавляем фокус для доступности */
.wp-block-table a:focus {
    outline: 2px solid rgba(74, 111, 161, 0.4);
    outline-offset: 2px;
}

/* Поддержка нейтрального режима и темной темы */
@media (prefers-color-scheme: dark) {
    .wp-block-table table {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .wp-block-table thead {
        background: linear-gradient(135deg, #3a5a85, #1e3c65);
    }
    
    .wp-block-table tbody tr:nth-child(even) {
        background-color: rgba(240, 247, 255, 0.05);
    }
    
    .wp-block-table tbody tr:hover {
        background-color: rgba(230, 240, 253, 0.08);
    }
    
    .wp-block-table td {
        border-bottom: 1px solid rgba(225, 234, 248, 0.1);
    }
}

/* Поддержка инерционной прокрутки */
.wp-block-table {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Оптимизация для печати */
@media print {
    .wp-block-table {
        overflow-x: visible;
    }
    
    .wp-block-table table {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .wp-block-table thead {
        background: #f5f5f5;
        color: #000;
    }
    
    .wp-block-table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }
}








/* Старая липкая панель - скрыта */
#content-sticky-panel ul {
    display: none;
}


/* ============================== */
/* === Исправленный лайтбокс для Greenshift === */
/* ============================== */

html {
  overflow-y: scroll !important;
}
/* Контейнер лайтбокса – занимает весь экран, без отступов */
.popupContainer {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease-in-out !important;
}

/* Затемнённый фон */
.popupContainer .popUpBackground {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0) !important;
  transition: background-color 0.3s ease-in-out !important;
}

/* Активное состояние контейнера и фона */
.popupContainer.active {
  opacity: 1 !important;
}
.popupContainer .popUpBackground.active {
  background-color: rgba(0, 0, 0, 0.9) !important;
}

/* Контейнер для изображения (если используется) */
.popupContainer .imageWrapper {
  position: relative !important;
}

/* Увеличенное изображение */
.popupContainer .popImage {
  display: block !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15) !important,
              0 10px 10px -5px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease-in-out !important;
}

/* Изображения-триггеры */
.gssimglightbox img {
  cursor: pointer !important;
}

/* Кнопка закрытия – крестик, расположена в правом верхнем углу изображения */
.popupContainer .closeButton {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  font-size: 30px !important;
  color: #000 !important;
  cursor: pointer !important;
  transition: color 0.3s ease-in-out !important;
  z-index: 1000000 !important;
}
.popupContainer .closeButton:hover {
  color: #f00 !important;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
  .popupContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
  }
  .popupContainer .popImage {
    max-width: 100vw !important;
    max-height: 100vh !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15) !important,
                0 10px 10px -5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease-in-out !important;
    margin: 0 auto !important;
  }
  /* Убираем любые горизонтальные отступы */
  html, body {
    overflow-x: hidden !important;
  }
}

/* ============================== */
/* === Блок характеристик в рейтингах === */
/* ============================== */

.characteristics-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* Центрируем по вертикали */
  gap: 0; /* Убираем gap между элементами */
  padding: 8px 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Для всех элементов внутри блока – убираем лишние переносы и задаём вертикальное центрирование */
.characteristics-block * {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Подписи (например, "Драйверы:") – без отступа справа */
.characteristics-block .param {
  font-weight: 600;
  color: #000;
  cursor: pointer;
  margin-right: 0; /* Убираем дополнительный отступ */
  text-decoration: none;
  border-bottom: 1px dashed #888;
  position: relative;
}

/* Значения характеристик – добавляем отступ справа для разделения пар */
.characteristics-block .value {
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px; /* Отступ между парой и следующим блоком */
}

/* ============================== */
/* === Всплывающая подсказка (tooltip) – версия 0.1.2 === */
/* === Не выходи за границы экрана на мобайле === */
/* ============================== */
.characteristics-block .param {
  position: relative; /* Обеспечиваем правильное позиционирование */
}

.characteristics-block .param::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%; /* Расположение над элементом */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  line-height: 1.4;
  width: 280px;
  max-width: 280px;
  text-align: left;
  z-index: 100000 !important; /* Поверх всех элементов */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  border: 1px solid #ddd;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: normal;
  /* Фиксированная высота и скролл */
  max-height: 300px;
  overflow-y: auto;
  /* Предотвращаем выход за границы экрана */
  pointer-events: auto; /* Позволяет скроллить содержимое */
}

.characteristics-block .param::before {
  content: "";
  position: absolute;
  bottom: 120%; /* Треугольник чуть ниже подсказки */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  z-index: 100000 !important;
}

/* При наведении – показываем подсказку и треугольник */
.characteristics-block .param:hover::after,
.characteristics-block .param:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Адаптив для мобильных устройств */
@media screen and (max-width: 768px) {
  .characteristics-block .param::after {
    /* Переопределяем позиционирование для мобильных устройств */
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    max-height: 300px;
    margin: 0;
    /* Убираем зависимость от положения элемента */
  }
  
  /* Скрываем треугольник на мобильных, так как он не будет соответствовать новому позиционированию */
  .characteristics-block .param::before {
    display: none;
  }
    
  
  /* Добавляем затемнение фона для лучшего восприятия */
  .characteristics-block .param:hover::after {
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
  }
}

/* ============================== */
/* === Конец стилей характеристик === */
/* ============================== */



/* ================================ */
/* === Заголовки рейтингов (H3, H4) === */
/* ================================ */

:root {
    /* --- Глобальные стили заголовков рейтингов --- */
    --ratings-h4-color: #cf2e2e; /* Красный цвет для H4 */
    --ratings-h4-font: "Poppins", sans-serif; /* Современный четкий шрифт */
    --ratings-h4-size: 28px; /* Увеличенный размер */
    --ratings-h4-weight: 700;
    --ratings-h4-line-height: 1.3;
    --ratings-h4-margin: 18px 0 8px; /* Отступы */

    --ratings-h3-color: #000000; /* Черный цвет для H3 */
    --ratings-h3-font: "Inter", sans-serif; /* Читабельный шрифт */
    --ratings-h3-size: 24px; /* Увеличенный размер */
    --ratings-h3-weight: 600;
    --ratings-h3-line-height: 1.4;
    --ratings-h3-margin: 8px 0 18px; /* Отступы */
}

/* Заголовки H4 (Название модели) */
.category-ratings h4, .ratings-page h4 {
    font-family: var(--ratings-h4-font);
    font-size: var(--ratings-h4-size);
    font-weight: var(--ratings-h4-weight);
    color: var(--ratings-h4-color);
    line-height: var(--ratings-h4-line-height);
    margin: var(--ratings-h4-margin);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Заголовки H3 (SEO-ключи) */
.category-ratings h3, .ratings-page h3 {
    font-family: var(--ratings-h3-font);
    font-size: var(--ratings-h3-size);
    font-weight: var(--ratings-h3-weight);
    color: var(--ratings-h3-color);
    line-height: var(--ratings-h3-line-height);
    margin: var(--ratings-h3-margin);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ограничение в 3 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === Мобильная адаптация (≤ 375px) === */

@media screen and (max-width: 375px) {
    .category-ratings h4, .ratings-page h4 {
        font-size: 22px; /* Оптимальный размер */
        line-height: 1.3;
        margin: 16px 0 6px;
    }

    .category-ratings h3, .ratings-page h3 {
        font-size: 20px; /* Оптимальный размер для мобильных */
        line-height: 1.4;
        margin: 6px 0 14px;
    }
}

/* ============================== */
/* === Стили для аудиоплеера Gutenberg === */
/* ============================== */

.wp-block-audio {
    max-width: 100%;
    padding: 5px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-audio audio {
    width: 100%;
    height: 36px; /* Компактный размер */
    border-radius: 4px;
}

/* Минимизация высоты плеера */
.mejs-container, .mejs-container .mejs-controls {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
}




/*--------------------------------------------отступ лайтбокса--------------------------------------------*/

@media screen and (max-width: 480px) {
    #slb_viewer_wrap .slb_theme_slb_baseline .slb_container {
        top: 250px!important;
    }
}

/*--------------------------------------------отступы заголовков--------------------------------------------*/
h3 {
    margin: 25px 0 25px 0 !important;
}


/*--------------------------------------------исправление размера цитат--------------------------------------------*/
   .post-readopt blockquote p {
        font-size: 19px;
        line-height: 1.8em;
    }

/*--------------------------------------------исправление шаблона без сайдбара--------------------------------------------*/

@media (min-width: 1024px) {
    .post-readopt.full_width .post-inner, .post-readopt:not(.main-side) {
        margin-left: auto;
        margin-right: auto;
        max-width: 924px !important;
    }
}

.post-inner-wrapper {
    background-color: white;
    padding: 20px;
}

#rh_p_l_fullwidth_opt .title_single_area h1 {
    font-size: clamp(36px, 4vw, 26px);
    color: black;
}

.title_single_area h1 {
    font-size: 26px !important;
    line-height: 44px !important;
}

.pt20 {
    padding-top: 6px !important;
}

.mb25 {
    margin-bottom: 0px !important;
}

.mt30 {
    margin-top: 15px !important;
}

(max-width: 1023px) {
    .rh-container {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

.title_single_area .post-meta {
    padding-left: 20px !important;
}

@media (max-width: 480px) { 
.post-inner-wrapper  {
    padding: 0px !important;
}
}

/*--------------------------------------------исправление на главной плиток статей--------------------------------------------*/

.offer_grid h2 {
    height: 100% !important;
    font-size: 22px !important;
    line-height: 30px !important;
    font-weight: 600 !important;
}

/*--------------------------------------------Липкий контент--------------------------------------------*/

.gs-toc-mobile {
    width: 26px;
    background: #939393;
    border-radius: 6px;
}
.gs-section-sticky-nav>.gs-sticky-toc-list {
    height: 100%;
}
.gs-section-sticky-nav {
    background: white;
    border-radius: 4px;
    top: 400px;
}
/*--------------------------------------------убираем старую версию--------------------------------------------*/

@media (max-width: 1500px) {
    #mobileactivate {
        display: none !important;
    }
}

/*--------------------------------------------Зеленая вставка для цены--------------------------------------------*/

.wpsm_box.green_type {
    background: linear-gradient(136deg, #d0ffc799, #a1f4ff78);
    border-radius: 8px;
    color: black;
}

/*-----------------------исправление размера цитат------------------------*/
   .post-readopt blockquote p {
        font-size: 19px !important;
        line-height: 1.8em !important;
    }

/*-----------------------исправление шаблона новостей------------------------*/

@media (min-width: 1024px) {
    .post-readopt.full_width .post-inner, .post-readopt:not(.main-side) {
        margin-left: auto;
        margin-right: auto;
        max-width: 924px !important;
    }
}

.post-inner-wrapper {
    background-color: white;
    padding: 20px;
}

#rh_p_l_fullwidth_opt .title_single_area h1 {
    font-size: clamp(36px, 4vw, 26px);
    color: black;
}

.title_single_area h1 {
    font-size: 34px !important;
    line-height: 44px !important;
}

.pt20 {
    padding-top: 6px !important;
}

/*------------------------исправление на главной плиток статей------------------------*/

.offer_grid h2 {
    height: 100% !important;
    font-size: 22px !important;
    line-height: 30px !important;
    font-weight: 600 !important;
}

/*--------------------------------------------Разные картинки для Mobile и Desctop--------------------------------------------*/

    @media only screen and (min-width: 1025px) {
        .mobile-only {
            display:none !important;
        }
    } 
    @media only screen and (max-width: 1026px) {
        .desktop-only {
            display:none !important;
        }
    } 

/*--------------------------------------------Отсутпы для баннера в Header--------------------------------------------*/

.pb15 {
    padding-bottom: 0px!important;
}

.pt15 {
    padding-top: 10px!important;
}

/*--------------------------------------------Колонки гутенберга вертикально--------------------------------------------*/

.wp-block-columns {
    display: flow !important;
}

/*--------------------------------------------Исправление отступа на главной--------------------------------------------*/

.rh-container.no_shadow .main-side, .main-side.full_width:not(.single) {
    background: none #f7f8fa;
}

/*------------------------------Скрываем ненужные ссылки на комменты в блоке оценки--------------------------------------------*/

.rate_bar_wrap .add_user_review_link {
    display: none !important;
}


/*------------------------------Аудио плеер--------------------------------------------*/

.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body {
	background: -webkit-linear-gradient(113deg,#172e7c,#462a8b,#92179d) !important;
    border-radius: 4px;
}

/*--------------------------------------------Отступ колонок в блоке UP--------------------------------------------*/

.wp-block-columns {
    margin-bottom: 15px;
}
.wp-container-4 {
    gap: 0px !important;
}

.mb25 {
    margin-top: 20px;
}


/*--------------------------------------------Кнопки--------------------------------------------*/

/*-Отступ-*/
.wp-block-buttons.is-content-justification-center {
    padding: 15px 0 0 0;
}

.buttons_one {

    border-radius: 4px;
    color: #006600;
    padding-top: 0px;
    padding-right: 6px;
    padding-bottom: 0px;
    border: 0px solid !important;
    padding-left: 6px;

}

.wpsm-button.medium {
    border: none;
}

/*--Кнопки под заголовком--*/

.under_heading {
    background: linear-gradient(135deg,#0693e3,#9b51e0);
    border-radius: 4px;
}
.is-style-outline>:where(.wp-block-button__link), :where(.wp-block-button__link).is-style-outline {
    border: 1px solid !important;
}
/*--Али и магаз--*/

.partner_links {
	background: linear-gradient(90deg,#f7c316,#ff916c,#f882b0);
    border-radius: 4px;
}

/*--Обзор--*/

.reviews_links {
   background: linear-gradient(90deg,#395492,#0099c0,#3dd5a8); 
    border-radius: 4px;
}


/*--------------------------------------------Страница регистрации--------------------------------------------*/

.user-registration-error::before {
    display: none;
}

.user-registration-error::before, .user-registration-info::before, .user-registration-message::before {
display: none;
}

/*--------------------------------------------Заголовок похожие посты--------------------------------------------*/
body .font120 {
    font-size: 160%;
    text-align: center;
}

/*--------------------------------------------Плавающие комменты--------------------------------------------*/

#wpd-bubble-wrapper {
    bottom: 30px;
    right: 10px!important;
}
@media screen and (max-width: 480px) {
#wpd-bubble-wrapper {
    bottom: 50px;
    right: 0px!important;
}
    }
/*--------------------------------------------Закругление углов меню и сайдбар--------------------------------------------*/

.rehub-main-color-border, nav.top_menu > ul > li.vertical-menu.border-main-color .sub-menu, .rh-main-bg-hover:hover, .wp-block-quote, ul.def_btn_link_tabs li.active a, .wp-block-pullquote {
    border-radius: 4px;
}
/*--------------------------------------------Теги--------------------------------------------*/

.single .tags p .tags-title-post {
    border-radius: 4px;
    background: linear-gradient(270deg, #660099, #1535bf);
}
.single .tags p a {
    border-radius: 4px;
}

.rank-math-step-title {
    text-align: center;
}

/*--------------------------------------------Logo над меню для мобайла--------------------------------------------*/

#mobpanelimg {
    max-width: 240px;
}
a.logo_image_mobile img {
    max-height: 40px;
}

/*--------------------------------------------h1 и h2 для мобайла--------------------------------------------*/

@media screen and (max-width: 480px) {
.title_single_area h1{
    font-size: 23px;
    margin: 0 0 20px 0;
    word-break: break-word;
    text-align: center;
}
.title_single_area h1{font-size: 26px; margin: 0 0 20px 0; word-break: break-word; text-align: center;}

header .logo {
    max-width: 450px;
    float: left;
    margin-right: 15px;
    line-height: 0;
	height: 72px;
}
    
.main_slider .flex-overlay h2, h1, h2, h3, h4, h5, h6, .title h1, .title h5, .comment-respond h3 {
    font-weight: 700;
    font-size: 22px;
    font-family: system-ui;
}
}
/*--------------------------------------------h1 и h2 для Десктоп--------------------------------------------*/

.title_single_area h1 {
    font-size: 26px;
    text-align: center;
    font-family: system-ui;
    letter-spacing: 0.5px !important;
}

h2 {
    font-size: 23px !important;
    line-height: 32px !important;
    margin: 14px !important;
    margin-bottom: 18px !important;
    font-family: system-ui !important;
    letter-spacing: 0.5px !important;
}

/*--------------------------------------------Хлебные крошки--------------------------------------------*/
.post-meta { margin-bottom: 12px; font-size: 12px; line-height: 12px; color: #999;}

.rank-math-breadcrumb {
    font-size: small;
}

.post-meta-big span.postview_meta:before{content: "\f06e";  }

.ml15{margin-left: 5px !important}
.mr15{font-size: small;}

.autocontents li.top:before {
	display: none;
	}
.autocontents li.sub_1:before{
	display: none;
	}

/*--------------------------------------------Цитаты--------------------------------------------*/

blockquote {padding: 1% 1% 1% 1%; position: relative; border:none; }
blockquote, q { position: relative;
    font-size: 17px !important;
    border-left: 3px solid #65a854;
    box-shadow: inset 0 0 0 0 #e2e4e7;
    padding-left: 1.4em;
    margin: 10px 0 10px;
	color: #000000;}
blockquote p { margin: 0 0 15px 0; font-size: 17px; line-height:28px; font-weight: 400; padding: 0; font-style: italic;}
blockquote p a {color: #416b37; text-decoration: underline; }
    
/*--------------------------------------------Элементы шорткодов--------------------------------------------*/

.post ol, .post ul { margin-bottom: 0px }
.post ol, .post ol { margin-bottom: 0px; margin-left: 15px; }

/*--------------------------------------------Ссылки--------------------------------------------*/
a:hover, a:active {color: #408e2a; text-decoration: underline; }

/*--------------------------------------------Абзац--------------------------------------------*/
article p, .post p{ margin: 0 0 10px 0 }
.wp-caption p.wp-caption-text { margin: 12px 0 0 0; font-size: 105%; line-height: 20px }

/*--------------------------------------------РЕЙТИНГ--------------------------------------------*/

.blockmodel{
	padding: 20px 0 0 0;
    border-radius: 4px;
    font-size: 22px;
    font-family: 'arial black', sans-serif;
}
.cifry{
    border-radius: 6px;
    height: 38px;
    line-height: 36px;
    width: 46px;
    border: 1px solid #006600;
    color: #006600;
    display: inline-block;
    margin: 0 5px 0 0;
    font-family: 'arial black', sans-serif;
}
.aliexpress_background {
	padding: 4px 4px 0 5px;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.aliexpress_background ul li {
    list-style: none !important;
}
.aliexpress_background_icon { position: relative;
    display: inline;
    float: left;
    margin: 0 0.6em 0 0.3em;
	color: #DC2D01;
}
.comments_background {
    margin: 15px 0px 20px 0px;
	padding: 10px 4px 0 10px;
    border: 1px solid #0099cc;
    border-radius: 4px;
}
.comments_background ul{
	list-style-type:none !important;
}
.comments_background_icon { position: relative;
    display: inline;
    float: left;
    margin: 0 0.6em 0 0.3em;
}

.price_background {
    position: relative;
    margin: 15px 0px 20px 0px;
	padding: 10px 4px 0 10px;
    border: 1px solid #d9edf7;
    color: #333;
    background: #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.border-button {
  /* Full width border and a clip-path visually cutting it down to the starting size */
  border: solid 10px #65a854;
  clip-path: polygon(
    calc(0% + 5px) calc(0% + 5px), /* top left */
    calc(100% - 5px) calc(0% + 5px), /* top right */
    calc(100% - 5px) calc(100% - 5px), /* bottom right */
    calc(0% + 5px) calc(100% - 5px) /* bottom left */
  );
  transition: clip-path 0.6s linear;
}
.border-button:hover {
  /* Clip-path spanning the entire box so it's no longer hiding the full-width border. */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
    

/*--------------------------------------------Таблица Рейтинги--------------------------------------------*/

/*--------------------------------------------Таблица Десктоп--------------------------------------------*/
.tablet {
  border: 1px solid #003365;
  width: 100%;
  margin:0 0 15px;
  padding:0;
  word-wrap: break-word;
  border-radius: 4px;
  background: linear-gradient(90deg,#94d4ff73,#ceffe77a,#ffdef4cc);
}

.table-img {
    text-align: center !important;
    width: 100px !important;
  }

.tablet thead {
    background: linear-gradient(90deg, #94d4ff73, #ceffe77a, #ffdef4cc);
    display: none;
  }

.tablet tr {
  text-align: center;
}

.tablet tr:last-child {
    border-bottom: none;
  }

.tablet th, table td {
  padding: 10px;
}
.tablet td {
    text-align: left;
    border: 1px dotted #003365;
}
.tablet th {
  background-size: 130%;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  border: 1px solid #a0a0a0;
}

table {
    background: white;
}

/*--------------------------------------------Таблица Мобайл--------------------------------------------*/
@media screen and (max-width: 480px) {
.mobtabhed {
  background: linear-gradient(
-45deg,#ff666626,#8398ff21);
  background-size: 130%;
  }
.tablet {
  border: 1px solid #003365;
  border-radius: 4px;
  background: linear-gradient(90deg, #94d4ff73, #ceffe77a, #ffdef4cc);
  }
.table-img {
    width: 150px !important;
    margin-left: auto;
    margin-right: auto
  }
.tablet thead {
    display: none;
  }
.tablet tr {
    padding: 6px;
    display: block;
    border-top: 1px solid #000033;
  }
.tablet tr:last-child {
    border-bottom: none;
  }
.tablet td {
    display: flow-root;
    text-align: left;
    font-size: 16px;
	border: 0;
	width: 100%;
    padding: 6px;
  }
.tablet td:last-child {
    border-bottom: none;
  }
.tablet td:before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
    font-weight: bold;
	padding: 0 8px;
	background: #d9edf7;
	border-radius: 4px;
	margin: 0 10px 0 0;
  }
}

/*--------------------------------------------Таблица Обзоры Десктоп--------------------------------------------*/

.tabletrev {
  border: 1px solid #a0a0a0;
  width: 100%;
  margin:0 0 15px;
  padding:0;
  word-wrap: break-word;

}

.tabletrev tr {
  text-align: center;
}

.tabletrev th, table td {
  padding: 10px;
}
.tabletrev td {text-align: left;border: 1px solid #a0a0a0;}
.tabletrev th {
  background: linear-gradient(-45deg,#65a85459,#dce5ff);
  background-size: 130%;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  border: 1px solid #a0a0a0;
}
/*--------------------------------------------Таблица Обзоры Мобайл--------------------------------------------*/
@media screen and (max-width: 480px) {
.tabletrev {
  border: 1px solid #a0a0a0;
  border-radius: 10px 10px 0 0;
  }
.tabletrev thead {
    display: none;
  }
.tabletrev tr {
    margin-top: 5px;
    display: block;
    border-top: 2px solid #a0a0a0;
  }
.tabletrev td {
    display: flow-root;
    text-align: left;
    font-size: 16px;
	border: 0;
    border-bottom: 1px dotted #a0a0a0;
	width: 95%;
  }
.tabletrev td:last-child {
    border-bottom: none;
  }
.tabletrev tr:last-child {
    border-bottom: 2px solid #a0a0a0;
  }
.tabletrev td:before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
    font-weight: bold;
	padding: 0 8px;
	background: #d9edf7;
	border-radius: 3px 3px 3px 3px;
	margin: 0 10px 0 0;
  }
}

/*--------------------------------------------Таблица Элементы--------------------------------------------*/

.cifri {
    content: attr(data-label);
    text-transform: uppercase;
    font-weight: bold;
	background: #d9edf700;
	border-radius: 3px 3px 3px 3px;
}
.ceny {
	content: attr(data-label);
    float: right;
    padding: 0 4px 0 4px;
    background: #99ccff38;
    border-radius: 4px;
    margin: 0 0 0 10px;
    font-size: 14px;
    font-weight: bold;
}
.cena {
	content: attr(data-label);
    padding: 0 2px 0 2px;
    background: #d9edf782;
    border-radius: 3px 3px 3px 3px;
}

/*--------------------------------------------Dizzy-Вставки--------------------------------------------*/
/*--------------------------------------------Fieldsets--------------------------------------------*/

	fieldset {
		border: 1px solid rgba(0,0,0,0.1);
		margin: 0 0 1.5em;
		padding: 25px;
	}

		fieldset legend {
			display: block;
			font-weight: bold;
			line-height: 1.5em;
			margin: 0 0 0 -5px;
			padding: 0 5px;
		}

	.firstlinks {
	border: 1px solid #0099cc;
    margin: 0 0 1.5em;
    padding: 5px 10px 0 10px;
    border-radius: 4px;
	}
	
	.secondlinks {
    border: 1px solid #339933;
    margin: 0 0 1.5em;
	padding: 5px 10px 0 10px;
    border-radius: 4px;
	}
	
	.pricelinks {
    border: 1px solid #ffc57c73;
    margin: 0 0 1.5em;
    padding: 10px 4px 0 4px;
    border-radius: 4px;
	}
	
	.pricelinks legend {
    margin: 0 0 0 0px;
	}
/*--------------------------------------------Alerts & Messages--------------------------------------------*/

	.alert {
		position: relative;
		text-align: center;
		line-height: 1.352em;
		margin: 0 0 1em;
		padding: 1em 2em 1em;
		box-shadow: 0 0 1px rgba(0,0,0,0.35) inset;
	}

		.alert-notice {
    padding: 25px 25px 25px;
    margin-bottom: 1em;
    background: linear-gradient( 
-45deg
 ,#ff787861,#ffe09a52);
    border-radius: 10px 10px 10px 10px;
    text-align: left;
		}

		.alert-warning {
padding: 25px 25px 25px;
    margin-bottom: 1em;
    background: linear-gradient( 
-45deg
 ,#548dff17,#60ff641f);
    border-radius: 10px 10px 10px 10px;
    text-align: left;
		}

		.alert-success {
    padding: 25px 25px 25px;
    margin-bottom: 1em;
    background: linear-gradient( 
-45deg
 ,#a8ff4942,#79ffb54f);
    border-radius: 10px 10px 10px 10px;
    text-align: left;
		}

		.alert-error {
    color: #B94A48;
    text-align: left;
    padding: 25px 25px 25px;
    margin-bottom: 1em;
    background: linear-gradient(
-45deg
,#ff666657,#9583ff57);
    border-radius: 10px 10px 10px 10px;
		}

.alert-info {
color: #3A87AD;
    text-align: left;
    padding: 25px 25px 25px;
    border-radius: 10px 10px 10px 10px;
    background: linear-gradient( 
-45deg
,#00bcd45c,#2196f314);
}

		.alert-close {
			position: absolute;
			display: inline-block;
			top: 1.1em;
			right: 1em;
			width: 22px;
			height: 22px;
		}

			.alert-close:before {
				content: '\e64f';
				font-size: 16px;
			}

			.alert-close:hover {
				cursor: pointer;
				opacity: 1;
			}

/*--------------------------------------------Notice--------------------------------------------*/

	.notice {
		padding: 30px 40px 30px;
		margin-bottom: 1em;
		background: linear-gradient(-45deg,#65a85442,#dce5ffad);
		border-radius: 10px 10px 10px 10px;
		font-weight: bold;
	}

			.sidebar .notice {
				padding: 2em;
			}
	
			.notice h1,
			.notice h2,
			.notice h3,
			.notice h4,
			.notice h5,
			.notice h6 {
				color: #FFF !important;
				padding-top: 0;
			}

/*--------------------------------------------Галерея--------------------------------------------*/
.gallery { margin-bottom: 20px; }
.gallery-item { float: left; margin: 0 12px 12px 0; overflow: hidden; position: relative; }
.gallery-item img { height: auto }
.gallery-columns-1 .gallery-item { max-width: 100%; }
.gallery-columns-2 .gallery-item { max-width: 48%; max-width: -webkit-calc(50% - 12px); max-width: calc(50% - 12px); }
.gallery-columns-3 .gallery-item { max-width: 32%; max-width: -webkit-calc(33.3% - 12px); max-width: calc(33.3% - 12px); }
.gallery-columns-4 .gallery-item { max-width: 23%; max-width: -webkit-calc(25% - 12px); max-width: calc(25% - 12px); }
.gallery-columns-5 .gallery-item { max-width: 19%; max-width: -webkit-calc(20% - 12px); max-width: calc(20% - 12px); }
.gallery-columns-6 .gallery-item { max-width: 15%; max-width: -webkit-calc(16.7% - 12px); max-width: calc(16.7% - 12px); }
.gallery-columns-7 .gallery-item { max-width: 13%; max-width: -webkit-calc(14.28% - 12px); max-width: calc(14.28% - 12px); }
.gallery-columns-8 .gallery-item { max-width: 11%; max-width: -webkit-calc(12.5% - 12px); max-width: calc(12.5% - 12px); }
.gallery-columns-9 .gallery-item { max-width: 9%; max-width: -webkit-calc(11.1% - 12px); max-width: calc(11.1% - 12px); }
.gallery-columns-1 .gallery-item:nth-of-type(1n), .gallery-columns-2 .gallery-item:nth-of-type(2n), .gallery-columns-3 .gallery-item:nth-of-type(3n), .gallery-columns-4 .gallery-item:nth-of-type(4n), .gallery-columns-5 .gallery-item:nth-of-type(5n), .gallery-columns-6 .gallery-item:nth-of-type(6n), .gallery-columns-7 .gallery-item:nth-of-type(7n), .gallery-columns-8 .gallery-item:nth-of-type(8n), .gallery-columns-9 .gallery-item:nth-of-type(9n) { margin-right: 0; }
.gallery-caption { background-color: rgba(0, 0, 0, 0.7);    color: #fff; font-size: 12px; line-height: 1.5; margin: 0; max-height: 50%; opacity: 0; padding: 6px 8px; position: absolute; bottom: 0; left: 0; text-align: left; width: 100%; }
.gallery-caption:before { content: ""; height: 100%; min-height: 49px; position: absolute; top: 0; left: 0; width: 100%; }
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption { display: none; }
.bypostauthor { font-weight: normal; }

/*--------------------------------------------Доп. стили слайдера--------------------------------------------*/

/*
.rh-slider__inner:hover * .rh-slider-controls > .rh-slider-arrow {
	opacity: 1;
}
*/

.rh-slider-controls > .rh-slider-arrow {
	background: rgba(255, 255, 255, 0.2) !important;
	border-radius: 50%;
	width: 50px !important;
	height: 50px !important;
	opacity: 0;
	transition: opacity 0.3s ease 0s;
}

.rh-slider-controls > .rh-slider-arrow._active {
	opacity: 1;
}
.rh-slider-controls > .rh-slider-arrow:hover {
	background: rgba(255, 255, 255, 0.75) !important;
}
.rh-slider-controls > .rh-slider-arrow:hover .rhicon {
	color: #3e77aa;
}
.rh-slider-controls > .rh-slider-arrow .rhicon {
	color: #3e77aa5e; 
	font-size: 30px;
	transition: color 0.15s ease 0s;
}

.rh-slider-controls .rhi-chevron-right {
	transform: rotate(180deg) translate(-10%);
}

.rh-slider-controls .rhi-chevron-left {
	transform: translate(-10%);
}

.rh-slider-controls .rhi-chevron-right:before {
	content: "\f053" !important;
}

.rh-slider-thumbs__row {
	overflow: hidden !important;
}

.rh-slider__inner {
	box-shadow: none !important;
}


.rh-slider-thumbs-item {
	transition: box-shadow 0.15s ease 0s;
	border: none !important;
	border-radius: 4px !important;
}

.rh-slider-thumbs-item img {
	top: 5px !important;
    left: 5px !important;
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
}
.rh-slider-thumbs-item--active {
	box-shadow: inset 0 0 0 1px #4da44a59;
	border: none !important;
} 
.rh-slider-caption {
	background: none !important;
}

.rh-slider-item img {
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

/*--------------------------------------------Один слайдер посередине--------------------------------------------*/
.wp-block-column._slider-single .rh-slider{
	width: 50%;
	margin: 0 auto;
}
@media (max-width: 768px) {
	.wp-block-column._slider-single .rh-slider {
		width: 100%;
	}
}

/*--------------------------------------------Все ссылки в контенте - синие--------------------------------------------*/

.post-inner > *:not(.rh_post_layout_metabig) a {
	color: #1a0dab !important;
}

/*--------------------------------------------Custom tip--------------------------------------------*/

[data-tippy-root] {
	cursor: default;
}
[data-tippy-root] .wpsm_score_box .overall-text {
	margin-right: 50px;
	border: 
}
[data-tippy-root] .tippy-box {
	background-color: #000;
	max-width: none !important;
	color: auto !important;
}

[data-tippy-root] .tippy-content {
	padding: 4px;
}
[data-tippy-root] .tippy-arrow {
	color: #000;
}
.tippy-content .rh_list_builder {
	margin-bottom: 0 !important;
	color: #000;
}

@media (max-width: 767px) {
	.top_table_list_item {
		margin-top: 0 !important;
	}
}


/* -------------------------------------------Header fix--------------------------------------*/
nav.top_menu ul.menu>li.vertical-menu > a::before {
	content: '' !important;
}
nav.top_menu ul.menu>li.vertical-menu > a span {
	font-size: 10px;
    margin: 0 0 0 7px;
    float: right;
}

/* -------------------------------------------Footer fix--------------------------------------*/

.footer_clean_style {
	margin-bottom: -25px !important;
}
@media (max-width: 480px) {
	.footer_clean_style {
		background: linear-gradient(180deg,rgb(223,245,255) 0%,rgb(244,237,255) 51%,rgb(247,248,250) 100%);
	}
}

/* -------------------------------------------Доп кнопка в scorebox--------------------------------------*/

.wpsm_inside_scorebox {
	padding-bottom: 0;
}
._scorebox-bottom-btn {
	margin-bottom: 30px;
	text-align: center;
}
.read_full {
	font-size: 125% !important;
}

.top_table_list_item .listitem_title h3, .listitem_title p.list_heading {
	font-family: "Noto Sans TC", trebuchet ms;
}