/**
 * Filmstrip Photo & Video Slider PACKAGED v:1.0
 * Filmstrip Photo & Video Slider global CSS.
 * @author Tibi - FWDesign [https://fwdapps.net/]
 * Copyright (c) Since 2006 All Rights Reserved.
 */


/* ################################################# */
/* General */
/* ################################################# */

.fwdfpavs,
.fwdfpavs button,
.fwdfpavs input,
.fwdfpavs select,
.fwdfpavs textarea {
    font-family: Roboto, sans-serif;
}


/* ################################################# */
/* Captions */
/* ################################################# */

/* Caption container. */
.fwdfpavs .caption {
    overflow: visible !important;
    width: calc(100% - 40px) !important;
    max-width: 600px !important;
    text-align: center !important;
    pointer-events: none !important;
}

/* Caption links. */
.fwdfpavs .caption a {
    text-decoration: underline;
    font-size: 600 ;
    text-decoration: none;
    pointer-events: auto;
    background-image: linear-gradient(#007bff calc(100% - 1px), #007bff 1px) !important;
    background-position: 0 calc(100% + 1px);
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.3s ease-out, background-color 0.3s ease-out,border-color 0.3s ease-out;
    border-bottom: 1px solid rgba(0,123,255, .2);
    color: #007bff;
}

.fwdfpavs .caption a:hover {
    background-size: 100% 1px;
}

/* Caption text. */
.fwdfpavs .caption-title {
    font: 900 32px 'Roboto', sans-serif !important;
    line-height: 114% !important;
    margin: 27px 0 0 0;
    color: #111;
}

.fwdfpavs .caption-desc {
    font: 400 16px 'Roboto', sans-serif !important;
    margin: 12px 0 30px 0;
    line-height: 146% !important;
    color: #111;
}

@media screen and (max-width: 1200px) {
    .fwdfpavs .caption-title {
        margin: 20px 0 0 0;
    }
}

@media screen and (max-width: 600px) {
    .fwdfpavs .caption-title {
        font-size: 30px !important;
        margin: 20px 0 0 0;
    }

    .fwdfpavs .caption-desc {
        font-size: 14px !important;
        margin: 12px 0 20px 0;
    }
}


/* ################################################# */
/* Error messages */
/* ################################################# */

/* Error icons and base styles. */
.fwdfpavs-error-window {
    background: #FFF !important;
}

.fwdfpavs-error-window-text {
    padding: 7px 21px 9px 23px !important;
    color: #000;
}

.fwdfpavsicon-error {
    position: relative !important;
    top: 5px !important;
    left: -5px !important;
    margin: 0 1px 0 0;
    color: #F00;
}

.fwdfpavsicon-error:before {
    font-size: 26px;
}

/* Error window. */
.fwdfpavs-error-window {
    background: #FFF !important;
}

.fwdfpavs-error-window-text {
    font-size: 16px !important;
    padding: 7px 21px 9px 23px !important;
    color: #000;
}

.fwdfpavs-error {
    position: relative !important;
    top: 5px !important;
    left: -5px !important;
    margin: 0 1px 0 0;
    color: #F00;
}

.fwdfpavs-error:before {
    font-size: 26px;
}


/* ################################################# */
/* Developer tools */
/* ################################################# */

/* GUI controls. */
.dg.main.a {
    z-index: 9999;
    margin: 0;
}

.dg.main.a.closed {}

.dg.main.a.opened {}

.dg .c {
    width: 50% !important;
}

.dg .property-name {
    width: 50% !important;
}

.dg.main.a .carousel {
    width: 71%;
    margin-left: 0;
}

.dg.main.a .has-carousel input[type=text] {
    width: 24% !important;
    padding: 2px !important;
}

.dg.main.a .cr.color input[type=text] {
    padding: 2px 0;
}

.dg .close-button {
    width: 100% !important;
}

.dg > ul {
    height: auto !important;
}

/* Stats. */
.fwdfpavs-imafe-manager > div {
    position: absolute !important;
}

@media screen and (max-width: 1200px) {
    .dg.main {
        displayType: none !important;
    }
}


/* ################################################# */
/* Category interface */
/* ################################################# */

/* Shared animated buttons. */
.fwdfpavs-category-button {
    --fwdfpavs-control-fill: #000;
    --fwdfpavs-control-mark: #fff;
    position: relative;
    flex: none;
    display: block;
    width: 45px;
    height: 45px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #000;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.fwdfpavs-category-close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 30;
}

.fwdfpavs-category-close,
.fwdfpavs-category-enter {
    animation: fwdfpavs-close-enter 700ms cubic-bezier(.19,1,.22,1) both;
}

.fwdfpavs-category-button[data-inverted] {
    --fwdfpavs-control-fill: #fff;
    --fwdfpavs-control-mark: #000;
    color: #fff;
}

.fwdfpavs-category-button[data-blend] {
    mix-blend-mode: difference;
}

.fwdfpavs-category-button:disabled {
    cursor: default;
    filter: opacity(.28);
}

.fwdfpavs-category-button svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    pointer-events: none;
}

