.contacts {
    display: grid;
    grid-template-columns: 420px 1fr;
    position: relative;
}

.rostfinans-logo {
    display: block;
}

.rostfinans-logo .logo-fill-dark {
    fill: #262626;
}

.rostfinans-logo .logo-fill-green {
    fill: #00C09F;
}

/* aside */
.menu-block {
    z-index: 1;
    box-shadow: 1px 0 0 0 #CED2DA;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    display: flex;
    flex-direction: column;
}

.menu-block-header {
    padding: 32px 24px;
    display: flex;
    box-shadow: 0 1px 0 0 #CED2DA;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.menu-block__link {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background-color: #DBF8F3;
}


/* wrapper*/
.menu-block-wrapper {
    padding: 0 24px;
    overflow-y: auto;
}

.menu-block-wrapper.one {
    overflow-y: inherit;
}

.region-block-button {
    width: 100%;
    text-align: left;
    background-color: #F2F4F7;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 16px;
    height: 56px;
    margin-bottom: 15px;
}

.region-block-button .region-block-button__text {
    display: inline-block;
    vertical-align: middle;
}

.search-block {
    margin-bottom: 16px;
    position: relative;
}

.search-block .search-label .search-input {
    height: 56px;
    width: 100%;
    padding: 0 12px 0 44px;
    font-size: 16px;
}

.search-block .search-label .tuiIconRemove-gray-400 {
    opacity: .5;
    z-index: 3;
    padding: 0;
    top: 17px;
    height: 24px;
    width: 24px;
    right: 16px;
    left: auto;
    cursor: pointer;
}

.search-block .search-label .tuiIconSearch-more-black {
    opacity: .5;
    z-index: 3;
    padding: 0;
    top: 19px;

    width: 18px!important;
}
.search-block .search-result {
    display: none;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .08), 0 0 4px rgba(0, 0, 0, .04);
    left: 0;
    margin-top: 4px;
    max-height: 400px;
    overflow: auto;
    position: absolute;
    width: 100%;
    z-index: 5;
    max-height: 400px;
    overflow: auto;
}

.search-block .search-result-list {
    background: #fff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.search-block .search-result-item {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    padding: 12px;
    position: relative;
}

.search-block .search-result-item:hover {
    background-color: #f3f4f5;
}

.search-block .search-result-item:first-child {
    background-color: #f3f4f5;
}

.search-block .search-result-item svg {
    color: #86868a;
    flex: 0 0 auto;
    margin-top: 12px;
}

.search-block .search-result-item-text {
    display: inline-flex;
    flex-direction: column;
    margin-left: 12px;
}

.search-block .search-result-item-text .search-result-item-name {
    color: #0e0e0e;
}

.search-block .search-result-item-text .search-result-item-desc {
    color: hsla(0, 0%, 5%, .7);
}

.search-block.active .search-result {
    display: block;
}

.search-block .tuiIconRemove-gray-400.hide {
    display: none;
}

.filter-block-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 30px;
}

.filter-block-list .filter-block-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
}

.filter-block-item .ch-column {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    gap: 16px;
}

