/* bts-global.css — footer mobile fix (all pages) */

/* Тема сама подставляет иконку-молнию перед названием тура в карточках
   (не для всех туров — судя по всему, свойство самого тура в теме).
   Прячем везде, где она встречается. */
.tourmaster-tour-title svg { display: none !important; }

/* Названия экскурсий показываем в том регистре, в котором они записаны
   в туре или афише. Тема и отдельные шаблоны превращают их в капс. */
.tourmaster-tour-title,
.tourmaster-tour-title a,
.bts-card-title,
.bts-card-title a {
    text-transform: none !important;
}

/* Встроенный рейтинг темы (5 звёзд + «(N отзыв)») — заголовок страницы
   тура. Данные не связаны ни с одним настоящим отзывом (на сайте их
   нигде не видно и не собирают), поэтому цифра выглядит как случайная
   и вводит в заблуждение. Прячем везде. */
.tourmaster-tour-rating { display: none !important; }

/* Затемнение фото в шапке страницы (категории, туры и т.п.) — у темы
   уже есть готовый слой для этого (.traveltour-page-title-overlay),
   но по умолчанию он невидим (opacity: 0). Включаем тем же градиентом,
   что и на фото главной. */
.traveltour-page-title-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.50) 100%) !important;
    opacity: 1 !important;
}

/* У этих 4 школьных категорий баннер в шапке пустой (фото не задано).
   Ставим те же фото, что уже используются на плитках категорий (см.
   BTS_CAT_IMAGES в bts-carousel.js) — но не квадратные 400×400
   заготовки для плиток, а самые широкие из уже готовых размеров того
   же файла (800px), иначе на широком баннере фото размывается. */
