.lg-outer {
    z-index:1390;
}

.lg-outer .lg-object {
    max-height: 85vh;
}

.lg-backdrop {
    z-index: 1390;
}

.lg-backdrop.in {
    opacity: 0.79;
}

.lg-outer .lg-content {
    margin: 0 auto;
    max-width: 800px;
}

.lg-prev {
    left: 0 !important;
    background: none;
}

.lg-next {
    right: 0 !important;
    background: none;
}

@media only screen and (min-width: 1250px) {
    .lg-outer .lg-content {
        max-width: 950px;
    }
}

@media only screen and (min-width: 1900px) {
    .lg-outer .lg-content {
        max-width: 1024px;
    }
}