.filter-block-item .ch-column .input-checkbox {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

/* -menu footer*/
.menu-block-footer {
    margin-top: auto;
}

.menu-block-mapdesc {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-block-mapdesc .menu-block-mapdesc__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #838A94;
}

.menu-block-mapdesc .mapdesc-item-ico {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-logo .logo-fill-color {
    fill: #00C09F;
}

.map-logo .logo-fill-white {
    fill: #fff;
}

.menu-block-mapdesc .open .mapdesc-item-ico {
    background-color: #1B1B1B;
}

.menu-block-mapdesc .close .mapdesc-item-ico {
    background-color: #838A94;
}

.menu-block-mapdesc .close .map-logo .logo-fill-color {
    fill: #fff;
}

.menu-block-call {
    padding: 24px;
    background: #F2F4F7;
}

.menu-block-call .menu-block__desc {
    font-size: 16px;
    font-weight: 500;
}

.menu-block-call .menu-block__phone {
    color: #06B194;
    font-size: 18px;
    font-weight: 700;
}

/* end aside */

/* section */
.contact-block {
    position: relative;
}

.contact-block .empty-zone {
    opacity: 0;
    position: absolute;
    top: 24px;
    left: 32px;
    bottom: auto;
    right: auto;
    max-width: 380px;
    display: flex;
    align-items: flex-start;
    grid-gap: 12px;
    gap: 12px;
    font-size: 16px;
    line-height: 20px;
    border-radius: 12px;
    background-color: #262626;
    color: #fff;
    padding: 24px;
    z-index: 1;
    transition: opacity .3s ease-in-out, opacity .3s ease-in-out;
}

.empty-zone .empty-zone-icon svg path {
    fill: #00c09f;
}
.empty-zone .filter-reset{
    color: #00c09f;
    border-bottom: 1px dotted #00c09f;
    cursor: pointer;
}
.contact-block .empty-zone.active {
    opacity: 1;
    transition: opacity .3s ease-in-out, opacity .3s ease-in-out;
}


.block_switch .block_switch__button {
    display: flex;
    position: absolute;
    right: 64px;
    top: 32px;
    z-index: 4;
    padding: 13px 32px;
    border-radius: 40px;
    background: #FDFDFD;
    box-shadow: 0px 12px 24px 0px rgba(38, 38, 38, 0.10);
    color: #262626;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
}

.block_switch__button svg {
    display: block;
}

.block_switch .block_switch__button:active {
    transform: scale(.97);
}

/**/
.block-contact {
    display: none;
}

.block-contact.active {
    display: block;
    padding: 132px 24px;
    overflow: auto;
    background: #F2F4F7;
    width: 100%;
    height: 100vh;
    /*height: calc(var(--vh, 1vh) * 100);*/
    position: absolute;
    top: 0;
    z-index: 2;
}

.block-contact .block-contact-count {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #838A94;
    margin-bottom: 20px;
}

.count-empty {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-empty .count-empty-1 {
    font-size: 30px;
    color: #1b1b1b;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 16px;
}

.count-empty .count-empty-2 {
    margin-bottom: 16px;
}

.count-empty .btn .svg svg path {
    fill: #fff !important;
}

/**/
.block-contact.active .block-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); */
    gap: 20px;

}

.contacts-block-item {
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 4px 8px 0px rgba(38, 38, 38, 0.06);
    transition: transform .2s ease;
}

.contacts-block-item.disable {
    display: none;
}

.contacts-block-item:hover {

    cursor: pointer;
    /*
    transform: scale(1.02);
    transition: transform .2s ease;
 */
}

.contacts-block-item:active {
    transform: scale(.98);
    transition: transform .2s ease;
}

.contacts-block-item .contacts-block-item__name {
    font-weight: 600;
}

.contacts-block-item .contacts-block-item__address {
    margin-bottom: 16px;
}

.contacts-block-item .contacts-block-item__location {
    margin-bottom: 16px;
}

.contacts-block-item__location .contacts-block-item__head {
    color: #656B74;
}

.contacts-block-item .contacts-block-item__time {
    margin-bottom: 16px;
}

.contacts-block-item__time .contacts-block-item__head {
    color: #656B74;
}

.contacts-block-item__time .time-list {
    display: flex;
    gap: 5px;
}

.time-list .time-item {
    display: flex;
    gap: 5px;
}

.contacts-block-item .contacts-block-item__openclose.green {
    color: #00C09F;
}
.contacts-block-item .contacts-block-item__openclose.orange {
    color: #f58220;
}
.contacts-block-item .contacts-block-item__openclose.red {
    color: #FC6464;
}

.contacts-block-item .contacts-block-item__openclose {
    font-weight: 600;
    margin-top: auto;
}

.metro-item-list {
    display: flex;
    column-gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.metro-item {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.metro-item .metro-item__maker {
    margin-top: -1px;
}

.metro-item .metro-item__maker .maker {
    fill: #1b1b1b;
}

.metro-item .metro-item__maker.orange .maker {
    fill: #f58220;
}

.metro-item .metro-item__maker.green .maker {
    fill: #48b85d;
}

.metro-item .metro-item__maker.violet .maker {
    fill: #8e479b;
}

.metro-item .metro-item__maker.red .maker {
    fill: #da2128;
}

.metro-item .metro-item__maker.blue .maker {
    fill: #0078bf;
}
.metro-item .metro-item__maker.azure .maker {
    fill: #5fbfbf;
}

/**/

.block-map {
    display: block;
    z-index: 2;
}

.success-copy {
    position: fixed;
    bottom: 32px;
    left: 50%;
    margin-left: 130px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: transform .3s ease-in-out, opacity .3s ease-in-out;
    z-index: 10000;
}

.success-copy.active {
    opacity: 1;
}

.success-copy .success-copy-wrap {
    background-color: #1c1c1c;
    display: flex;
    color: #fff;
    padding: 0 32px;
    height: 56px;
    align-items: center;
    border-radius: 8px;
}

.success-copy .success-copy-icon {
    margin-right: 15px;
}


#map .marker {
    position: absolute;
    bottom: -7px;
    left: -23px;
    cursor: pointer;
}

.marker-svg .marker-bg {
    fill: #1B1B1B;
}

.marker-svg .marker-bg-1 {
    fill: #FFFFFF;
}

.marker-svg .marker-bg-2 {
    fill: #00C09F;
}

.marker-svg:hover .marker-bg {
    fill: #00C09F;
}

.marker-svg:hover .marker-bg-2 {
    fill: #FFFFFF;
}

.marker-svg.CLOSED .marker-bg {
    fill: #838A94;
}

.marker-svg.CLOSED .marker-bg-2 {
    fill: #FFFFFF;
}

.marker-svg.CLOSED:hover .marker-bg {
    fill: #00C09F;
}

.marker-svg.CLOSED:hover .marker-bg-2 {
    fill: #FFFFFF;
}

#map .cluster.dynamic {
    position: absolute;
    bottom: -23px;
    left: -23px;
    text-align: center;
    width: 48px;
    height: 48px;
}

#map .cluster.dynamic span {
    position: absolute;
    cursor: pointer;
    color: #fff;
    width: 100%;
    line-height: 46px;
    font-weight: 500;
}
#map .cluster.dynamic .cluster-circle {
    text-align: center;
    width: 48px;
    height: 48px;
    line-height: 48px;
}

