.map-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(0,0,0,.3);
    top: 0;
    left: 0;
    display: none;
}

.map-overlay.active {
    display: block;
}

.map-modal {
    position: absolute;
    width: 100%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    display: none;
}

.map-modal.active {
    display: block;
}

.close-map {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
    background: none;
    display: block;
    z-index: 101;
}

.map-block {
    width: 100%;
    height: 100%;
    display: none;
}

.map-block.active {
    display: block;
}

@media (min-width: 768px) {
    .map-modal {
        width: 50%;
    }
}