#primary_modal,
#secondary_modal {
    padding: 4rem 0 0;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1000;
}

#secondary_modal {
    padding: 5rem 0 0;
}

#primary_modal .modal-content,
#secondary_modal .modal-content {
    background-color: var(--white);
    width: 85%;
    overflow-y: auto;
    margin: 0 auto;
    height: 90%;
    padding: 2rem;
    border-radius: 5px;
    max-width: 1080px;
    min-height: 300px;
}

#secondary_modal .modal-content {
    width: 80%;
    max-width: 1060px;
    height: 90%;
}

.modal .button-wrapper {
    position: relative;
    width: 85%;
    margin: 0 auto;
    max-width: 1080px;
}

.modal .close-button {
    position: absolute;
    z-index: 9999999;
    right: .25rem;
    font-size: 3.5rem;
    cursor: pointer;
    color: var(--dark);
}

#secondary_modal.modal .button-wrapper {
    position: relative;
    width: 80%;
    margin: 0 auto;
    max-width: 1060px;
}

#confirm_dialog {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: none;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

#confirmation_box {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

#close_case .select2-container {
    margin: 0 0 1rem;
}