.cluster-svg .cls-cluster {
    fill: #1B1B1B;
}

#map .cluster.dynamic:hover .cls-cluster {
    fill: #00C09F;
}

/* end section */


/* detail-cart */

.detail-cart {
    display: none;
    position: relative;
    width: 100%;

    flex-direction: column;
    height: 100%;
    background-color: #F2F4F7;
    padding: 32px 24px;
    font-size: 14px;
    z-index: 4;
    overflow: auto;
}

.detail-cart.active {
    display: flex;
}

.detail-cart .detail-cart-close {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
}

.cart-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.cart-header .cart-header-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #1B1B1B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-header .map-logo {
    width: 25px;
    height: 17px;
}

.cart-header .cart-header-desc .cart-header-desc-type {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: #838A94;
}

.cart-header .cart-header-desc .cart-header-desc-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #1B1B1B;
}

.cart-address {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}

.cart-address .cart-address-text {
    color: #1B1B1B;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 15px;
}

.cart-address .cart-address-copy {
    cursor: pointer;
}

.cart-operating {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 15px;
}

.cart-operating.green {
    color: #00C09F;
}

.cart-operating.red {
    color: #FC6464;
}

.cart-operating.orange {
    color: #f58220;
}

.detail-cart .divider {
    margin: 24px 0;
    border: none;
    color: #CED2DA;
    background-color: #CED2DA;
    height: 1px;
    min-height: 1px;
}

.cart-time .cart-time-name {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 16px;
}

.cart-time-wrap {
    margin-bottom: 16px;
}
.cart-time .cart-time-wrap:last-child {
    margin-bottom: 0;
}

