

/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/map.yandex.view/map/style.css?178275416414428*/
.map-detail-items__item--hidden {
  display: none;
}
.map-detail-items__item {
  padding: 25px 32px;
}
.map-detail-items__item-svg {
  position: absolute;
  right: 6px;
  top: 8px;
  width: 30px;
  height: 30px;
  text-align: center;
  cursor: pointer;
}
.map-detail-items__item-svg:not(:hover) svg path {
  fill: #999;
}
.map-detail-items__item-close {
  width: 10px;
  height: 10px;
}
.map-detail-items__item-title {
  margin-bottom: 18px;
}
.map-detail-items__item-property {
  margin-top: 10px;
}
.map-detail-items__item-buttons {
  margin-top: 24px;
}
@media (max-width: 530px) {
  .map-detail-items__item {
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* --- НАЧАЛО СТИЛЕЙ ДЛЯ КАСТОМНОГО БАЛУНА ЯНДЕКСА --- */
.yandex-native-balloon {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: #000000 !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
}
.y-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
    padding-right: 15px !important;
}
.y-title a {
    color: #0044bb !important;
    text-decoration: none !important;
}
.y-title a:hover {
    color: #cc0000 !important;
}
.y-subtitle {
    font-size: 13px !important;
    color: #8d8e93 !important;
    margin-bottom: 8px !important;
}
.y-rating-line {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    margin-bottom: 12px !important;
}
.y-rating-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.y-stars {
    color: #ffb400 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
}
.y-rating-val {
    font-weight: 700 !important;
    color: #000000 !important;
    font-size: 13px !important;
}
.y-hours {
    color: #000000 !important;
}
.y-arrow {
    font-size: 9px !important;
    color: #8d8e93 !important;
    vertical-align: middle !important;
}
.y-info-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 9px !important;
    font-size: 13px !important;
}
.y-icon {
    width: 16px !important;
    height: 16px !important;
    fill: #8d8e93 !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}
.y-info-text {
    color: #000000 !important;
}
.y-info-text a {
    color: #0044bb !important;
    text-decoration: none !important;
}
.y-subphone {
    font-size: 10px !important;
    color: #8d8e93 !important;
}
.y-metro-section {
    margin-top: 12px !important;
    border-top: 1px solid #f2f2f7 !important;
    padding-top: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
}
.y-metro-row {
    display: flex !important;
    align-items: center !important;
    font-size: 13px !important;
}
.y-m-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 15px !important;
    height: 15px !important;
    border-radius: 3px !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    margin-right: 8px !important;
}
.y-m-red { background-color: #ef161e !important; }
.y-m-teal { background-color: #009a9a !important; }

.y-metro-name {
    color: #000000 !important;
}
.y-walking-box {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}
.y-walk-icon {
    width: 12px !important;
    height: 12px !important;
    fill: #8d8e93 !important;
}
.y-distance {
    color: #0044bb !important;
    font-size: 12px !important;
}
.y-footer-btn-container {
    margin-top: 14px !important;
}
.y-footer-btn {
    display: block !important;
    text-align: center !important;
    background: #f2f2f7 !important;
    padding: 8px !important;
    border-radius: 8px !important;
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.15s ease !important;
}
.y-footer-btn:hover {
    background: #e5e5ea !important;
}
/* --- КОНЕЦ СТИЛЕЙ ДЛЯ КАСТОМНОГО БАЛУНА ЯНДЕКСА --- */


/* ═══════════════════════════════════════════════════════════════
   ГКБ №31 — Мобильная адаптация карты (до 768px)
   Файл: /home/app/gkb/bitrix/templates/aspro-allcorp3medc/
           components/bitrix/map.yandex.view/map/style.css
   ═══════════════════════════════════════════════════════════════ */

/* На десктопе мобильная карточка полностью скрыта */
.gkb31-mobile-card {
    display: none;
}

@media (max-width: 767px) {

    /* ── ПРОБЛЕМА 3: убиваем padding-хак Аспро ──────────────────────────
       Аспро задаёт padding-bottom: ~50% контейнерам карты вместо height.
       Когда мы фиксируем высоту в px — этот padding образует белую дыру.
       Обнуляем его на всей цепочке вложенности. */
    .bx-yandex-view-layout,
    .bx-yandex-view-map,
    .bx-yandex-view-map > div,
    .bx-yandex-view-map > div > div,
    .bx-yandex-view-map > ymaps,
    .bx-yandex-view-map > div > ymaps {
        padding-bottom: 0 !important;
        height: auto !important;
    }

    /* Фиксированная высота окна карты на мобильных */
    .bx-yandex-view-map {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    /* Яндекс вставляет ymaps-контейнер — тоже фиксируем */
    .bx-yandex-view-map > ymaps,
    .bx-yandex-view-map > div > ymaps {
        height: 300px !important;
    }

    /* Скрываем стандартный балун Яндекса на мобиле.
       Точную версию ymaps-2-1-XX проверьте в DevTools и поправьте цифры. */
    .ymaps-2-1-79-balloon,
    .ymaps-2-1-79-balloon-overlay,
    [class*="ymaps-"][class*="-balloon"] {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Скрываем пустой div-заглушку Аспро */
    .map-mobile-opener {
        display: none !important;
    }

    /* ── Мобильная карточка: показываем ─────────────────────────────── */
    .gkb31-mobile-card {
        display: block;
        background: #ffffff;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
        border-radius: 0 0 14px 14px;
        overflow: hidden;
        /* Вплотную к карте — никакого margin-top */
    }

    .gkb31-card-inner {
        padding: 14px 16px 18px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        font-size: 13px;
        color: #222;
    }

    /* Заголовок */
    .gkb31-card__title {
        font-size: 15px;
        font-weight: 700;
        color: #111;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    /* Рейтинг */
    .gkb31-card__rating {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .gkb31-stars {
        color: #ffb400;
        letter-spacing: 0.5px;
        font-size: 15px;
        line-height: 1;
    }

    .gkb31-rating-num {
        font-weight: 700;
        color: #111;
        font-size: 13px;
    }

    .gkb31-card__type {
        color: #8d8e93;
        font-size: 12px;
    }

    /* Иконка SVG во всех строках */
    .gkb31-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: #8d8e93;
        fill: #8d8e93;
        margin-top: 1px;
    }

    /* Адрес */
    .gkb31-card__address {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 13px;
        color: #222;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    /* Строки-секции (телефон, сайт, расписание) */
    .gkb31-card__row {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 9px 0;
        border-top: 1px solid #f2f2f7;
        font-size: 13px;
        color: #222;
    }

    /* ── Телефоны ─────────────────────────────────────────────────────── */
    .gkb31-phones-wrap__inner {
        flex: 1;
        min-width: 0;
    }

    .gkb31-phones-trigger {
        display: flex;
        align-items: center;
        gap: 6px;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: #0044bb;
        cursor: pointer;
        min-height: 44px; /* доступная зона касания */
        width: 100%;
        text-align: left;
        -webkit-tap-highlight-color: transparent;
        line-height: 1.3;
    }

    .gkb31-arrow-wrap {
        display: flex;
        align-items: center;
        gap: 2px;
        color: #8d8e93;
        margin-left: 4px;
        flex-shrink: 0;
    }

    .gkb31-phones-count {
        font-size: 12px;
        font-weight: 400;
        color: #8d8e93;
    }

    .gkb31-chevron {
        width: 18px;
        height: 18px;
        fill: currentColor;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

    /* Поворот стрелки при открытии */
    .gkb31-phones-trigger.is-open .gkb31-chevron,
    .gkb31-schedule-trigger.is-open .gkb31-chevron {
        transform: rotate(180deg);
    }

    .gkb31-phones-list {
        display: none;
        flex-direction: column;
        gap: 0;
        padding-top: 4px;
    }

    .gkb31-phones-list.is-open {
        display: flex;
    }

    .gkb31-phone-link {
        display: flex;
        align-items: center;
        color: #0044bb;
        text-decoration: none;
        font-size: 13px;
        min-height: 38px;
        line-height: 1.3;
        -webkit-tap-highlight-color: transparent;
    }

    /* Сайт */
    .gkb31-site-link {
        color: #0044bb;
        text-decoration: none;
        font-size: 13px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* ── Расписание ───────────────────────────────────────────────────── */
    .gkb31-schedule-wrap__inner {
        flex: 1;
        min-width: 0;
    }

    .gkb31-schedule-trigger {
        display: flex;
        align-items: center;
        gap: 4px;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: #1d7a1d;   /* зелёный — «открыто» */
        cursor: pointer;
        min-height: 44px;
        width: 100%;
        text-align: left;
        -webkit-tap-highlight-color: transparent;
    }

    .gkb31-schedule-body {
        display: none;
        padding: 6px 0 0;
    }

    .gkb31-schedule-body.is-open {
        display: block;
    }

    .gkb31-schedule-row {
        display: flex;
        justify-content: space-between;
        padding: 3px 0;
        font-size: 12px;
        color: #555;
        gap: 8px;
    }

    /* Строка «Приёмный покой — Круглосуточно» выделена зелёным */
    .gkb31-schedule-row.gkb31-round span:last-child {
        color: #1d7a1d;
        font-weight: 600;
    }

    /* ── Метро ────────────────────────────────────────────────────────── */
    .gkb31-card__metro {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #f2f2f7;
        padding-top: 8px;
        margin-top: 4px;
    }

    .gkb31-metro-link {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: #222;
        font-size: 13px;
        min-height: 38px;
        -webkit-tap-highlight-color: transparent;
        line-height: 1.3;
    }

    .gkb31-metro-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 3px;
        color: #ffffff;
        font-size: 11px;
        font-weight: 900;
        flex-shrink: 0;
        font-family: Arial, sans-serif;
    }

    .gkb31-metro-dist {
        display: flex;
        align-items: center;
        gap: 3px;
        margin-left: auto;
        color: #0044bb;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .gkb31-metro-dist svg {
        fill: #8d8e93;
    }

} /* конец @media (max-width: 767px) */
/* End */


/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/map.yandex.system/map/style.min.css?1757432362421*/
div.bx-yandex-map,div.bx-yandex-map div.YMaps-b-balloon-content{color:#000}div.bx-popup-form div.bx-yandex-map div.YMaps-b-balloon-point div.YMaps-b-balloon div.YMaps-b-balloon-wrap table.YMaps-b-balloon-frame td{padding:0!important}div.bx-popup-form div.bx-yandex-map div.YMaps-b-balloon-point div.YMaps-b-balloon div.YMaps-b-balloon-wrap table.YMaps-b-balloon-frame td.YMaps-b-balloon-b{background-image:none!important}
/* End */


/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/news.list/contacts-list/style.min.css?17574323623173*/
.contacts__ajax_items .contacts-list{margin-top:43px}.contacts-list__section{margin-top:43px;position:relative}.contacts-list .contacts-list__section:first-child{margin-top:0}.contacts-list__section-title{margin-bottom:25px}.contacts-list__wrapper{position:relative}.contacts-list__item{padding:25px 123px 32px 32px}.contacts-list__item-image-wrapper{position:relative}.contacts-list__item-image-wrapper .contacts-list__item-link,.contacts-list__item-image-wrapper>span{margin-right:32px;width:150px;height:100px;display:inline-block;position:relative;vertical-align:top;margin-top:6px}.contacts-list__item-image{background-size:cover;background-position:center;background-repeat:no-repeat;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.contacts-list__item-col{flex:1;padding-right:15px}.contacts-list__item-without-image .contacts-list__item-text-top-part>.contacts-list__item-col{flex-basis:calc(182px + (100% - 182px)/ 2)}.contacts-list__item-title{margin:0 0 6px 0}.contacts-list__item .contacts-list__item-metro .svg,.contacts-list__item .contacts-list__item-schedule .svg{margin-right:10px}.contacts-list__item .contacts-list__item-schedule .svg{margin-top:-2px}.contacts-list__item-info{margin:3px 0 0 0;flex-grow:1}.contacts-list__item-emails,.contacts-list__item-phones{line-height:21px}.contacts-list__item-coord{cursor:pointer;flex-shrink:0}.contacts-list__item-coord .color-theme{color:var(--fill_dark_light_white_hover)}.contacts-list__item-coord svg path{fill:var(--fill_dark_light_white_hover)}.contacts-list__item-coord:hover .color-theme{color:#333;color:var(--fill_dark_light_ccc)}.contacts-list__item-coord:hover svg path{fill:#333;fill:var(--fill_dark_light_ccc)}.contacts-list__item-coord .svg{margin:0 9px 0 0}.contacts-list__item-pay{margin:9px -8px 0}.contacts-list__item-pay__value{padding:0 8px;height:20px;line-height:20px}.contacts-list__item-pay__value img{max-width:40px}.contacts-list__wrapper .arrow-all{right:32px;top:35px}.contacts-list__item-properties{margin:20px 0 0 0}.contacts-list__item-properties-item-wraper{padding:0 0 0 15px;position:relative}.contacts-list__item-properties-item-wraper:before{content:"";position:absolute;left:0;top:9px;width:4px;height:4px;border-radius:2px;background-color:#9e9e9e;background:var(--theme-base-color)}@media (min-width:1450px){.contacts-list__item-col--right{display:flex;flex:1;flex-direction:row;justify-content:space-between}.contacts-list__item-coord{padding:1px 0 0 15px}}@media (min-width:1300px) and (max-width:1449px){.contacts-list__item-coord{padding:11px 0 0 0}}@media (min-width:1300px){.contacts-list__item--hidden-f1300{display:none}}@media (max-width:1299px){.contacts-list__item--hidden-t1299{display:none}.contacts-list__item-info{margin:6px 0 0 0}.contacts-list__item-info>.line-block{flex-direction:column}}@media (max-width:600px){.contacts-list__item{flex-direction:column!important}.contacts-list__item:not(.contacts-list__item-without-image){padding:32px}.contacts-list__item-col{padding:0}.contacts-list__item-image-wrapper .contacts-list__item-link,.contacts-list__item-image-wrapper>span{margin:0}.contacts-list__item-image-wrapper{margin:0 0 33px 0}}
/* End */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/map.yandex.view/map/style.css?178275416414428 */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/map.yandex.system/map/style.min.css?1757432362421 */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/news.list/contacts-list/style.min.css?17574323623173 */