.fwdfpavs-category-button:focus {
    outline: none;
}

.fwdfpavs-category-button[data-keyboard-focus] {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

@keyframes fwdfpavs-close-enter {
    from {
        opacity: 0;
        transform: scale(.25);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width:599.98px) {
    .fwdfpavs-category-close {
        top: 15px;
        bottom: auto;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .fwdfpavs-category-close,
    .fwdfpavs-category-enter {
        animation: none;
    }
}

/* Category title and image navigation. */
.fwdfpavs-category-title,
.fwdfpavs-category-navigation {
    position: absolute;
    z-index: 30;
    color: #fff;
    pointer-events: none;
    user-select: none;
}

.fwdfpavs-category-title {
    mix-blend-mode: normal;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    top: 37px;
    left: 30px;
    max-width: calc(100% - 135px);
    margin: 0;
    transform-origin: left center;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    font: 600 17px/1.35 Roboto,sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fwdfpavs-category-title-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fwdfpavs-category-title-arrow {
    display: block;
    flex: 0 0 auto;
    width: .8em;
    height: .8em;
    transform: translateY(0) rotate(0deg);
    transform-origin: center;
    transition: transform 260ms cubic-bezier(.22,1,.36,1);
}

.fwdfpavs-category-title[aria-expanded="true"] .fwdfpavs-category-title-arrow {
    transform: translateY(-.12em) rotate(180deg);
}

@media (prefers-reduced-motion:reduce) {
    .fwdfpavs-category-title-arrow {
        transition: none;
    }
}

.fwdfpavs-category-title:not([data-image-blend]):enabled {
    pointer-events: auto;
    cursor: pointer;
    touch-action: manipulation;
}

.fwdfpavs-category-title:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}

.fwdfpavs-category-title[data-image-blend] {
    pointer-events: none!important;
}

.fwdfpavs-category-navigation {
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 22px;
    mix-blend-mode: difference;
}

.fwdfpavs-category-navigation button {
    pointer-events: auto;
}

.fwdfpavs-category-counter-space {
    display: block;
    width: 70px;
    height: 14.4px;
}

.fwdfpavs-category-counter {
    position: absolute;
    z-index: 30;
    bottom: 40.3px;
    left: calc(50% - 35px);
    color: #fff;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: normal;
    display: block;
    min-width: 70px;
    text-align: center;
    font: 700 12px/1.2 Roboto,sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: .16em;
    white-space: nowrap;
}

@media (max-width:599.98px) {
    .fwdfpavs-category-title {
        top: 27px;
        left: 18px;
        max-width: calc(100% - 93px);
        font-size: 13px;
        letter-spacing: .1em;
    }

    .fwdfpavs-category-navigation {
        bottom: 18px;
        gap: 16px;
    }

    .fwdfpavs-category-counter {
        bottom: 32.8px;
    }

    .fwdfpavs-category-navigation button {
        width: 44px;
        height: 44px;
    }
}

/* Category navigation arrows. */
.fwdfpavs-category-switcher {
    position: absolute;
    z-index: 30;
    top: 30px;
    right: 83px;
    display: flex;
    align-items: center;
    gap: 8px;
    mix-blend-mode: difference;
}

.fwdfpavs-category-switch-space {
    flex: none;
    width: 90px;
    height: 30px;
    pointer-events: none;
}

.fwdfpavs-category-switcher .fwdfpavs-category-button {
    width: var(--category-control-size,45px);
    height: var(--category-control-size,45px);
}

.fwdfpavs-category-switcher .fwdfpavs-category-button:disabled {
    filter: none;
    cursor: default;
}

.fwdfpavs-category-switch-label {
    position: absolute;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    width: 90px;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.fwdfpavs-category-switch-label strong {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fwdfpavs-category-switch-label small {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .06em;
    font-variant-numeric: tabular-nums;
}

@media (max-width:599.98px) {
    .fwdfpavs-category-switcher {
        gap: 6px;
        right: 61px;
    }

    .fwdfpavs-category-switch-space,
    .fwdfpavs-category-switch-label {
        width: 80px;
    }

    .fwdfpavs-category-switch-label strong {
        font-size: 10px;
        letter-spacing: .05em;
    }

    .fwdfpavs-category-switch-label small {
        font-size: 11px;
    }
}

/* Center the mobile category row with its label between the two arrows. */
.fwdfpavs-category-switcher[data-centered] {
    gap: 16px;
}

.fwdfpavs-category-switcher[data-centered] .fwdfpavs-category-previous-collection {
    order: -1;
}

.fwdfpavs-category-switch-label[data-centered] {
    text-align: center;
}

/* Category arrow preview. */
.fwdfpavs-category-arrow-preview {
    position: absolute;
    z-index: 35;
    width: var(--preview-width);
    max-width: calc(100% - 40px);
    margin: 0;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,.18));
    pointer-events: none;
    user-select: none;
    mix-blend-mode: normal;
    opacity: 0;
    visibility: hidden;
    transform-origin: 50% 0;
    transform: translate3d(0, -12px, 0) scale(.88) rotate(0deg);
    /* Keep one compositing layer when the transition ends; avoid a rasterization snap. */
    will-change: transform, opacity;
    backface-visibility: hidden;
    transition: opacity 180ms ease,visibility 0s 180ms,transform 700ms cubic-bezier(.19,1,.22,1),left 450ms cubic-bezier(.19,1,.22,1);
}

.fwdfpavs-category-arrow-preview[data-visible] {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1) rotate(var(--preview-tilt));
    transition-delay: 0s;
}

/* The frame canvas comes from the ribbon GLB, including its transparent holes. */
.fwdfpavs-category-preview-frame {
    position: relative;
    aspect-ratio: var(--preview-frame-ratio);
}

.fwdfpavs-category-preview-surface {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.fwdfpavs-category-preview-window {
    position: absolute;
    overflow: hidden;
    background: var(--preview-placeholder);
}

.fwdfpavs-category-preview-media {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1.08);
    will-change: transform, opacity;
    backface-visibility: hidden;
    transition: opacity 250ms ease, transform 1000ms cubic-bezier(.19, 1, .22, 1);
}

.fwdfpavs-category-preview-window img,
.fwdfpavs-category-preview-window video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fwdfpavs-category-arrow-preview[data-loaded] .fwdfpavs-category-preview-media {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.fwdfpavs-category-preview-video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 180ms ease;
}

.fwdfpavs-category-arrow-preview[data-video-ready] .fwdfpavs-category-preview-video {
    opacity: 1;
}

.fwdfpavs-category-arrow-preview figcaption {
    position: relative;
    z-index: 2;
    padding: var(--preview-padding-top) var(--preview-padding-x) var(--preview-padding-bottom);
    color: var(--preview-ink);
    background: transparent;
}

.fwdfpavs-category-preview-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    font-size: var(--preview-label-size);
    font-weight: var(--preview-label-weight);
    color: var(--preview-label-color);
    line-height: 1.4;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fwdfpavs-category-preview-name {
    display: block;
    margin-top: var(--preview-text-gap);
    font-size: var(--preview-title-size);
    color: var(--preview-title-color);
    font-weight: var(--preview-title-weight);
    line-height: 1.35;
    letter-spacing: .025em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion:reduce) {
    .fwdfpavs-category-arrow-preview,
    .fwdfpavs-category-preview-media,
    .fwdfpavs-category-preview-video {
        transition: none;
        transform: none;
    }
}

/* Category dropdown. */
.fwdfpavs-film-picker {
    position: absolute;
    z-index: 45;
    box-sizing: border-box;
    contain: layout style;
    color: var(--picker-ink);
    border: 1px solid var(--picker-border);
    border-radius: 8px;
    box-shadow: 0 22px 60px var(--picker-shadow);
    user-select: none;
    touch-action: none;
    font-family: var(--picker-font);
}

.fwdfpavs-film-picker[hidden] {
    display: none;
}

.fwdfpavs-film-picker header {
    height: 100px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 18px;
    background: var(--picker-header);
    border-radius: 7px 7px 0 0;
}

.fwdfpavs-picker-heading {
    min-width: 0;
}

.fwdfpavs-picker-heading > strong {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .12em;
}

.fwdfpavs-picker-total {
    color: var(--picker-counter);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.fwdfpavs-film-picker button {
    color: inherit;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.fwdfpavs-film-picker .fwdfpavs-picker-dismiss {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
}

.fwdfpavs-film-picker .fwdfpavs-picker-viewport {
    border-top: 0;
    outline: none;
    position: relative;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}

.fwdfpavs-picker-viewport:focus-visible .fwdfpavs-picker-option[tabindex="0"] {
    outline: 2px solid var(--picker-focus);
    outline-offset: -3px;
}

.fwdfpavs-picker-viewport[data-dragging] {
    cursor: grabbing;
}

.fwdfpavs-picker-option {
    position: absolute;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    touch-action: none;
}

.fwdfpavs-picker-option:focus-visible {
    outline: 2px solid var(--picker-focus);
    outline-offset: 3px;
}

.fwdfpavs-picker-viewport[data-dragging] .fwdfpavs-picker-option {
    cursor: grabbing;
}

.fwdfpavs-picker-selection {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 16px;
    border-radius: 3px;
    background: var(--picker-selection);
    pointer-events: none;
    will-change: transform;
}

.fwdfpavs-picker-rail {
    position: absolute;
    right: 7px;
    top: 24px;
    bottom: 24px;
    width: 26px;
    cursor: pointer;
    touch-action: none;
}

.fwdfpavs-picker-rail::before {
    content: '';
    position: absolute;
    left: 10.5px;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 5px;
    background: var(--picker-track);
}

.fwdfpavs-picker-thumb {
    position: absolute;
    left: 10.5px;
    top: 0;
    width: 5px;
    border-radius: 5px;
    background: var(--picker-thumb);
    pointer-events: none;
}

.fwdfpavs-picker-summary {
    display: block;
    min-width: 0;
    margin-top: 9px;
}

.fwdfpavs-picker-summary strong {
    color: var(--picker-title);
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .045em;
}

.fwdfpavs-picker-summary small {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--picker-secondary);
}

.fwdfpavs-picker-summary b {
    font-weight: 700;
    color: var(--picker-photo-count);
}

.fwdfpavs-picker-bottom-inset {
    height: 18px;
    background: var(--picker-paper);
    border-radius: 0 0 7px 7px;
}

@media (max-width:599.98px) {
    .fwdfpavs-picker-bottom-inset {
        height: 14px;
    }
}

.fwdfpavs-film-picker button[data-keyboard-focus],
.fwdfpavs-film-picker button:focus-visible,
.fwdfpavs-picker-rail:focus-visible {
    outline: 2px solid var(--picker-focus);
    outline-offset: -3px;
}

@media (max-height:500px) {
    .fwdfpavs-film-picker header {
        height: 88px;
    }
}
