.ripro-fenye-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.ripro-fenye-lightbox.is-active {
    display: flex;
}

.ripro-fenye-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.ripro-fenye-lightbox__inner {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    z-index: 2;
}

.ripro-fenye-lightbox__image {
    display: block;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    -o-object-fit: contain;
       object-fit: contain;
    border-radius: 0;
    margin: 0;
    background: transparent;
}

.ripro-fenye-lightbox__caption,
.ripro-fenye-lightbox__caption * {
    display: none !important;
}

.ripro-fenye-lightbox__close {
    position: absolute;
    top: 15px;
    right: 20px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.ripro-fenye-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
}

.ripro-fenye-lightbox__nav--prev {
    left: 15px;
}

.ripro-fenye-lightbox__nav--next {
    right: 15px;
}

.ripro-fenye-lightbox__nav:hover,
.ripro-fenye-lightbox__close:hover {
    background: rgba(0, 0, 0, 0.6);
}

body.ripro-fenye-lightbox-open {
    overflow: hidden;
}
