[lightbox-toggle] {
    cursor: pointer;
}
[lightbox-toggle]:after {
    position: absolute;
    content: url('data:image/svg+xml; utf8, ');
    height: 32px;
    width: 32px;
    bottom: 0;
    right: 0;
    opacity: 0;
    will-change: opacity;
    transition: opacity 0.2s;
}
[lightbox-toggle]:hover:after {
    opacity: 1;
    filter: drop-shadow(2px 4px 6px black);
}
.c-lightbox {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    pointer-events: none;
    position: fixed;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9000000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}
.c-lightbox.open {
    opacity: 1;
    pointer-events: all;
}
.c-lightbox .c-lightbox__container {
    width: 100%;
    height: 100%;
}
.c-lightbox .c-lightbox__close {
    z-index: 999999;
    position: absolute;
    cursor: pointer;
    top: 1vh;
    right: 1vw;
    font-size: 30px;
    padding: 20px;
    transition: .4s;
    color: white;
}
.c-lightbox .c-lightbox__close:hover {
    color: red;
}
.c-lightbox .swiper-container {
    width: 100%;
    height: 100%;
}
.c-lightbox .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.c-lightbox .swiper-pagination {
    color: white;
}
.c-lightbox .swiper-button-next, .c-lightbox .swiper-button-prev {
    color: white;
}
.c-lightbox .swiper-button-next:hover, .c-lightbox .swiper-button-prev:hover {
    color: var(--e-global-color-accent);
}
.c-lightbox .swiper-button-next:after, .c-lightbox .swiper-button-prev:after {
    font-size: 30px;
}
.c-lightbox .c-lightbox__image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 75%;
    width: 75%;
    text-align: center;
}
.c-lightbox .c-lightbox__image img {
    width: auto;
    height: auto;
    max-height: 90vh;
    max-width: 90vw;
}
.swiper-wrapper{
    height: auto;
}
.c-lightbox__container .swiper-wrapper{
    height: 100%;
}
.gallery-wrapper .swiper-slide{
    position: relative;
}
.gallery-wrapper .swiper-slide:hover:after{
    opacity: 1;
}
.gallery-wrapper .swiper-slide:hover:before{
    opacity: .8;
}
.gallery-wrapper .swiper-slide:before,
.gallery-wrapper .swiper-slide:after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 8px;
    background-color: var(--e-global-color-primary);
    opacity: 0;
    transition: .4s;
    pointer-events: none;
}
.gallery-wrapper .swiper-slide:after{
    background-color: transparent;
    background-image: url('../img/zoom.svg');
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: center;
}
