.lightbox {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-right: 0 !important
}

.lightbox-container {
    position: relative
}

.lightbox-container > div.lightbox-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 30px 30px 30px 30px;
    width: 100%
}

.lightbox iframe {
    width: 100%;
    height: 100%
}

.lightbox-nav-overlay {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex
}

.lightbox-nav-overlay a {
    -ms-flex: 1;
    flex: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
    z-index: 1
}

.lightbox .modal-dialog {
    display: none
}

.lightbox .modal-footer {
    justify-content: flex-center;
    text-align: center !important
}

.lightbox-loader {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

.lightbox-loader > div {
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center
}

.lightbox-loader > div > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #fff;
    opacity: .6;
    position: absolute;
    top: 0;
    left: 0;
    animation: a 2s infinite ease-in-out
}

.lightbox-loader > div > div:last-child {
    animation-delay: -1s
}

.modal-dialog .lightbox-loader > div > div {
    background-color: #333
}

@keyframes a {
    0%,
    to {
        transform: scale(0);
        -webkit-transform: scale(0)
    }
    50% {
        transform: scale(1);
        -webkit-transform: scale(1)
    }
}

.lightbox .modal-content {
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 0rem;
    padding-bottom: 40px
}

.lightbox-modal-header {
    padding-top: .25rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: .25rem;
    border-bottom: 0px solid #e9ecef;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}
.lightbox-modal-header h4 { 
    color: #fff;
}
.lightbox-modal-header .close {
    padding: 0rem;
    margin: -1rem -1rem -1rem auto;
}
.lightbox-modal-body {
    padding: 0rem;
}

.lightbox-modal-header .close {
    margin-top: -2px;
    color: #fff;
}
.lightbox-modal-header .close:not(:disabled):not(.disabled):hover {
    color: #fff;
    opacity: 1;
}
