/* =============================================================
   7788.ru — design2026
   /t/s/styles.css
   Bootstrap 5.3 — база, всё остальное здесь
   Порядок: переменные → сброс → враппер → шапка → меню →
            макет → левый сайдбар → контент → правый сайдбар →
            блоки aside → футер → утилиты
   ============================================================= */


/* ============================================================
   1. CSS-ПЕРЕМЕННЫЕ
   ============================================================ */
:root {
    /* Цвета */
    --c-red:        #9A0022;
    --c-red-dk:     #7a0019;
    --c-red-lt:     #c0392b;
    --c-navy:       #2c3e50;
    --c-navy-lt:    #34495e;
    --c-bg:         #e8edf0;
    --c-bg-lt:      #f4f6f8;
    --c-white:      #ffffff;
    --c-text:       #434f5a;
    --c-text-lt:    #667d8d;
    --c-border:     #b1bec4;
    --c-border-lt:  #d4dde2;
    --c-link:       #2c6487;
    --c-link-hv:    #1a4a6a;

    /* Типографика */
    --f-main:    Tahoma, Geneva, sans-serif;
    --f-heading: Tahoma, Geneva, sans-serif;
    --f-size:    13px;

    /* Скругления и тени */
    --r:        8px;
    --r-sm:     5px;
    --shadow:   0 2px 6px rgba(0,0,0,.10);
    --shadow-md:0 4px 14px rgba(0,0,0,.13);

    /* Макет */
    --wrap:         1400px;
    --aside-l:      220px;
    --aside-r:      210px;
    --header-h:     80px;
    --nav-h:        40px;
}


/* ============================================================
   2. СБРОС И БАЗОВЫЕ СТИЛИ
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: var(--f-size);
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-main);
    font-size: var(--f-size);
    line-height: 1.55;
    color: var(--c-text);
    background: var(--c-bg) linear-gradient(to bottom, #fff 0%, #d3d3d3 6%, #e8edf0 18%, var(--c-bg) 100%);
    min-height: 100vh;
}

a {
    color: var(--c-link);
    text-decoration: underline;
}
a:hover {
    color: var(--c-link-hv);
    text-decoration: none;
}
a.btn { text-decoration: none; }

img { max-width: 100%; height: auto; }

h1 { font-size: 20px; font-weight: bold; color: var(--c-text); margin: 0 0 12px; }
h2 { font-size: 17px; font-weight: bold; color: var(--c-text); margin: 0 0 10px; }
h3 { font-size: 15px; font-weight: bold; color: var(--c-text); margin: 0 0 8px;  }
h4 { font-size: 14px; font-weight: bold; color: var(--c-text); margin: 0 0 6px;  }


/* ============================================================
   3. ВРАППЕР
   ============================================================ */
.wrapper {
    max-width: var(--wrap);
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
}

/* Ниже 1200px — во всю ширину, без боковых отступов */
@media (max-width: 1200px) {
    .wrapper { padding: 0 8px; }
}


/* ============================================================
   4. ШАПКА
   ============================================================ */
.site-header {
    background: var(--c-white);
    border-bottom: 3px solid var(--c-red);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 900;
    transition: box-shadow .3s;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
}

.site-header__inner {
    display: flex;
    align-items: stretch;
    height: var(--header-h);
    gap: 0;
}

/* --- Логотип --- */
.site-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    padding: 0 20px 0 0;
    position: relative;
    min-width: 260px;
}

/* Фон-силуэт Москвы за логотипом */
.site-logo::before {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 180px;
    background: url('/t/i/1.png') right center / contain no-repeat;
    opacity: .18;
    pointer-events: none;
}

.site-logo__img {
    display: block;
    background: url('/t/i/7788-head.png') left center / contain no-repeat;
    width: 200px;
    height: 54px;
    position: relative; /* поверх ::before */
}

.site-logo__reg {
    font-size: 10px;
    color: var(--c-text-lt);
    line-height: 1.3;
    margin-top: 2px;
    position: relative;
}

/* --- Верхнее навтоп-меню (navtop) --- */
.site-header__navtop {
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
    margin-left: auto;
}

nav.header_navtop { display: flex; align-items: flex-start; }

ul.header__navtop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

li.header__navtop-item a {
    display: block;
    font-size: 11px;
    color: var(--c-text-lt);
    text-decoration: none;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    transition: background .15s, color .15s;
}