.cart-time-wrap .cart-time_head {
    color: #656B74;
}

.cart-time-wrap .cart-time-list {
    display: flex;
    flex-direction: column;
    color: #1B1B1B;
    font-weight: 600;
}

.cart-time-wrap .cart-time-item {
    display: flex;
    gap: 5px;
}

.cart-metro .cart-metro-name {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 16px;
}

.cart-metro .metro-item-info {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cart-metro .metro-item {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cart-metro .metro-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-metro .metro-item-route {
    display: flex;
    gap: 6px;
    align-items: center;
    font-weight: 600;
    color: #838A94;
}

.cart-metro .metro-item-route svg {
    display: block;
}

.cart-service .cart-service-name {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 16px;
}

.cart-service .cart-service-list {
    padding: 0;
}

.cart-service .cart-service-item {
    margin-bottom: 8px;
}

@media only screen and (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }

    body {
        overflow: hidden;
    }

    .contacts {
        display: block;

        pointer-events: none;
        position: fixed;
        z-index: 6;
        top: 0;
        left: 0;
        right: 0;
    }

    .contact-block {
        display: block;
        height: 100%;
        overflow: hidden;
        width: 100%;
        pointer-events: all;
    }

    .search-block {
        margin-bottom: 0;
        width: 100%;
    }

    .menu-block {
        z-index: 1;
        box-shadow: 1px 0 0 0 #CED2DA;
        height: inherit;
        display: block;
        flex-direction: inherit;
        position: relative;
        top: 0;
    }

    .menu-block-header {
        padding: 24px;
        display: flex;
        box-shadow: 0 1px 0 0 #CED2DA;
        align-items: center;
        gap: 20px;
        margin-bottom: 0;
    }

    .block-map {
        height: calc(100vh - 300px);
        position: relative;
        width: 100%;
    }

    .block-contact {
        display: block;
        position: relative;
        z-index: 1;
    }

    .swipe-overlay {
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        pointer-events: none;
        position: fixed;
        z-index: 6;
    }

    .swipe-overlay .overlay-transform {
        pointer-events: unset;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        position: absolute;
    }

    .swipe-container {
        bottom: 0;
        box-shadow: 0 30px 0 0 #fff;
        left: 0;
        margin: 0 auto;
        max-width: 600px;
        position: absolute;
        right: 0;
        will-change: transform;
        pointer-events: all;
        z-index: 2;
    }

    .swipe-content {
        user-select: none;
        touch-action: pan-x;
        transform-origin: 50% 50% 0px;
    }

    .swipe-wrapper {
        position: relative;
        background-color: #fff;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        box-shadow: 0 1px 2px 0 #86868a;
        overflow: hidden;
        z-index: 2;
        padding-top: 20px
    }

    .swipe-data:before {
        content: "";
        height: 6px;
        width: 80px;
        position: absolute;
        top: 20px;
        left: 50%;
        margin-left: -40px;
        background: rgba(27, 27, 27, 0.30);
        border-radius: 3px;
        z-index: 9999;
    }

    .swipe-data {
        /*
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
        */
        box-sizing: border-box;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .swipe-data-header {
        border-radius: 16px 16px 0 0;
        padding: 24px 20px;
        background-color: #fff;
        min-height: 36px;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .swipe-data-content {
        -webkit-overflow-scrolling: touch;
    }

    .block-list {
        padding: 0 20px;
    }

    .block-contact {
        background: #F2F4F7;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .block-contact .block-contact-count {
        padding: 0 20px;
    }

    .contacts-block-item {
        padding: 16px 20px;
        margin-bottom: 16px;
    }

    .contacts-block-item__time .time-list {
        flex-wrap: wrap;
    }

    .search-wrap {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .search-wrap .search-filter {

    }

    .search-filter-button {
        display: flex;
        border: 1.5px solid #ced2da;
        border-radius: 6px;
        height: 56px;
        padding: 12px 16px;
        align-items: center;
    }

    .search-filter-button .search-filter-button__text {
        display: none;
    }
}