.section-map-poi {
    position: relative;
    display: flex;
    height: 800px;
}

.section-map-poi .map-poi-info,
.section-map-poi .map-poi {
    flex: 1 0 auto;
}

.section-map-poi .map-poi-info {
    max-width: 370px;
}

.section-map-poi .map-poi-info .map-pois {
    position: relative;
    display: flex;
    flex-direction: column;
    top: 0;
    right: 0;
    padding-top: 0px;
    width: auto;
    height: 100%;
    max-height: 100%;
}

.section-map-poi .map-poi-info .map-pois__filter {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

.section-map-poi .map-poi-info .map-pois__list {
    height: 100%;
    max-height: 100%;
}

.section-map-poi .map-pois_show-details .map-pois__filter,
.section-map-poi .map-pois_show-details .map-pois__list {
    display: block;
}

.section-map-poi .map-poi__popup {
    position: relative;
    display: block;
    width: 767px;
}

.section-map-poi .map-poi__popup .map-poi__popup-inner {
    position: relative;
    display: block;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.1);
}

.section-map-poi .map-poi__popup .close {
    position: absolute;
    right: 5px;
    top: 1px;
}

.section-map-poi .map-poi__popup .map-poi__icon.map-poi__close {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 30px;
    height: 28px;
    font-size: 24px;
    line-height: 24px;
    user-select: none;
}

.section-map-poi .map-poi__popup .arrow {
    position: relative;
    width: 100%;
    height: 21px;
    background-image: url("/local/templates/miratorg/images/map_balloon_arrow.svg");
    background-repeat: no-repeat;
    background-size: 67px 19px;
    background-position: center top;
    z-index: 1;
}

.section-map-poi .map-poi__popup .map-poi__popup-inner > * {
    width: 100% !important;
}

.section-map-poi .map-poi__popup .map-poi__popup-title {
    display: none;
}

.section-map-poi .map-poi__popup .map-poi-item {
    display: flex;
}

.section-map-poi .map-poi__popup .map-poi-item .map-poi-item__img {
    margin: 0px;
    width: 372px;
    min-height: 309px;
}

.section-map-poi .map-poi__popup .map-poi-item .map-poi-item__txt {
    flex: 1 1 auto;
    padding: 40px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
}

.section-map-poi .map-poi__popup .map-poi-item .map-poi-item__title {
    margin-bottom: 40px;
}

.section-map-poi .map-poi__popup .map-poi-item .map-poi-item__prop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 38px;
    min-height: 24px;
}

.section-map-poi .map-poi__popup .map-poi-item .map-poi-item__prop + .map-poi-item__prop {
    margin-top: 20px;
}

.section-map-poi .map-poi__popup .map-poi-item .map-poi-item__address {
    background: url(/local/templates/miratorg/images/ico_adress.svg) 0 50% no-repeat;
}

.section-map-poi .map-poi__popup .map-poi-item .map-poi-item__time {
    background: url(/local/templates/miratorg/images/ico_clock.svg) 0 50% no-repeat;
}

@media (max-width: 1200px) {
    .section-map-poi .map-poi__popup {
        width: 522px;
    }

    .section-map-poi .map-poi__popup .map-poi-item .map-poi-item__img {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .section-map-poi {
        flex-direction: column;
        height: 100vh;
    }

    .section-map-poi .map-pois__list,
    .section-map-poi .map-pois_show-details .map-pois__list {
        display: none;
    }

    .section-map-poi .map-poi-info {
        flex-grow: 0;
        width: 100% !important;
        max-width: 100%;
        height: 30vh;
        height: auto;
        min-height: auto;
        max-height: 420px;
    }

    .section-map-poi .map-poi {
        height: 70vh;
    }
}

@media (max-width: 980px) {
    .section-map-poi .map-poi__popup {
        width: 492px;
    }

    .section-map-poi .map-poi__popup .map-poi-item .map-poi-item__img {
        width: 230px;
    }
}

@media only screen and (max-width: 767px) {
    .section-map-poi .map-poi-info .map-pois__filter {
        margin-top: 0;
    }

    .section-map-poi .map-poi-info .map-pois__item {
        padding: 15px;
    }

    .section-map-poi .map-poi__popup .map-poi-item {
        margin-top: 0px;
    }

    .section-map-poi .map-poi-info .map-poi-item__route-toggle {
        margin: 30px;
    }

    .section-map-poi .map-poi__nav div {
        margin-bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .section-map-poi .map-poi__nav {
        bottom: -650px;
    }
}

@media only screen and (max-width: 667px) {
    .section-map-poi .map-poi__popup {
        width: 270px;
    }

    .section-map-poi .map-poi__popup .map-poi__popup-inner > * {
        height: auto !important;
    }

    .section-map-poi .map-poi__popup .map-poi-item {
        flex-direction: column;
    }

    .section-map-poi .map-poi__popup .map-poi-item .map-poi-item__img {
        width: 100%;
        height: 187px;
        min-height: 187px;
    }
}