.glg-lightbox-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 5%;
    box-sizing: border-box;
}

.glg-lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glg-lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.glg-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
}

.glg-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    z-index: 10001;
    padding: 10px;
}

.glg-lightbox-prev { left: 10px; }
.glg-lightbox-next { right: 10px; }

@media (hover:hover) {
    .glg-lightbox-nav:hover,
    .glg-lightbox-close:hover {
        opacity: .85;
    }
}
