﻿
.modal .modal-content {
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-backdrop.show {
    opacity: .98 !important;
    z-index: 1049;
}

.modal-backdrop {
    background-color: #002242;
}

.modal * > .collapse {
    transition: all 0.2s ease-in-out;
    will-change: auto;
}

.modal * > .collapsing {
    opacity: 0;
}

.modal.in {
    z-index: 1000095;
}

.modal-dialog {
    transform: none !important;
    margin: auto;
    position: relative;
    width: auto;
    margin-top: 7px !important;
    margin-bottom: 7px !important;
    min-height: calc(100% - 14px);
    align-items: center;
    -webkit-box-align: center;
    display: flex;
}

.modal-header .close {
    transition: all .3s ease-in-out;
    font-size: 2em;
    text-shadow: none;
}

.modal-body * > .circle-icon {
    margin: auto auto 15px auto;
}

.modal-header {
    border-bottom: none;
}

.modal-body {
    display: block;
    width: 100%;
    padding-top: 0px;
}

.modal-content {
    width: 100%;
    border: none !important;
    box-shadow: 0 0px 40px rgba(0,0,0,.35) !important;
    border-radius: 10px !important;
}

.modal {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    transform: translateZ(0);
}

.modal-xxl {
    max-width: 100% !important;
}

.modal.full-screen .modal-content {
    border-radius: 0px !important;
    box-shadow: none !important;
    background-color: unset !important;
}

.modal.full-screen .modal-dialog {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.modal.full-screen {
    padding: 0px !important;
    height: calc(100vh + env(safe-area-inset-bottom));
}

.absolute-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}

.modal.full-screen .modal-body {
    padding-top: 81px;
    padding-bottom: 81px;
}

.slide-item {
    margin-bottom: 15px;
}

    .slide-item .bootstrap-datetimepicker-widget {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin-top: 15px;
        background-color: #f3f3f3;
        padding: 15px;
        border-radius: 10px;
        display: flex;
        align-items: center;
    }

        .slide-item .bootstrap-datetimepicker-widget ul {
            width: 100%;
        }

@media(max-width: 991px) {
    .modal.full-screen .centered-content {
        align-items: baseline;
    }

    .modal.full-screen h3 {
        font-size: 1.25rem;
    }
}

@media (max-width:767px) {
    .modal.full-screen .modal-dialog {
        margin: 0px !important;
        padding-bottom: 0px !important
    }

    .modal-dialog {
        margin: 0.5em;
        max-width: none !important;
        padding-bottom: 75px;
    }

    .modal.full-screen .modal-body {
        padding-bottom: 120px;
    }

    #staffModalImage {
        margin-bottom: 15px;
    }

    #staffModal .modal-content {
        padding: 15px !important;
    }
}
