﻿:root {
    --teal: #008F91;
    --white: #FFF;
    --midnight-green: #3E5357;
    --error: #ED3A32;
    --orange: #FD9255;
    --dark: #2C3537;
    --darkGrey: #878A8A;
}

.teal-text {
    color: var(--teal);
}

.midnight-green-text {
    color: var(--midnight-green);
}

.error-text {
    color: var(--error);
}

.orange-text {
    color: var(--orange);
}

.dark-text {
    color: var(--dark);
}

.dark-gray-text {
    color: var(--darkGrey);
}

.bg-white {
    background-color: white;
}

.br-8 {
    border-radius: 8px;
}

.pd-20 {
    padding: 20px;
}

.pd-30 {
    padding: 30px;
}

.g-15 {
    gap: 15px;
}

.g-20px {
    gap: 20px;
}

.g-10px {
    gap: 10px;
}

.g-5px {
    gap: 5px;
}

.g-8px {
    gap: 8px;
}

.main {
    width: 1300px;
    margin: 0 auto;
    position: relative;
}

.g-10px {
    gap: 10px;
}

.contacts_cards {
    display: flex;
    gap: 40px;
    width: 100%;
}

.text-space-wrap {
    white-space: pre-wrap;
}

.card {
    padding: 20px 40px;
    border-radius: 8px;
    width: 33%;
}

