/* MODALS */

.modal {
    background-color: rgba(0, 0, 0, .3) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    overflow: auto;
}

.modal-header {
    color: #000 !important;
    pointer-events: none;
}

/*.modal-container-custom {
    background-color: #fff;
    padding-bottom: 30px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 80% !important;
    margin: 0 10%;
    padding-top: 1em;
    height: 100%;
}*/

.modal-auto .modal-container-custom {
    margin: unset;
    width: unset !important;
    padding: 2em 3em;
}

.modal-container-custom th {
    background-color: #fff;
}

.modal-container-custom select {
    width: calc(100%);
}

.modal-container-custom button {
    width: 100%;
    margin-top: 1em;
}

.modal-table {
    width: 100%;
}

.modal-table td,
.modal-table span {
    padding: .1em;
    background: #fff;
}

.modal-table td {
    border: 1px solid #2dbe6c !important;
}

.modal-table span {
    background: #fff;
    display: flex;
}

.modal-content {
    background-color: #fff;
    max-height: calc(100vw - 11%) !important;
    padding: 0 2em;
    position: relative;
    top: 3rem;
    border: 3px solid #2dbe6c !important;
}

.modal-small {
    margin: 2.5em auto !important;
    width: 30%;
}

.modal-medium {
    margin: 12.5em auto !important;
    width: 50%;
}

.modal-large {
    margin: 6.1em auto !important;
    width: 61vw;
}

.modal-auto {
    margin: 2.5em auto !important;
    width: fit-content;
}

.modal-alert {
    margin: 2em;
}

.div-alert {
    color: var(--bs-danger);
}

.modal-align-right {
    text-align: right;
    padding-right: .5em !important
}

.close {
    cursor: pointer;
    font-size: 2rem !important;
    top: 1%;
    right: 1%;
    position: absolute;
}

.modal-tab-container {
    white-space: nowrap;
}

span.modal-tab {
    background-color: #fff;
    padding: 5px 8px;
    margin: 0 1px 1px 0;
    cursor: pointer;
    display: inline-block !important;
}

span.modal-tab.active {
    opacity: 0.8;
    color: #333;
}

.modal-tab-content {
    display: none;
    visibility: hidden;
}

.modal-tab-content.active {
    display: block;
    visibility: visible;
}

.modal-button {
    width: auto !important;
    padding: .5em 1em;
    margin: 2em 1em 0 0 !important;
}

.modal-date-input {
    width: calc(100%) !important;
}