.modal-custom {
    display: flex !important;
    width: auto !important;
    height: auto !important;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: "Raleway";
}

.modal-header {
    border-bottom: 0 !important;
}

.modal-content .modal-header,
.modal-content .modal-body {
    margin: 1rem 1rem 0 1rem;
}

.modal-content .modal-body {
    margin-top: 0px;
    margin-bottom: 1rem;
}

.modal {
    transition: all 0.3s !important;
    z-index: 5001 !important;
}

.modal .modal-content {
    opacity: 0;
    transform: translateY(-200px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal.show .modal-content {
    opacity: 1;
    transform: translateY(0);
}

.modal-details {
    max-height: 70vh;
    overflow: auto;
    padding-right: 4px;
}

.modal-details .md-row {
    display: block;
    margin: 6px 0;
    line-height: 1.35;
}

.modal-details .md-row > b {
    display: inline-block;
    min-width: 10rem;
    vertical-align: top;
}

.modal-details .md-value {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.modal-details .errors {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* Tenant Parameter Modal special style */
.modal-body.tenant-param-modal {
    min-width: 37.5rem;
    max-width: 56.25rem;
    width: 70vw;

    min-height: 31.25rem;
    max-height: 50rem;
    height: auto !important;
    /*height: 80vh;*/

    /*max-height: calc(90vh - 200px);*/
    overflow-y: auto;
    padding: 1.25rem;
}

/* Modal content width extend */
.modal-body.tenant-param-modal .formContainer {
    width: 100%;
}
