﻿/* General modal styling */

.modal {
    padding: 10px !important;
}

/* Make background of top modal grey out, not buttom */
.modal.show {
    background-color: rgba(0,0,0,0.5);
}
.modal-backdrop {
    visibility: hidden !important;
}
/* end */

.modal-header {
    background-color: transparent !important;
    padding-right: 30px;
    padding-left: 30px;
    border-bottom: 0px;
}

.modal-body > p {
    margin-bottom: 0;
}

.modal-dialog {
    max-width: 768px;
    justify-content: center;
    margin: auto;
    min-height: 100%;
}

.modal-footer {
    display: flex;
    justify-content: center;
    margin: auto;
    width: 100%;
}

@media (max-width: 575px) {
    .modal-footer {
        flex-direction: column;
    }

    .modal-actions {
        flex-direction: column;
    }

    #ProlongQueueTicketModal button {
        margin: 5px 10px;
    }
}

/* Specific modal styling */
/* Confirm Delete Booking Modal */
@media (max-width: 575px) {
    #ConfirmDeleteBtn {
        margin-bottom: 10px;
    }
}

@media (max-width: 500px) {
    .modal-dialog .modal-header h2 {
        font-size: 24px;
    }
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin: auto;
    margin-top: 22px;
}

/* Error Occured modal*/
#ErrorOccurredModal {
    z-index: 1062; /* more than the z-index of other modals, as this modal should be able to overlap the others and be in focus.*/
}
