@keyframes pulsate {

    0%,
    to {
        opacity: 1
    }

    50% {
        opacity: .2
    }
}

#spotlight,
.hide-scrollbars,
.spl-header {
    overflow: hidden
}

#spotlight {
    position: fixed;
    top: -1px;
    bottom: -1px;
    width: 100%;
    z-index: 99999;
    color: #fff;
    background-color: #000;
    opacity: 0;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: opacity .2s ease-out;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    contain: strict;
    touch-action: none;
    pointer-events: none
}

#spotlight.show {
    opacity: 1;
    transition: none;
    pointer-events: auto
}

#spotlight.white {
    color: #212529;
    background-color: #fff
}

#spotlight.white .spl-next,
#spotlight.white .spl-page~*,
#spotlight.white .spl-prev,
#spotlight.white .spl-spinner {
    filter: invert(1)
}

#spotlight.white .spl-progress {
    background-color: rgba(0, 0, 0, .35)
}

#spotlight.white .spl-footer,
#spotlight.white .spl-header {
    background-color: rgba(255, 255, 255, .65)
}

#spotlight.white .spl-button {
    background: #212529;
    color: #fff
}

#spotlight .contain,
#spotlight .cover {
    object-fit: cover;
    height: 100%;
    width: 100%
}

#spotlight .contain {
    object-fit: contain
}

#spotlight .autofit {
    object-fit: none;
    width: auto;
    height: auto;
    max-height: none;
    max-width: none;
    transition: none
}

.spl-scene,
.spl-spinner,
.spl-track {
    width: 100%;
    height: 100%;
    position: absolute
}

.spl-track {
    contain: strict
}

.spl-spinner {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 42px;
    opacity: 0
}

.spl-spinner.spin {
    background-image: url();
    transition: opacity .2s linear .25s;
    opacity: 1
}

.spl-spinner.error {
    background-image: url();
    background-size: 128px;
    transition: none;
    opacity: .5
}

.spl-scene {
    transition: transform .65s cubic-bezier(.1, 1, .1, 1);
    contain: layout size;
    will-change: transform
}

.spl-pane>* {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    left: 50%;
    top: 50%;
    margin: 0;
    padding: 0;
    border: 0;
    transform: translate(-50%, -50%) scale(1);
    transition: transform .65s cubic-bezier(.3, 1, .3, 1), opacity .65s ease;
    contain: layout style;
    will-change: transform, opacity;
    visibility: hidden
}

.spl-header,
.spl-pane,
.spl-progress {
    position: absolute;
    top: 0
}

.spl-pane {
    width: 100%;
    height: 100%;
    transition: transform .65s cubic-bezier(.3, 1, .3, 1);
    contain: layout size;
    will-change: transform, contents
}

.spl-header {
    width: 100%;
    height: 50px;
    text-align: right;
    background-color: rgba(0, 0, 0, .45);
    transform: translateY(-100px);
    transition: transform .35s ease;
    will-change: transform
}

#spotlight.menu .spl-footer,
#spotlight.menu .spl-header,
.spl-footer:hover,
.spl-header:hover {
    transform: translateY(0)
}

.spl-header div {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    width: 50px;
    height: 50px;
    opacity: .5
}

.spl-progress {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, .45);
    transform: translateX(-100%);
    transition: transform linear
}

.spl-footer,
.spl-next,
.spl-prev {
    position: absolute;
    transition: transform .35s ease;
    will-change: transform
}

.spl-footer {
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .45);
    line-height: 20px;
    padding: 20px 20px 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    transform: translateY(100%)
}

.spl-title {
    font-size: 22px
}

.spl-button,
.spl-description,
.spl-title {
    margin-bottom: 20px
}

.spl-button {
    display: inline-block;
    background: #fff;
    color: #000;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer
}

.spl-next,
.spl-page~*,
.spl-prev {
    background-position: center;
    background-repeat: no-repeat
}

.spl-page {
    float: left;
    width: auto;
    line-height: 50px
}

.spl-page~* {
    background-size: 21px;
    float: right
}

.spl-fullscreen {
    background-image: url()
}

.spl-fullscreen.on {
    background-image: url()
}

.spl-autofit {
    background-image: url()
}

.spl-zoom-in,
.spl-zoom-out {
    background-image: url();
    background-size: 22px
}

.spl-zoom-in {
    background-image: url()
}

.spl-download {
    background-image: url();
    background-size: 20px
}

.spl-theme {
    background-image: url()
}

.spl-play {
    background-image: url()
}

.spl-play.on {
    background-image: url();
    animation: pulsate 1s ease infinite
}

.spl-close {
    background-image: url()
}

.spl-next,
.spl-prev {
    top: 50%;
    width: 50px;
    height: 50px;
    opacity: .65;
    background-color: rgba(0, 0, 0, .45);
    border-radius: 100%;
    cursor: pointer;
    margin-top: -25px;
    transform: translateX(-100px);
    background-image: url();
    background-size: 30px
}

.spl-prev {
    left: 20px
}

.spl-next {
    left: auto;
    right: 20px;
    transform: translateX(100px) scaleX(-1)
}

#spotlight.menu .spl-prev {
    transform: translateX(0)
}

#spotlight.menu .spl-next {
    transform: translateX(0) scaleX(-1)
}

@media (hover:hover) {
    .spl-page~div {
        cursor: pointer;
        transition: opacity .2s ease
    }

    .spl-next:hover,
    .spl-page~div:hover,
    .spl-prev:hover {
        opacity: 1
    }
}

@media (max-width:500px) {
    .spl-header div {
        width: 44px
    }

    .spl-footer .spl-title {
        font-size: 20px
    }

    .spl-footer {
        font-size: 14px
    }

    .spl-next,
    .spl-prev {
        width: 35px;
        height: 35px;
        margin-top: -17.5px;
        background-size: 15px 15px
    }

    .spl-spinner {
        background-size: 30px 30px
    }
}