.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
}

.lightbox > .close {
    cursor: pointer;
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    opacity: 1 !important;
    z-index: 9999;
}

.lightbox > .prev,
.lightbox > .next {
    cursor: pointer;
    color: white;
    position: absolute;
    top: 0;
    bottom: 0;
    font-size: 35px;
    opacity: 1;
    width: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5555;
}

.lightbox > .prev:hover,
.lightbox > .next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox > .next {
    right: 0;
}

.lightbox .slide {
    display: none;
}

.lightbox > .slide.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.lightbox > .slide.active > .numbertext {
    opacity: 1 !important;
    color: white;
    font-size: 35px;
}

.lightbox > .slide.active > img {
    height: 200%;
    max-width: 80%;
    max-height: 80%;
}

.lightbox > .slide.active > .ya-share2 {
    margin-top: 1rem;
}

.lightbox > .slide.active > .ya-share2 .ya-share2__icon {
    width: 48px !important;
    height: 48px !important;
    background-size: 48px 48px !important;
    opacity: 1 !important;
}