/**
 * Theme Name: glb Child
 * Description: Child theme for the glb
 * Author: LineThemes
 * Template: glb
 */

body.kt-lightbox-open {
    overflow: hidden;
}

.kt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.kt-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.kt-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 27, 50, 0.94);
}

.kt-lightbox__dialog {
    position: relative;
    z-index: 2;
    width: min(1100px, calc(100vw - 100px));
    height: min(760px, calc(100vh - 100px));
    display: flex;
    align-items: center;
    justify-content: center;
}

.kt-lightbox__image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.kt-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .35);
    transition: opacity .2s ease;
}

.kt-lightbox__image.is-loading {
    opacity: .25;
}

.kt-lightbox__close {
    position: fixed;
    top: 25px;
    right: 35px;
    z-index: 10;
    width: 45px;
    height: 45px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 300;
    line-height: 40px;
    cursor: pointer;
    opacity: .9;
    transition: opacity .2s ease, transform .2s ease;
}

.kt-lightbox__close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.kt-lightbox__prev,
.kt-lightbox__next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 54px;
    height: 70px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.kt-lightbox__prev {
    left: 25px;
}

.kt-lightbox__next {
    right: 25px;
}

.kt-lightbox__prev:hover,
.kt-lightbox__next:hover {
    background: rgba(255, 255, 255, .25);
}

.kt-lightbox__prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.kt-lightbox__next:hover {
    transform: translateY(-50%) translateX(3px);
}

.kt-lightbox__counter {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.kt-lightbox__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 20px 15px;
    color: #fff;
    text-align: center;
    font-size: 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}

@media (max-width: 768px) {
    .kt-lightbox__dialog {
        width: calc(100vw - 20px);
        height: calc(100vh - 90px);
    }

    .kt-lightbox__image {
        max-height: calc(100vh - 100px);
    }

    .kt-lightbox__close {
        top: 10px;
        right: 12px;
        font-size: 38px;
    }

    .kt-lightbox__prev,
    .kt-lightbox__next {
        width: 42px;
        height: 55px;
        font-size: 25px;
        background: rgba(0, 0, 0, .3);
    }

    .kt-lightbox__prev {
        left: 5px;
    }

    .kt-lightbox__next {
        right: 5px;
    }

    .kt-lightbox__counter {
        bottom: 12px;
    }
}