/* Modal styles */
.leavemodal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    overflow: hidden;
}
.leavemodal-content {
    background-color: #fefefe;
    /*margin: 20% auto;*/
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    overflow: auto;
    height: max-content;
}
.leavemodal-content h4 {
    margin-top: 0.75em;
}
.leavemodal-close {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}
.leavemodal-close:hover,
.leavemodal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
#leavemodal-desturl {
    padding: 6px;
    background-color: #eee;
    color: #114051;
    overflow-wrap: break-word;
    border-radius: 5px;
}

.row.mx-1 {
    display: flex;
}

#leavemodal-visitsite {
    background: #2180a0;
    color: white;
    padding: 0.75em 1.5em;
    border: none;
    width: 50%;
    font-weight: 600;
}

#cancelButton {
    background: #b75340;
    color: white;
    padding: 0.75em 1.5em;
    border: none;
    width: 50%;
    font-weight: 600;
}

@media only screen and (min-width: 651px) and (max-width: 1100px) {
    .leavemodal-content {
         /*top: 20%;*/
         width: 70%;
    }
}

@media only screen and (max-width: 650px) {
    .leavemodal-content {
         /*top: 20%;*/
         width: 90%;
    }
}
