.uk-lightbox.uk-open {
    display: block;
    opacity: 1;
}

.uk-overflow-hidden {
    overflow: hidden;
}

.uk-lightbox {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1010;
    background: #000;
    opacity: 0;
    transition: opacity .15s linear;
    touch-action: pinch-zoom;
}

.uk-lightbox-items > .uk-active {
    display: flex;
}
.uk-lightbox-items > * {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, .7);
    will-change: transform, opacity;
}

.uk-lightbox-items > * > :not(iframe) {
    width: auto;
    height: auto;
}
.uk-lightbox-items > * > * {
    max-width: 100vw;
    max-height: 100vh;
}

.lightbox-caption {
    padding: 10px 10px;
    background: rgba(0, 0, 0, .3);
    color: rgba(255, 255, 255, .9);
    position: absolute !important;
    text-align: center;
    max-width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
}

.lightbox-caption:empty {
    display: none;
}

.uk-slidenav, .uk-close {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    text-decoration: none !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    transition: 0.3s;
    background-color: rgba(0, 0, 0, .3);
    padding: 13px 10px;
    border: none;
    position: absolute !important;
    max-width: 100%;
}

.uk-slidenav {
    top: 50%;
    transform: translateY(-50%);
}

.uk-slidenav::before, .uk-close::before {
    color: rgba(255, 255, 255, .7);
    font-size: 20px;
    transition: 0.3s;
}

.uk-slidenav:hover, .uk-close:hover {
    background-color: rgba(0, 0, 0, .5);
}

.uk-slidenav:hover::before, .uk-close:hover::before {
    color: white;
}

.uk-slidenav-next {
    right: 0;
}

.uk-slidenav-previous {
    left: 0;
}

.uk-slidenav-next::before {
    content: "\f054";
}

.uk-slidenav-previous::before {
    content: "\f053";
}

.uk-close {
    padding: 8px 10px;
    right: 10px;
}

.uk-icon:not(:disabled) {
    cursor: pointer;
}

.uk-close::before {
    content: "\f00d";
}
