#bkntc-map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.8);
    z-index: 9999999;
}

#bkntc-map-modal.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#bkntc-map-modal-content {
    background-color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.bkntc-map-view-container {
    flex: 487 1 0;
    min-width: 400px;
}

.bkntc-map-details-container{
    flex: 138 0.2 0;
    min-width: 318px;
}

.bkntc-map-details {
    border-radius: 10px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.15);
    margin: 20px;
    padding: 10px 16px;
}

#bkntc-close-map-modal {
    margin-bottom: 20px !important;
    border: none;
    position: relative;
    top: 20px;
    left: 20px;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: -0.192px !important;
    border-radius: 12px !important;
    background: #4778F5;
    box-shadow: 0 1px 2px 0 rgba(20, 21, 26, 0.05);
    color: #fff;
    padding: 14px !important;
    cursor: pointer;
}

#bkntc-close-map-modal img{
    width: 20px;
    position: relative;
    top: 3px;
}

#bkntc-close-map-modal:hover {
    filter: brightness(90%);
}

@media (width <= 768px){
    #bkntc-map-modal-content{
        flex-direction: column-reverse;
        height: 100%;
    }

    .bkntc-map-view-container {
        flex: 1.4 1 0;
        height: 66%;
        min-width: auto;
    }

    .bkntc-map-details-container{
        flex: 1 0 0;
        height: 33%;
        min-height: 350px;
        min-width: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}