/* MODALS */
@media all and (min-width: 480px) and (max-width: 980px) {
    .modal-content {
        width: 75% ! important;
    }
}

@media all and (max-width: 479px) {
    .modal-content {
        width: 90% ! important;
    }
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Header */
.modal-header {
    padding: 15px 46px 10px;
    background-color: #cdd7d6;
    color: white;
    border-radius: 10px 10px 0 0;
}

/* Modal Body */
.modal-body {
    padding: 20px 16px;
}

.modal-body select {
    font-size: large;
    margin-bottom: 20px;
    padding: 10px !important;
    position: relative;
}

/* Modal Footer */
.modal-footer {
    padding: 20px 16px 19px 16px;
    background-color: #cdd7d6;
    color: white;
    border-radius: 0 0 10px 10px;
}

.modal-footer .modal-continue-btn,
.modal-footer .modal-confirm-btn,
.modal-footer .modal-cancel-btn {
    background-color: #6484a0;
    color: white;
    font-size: large;
    padding: 4px 16px;
}

.modal-footer .modal-continue-btn:hover,
.modal-footer .modal-confirm-btn:hover,
.modal-footer .modal-cancel-btn:hover {
    background-color: #8ebde5;
    color: white;
    cursor: pointer;
}
.modal .de-spinner-wrapper img {
    height: 28px;
    width: 28px;
    padding-top: 8px;
}

.modal table {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.modal thead,
.modal tbody {
    width: 100%;
}
.modal tbody {
    max-height: 500px;
    overflow: auto;
    display: table;
}
@media all and (max-width: 479px) {
    .modal tbody {
        max-height: 230px;
        overflow: auto;
    }
}

.modal tr,
.modal td {
    padding: 2px 5px !important;
}
.modal tr:nth-child(even) td {
    background-color: lightgrey;
}
.modal th {
    color: white !important;
}

.modal th:first-of-type,
.modal td:first-of-type,
.modal th:last-of-type,
.modal td:last-of-type {
    width: 10%;
    text-align: center;
}

.modal .action-edit {
    cursor: pointer;
}

.modal .checkbox_container {
    display: flex;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    gap: 0.5rem;
    padding-left: 0;
}

.modal .checkbox_container input {
    cursor: pointer;
    height: 20px;
    width: 20px;
    accent-color: #6484A0;
    position: relative;
    opacity: 1;
}

.modal .de-spinner-wrapper {
    display: none;
}

.modal .et_pb_icon .et_pb_icon_wrap {
    display: inline-block;
    border-style: solid;
    border-width: 0;
    line-height: 0;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    background-size: cover;
    position: relative;
}
.modal .et-pb-icon {
    font-family: FontAwesome!important;
    font-weight: 900!important;
    color: #6484a0;
    font-size: 1.25rem!important;
}

/* tablet */
@media all and (max-width: 980px) {
}

.modal .modal-footer > div {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.modal-footer .send-wrapper img {
    display: none;
}

.success-wrapper p {
    font-size: x-large;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    padding: 0;
    border: 1px solid #888;
    width: 600px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 1s;
    top: 20vh;
    border-radius: 10px;
    margin: auto;
    margin-top: 2rem;
}

/* Add Animation */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 20vh;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: #6484a0;
    float: right;
    font-size: xx-large;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}