/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.itr-d2sp-open-map {
    background-color: #0082c8;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 9999;
    position: relative;
}

#d2sp-popup-container {
    max-width: 100%;
    width: 640px;
    height: 670px;
    overflow-y: auto;
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 50000;
    padding: 10px;
    background-color: white;
}

#d2sp-popup-container .buttons-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

#d2sp-popup-container .buttons-container .choose-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    padding: 10px 20px;
    background-color: #5cb85c;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1rem;
}

#d2sp-popup-container .buttons-container  .d2sp-popup-close-btn i {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    color: #515962;
    font-size: 16px;
}

#d2sp-popup-container.active {
    display: block !important;
}

#d2sp-popup-container.hidden {
    display: none !important;
}

.d2sp-bg-overlay.active {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100vw;
    z-index: 4000;
    background-color: rgba(0,0,0,.8);
}