body.term-school-1-2-classes .traveltour-page-title-wrap {
    background-image: url("/wp-content/uploads/2021/02/%D0%A4%D0%B0%D0%B1%D1%80%D0%B8%D0%BA%D0%B0-%D0%BC%D1%8F%D0%B3%D0%BA%D0%BE%D0%B9-%D0%B8%D0%B3%D1%80%D1%83%D1%88%D0%BA%D0%B8-1-800x378.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}
body.term-school-3-4-classes .traveltour-page-title-wrap {
    background-image: url("/wp-content/uploads/2021/02/2xOaPKpgvYg_1_-800x533.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}
body.term-school-5-6-classes .traveltour-page-title-wrap {
    background-image: url("/wp-content/uploads/2021/02/%D0%A8%D0%BE%D0%BA%D0%BE%D0%BB%D0%B0%D0%B4%D0%BD%D0%B0%D1%8F-%D1%84%D0%B0%D0%B1%D1%80%D0%B8%D0%BA%D0%B0-1-800x533.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}
body.term-school-9-11-classes .traveltour-page-title-wrap {
    background-image: url("/wp-content/uploads/2022/03/076a6031-scaled-1-800x533.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}
/* Те же 4 родительские категории — тем же фото, что на плитках
   категорий на главной (см. BTS_CAT_IMAGES в bts-carousel.js). */
body.term-tury-v-novosibirsk .traveltour-page-title-wrap {
    background-image: url("/wp-content/uploads/2021/12/x20151113_162344_5d3_03_69_0021.jpg.pagespeed.ic_.vsi-lnSORL-800x480.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}
body.term-tury-na-altay .traveltour-page-title-wrap {
    background-image: url("/wp-content/uploads/2021/02/14988089905956029e76a852.431206951-800x480.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}
body.term-tury-po-sibiri .traveltour-page-title-wrap,
body.term-na-1-den .traveltour-page-title-wrap,
body.term-na-2-dnya .traveltour-page-title-wrap,
body.term-na-3-dnya .traveltour-page-title-wrap,
body.term-na-vykhodnye .traveltour-page-title-wrap {
    background-image: url("/wp-content/uploads/2022/03/%D0%A1%D0%B8%D0%B1%D0%B8%D1%80%D1%8C-800x450.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}
body.term-adultchild-russia .traveltour-page-title-wrap {
    background-image: url("/wp-content/uploads/2019/12/%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F-1550x700.jpg.webp") !important;
    background-size: cover !important;
    background-position: center !important;
}
@media (max-width: 767px) {
    .traveltour-footer-wrapper { padding-top: 20px !important; }
    .traveltour-footer-column { padding-top: 0 !important; margin-top: 0 !important; }
    .traveltour-footer-column .widget:first-child { margin-top: 0 !important; padding-top: 0 !important; }
    .gdlr-core-space-shortcode { margin-top: 10px !important; }
}

@media (min-width: 1000px) {
    .traveltour-top-bar-container.traveltour-container {
        max-width: 1140px !important;
    }
    .traveltour-navigation .sf-menu > li {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .traveltour-sticky-navigation.traveltour-style-fixed,
    .traveltour-sticky-navigation.traveltour-style-fixed *,
    .traveltour-sticky-navigation.traveltour-animate-fixed-navigation,
    .traveltour-sticky-navigation.traveltour-animate-fixed-navigation * {
        transition: none !important;
    }
    .traveltour-header-style-plain.traveltour-style-menu-right .traveltour-logo,
    .traveltour-header-style-plain.traveltour-style-menu-right .traveltour-navigation,
    .traveltour-header-style-plain.traveltour-style-menu-right .traveltour-main-menu {
        vertical-align: middle !important;
    }
    .traveltour-sticky-navigation.traveltour-style-fixed .traveltour-navigation .sf-menu > li > a {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 80px !important;
    }
}

@media (min-width: 1000px) and (max-width: 1279px) {
    .traveltour-sticky-navigation .sf-menu > li > a,
    .traveltour-sticky-navigation .traveltour-navigation .sf-menu > li > a {
        font-size: 10px !important;
    }
    .traveltour-sticky-navigation .traveltour-logo-inner img {
        max-height: 40px !important;
    }
}

@media (min-width: 1280px) {
    .traveltour-sticky-navigation .sf-menu > li > a,
    .traveltour-sticky-navigation .traveltour-navigation .sf-menu > li > a {
        font-size: 12px !important;
    }
}

@media (max-width: 999px) {
    .traveltour-mobile-header-wrap {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99997 !important;
    }
    .traveltour-body-outer-wrapper {
        padding-top: 0 !important;
    }
    .traveltour-mobile-header.traveltour-fixed-navigation .traveltour-logo-inner img,
    .traveltour-mobile-header .traveltour-logo-inner img {
        max-height: 35px !important;
        transition: none !important;
    }
    .traveltour-mobile-header.traveltour-style-slide,
    .traveltour-mobile-header.traveltour-style-fixed,
    .traveltour-mobile-header-wrap,
    .traveltour-mobile-header-wrap * {
        transition: none !important;
    }
    .traveltour-mobile-header .traveltour-mobile-header-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }
    .traveltour-mobile-header .traveltour-logo {
        margin: 0 auto !important;
        float: none !important;
    }
    .traveltour-mobile-header .traveltour-mobile-menu-right {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    .traveltour-sticky-navigation.traveltour-style-fixed,
    .traveltour-sticky-navigation.traveltour-style-fixed *,
    .traveltour-sticky-navigation.traveltour-animate-fixed-navigation,
    .traveltour-sticky-navigation.traveltour-animate-fixed-navigation * {
        transition: none !important;
    }
    .traveltour-sticky-navigation.traveltour-header-style-plain .traveltour-header-container-inner {
        display: flex !important;
        align-items: center !important;
    }
}
/* Подвал в фирменный синий — как логотип (Юля, 29.09.2026). Тема даёт
   тёмно-серый #222 и полосу копирайта #181. Ссылки и текст в подвале
   тема уже рисует светлыми, их не трогаем. */
.traveltour-footer-wrapper {
    background-color: #253C72 !important;
}
.traveltour-copyright-wrapper {
    background-color: #1B2C55 !important;
}

/* Подвал был почти 600 px высотой — тема раздаёт щедрые отступы (Юля,
   29.09.2026: «сильно большой»). Содержимое не трогаем, сжимаем воздух:
   верхний отступ, поля под заголовками виджетов и между пунктами меню. */
.traveltour-footer-wrapper { padding-top: 45px !important; }
.traveltour-footer-wrapper .traveltour-footer-container { padding-bottom: 18px !important; }
.traveltour-footer-wrapper .traveltour-widget-title,
.traveltour-footer-wrapper .widget-title { margin-bottom: 18px !important; }
.traveltour-footer-wrapper .widget { margin-bottom: 28px !important; }
.traveltour-footer-wrapper .widget:last-child { margin-bottom: 0 !important; }
.traveltour-footer-wrapper .widget li { margin-bottom: 5px !important; }

/* Школьные сопровождающие определяются размером детской группы. */
select.bts-school-adults-fixed:disabled {
    opacity: 1;
    color: inherit;
    -webkit-text-fill-color: currentColor;
    cursor: default;
    appearance: none;
    background-image: none !important;
}
.tourmaster-combobox-wrap.bts-school-adults-fixed::after {
    display: none !important;
}