.modal-form > .show {
    display: block;
}

/* a window opened without waiting covers the page with its dialog alone: a click around the dialog reaches the page */
.modal-nowait > .modal {
    pointer-events: none;
}

.modal-dialog.modal-fit-content {
    max-width: 100vw;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

.modal-dialog.modal-resizable {
    margin: 0;
}

.form {
    /*z-index: 0;*/
}