.yarl__fullsize {
    width: 100%;
    height: 100%
}

.yarl__relative {
    position: relative
}

.yarl__portal {
    position: fixed;
    inset: 0;
    opacity: 0;
    overflow: hidden;
    z-index: var(--yarl__portal_zindex, 9999);
    transition: opacity var(--yarl__fade_animation_duration, .25s) var(--yarl__fade_animation_timing_function, ease)
}

.yarl__portal_open {
    opacity: 1
}

.yarl__container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: var(--yarl__container_background_color, var(--yarl__color_backdrop, #000));
    outline: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    touch-action: var(--yarl__controller_touch_action, none);
    overscroll-behavior: var(--yarl__controller_overscroll-behavior, contain)
}

.yarl__carousel {
    display: flex;
    flex: 0 0 auto;
    height: 100%;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    width: calc(100% + (var(--yarl__carousel_slides_count) - 1) * (100% + var(--yarl__carousel_spacing_px, 0) * 1px + var(--yarl__carousel_spacing_percent, 0) * 1%));
    transform: translateX(var(--yarl__swipe_offset, 0))
}

.yarl__carousel_with_slides {
    column-gap: calc(var(--yarl__carousel_spacing_px, 0) * 1px + 100 / (100 * var(--yarl__carousel_slides_count) + (var(--yarl__carousel_slides_count) - 1) * var(--yarl__carousel_spacing_percent, 0)) * var(--yarl__carousel_spacing_percent, 0) * 1%)
}

.yarl__flex_center {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center
}

.yarl__slide {
    flex: 1 1;
    position: relative;
    padding: calc(var(--yarl__carousel_padding_px, 0) * 1px + 100 / (100 * var(--yarl__carousel_slides_count) + (var(--yarl__carousel_slides_count) - 1) * var(--yarl__carousel_spacing_percent, 0)) * var(--yarl__carousel_padding_percent, 0) * 1%)
}

[dir=rtl] .yarl__slide {
    --yarl__direction: -1
}

.yarl__slide_image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    touch-action: var(--yarl__controller_touch_action, none);
    -moz-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none
}

@media screen and (min-width:800px) {
    .yarl__slide_image {
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        -webkit-transform-style: preserve-3d
    }
}

.yarl__slide_image_cover {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.yarl__slide_image_loading {
    opacity: 0
}

.yarl__slide_placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    line-height: 0
}

.yarl__slide_loading {
    color: var(--yarl__slide_icon_loading_color, var(--yarl__color_button, hsla(0, 0%, 100%, .8)));
    animation: yarl__delayed_fadein 1s linear
}

.yarl__slide_loading line {
    animation: yarl__stroke_opacity 1s linear infinite
}

.yarl__slide_loading line:first-of-type {
    animation-delay: -1.875s
}

.yarl__slide_loading line:nth-of-type(2) {
    animation-delay: -1.75s
}

.yarl__slide_loading line:nth-of-type(3) {
    animation-delay: -1.625s
}

.yarl__slide_loading line:nth-of-type(4) {
    animation-delay: -1.5s
}

.yarl__slide_loading line:nth-of-type(5) {
    animation-delay: -1.375s
}

.yarl__slide_loading line:nth-of-type(6) {
    animation-delay: -1.25s
}

.yarl__slide_loading line:nth-of-type(7) {
    animation-delay: -1.125s
}

.yarl__slide_loading line:nth-of-type(8) {
    animation-delay: -1s
}

.yarl__slide_error {
    width: var(--yarl__slide_icon_error_size, 48px);
    height: var(--yarl__slide_icon_error_size, 48px);
    color: var(--yarl__slide_icon_error_color, red)
}

@media (prefers-reduced-motion) {

    .yarl__portal,
    .yarl__slide {
        transition: unset
    }

    .yarl__slide_loading,
    .yarl__slide_loading line {
        animation: unset
    }
}

.yarl__toolbar {
    position: absolute;
    inset: 0 0 auto auto;
    display: flex;
    justify-content: flex-end;
    padding: var(--yarl__toolbar_padding, 8px)
}

[dir=rtl] .yarl__toolbar {
    inset: 0 auto auto 0
}

.yarl__icon {
    width: var(--yarl__icon_size, 32px);
    height: var(--yarl__icon_size, 32px)
}

.yarl__button {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--yarl__button_background_color, transparent);
    border: var(--yarl__button_border, 0);
    margin: var(--yarl__button_margin, 0);
    outline: none;
    line-height: 0;
    padding: var(--yarl__button_padding, 8px);
    color: var(--yarl__color_button, hsla(0, 0%, 100%, .8));
    filter: var(--yarl__button_filter, drop-shadow(2px 2px 2px rgba(0, 0, 0, .8)));
    -webkit-tap-highlight-color: transparent
}

.yarl__button:focus {
    color: var(--yarl__color_button_active, #fff)
}

.yarl__button:focus:not(:focus-visible) {
    color: var(--yarl__color_button, hsla(0, 0%, 100%, .8))
}

.yarl__button:focus-visible {
    color: var(--yarl__color_button_active, #fff)
}

@media (hover:hover) {

    .yarl__button:focus-visible:hover,
    .yarl__button:focus:hover,
    .yarl__button:hover {
        color: var(--yarl__color_button_active, #fff)
    }
}

.yarl__button:disabled {
    color: var(--yarl__color_button_disabled, hsla(0, 0%, 100%, .4));
    cursor: default
}

.yarl__navigation_next,
.yarl__navigation_prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: var(--yarl__navigation_button_padding, 24px 16px)
}

.yarl__navigation_prev {
    left: 0
}

[dir=rtl] .yarl__navigation_prev {
    left: unset;
    right: 0;
    transform: translateY(-50%) rotate(180deg)
}

.yarl__navigation_next {
    right: 0
}

[dir=rtl] .yarl__navigation_next {
    left: 0;
    right: unset;
    transform: translateY(-50%) rotate(180deg)
}

.yarl__no_scroll {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none
}

@keyframes yarl__delayed_fadein {
    0% {
        opacity: 0
    }

    80% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes yarl__stroke_opacity {
    0% {
        stroke-opacity: 1
    }

    to {
        stroke-opacity: .125
    }
}