li.header__navtop-item a:hover,
li.header__navtop-item a.active {
    background: var(--c-bg-lt);
    color: var(--c-red);
}


/* ============================================================
   5. ГЛАВНОЕ ГОРИЗОНТАЛЬНОЕ МЕНЮ
   ============================================================ */
.site-header__nav {
    background: var(--c-navy);
    border-top: 1px solid rgba(255,255,255,.08);
}

/* Общий контейнер меню, который рендерит Битрикс */
.site-header__nav .wrapper {
    display: flex;
    align-items: stretch;
}

/* --- Стили для шаблона horizontal_multilevel_adaptive --- */
/* Битрикс рендерит <ul> с классами menu / dropdown-menu и т.п.
   Мы переопределяем полностью, не используем Bootstrap navbar */

.site-header__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.site-header__nav > .wrapper > ul > li {
    position: relative;
}

.site-header__nav > .wrapper > ul > li > a,
.site-header__nav > .wrapper > ul > li > span {
    display: flex;
    align-items: center;
    height: var(--nav-h);
    padding: 0 15px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}

.site-header__nav > .wrapper > ul > li:hover > a,
.site-header__nav > .wrapper > ul > li > a.active,
.site-header__nav > .wrapper > ul > li.active > a {
    background: var(--c-red);
    color: #fff;
}

/* Выпадающее подменю */
.site-header__nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: var(--c-navy-lt);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    flex-direction: column;
}

.site-header__nav ul li:hover > ul { display: flex; }

.site-header__nav ul ul li a {
    display: block;
    padding: 8px 16px;
    color: #d0d8e0;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
    height: auto;
}

.site-header__nav ul ul li a:hover {
    background: var(--c-red);
    color: #fff;
}


/* ============================================================
   6. ОСНОВНОЙ МАКЕТ — три колонки
   ============================================================ */
.site-layout {
    display: grid;
    grid-template-columns: var(--aside-l) 1fr var(--aside-r);
    grid-template-areas: "aside-left main aside-right";
    gap: 12px;
    padding: 12px 0 20px;
    align-items: start;
}

/* lg (992–1199): правый сайдбар скрываем */
@media (max-width: 1199px) {
    .site-layout {
        grid-template-columns: var(--aside-l) 1fr;
        grid-template-areas: "aside-left main";
    }
    .aside-right { display: none; }
}

/* md и ниже (< 992): однаколонка */
@media (max-width: 991px) {
    .site-layout {
        grid-template-columns: 1fr;
        grid-template-areas: "main";
    }
    .aside-left  { display: none; }
    .aside-right { display: none; }
}

.aside-left  { grid-area: aside-left;  min-width: 0; }
.main-content{ grid-area: main;        min-width: 0; }
.aside-right { grid-area: aside-right; min-width: 0; }


/* ============================================================
   7. ЛЕВЫЙ САЙДБАР
   ============================================================ */
.aside-left { }

/* Блок авторизации */
.login {
    font: 11px var(--f-main);
    color: var(--c-text-lt);
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    padding: 10px 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}

