/* NEW SL MODAL */
.sl-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    overflow: auto;
    z-index: 1050;
}

.sl-modal-dialog {
    height: calc(100% - 25px);
    margin: 25px auto 0 auto;
    overflow: auto;
    transition: transform 0.3s ease-out;
}

.sl-modal-body {
    height: auto;
    max-height: calc(100% - 65px - 25px);
    overflow: auto;
    background-color: white;
    position: relative;
    padding: 15px;
}

.sl-modal-footer {
    height: 65px;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background-color: #fff;
    padding: 1rem 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.sl-modal-footer .btn {
    font-size: 1.8rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.sl-modal h1 {
    font-size: 36px;
    padding: 20px;
    margin:0;
}

.sl-modal--small {
    width: 500px;
}

.sl-modal--medium {
    width: 750px;
}

.sl-modal--large {
    width: 900px;
}

.sl-modal.fade .sl-modal-dialog {
    transform: translateY(-100%);
}

.sl-modal.fade.in .sl-modal-dialog {
    transform: translateY(0);
}

#modal2 .sl-modal,
#modal2 .sl-prompt-modal {
    z-index: 1055;
}

#modal3 .sl-modal,
#modal3 .sl-prompt-modal {
    z-index: 1060;
}

/* SL PROMPT MODAL */
.sl-prompt-modal {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow: hidden;
}

.sl-prompt-modal h2 {
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

.sl-prompt-modal h2 i {
    color: #D8514E;
    vertical-align: middle;
    font-size: 40px;
}

.sl-prompt-modal button i {
    vertical-align: middle;
}

.sl-prompt-modal button.btn-danger {
    color: white;
    background-color: #D8514E;
}

.sl-prompt-modal p {
    margin: 20px 0 0 0;
}

.sl-prompt-modal--small .modal-dialog {
    width: 500px;
}

.sl-prompt-modal--medium .modal-dialog {
    width: 750px;
}


.sl-prompt-modal--large .modal-dialog {
    width: 900px
}

.sl-prompt-modal .modal-content {
    border-radius: 5px;
    background-color: transparent;
}

.sl-prompt-modal .modal-body {
    border-radius: 5px 5px 0 0;
    height: auto;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
}

.sl-prompt-modal .modal-footer {
    background-color: #EFF0F2;
    border-radius: 0 0 5px 5px;
}

.sl-prompt-modal.in .modal-dialog {
    transform: translate(0, -50%) !important;
    top: 50%;
}

.sl-prompt-modal.fade .modal-dialog {
    transform: translate(0, -75%);
    top: 50%;
}
