.vbox-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.48);
    z-index: 71;
    pointer-events: all;
}

.vbox-container {

    z-index: 20;
    max-height: 100%;
    padding: 30px 0;

}

.vbox-overlay .vbox-content {
    background: transparent;
    display: flex;
}

.vbox-child.vbox-inline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    max-width: 100%;
    position: relative;
}

.vbox-inline .vbox-child {
    position: absolute;
    z-index: 101;
    height: 100vh;
    display: flex;
}


.vbox-content .vbox-inline.vbox-child #map.unit-map {
    /*position: fixed;*/
    width: 80vh !important;
    height: 80vh !important;
    position: relative;
    z-index: 100;
    background: #fff;
    border-radius: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    margin: auto;
    z-index: 100;
    margin: auto;
}

.vbox-overlay .vbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 104;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    color: #000;
    border: 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1.8;
    transition: opacity .2s;
    cursor: pointer;
    background-color: #fff;
    padding: 5px;
}

@media screen and (max-width: 1024px) {
    .vbox-overlay .vbox-container {
         align-items: center;
    }

    .vbox-child.vbox-inline {
         height: auto;
    }
}