@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1
    }
    to {
        opacity: 0
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1
    }
    to {
        opacity: 0
    }
}

@-webkit-keyframes scaleIn {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }
    to {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes scaleIn {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }
    to {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@-webkit-keyframes scaleOut {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    to {
        -webkit-transform: scale(0);
        transform: scale(0)
    }
}

@keyframes scaleOut {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    to {
        -webkit-transform: scale(0);
        transform: scale(0)
    }
}

.lightbox-container {
    top: 0;
    left: -15%;
    right: 0;
    bottom: 0;
    z-index: 11111;
    padding: 0em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position:absolute;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

}

.lightbox-wrapper {
    position: relative
}

.lightbox-image {
    max-height: 80vh;
    vertical-align: middle
}

.lightbox-btn {
    z-index: 2;
    width: 1.8em;
    height: 1.8em;
    position: absolute;
    border-radius: 50%;
    -webkit-transition: all .3s;
    transition: all .3s;
    background-color: #000;
    background-position: center;
    background-repeat: no-repeat
}

.lightbox-btn:focus,
.lightbox-btn:hover {
    background-color: #333
}

.lightbox-btn:disabled {
    cursor: initial;
    background-color: #aaa
}

.lightbox-btn-close {
    top: -.8em;
    right: -.8em;
    background-size: 30%;
    background-image: url(icons/icon-lightbox-close.svg)
}

.lightbox-btn-next,
.lightbox-btn-previous {
    top: calc(50% - (2.2em/2));
    background-size: 25% 80%;
    background-image: url(icons/icon-lightbox-arrow.svg)
}

.lightbox-btn-previous {
    left: 1.5em;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}

.lightbox-btn-next {
    right: 1.5em
}

.lightbox-video-wrapper {
    width:52vw;
    overflow: hidden;
    position: relative;
    padding-bottom: 50%
}

.lightbox-video-player {
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    position: absolute
}

[hidden] {
    display: none
}

