.pmodal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    padding-right: 0 !important;

    padding: 30px 0px;
    height: 100%;
}

.pmodal .pmodal-dialog {
    /* height: 100%; */
    height: auto;
    /* max-height: 100%; */
    margin: 0 auto;

    overflow: hidden;
    background: white;
}

.pmodal-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.pmodal-left-panel {
    flex: 0 0 275px;
}

.pmodal-left-panel-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pmodal-left-panel-header {
    flex: 0 0 auto;
    padding: 0px 12px;
}

.pmodal-left-panel-header h3 {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 1.42857143;
}

.pmodal-left-panel-body {
    flex: 1 1 auto;
}

.pmodal-left-panel-body-content {
    padding: 0px 14px;
}

.pmodal-left-panel-footer {
    flex: 0 0 auto;
    text-align: center;
    font-size: 70px;
}



.pmodal-main-section {
    flex: 1 1 auto;
    overflow: hidden;
}

.pmodal-main-section-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pmodal-main-header {
    flex: 0 0 auto;
    padding: 4px;
    padding-right: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.pmodal-with-left-panel-header {
    flex: 0 0 auto;
    padding: 2px;
    padding-right: 15px;
}

.pmodal-main-title {
    margin: 0;
    line-height: 1.42857143;
    padding: 10px;
}

.pmodal-body {
    flex: 1 1 auto;
    /* padding: 10px; */
    overflow: hidden;
}

.pmodal-body-content {
    min-height: 100px;
    padding: 10px;
}

.pmodal-body-content.pmodal-body-content-no-padding {
    padding: 0px;
}

.pmodal-footer {
    flex: 0 0 auto;
    padding: 10px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

@media only screen and (max-width: 991px) {

    .pmodal-main-section,
    .pmodal-left-panel {
        display: none;
    }

    .pmodal-main-section.in,
    .pmodal-left-panel.in {
        display: block;
    }

    .pmodal-left-panel {
        flex-basis: 100%;
    }

    .pmodal {
        padding: 0px;
    }

    .pmodal .pmodal-dialog {
        width: 100%;
        height: 100%;
    }

    .pmodal-top-content-container {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .pmodal-top-content {
        flex: 0 0 auto;
    }

    .pmodal-content {
        flex: 1 1 auto;
        height: 0px;
    }

    .pmodal-content-scroll {
        height: 100%;
    }
}

@media only screen and (min-width: 992px) {

    .pmodal .pmodal-dialog {
        -webkit-box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
        box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
        width: 700px;
    }

    .modal-dialog.modal-sm {
        width: 400px;
    }

    .modal-dialog.modal-lg {
        min-width: 700px;
        width: 90%;
        max-width: 900px;
    }

    .modal-dialog.modal-xl {
        min-width: 700px;
        width: 90%;
        max-width: 1200px;
    }

    .modal-dialog.modal-xl.wizard .modal-left-panel {
        flex: 0 0 35%;
    }

}


/* What was this for? */
/* .modal .form-control[readonly]{
    background-color: initial;
} */