.login__heading {
    font-size: 16px;
    font-weight: bold;
    color: var(--c-text);
    text-shadow: 1px 1px 2px #b7c2c8;
    margin: 0 0 8px;
}
.login__heading a {
    color: var(--c-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.login input[type="text"],
.login input[type="password"] {
    font: 11px var(--f-main);
    color: var(--c-text);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    padding: 4px 6px;
    width: calc(50% - 4px);
    margin: 0 1px 6px;
    box-sizing: border-box;
}

.login .registration {
    display: inline-block;
    padding: 6px 0 4px 20px;
    background: url('/bitrix/templates/design2026/assets/img/icons.png') 0 7px no-repeat;
    font-size: 11px;
}
.login .registration span { color: var(--c-red-lt); }

.login .remember-me {
    font: 11px var(--f-main);
    color: var(--c-text-lt);
    padding: 6px 0;
}
.login .remember-me input {
    vertical-align: text-bottom;
    margin-right: 4px;
    width: auto;
}

.login a {
    font: 11px var(--f-main);
    color: var(--c-text-lt);
    text-decoration: none;
}
.login a:hover { opacity: .8; }

/* Кнопка "Войти" */
.btn.btn-red,
input[type="image"].btn-login-submit {
    /* переопределим ниже в утилитах */
}

/* Навигационный заголовок в сайдбаре */
.aside__heading {
    text-align: left;
    color: var(--c-text);
    font: bold 15px var(--f-heading);
    margin: 16px 0 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--c-border-lt);
}

.aside__heading_h1 {
    font: bold 18px var(--f-heading);
    color: var(--c-text);
    margin-bottom: 12px;
}

.aside__nav {
    padding-bottom: 16px;
    position: relative;
}

/* Блок "Позвоните нам" */
.call_us_block {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e67e00;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin: 12px 0;
    padding: 8px 12px;
    background: #fff8ee;
    border: 1px solid #f0d080;
    border-radius: var(--r);
    transition: background .2s;
}
.call_us_block::before {
    content: '\f095'; /* fa-phone */
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: var(--c-red);
    flex-shrink: 0;
}
.call_us_block:hover {
    background: #fff3d6;
    color: #c05000;
    text-decoration: none;
}

/* Кнопка "Разместить новый объект" */
.add_new a,
a.btn-add-object {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--c-red);
    background-image: linear-gradient(to bottom, #9A0022 0%, #7a0019 100%);
    color: #fff;
    font: bold 13px var(--f-main);
    padding: 10px 14px;
    border-radius: var(--r);
    text-decoration: none;
    text-align: center;
    border: 2px groove #D78496;
    margin-bottom: 10px;
    transition: background-color .2s, opacity .2s;
}
.add_new a:hover,
a.btn-add-object:hover {
    background: var(--c-red-dk);
    color: #fff;
    text-decoration: none;
    opacity: .93;
}


/* ============================================================
   8. ОСНОВНОЙ КОНТЕНТ
   ============================================================ */
.main-content {
    background: var(--c-white);
    border: 1px solid var(--c-border-lt);
    border-radius: var(--r);
    padding: 16px 18px;
    box-shadow: var(--shadow);
    min-width: 0;
}

/* Хлебные крошки */
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 10px;
    font-size: 11px;
    color: var(--c-text-lt);
}
.breadcrumb-item a { color: var(--c-link); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--c-text-lt); }

/* Бегущая строка */
.running-line,
marquee.running-line {
    background: var(--c-red);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: var(--r-sm);
    margin-bottom: 12px;
}

/* Заголовок h1 на страницах */
.main-content h1:first-of-type {
    font-size: 20px;
    color: var(--c-text);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--c-border-lt);
}

/* Баннер на главной */
.hero-banner {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-lt) 100%);
    border-radius: var(--r);
    margin-bottom: 12px;
    overflow: hidden;
}


/* ============================================================
   9. БЛОКИ ASIDE (оба сайдбара)
   ============================================================ */
.aside__box {
    border-radius: var(--r);
    border: 1px solid var(--c-border);
    margin-bottom: 12px;
    padding: 0;
    overflow: hidden;
    background: var(--c-white);
    box-shadow: var(--shadow);
}

.aside__box-heading {
    font: bold 13px var(--f-heading);
    padding: 7px 12px;
    margin: 0;
    text-align: center;
    color: #fff;
    letter-spacing: .02em;
}

