.interactive_map,
.interactive_map_img {
    width: 100%;
}

.interactive_map_rel {
    width: 100%;
}

.interactive_map_rel,
.interactive_map_img {
    position: relative;
}

.interactive_map_img img {
    width: 100%;
    height: auto;
}

.interactive_map_points_admin,
.interactive_map_points,
.interactive_map_info {
    position: absolute;
}

.interactive_map_info {
    transition: .3s;
    visibility: hidden;
    opacity: 0;
    background-color: #30303099;
    z-index: 2;
}

.interactive_map_info.visible_block {
    visibility: visible;
    opacity: 1;
}

.interactive_map_img img {
    width: 100%;
    height: auto;
}

.interactive_map_points_admin,
.interactive_map_points {
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.interactive_map_points_admin {
    z-index: 3;
}

.interactive_map_points_admin,
.interactive_map_points {
    pointer-events: none;
}

.im_point.active {
    --fill: #b8ffb8;
}

.im_point {
    pointer-events: visible;
    cursor: pointer;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 4.7rem;
    height: 4.7rem;
}

.im_point svg {
    width: 100%;
    height: 100%;
}

.interactive_map_bl .main_b_title,
.interactive_map_bl .main_b_text {
    margin-bottom: 0;
}

.interactive_map_bl .main_b_text {
    margin-top: 2.4rem;
}

.interactive_map_cont {
    margin-top: 6.4rem;
}

.interactive_map {
    overflow: hidden;
    position: relative;
}

.interactive_map_info ul {
    margin: 0;
    padding-left: 20px;
    color: #fff;
    list-style: square;
}

.interactive_map_info ul li {
    margin: 0;
    padding-left: 1rem;
    color: #fff;
    list-style: square;
}

.interactive_map_info ul {
    margin: 0;
    padding-left: 20px;
    color: #fff;
    list-style: square;
}

@media (min-width: 700px) {
    .interactive_map_info {
        width: 48.9rem;
        bottom: 1.9rem;
        padding: 2.4rem;
        right: 3.5rem;
    }
}

.interactive_map_cont_title,
.interactive_map_cont_krest {
    display: none;
}

@media (min-width: 901px) {
    .interactive_map_info_krest,
    .interactive_map_alert {
        display: none;
    }
}

@media screen and (max-width: 900px) {

    .switch_display_gif_css {
        --s: 64px;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        width: var(--s);
        height: var(--s);
    }

    .switch_display_gif_css_phone {
        height: 100%;
        background-repeat: no-repeat;
        width: 30%;
        background-image: url(/local/components/lsg/interaktive/templates/.default/images/phon.png);
        background-position: center;
        background-size: contain;
        filter: invert(1);
        animation: switch_phone infinite 5s;
    }

    .interactive_map_alert {
        z-index: 2;
        font-size: 16px;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: #000a;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }

    .switch_display_gif_css svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        animation: switch_arrows infinite 5s;
    }

    @keyframes switch_phone {
        0% {
            transform: scale(1) rotate(0);
        }
        7% {
            transform: scale(1.7) rotate(0);
        }
        15% {
            transform: scale(1) rotate(0);
        }

        45% {
            transform: scale(1) rotate(-90deg);
        }

        60% {
            transform: scale(1.7) rotate(-90deg);
        }

        70% {
            opacity: 1;
            transform: scale(1.7) rotate(-90deg);
        }

        80% {
            opacity: 1;
            transform: scale(1.7) rotate(-90deg);
        }
        100% {
            opacity: 1;
            transform: scale(1) rotate(0);
        }
    }

    @keyframes switch_arrows {
        0% {
            opacity: 0;
            transform: scale(0) rotate(0);
        }
        7% {
            opacity: 0;
            transform: scale(.2) rotate(0);
        }
        15% {
            opacity: 1;
            transform: scale(1) rotate(0);
        }
        45% {
            opacity: 1;
            transform: scale(1) rotate(-270deg);
        }
        60% {
            opacity: 0;
            transform: scale(0) rotate(-270deg);
        }
        80% {
            transform: scale(0) rotate(-270deg);
        }
        100% {
            opacity: 0;
            transform: scale(0) rotate(-270deg);
        }
    }
}

@media screen and (max-width: 900px) and (orientation: landscape) {
    .interactive_map_alert_desc,
    .switch_display_gif_css {
        display: none;
    }

    .interactive_map_info_content {
        max-height: 50vh;
        overflow-y: auto;
    }

    .interactive_map_info_krest {
        position: absolute;
        right: 12px;
        bottom: calc(100% + 8px);
        --fill: #fff;
        display: flex;
        align-items: center;
        gap: 4px;
        height: 30px;
        text-transform: uppercase;
        /*! flex-direction: row-reverse; */
        font-size: 14px;
        padding: 0 12px;
        color: #fff;
        border: 1px solid #fff;
        background-color: #0000007d;
    }

    .interactive_map_info_krest svg {
        width: 16px;
        height: 16px;
    }

    .interactive_map_alert_btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        border: 1px solid #fff;
        padding: 0 10px;
        text-transform: uppercase;
        background-color: #ffffff1c;
    }

    .interactive_map_rel .interactive_map_info {
        display: none;
    }
    body.interactiveFullsize .interactive_map_rel .interactive_map_info {
        display: block;
        width: 100%;
        bottom: 0;
        padding: 16px 12px;
        right: 0;
        font-size: 14px;
        line-height: 135%;
        background-color: #000a;
    }

    .im_point {
        width: 36px;
        height: 36px;
        background-color: #0005;
        border-radius: 100%;
        transition: .3s;
    }

    .im_point.active {
        width: 24px;
        height: 24px;
    }
    body.interactiveFullsize{
        overflow: hidden;
    }

    body.interactiveFullsize .interactive_map_rel {
        --panel-h: 40px;
    }

    body.interactiveFullsize .interactive_map_rel .inn_interactive_map_cont_sc {
        display: flex;
        align-items: center;
        height: 100%;
        width: 100%;
    }
    body.interactiveFullsize .interactive_map_rel .interactive_map_cont_title{
        position: absolute;
        top: 0;
        left: 0;
        height: var(--panel-h);
        display: flex;
        align-items: center;
        max-width: calc( 100% - var(--panel-h) - 16px);
        padding: 0 16px;
        background-color: #fff2;
        border-bottom-right-radius: 10px;
        font-size: 18px;
    }
    body.interactiveFullsize .interactive_map_rel .interactive_map_cont_title span{
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        text-overflow: ellipsis;
        display: -webkit-box;
        overflow: hidden;
    }

    body.interactiveFullsize .interactive_map_rel .interactive_map_cont_krest {
        position: absolute;
        top: 0;
        right: 0;
        width: var(--panel-h);
        height: var(--panel-h);
        display: block;
        padding: 4px;
        background-color: #fff2;
        border-bottom-left-radius: 10px;
        --fill: #fff;
    }

    .interactive_map_cont_krest svg {
        width: 100%;
        height: 100%;
    }

    .interactive_map_info ul li {
        padding-left: 0;
    }

    body.interactiveFullsize .interactive_map_rel .inn_interactive_map_cont {
        width: 100%;
        max-height: 100%;
        overflow-y: auto;
        padding: 0 0 20px;
    }

    body.interactiveFullsize .interactive_map_rel .interactive_map_cont {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #000;
        padding-top: calc(var(--panel-h) + 10px);
        bottom: 0;
        margin: 0;
        z-index: 1000;
    }
}


@media screen and (max-width: 900px) and (orientation: portrait) {
    .interactive_map_rel .interactive_map_info,
    .interactive_map_alert_btn {
        display: none;
    }
}

@media (max-width: 699px) {
    .interactive_map_info ul li {
        padding-left: 10px;
        font-size: 12px;
    }

    .interactive_map_info {
        display: none;
        padding: 24px 8px;
        width: 100%;
        margin-top: 24px;
        position: unset;
    }

    .interactive_map_info.visible_block {
        display: block;
    }

}