.card-info-text {
    background: var(--white-background, #FFF);
    border: 1px solid var(--teal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.free-call-card {
    color: var(--white);
    background: var(--gradient-3, linear-gradient(39deg, #06BBC7 0%, #078789 96.88%));
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.web_div {
    margin-bottom: 30px;
}

.branches_navigation {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
    background: var(--white-background, #FFF);
    margin-top: 30px;
}

.nearby, .on_map, .on_list, .mobile_filter {
    border-radius: 24px;
    border: 1px solid var(--mid-gray, #D2D4D4);
    background: var(--white-background, #FFF);
    /*Без двух кнопок*/
    /*
        padding: 6px 20px 6px 16px;
    */
    /**/
    padding: 6px 55px 6px 55px;
    align-items: center;
    gap: 8px;
    display: flex;
    cursor: pointer;
}

    .on_map.hidden, .branches_navigation_mobile {
        display: none;
    }

.choiceType {
    color: var(--dark, #2C3537);
    text-align: center;
    font-family: Ubuntu;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 20px;
    border: 1px solid var(--mid-gray, #D2D4D4);
    background: var(--white-background, #FFF);
    padding: 7px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

    .choiceType.active {
        background-color: var(--teal);
        color: var(--white);
        border: none;
    }

.form-control.custom-select-nav, .form-control.custom-select-nav:active, .form-control.custom-select-nav:focus {
    border: 1px solid var(--teal);
    box-shadow: none;
}

.wheelChair, .clock {
    border-radius: 24px;
    border: 1px solid var(--mid-gray, #D2D4D4);
    padding: 6px 16px;
    background-color: var(--white);
    cursor: pointer;
}

    .wheelChair.active, .clock.active, .nearby.active, .on_map.active, .on_list.active {
        background: #b1b8bb;
    }

.branches_holder {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status.active {
    display: flex;
    /* height: 30px; */
    padding: 7px 12px;
    justify-content: center;
    gap: 10px;
    border-radius: 20px;
    background: var(--teal, #008F91);
    color: var(--white);
    align-items: center;
    text-align: center;
}

.branches_holder .status.active {
    width: max-content;
}

.ymaps-2-1-79-b-cluster-carousel__body ymaps-2-1-79-b-cluster-content__body .branches_holder .status.active {
    width: 100%;
}

.list_of_branches {
    padding: 20px 30px;
    flex-direction: column;
    gap: 16px;
    border-radius: 8px;
    background: var(--white-background, #FFF);
    display: flex;
    margin-top: 20px;
    position: relative;
}

.branches_row, .branches_head {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 50px;
}

.branches_head {
    padding: 0 20px;
}

.branches_row {
    padding: 20px;
    border-radius: 8px;
    background: var(--light-blue, #F5F6F8);
}
/*

    TYPOGRAPHY

*/
.accentM {
    /* Accent M */
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 25.2px */
}

.accentS {
    /* Accent S */
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 22.4px */
}

.accentXS {
    /* Accent XS */
    font-family: Ubuntu;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 19.6px */
}

.tableTX {
    font-family: Ubuntu;
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0em;
}

.caption {
    font-family: Ubuntu;
    font-size: 12px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0em;
}

.h3-custom {
    font-family: Ubuntu;
    font-size: 32px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: -0.02em;
    text-align: left;
}

.h1-custom {
    font-family: Ubuntu;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 70px */
}

.title-custom {
    font-family: Ubuntu;
    font-size: 22px;
    font-weight: 700;
    line-height: 31px;
    letter-spacing: 0px;
    text-align: left;
}

.bodyL {
    /* Body L */
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
}
/*
    width
*/
.w-20 {
    width: 20%;
}

.btn.btn-green {
    border-radius: 8px;
    margin: 0 !important;
}

.h48px {
    height: 48px;
}
/*
    
    YANDEX MAP

*/
#yandexMapBranches {
    height: 500px;
    width: 100vw;
    max-width: 100%;
    position: relative;
    left: calc(-50vw + 50%);
    /* width: 100%; */
    margin-top: 20px;
}

.hidden {
    display: none !important;
}

ymaps.ymaps-2-1-79-map, ymaps.ymaps-2-1-78-map {
    width: 100%;
    max-width: 100% !important;
    height: 100%;
}

.ymaps-2-1-79-copyright__wrap,
.ymaps-2-1-79-controls__control,
.ymaps-2-1-79-map-copyrights-promo,
.ymaps-2-1-79-controls__toolbar_left,
.ymaps-2-1-79-float-button_traffic_left,
.ymaps-2-1-79-listbox__button-text,
.ymaps-2-1-79-listbox__button-arrow,
.ymaps-2-1-79-_visible-arrow {
    display: none !important;
}

.branches_navigation_pc {
    display: flex;
    gap: 8px;
}

    .branches_navigation_pc.hidden {
        display: none;
    }

.mobile_div, .mobile_region {
    display: none;
}


.form-check-input.alter-form-check-input:focus:enabled {
    background-color: #008F91;
    border-color: #D1D4D7;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 2px #D1D4D7, 0 0 5px #D1D4D7;
    box-shadow: inset 0 2px 2px #D1D4D7, 0 0 5px #D1D4D7;
}

.form-check {
    padding: 0 !important;
}

.form-check-input.alter-form-check-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

    .form-check-input.alter-form-check-input + label {
        display: flex;
        align-items: center;
        cursor: pointer;
        user-select: none;
    }

        .form-check-input.alter-form-check-input + label::before {
            content: '';
            display: inline-block;
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            flex-grow: 0;
            border: 1px solid #D1D4D7;
            border-radius: 4px;
            margin-right: 0.5em;
            background-repeat: no-repeat;
            background-position: center center;
            background: white;
            background-size: 50% 50%;
            color: white;
        }

    .form-check-input.alter-form-check-input:checked + label::before {
        color: #fff;
        background: #008F91;
        border: 1px solid #008F91;
        content: '✓';
        text-align: center;
        line-height: 24px;
    }

.back_to_main {
    display:flex;
    gap:10px;
    align-items:center;
   
}

.mobile_ymap_objects {
    margin-top: 65px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


@media(max-width:1200px) {
    #filterMobileContactsAndBranches > div > div > div.modal-header {
        padding: 20px 30px 0px 30px !important;
    }

    #yandexMapBranches > ymaps > ymaps > ymaps > ymaps.ymaps-2-1-79-balloon-pane, #yandexMapBranches > ymaps > ymaps > ymaps > ymaps.ymaps-2-1-79-balloon-pane {
        display: none !important;
    }
    ymaps.ymaps-2-1-79-b-cluster-tabs__item-header.ymaps-2-1-79-b-cluster-content__header {
        display: none;
    }

    .nearby, .on_map, .on_list, .mobile_filter {
        padding: 6px 20px 6px 16px;
    }

    .main {
        padding: 20px 15px;
    }

    .contacts_cards, .branches_navigation {
        width: 100%;
        flex-direction: column;
    }

    .mobile_objects_list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile_objects_map {
        border-radius: 8px;
        background: var(--White-Background, #FFF);
        display: flex;
        padding: 10px;
        align-items: flex-start;
        gap: 6px;
        align-self: stretch;
    }

    .mobile_region {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
    }

    .branches_navigation {
        background: none;
        box-shadow: none;
        padding: 0px;
        margin-top: 30px;
    }

    .branches_navigation_mobile {
        display: flex;
        gap: 8px;
        width: 100%;
        justify-content: space-between;
    }

    .branches_navigation_pc, .breadcrumb, .web_div, .branches_head {
        display: none;
    }

    .branches_row {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .region.w-20 {
        width: 100%;
    }

    .cursor-pointer {
        cursor: pointer;
    }

    .card {
        width: 100%;
    }

    .form-control.custom-select-nav {
        height: 48px;
    }

    #yandexMap {
        width: 100%;
        margin-bottom: 50px;
        margin-left: 15px;
    }

    .mobile_div {
        display: flex;
        align-items: center;
        margin-top: 60px;
        margin-bottom: 25px;
    }

        .mobile_div img {
            display: block;
        }

        .mobile_div span {
            margin: auto;
        }

    #filterMobileContactsAndBranches.modal.show {
        width: 100%;
        display: block !important;
        bottom: 0px;
        top: auto;
        height: max-content;
    }

    .hrOver {
        margin: 15px 0;
    }
}



.pagination-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#pagination-numbers {
    overflow: hidden;
    width: 100%;
    display: flex;
}

.pagination-button {
    font-size: 1.1rem;
    background: #fff;
    border: 1px solid gray;
    padding: 5px;
    margin: 0.25rem 0.25rem;
    cursor: pointer;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.2rem;
    color: black;
}

    .pagination-button:hover {
        background: var(--teal, #008F91);
        color: white;
    }

    .pagination-button.disabled, .pagination-button.disabled:hover {
        background-color: #cfcfcf;
        color: black;
    }