/* Красный заголовок блока */
.aside__box.red .aside__box-heading {
    background: var(--c-red);
    background-image: linear-gradient(to bottom, #9A0022 0%, #860A26 100%);
}

/* Тёмно-синий заголовок блока */
.aside__box.navy .aside__box-heading {
    background: var(--c-navy);
}

.aside__box-content {
    padding: 10px 12px;
}

.aside__box-img {
    margin-bottom: 6px;
    border-radius: var(--r-sm);
    overflow: hidden;
}
.aside__box-img img {
    width: 100%;
    height: auto;
    display: block;
}

.aside__box-text {
    font: 12px var(--f-main);
    color: var(--c-text-lt);
    padding: 0 0 8px;
    line-height: 1.5;
}
.aside__box-text a { text-decoration: none; color: var(--c-link); }
.aside__box-text a:hover { text-decoration: underline; }

/* Цена в блоке */
.price {
    display: inline-block;
    background: var(--c-red);
    background-image: linear-gradient(to bottom, #9A0022 0%, #860A26 100%);
    color: #fff;
    font: bold 12px var(--f-main);
    padding: 3px 10px;
    border-radius: var(--r-sm);
    margin: 4px 0 6px;
    white-space: nowrap;
}
.price-wide { max-width: 100%; }


/* ============================================================
   10. ПРАВЫЙ САЙДБАР — специфика
   ============================================================ */
.aside-right .aside__box-heading {
    font-size: 12px;
}

/* Кнопка "Разместить новый объект" в правом сайдбаре */
.add_new_initblock {
    margin-bottom: 10px;
}


/* ============================================================
   11. БАННЕРЫ (нижняя полоса)
   ============================================================ */
.banban {
    margin: 16px 0;
    text-align: center;
}
.banban img {
    height: 90px;
    vertical-align: top;
    margin: 0 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    transition: opacity .2s;
}
.banban img:hover { opacity: .85; }


/* ============================================================
   12. ФУТЕР
   ============================================================ */
.site-footer {
    background: #c7d8e2;
    color: var(--c-text);
    font: 13px var(--f-main);
    text-align: center;
    border-top: 3px solid var(--c-red);
    margin-top: 16px;
}

.site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 16px 0 0;
}

/* Колонка "Поделиться" */
.footer__social {
    width: 20%;
    min-width: 160px;
    padding: 0 10px 16px;
    text-align: left;
}
@media (max-width: 992px) {
    .footer__social { display: none; }
}

.footer__share {
    background: #e3ecf1;
    padding: 10px;
    border-radius: var(--r);
    text-align: left;
}
.footer__share h5 {
    color: #394147;
    font-size: 12px;
    margin: 0 0 10px;
    font-weight: bold;
}

/* Центральный текст */
.footer__text {
    width: 60%;
    font: 12px var(--f-main);
    line-height: 1.6;
    padding: 0 10px 16px;
}
@media (max-width: 992px) { .footer__text { width: 80%; } }
@media (max-width: 767px) { .footer__text { width: 100%; padding-bottom: 30px; } }

.footer__text p {
    margin: 4px 0;
    font-size: 11px;
    line-height: 1.5;
}

.footer__contact {
    line-height: 1.7;
    text-align: center;
    margin: 6px 0;
    color: var(--c-text);
    font: bold 14px var(--f-main);
}

/* LiveInternet */
.footer__liveinternet {
    width: 15%;
    min-width: 60px;
    text-align: right;
    padding: 0 16px 16px 0;
}
@media (max-width: 992px) { .footer__liveinternet { display: none; } }

/* Кнопка "Наверх" */
.footer__totop {
    width: 100%;
    background: var(--c-red);
    background-image: linear-gradient(to bottom, #9A0022 0%, #860A26 100%);
    border-top: 2px groove #D78496;
    text-align: right;
    padding: 0;
}

.footer__totop .totop {
    display: inline-block;
    background: linear-gradient(to top, #9A0022 0%, #860A26 100%);
    border-top: 2px groove #D78496;
    border-left: 2px groove #D78496;
    border-right: 2px groove #D78496;
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    padding: 4px 14px;
    margin: -2px 14px 0 0;
    color: #fff;
    font: bold 13px var(--f-main);
    cursor: pointer;
    transition: opacity .2s;
}
.footer__totop .totop:hover { opacity: .85; }
.footer__totop .totop p { margin: 0; line-height: 1.8; }

@media (max-width: 992px) {
    .footer__totop { text-align: left; }
    .footer__totop .totop { margin: -2px 0 0 14px; }
}

/* Иконки соцсетей в футере */
.feedback-icon {
    display: inline-block;
    vertical-align: top;
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.feedback-icon.whatsapp  { background-image: url('/bitrix/templates/design2026/images/feedback-whatsapp.svg'); }
.feedback-icon.viber     { background-image: url('/bitrix/templates/design2026/images/feedback-viber.svg'); }
.feedback-icon.telegram  { background-image: url('/bitrix/templates/design2026/images/feedback-telegram.svg'); }


/* ============================================================
   13. КНОПКИ (общие)
   ============================================================ */
.btn.btn-red {
    color: #fff;
    background-color: #9A0022;
    background-image: linear-gradient(to bottom, #9A0022 0%, #860A26 100%);
    border-color: #860A26;
    border-radius: var(--r-sm);
}
.btn.btn-red:hover,
.btn.btn-red:focus,
.btn.btn-red:active {
    color: #fff;
    background-color: #7a0019;
    border-color: #7a0019;
}

.btn.btn-red-bordered {
    color: #fff;
    display: inline-block;
    font: 13px var(--f-main);
    padding: 5px 12px;
    margin: 1px;
    text-align: center;
    border-radius: var(--r-sm);
    background-color: #93001F;
    background-image: linear-gradient(to bottom, #9A0022 0%, #860A26 100%);
    border: 2px groove #D78496;
    text-decoration: none;
    transition: opacity .2s;
}
.btn.btn-red-bordered:hover { opacity: .88; color: #fff; text-decoration: none; }

.btn.btn-block {
    width: 100%;
    display: block;
    margin: 0 0 6px;
}


/* ============================================================
   14. МОДАЛЬНОЕ ОКНО (банкротство и др.)
   ============================================================ */
.modal-content {
    background: #6e7070;
    color: #fff;
    opacity: .95;
    padding: 10px;
    border: none;
    border-radius: var(--r);
}
.modal-content .modal-header,
.modal-content .modal-footer,
.modal-content .modal-body {
    padding: 0;
    border: 0;
}
.modal-content .modal-body {
    display: table;
    width: 100%;
}
.modal-content .modal-text  { vertical-align: top; display: table-cell; }
.modal-content .modal-aside {
    vertical-align: top;
    display: table-cell;
    width: 100px;
    text-align: center;
}
.modal-content .modal-aside img { width: 80px; max-width: 100%; }
.modal-content .modal-footer    { padding: 10px 0 0; text-align: left; }

.modal-content .modal-title {
    text-align: left;
    color: #fff;
    font: 16px var(--f-main);
    margin: 16px 0;
}

.modal-content .btn {
    color: #fff;
    background-color: #93001F;
    background-image: linear-gradient(to bottom, #9A0022 0%, #860A26 100%);
    margin: 0 2px;
    min-width: 140px;
    border-radius: var(--r-sm);
    padding: 5px 10px;
    border: 3px double #D78496;
    font: 13px var(--f-main);
}
.modal-content .btn.dismiss {
    background: #f2f2f2;
    color: #821A06;
    border-radius: var(--r-sm);
    border: 2px solid #ddd;
    padding: 7px 12px;
    font-weight: bold;
    cursor: pointer;
    width: auto;
    min-width: auto;
}

.modal-backdrop.show { opacity: .15; }

@media (min-width: 768px) {
    .modal.modal-right .modal-dialog {
        margin: 0;
        position: fixed;
        right: 30px;
        bottom: 30px;
    }
}
@media (max-width: 360px) {
    .modal-content .btn {
        display: block;
        margin: 0 0 8px !important;
    }
}


/* ============================================================
   15. НОВОСТИ, ОБЪЯВЛЕНИЯ
   ============================================================ */
.news-list {
    margin: 10px 0;
    padding: 10px 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    box-shadow: 0 0 5px #c6c6c6, inset 0 0 3px #c6c6c6;
    background: var(--c-white);
}

.news-item {
    margin: 14px 0;
    position: relative;
}
.news-item img { margin: 0 8px 0 0; }
.news-item a {
    display: block;
    font: bold 13px var(--f-main);
    color: var(--c-link);
    text-align: left;
    text-decoration: none;
}
.news-item a:hover { text-decoration: underline; }

table.news-item-table > tbody > tr > td { vertical-align: top; }

a.all_news {
    color: var(--c-text-lt);
    font-size: 12px;
    text-decoration: none;
}
a.all_news:hover { text-decoration: underline; }


/* ============================================================
   16. ОБЪЕКТЫ НЕДВИЖИМОСТИ (карточки)
   ============================================================ */
.request_count_for_admin {
    background: red;
    color: #fff;
    font-size: 13px;
    padding: 0 8px;
    width: 130px;
    height: 18px;
    position: absolute;
    top: -20px;
    right: 0;
    line-height: 18px;
    border-radius: 4px;
}

.dopt {
    text-align: left;
    font: bold 13px var(--f-main);
    color: var(--c-text);
}

#gallery {
    background: #e8f2f4;
    padding: 5px;
    border-radius: var(--r-sm);
}

.feeder_pro {
    background: #e8f2f4;
    padding: 10px;
    margin: 0 0 10px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
}
.feeder_pro .feedback_user_photo {
    height: 100%;
    width: 100%;
    max-height: 120px;
    max-width: 120px;
    margin: 0 0 4px;
    border: 1px solid #eee;
    border-radius: 4px;
    float: right;
}
.feeder_pro textarea { resize: vertical; }


/* ============================================================
   17. ИНСТРУКЦИИ
   ============================================================ */
.instructions {
    padding: 0 10px;
    background: #fafafa;
    border: 1px solid #b0bdc3;
    background-image: linear-gradient(to bottom, #fafafa 0%, #e0ebef 100%);
    border-radius: var(--r);
    box-shadow: 0 0 5px #a1cfdc, inset 0 0 2px #a1cfdc;
    margin-top: 16px;
}
.instructions .content__heading {
    line-height: 1.4;
    padding: 0 0 4px 15px;
    display: inline-block;
    vertical-align: middle;
}
.instructions #xxx { display: none; }
.instructions .video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    margin: 0 0 10px;
}
.instructions .video object,
.instructions .video embed,
.instructions .video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.instructions #tglXxx {
    height: 50px;
    line-height: 50px;
    display: inline-block;
    text-align: right;
    padding: 0 0 0 65px;
    margin: 0 0 0 80px;
    position: relative;
    vertical-align: middle;
}
.instructions #tglXxx::before {
    display: block;
    content: '';
    width: 50px;
    height: 50px;
    background: url('/bitrix/templates/design2026/assets/img/icons.png') 0 -315px no-repeat;
    position: absolute;
    left: 0; top: 0;
    z-index: 1;
}
@media (min-width: 768px) {
    .instructions #tglXxx { margin: 5px 20px; float: right; }
}
@media (max-width: 767px) {
    .instructions #tglXxx {
        padding: 0 0 0 50px;
        text-align: center;
        display: block;
        margin: 5px auto 10px;
        width: 165px;
    }
    .instructions .content__heading {
        padding: 5px;
        text-align: center;
        display: block;
        margin: 5px 0;
    }
}


/* ============================================================
   18. ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ
   ============================================================ */
.profile_info_block {
    width: 100%;
    margin: 0 auto;
    max-width: 280px;
}
table.profile_info_block > tbody > tr > td { vertical-align: top; }

.profile_info_block .profile_photo_wrapper { width: 80px; }
.profile_info_block .profile_photo {
    height: 74px;
    width: 74px;
    background: center center no-repeat;
    border: 1px solid #eee;
    border-radius: 4px;
}
.profile_info_block .profile_photo > a {
    height: 100%;
    width: 100%;
    display: block;
}


/* ============================================================
   19. РАЗНОЕ / УТИЛИТЫ
   ============================================================ */
.clear { clear: both; }

.img-fluid { max-width: 100%; height: auto; }
div.news-detail img.detail_picture { margin-bottom: 1.2rem; }

.stat_prop { font-weight: 600; }
.obj_stat  { font-size: 1.1rem; font-weight: bold; text-transform: uppercase; }

.void_5    { margin-bottom: 5px; }

.detail_picture { max-width: 100%; }

.black { color: #000; font-size: 12px; display: inline; }

.videoframe { border: none; }

#faq-page a { cursor: pointer; font-weight: bold; color: #607787; }

table.table-separate,
table.blog-calendar-table {
    border-collapse: separate;
    border-spacing: 6px;
}

.listst > ul {
    list-style-image: url('/bitrix/templates/design2026/assets/img/disk.gif');
    padding-left: 15px;
    line-height: 1.6;
}
.listst > ul > li { margin: 0 0 6px; }

a#back_to {
    display: block;
    padding-left: 15px;
    background: url('/bitrix/templates/design2026/assets/img/icons.png') 0 -700px no-repeat;
}

.mf-agreement { margin: 1rem 0; font-size: .9rem; font-weight: normal; }
.mf-agreement label { font-weight: normal; }

marquee { margin: 0 10px 10px; }

@media (max-width: 768px) {
    li.property-PERSON { display: none; }
}


/* ============================================================
   20. FANCYBOX
   ============================================================ */
.fancybox-nav span { visibility: visible; }


/* ============================================================
   21. COOKIE CONSENT
   ============================================================ */
/* подключается из /t/s/cookie-consent.css — здесь не трогаем */