.hide {
    display: none;
}

.main__map .loader {
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px)
}


button.view-active {
    background-color: #87759d;
    color: white;
}

.shops__item:hover,
.shops__item {
    text-decoration: none;
}


.js-shop-template {
    display: none;
}

.container-for-map {
    /*height: 800px;*/
    /*max-height: 100vh;*/
    min-height: 260px;
    /*height: 100%;*/

    /*height: calc(100vw * 0.59);*/
    height: calc(100vw * 0.39);
}
@media (max-width: 768px) {
    .container-for-map {
        height: calc(100vw * 0.30);
        /*height: calc(100vh - 110px);*/
    }
}
/*
@media (max-width: 450px) {
    .container-for-map {
        height: calc(100vh - 90px);
    }
}*/

.map-loader {
    border: 12px solid #f3f3f3;
    border-top: 12px solid #5a4178;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

.map-loader {
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
}

.map-widget-container {
    user-select: none;
    position: relative;
    height: 100%
}

.map-widget-container .controls {
    display: none
}

.map-widget-container .controls .levels {
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16);
    background-color: #fff;
    /*border-radius: 27px;*/
    position: absolute;
    top: 50%;
    right: 50%;
    /*margin-left: -711px;*/
    margin-right: calc(50% - calc(100% - 40px));
    transform: translate(0, -50%)
}

.map-widget-container .controls .levels .current {
    /*color: #95358c;*/
    color: white;
    background-color: #88779e;
    font-weight: bold;
    text-align: center;
    line-height: 54px;
    cursor: pointer;
    font-size: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee
}

.map-widget-container .controls .levels .level-up,
.map-widget-container .controls .levels .level-down {
    background-position: center center;
    background-repeat: no-repeat;
    height: 54px;
    text-align: center;
}

.map-widget-container .controls .control {
    position: relative;
    cursor: pointer;
    width: 54px;
    height: 54px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


@media (max-width: 350px) {
    .map-widget-container .controls .control {
        width: 44px;
        height: 44px;
    }
}

.map-widget-container .controls .control svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    fill: #27b0ec
}

.map-widget-container .controls .zoom {
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16);
    position: absolute;
    top: 8px;
    left: 8px;
    /*margin-right: -711px;*/
    /*margin-right: calc(50% - 90px);*/
    /*transform: translate(0, -50%);*/
    background-color: #fff;
    /*border-radius: 27px;*/
    text-align: center;
}

.map-widget-container .controls .zoom .in {
    border-bottom: 1px solid #eee
}

/*
.map-widget-container .container-for-map {
    height: 100%
}
*/
.map-widget-container .popup-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    display: flex
}

.map-widget-container .renter-popup {
    display: none;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16);
    width: 200px;
    height: 200px;
    position: relative
}

.map-widget-container .renter-popup:nth-child(n+2) {
    margin-left: 16px
}

.map-widget-container .renter-popup .close {
    fill: #95358c;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%, 0);
    cursor: pointer
}

.map-widget-container .renter-popup .close:hover {
    fill: #27b0ec
}

.map-widget-container .renter-popup .arrow {
    fill: #95358c;
    width: 14px;
    height: 14px;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 0)
}

.map-widget-container .renter-popup .name {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%
}

.map-widget-container .renter-popup-template {
    display: none
}