@charset "UTF-8";
.blueimp-gallery, .blueimp-gallery > .slides > .slide > .slide-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -moz-backface-visibility: hidden
}

.blueimp-gallery > .slides > .slide > .slide-content {
    margin: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    opacity: 1
}

.blueimp-gallery {
    position: fixed;
    z-index: 999999;
    overflow: hidden;
    background: #000;
    background: rgba(0, 0, 0, .9);
    opacity: 0;
    display: none;
    direction: ltr;
    -ms-touch-action: none;
    touch-action: none
}

.blueimp-gallery-carousel {
    position: relative;
    z-index: auto;
    margin: 1em auto;
    padding-bottom: 56.25%;
    box-shadow: 0 0 10px #000;
    -ms-touch-action: pan-y;
    touch-action: pan-y
}

.blueimp-gallery-display {
    display: block;
    opacity: 1
}

.blueimp-gallery > .slides {
    position: relative;
    height: 100%;
    overflow: hidden
}

.blueimp-gallery-carousel > .slides {
    position: absolute
}

.blueimp-gallery > .slides > .slide {
    position: relative;
    float: left;
    height: 100%;
    text-align: center;
    -webkit-transition-timing-function: cubic-bezier(0.645, .045, .355, 1);
    -moz-transition-timing-function: cubic-bezier(0.645, .045, .355, 1);
    -ms-transition-timing-function: cubic-bezier(0.645, .045, .355, 1);
    -o-transition-timing-function: cubic-bezier(0.645, .045, .355, 1);
    transition-timing-function: cubic-bezier(0.645, .045, .355, 1)
}

.blueimp-gallery, .blueimp-gallery > .slides > .slide > .slide-content {
    -webkit-transition: opacity .5s linear;
    -moz-transition: opacity .5s linear;
    -ms-transition: opacity .5s linear;
    -o-transition: opacity .5s linear;
    transition: opacity .5s linear
}

.blueimp-gallery > .slides > .slide-loading {
    background: url(../img/loading.gif) center no-repeat;
    background-size: 64px 64px
}

.blueimp-gallery > .slides > .slide-loading > .slide-content {
    opacity: 0
}

.blueimp-gallery > .slides > .slide-error {
    background: url(../img/error.png) center no-repeat
}

.blueimp-gallery > .slides > .slide-error > .slide-content {
    display: none
}

.blueimp-gallery .prev,
.blueimp-gallery .next,
.blueimp-gallery .close,
.blueimp-gallery .play-pause,
.blueimp-gallery .info,
.blueimp-gallery .fullscreen {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: none;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blueimp-gallery .prev svg,
.blueimp-gallery .next svg,
.blueimp-gallery .close svg,
.blueimp-gallery .play-pause svg,
.blueimp-gallery .info svg,
.blueimp-gallery .fullscreen svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.blueimp-gallery .prev:hover,
.blueimp-gallery .next:hover,
.blueimp-gallery .close:hover,
.blueimp-gallery .play-pause:hover,
.blueimp-gallery .info:hover,
.blueimp-gallery .fullscreen:hover,
.blueimp-gallery .prev:focus-visible,
.blueimp-gallery .next:focus-visible,
.blueimp-gallery .close:focus-visible,
.blueimp-gallery .play-pause:focus-visible,
.blueimp-gallery .info:focus-visible,
.blueimp-gallery .fullscreen:focus-visible
{
    background: rgba(255, 255, 255, 0.9);
    color: #000 !important;
    border-color: #fff;
    opacity: 1;
    transform: scale(1.1);
    outline: none;
    box-shadow: 0 0 0 4px #007bff, 0 4px 12px rgba(0, 0, 0, 0.6);
}

.blueimp-gallery .prev:hover svg,
.blueimp-gallery .next:hover svg,
.blueimp-gallery .close:hover svg,
.blueimp-gallery .play-pause:hover svg,
.blueimp-gallery .info:hover svg,
.blueimp-gallery .fullscreen:hover svg,
.blueimp-gallery .prev:focus-visible svg,
.blueimp-gallery .next:focus-visible svg,
.blueimp-gallery .close:focus-visible svg,
.blueimp-gallery .play-pause:focus-visible svg,
.blueimp-gallery .info:focus-visible svg,
.blueimp-gallery .fullscreen:focus-visible svg {
    stroke: #000;
    fill: none;
}

.blueimp-gallery .play-pause:hover svg,
.blueimp-gallery .fullscreen:hover svg.maximize-icon,
.blueimp-gallery .play-pause:focus-visible svg,
.blueimp-gallery .fullscreen:focus-visible svg.maximize-icon {
    fill: #000;
}
.blueimp-gallery > .prev, .blueimp-gallery > .next {
    top: 50%;
    width: 54px;
    height: 54px;
    margin-top: -27px;
}

.blueimp-gallery > .prev { left: 24px; }
.blueimp-gallery > .next { right: 24px; }

.blueimp-gallery .close,
.blueimp-gallery .play-pause,
.blueimp-gallery .info,
.blueimp-gallery .fullscreen {
    width: 54px;
    height: 54px;
}

.blueimp-gallery {
    padding-right: 70px;
    box-sizing: border-box;
}

.blueimp-gallery > .slides {
    width: calc(100% - 70px);
}

.blueimp-gallery .controls-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70px;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    background: rgba(20, 20, 20, 0.9);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
}

.blueimp-gallery-controls .controls-sidebar {
    display: flex;
}

.blueimp-gallery .controls-sidebar > button {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 8px 0 !important;
    pointer-events: auto;
    flex: 0 0 54px;
    width: 54px !important;
    height: 54px !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blueimp-gallery > .slides > .slide > .slide-content {
    right: 70px !important;
    width: auto !important;
    max-width: calc(100% - 70px) !important;
}


.blueimp-gallery-playing .play-pause .play-icon {
    display: none !important;
}

.blueimp-gallery-playing .play-pause .pause-icon {
    display: block !important;
}

.blueimp-gallery > .title {
    position: absolute;
    bottom: 85px;
    left: 0;
    right: 70px;
    width: calc(100% - 70px);
    margin: 0;
    padding: 15px 25px;
    font-size: 14px;
    line-height: 1.5;
    color: #eee;
    background: rgba(0, 0, 0, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 25vh;
    overflow-y: auto;
    display: none;
    z-index: 15;
    text-align: center;
    pointer-events: auto;
    box-sizing: border-box;
}

.blueimp-gallery-show-info:not(.blueimp-gallery-no-title) > .title {
    display: block !important;
}

    .blueimp-gallery-single > .prev, .blueimp-gallery-left > .prev, .blueimp-gallery-single > .next, .blueimp-gallery-right > .next, .blueimp-gallery-single > .play-pause {
    display: none
}

.blueimp-gallery > .slides > .slide > .slide-content, .blueimp-gallery > .prev, .blueimp-gallery > .next, .blueimp-gallery > .close, .blueimp-gallery > .play-pause {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

body:last-child .blueimp-gallery > .slides > .slide-error {
    background-image: url(../img/error.svg)
}

body:last-child .blueimp-gallery > .play-pause {
    width: 20px;
    height: 20px;
    background-size: 40px 20px;
    background-image: url(../img/play-pause.svg)
}

/* WCAG CONTRAST MODES */

/* Black-White & Black-Yellow */
html.black-white .blueimp-gallery,
html.black-yellow .blueimp-gallery {
    background: #000 !important;
}

html.black-white .blueimp-gallery .prev,
html.black-white .blueimp-gallery .next,
html.black-white .blueimp-gallery .close,
html.black-white .blueimp-gallery .play-pause,
html.black-white .blueimp-gallery .info,
html.black-white .blueimp-gallery .fullscreen {
    background: #000 !important;
    color: #fff !important;
    border: 3px solid #fff !important;
    opacity: 1 !important;
}

html.black-yellow .blueimp-gallery .prev,
html.black-yellow .blueimp-gallery .next,
html.black-yellow .blueimp-gallery .close,
html.black-yellow .blueimp-gallery .play-pause,
html.black-yellow .blueimp-gallery .info,
html.black-yellow .blueimp-gallery .fullscreen {
    background: #000 !important;
    color: #ff0 !important;
    border: 3px solid #ff0 !important;
    opacity: 1 !important;
}

html.black-white .blueimp-gallery .title,
html.black-yellow .blueimp-gallery .title {
    background: #000 !important;
    border: 3px solid #fff !important;
    color: #fff !important;
    opacity: 1 !important;
}

html.black-yellow .blueimp-gallery .title {
    border-color: #ff0 !important;
    color: #ff0 !important;
}

/* White-Black & Yellow-Black */
html.white-black .blueimp-gallery,
html.yellow-black .blueimp-gallery {
    background: #fff !important;
    opacity: 1 !important;
}

html.yellow-black .blueimp-gallery {
    background: #ff0 !important;
}

html.white-black .blueimp-gallery .prev,
html.white-black .blueimp-gallery .next,
html.white-black .blueimp-gallery .close,
html.white-black .blueimp-gallery .play-pause,
html.white-black .blueimp-gallery .info,
html.white-black .blueimp-gallery .fullscreen {
    background: #fff !important;
    color: #000 !important;
    border: 3px solid #000 !important;
    opacity: 1 !important;
}

html.yellow-black .blueimp-gallery .prev,
html.yellow-black .blueimp-gallery .next,
html.yellow-black .blueimp-gallery .close,
html.yellow-black .blueimp-gallery .play-pause,
html.yellow-black .blueimp-gallery .info,
html.yellow-black .blueimp-gallery .fullscreen {
    background: #ff0 !important;
    color: #000 !important;
    border: 3px solid #000 !important;
    opacity: 1 !important;
}

html.white-black .blueimp-gallery .title,
html.yellow-black .blueimp-gallery .title {
    background: #fff !important;
    border: 3px solid #000 !important;
    color: #000 !important;
    opacity: 1 !important;
}

html.yellow-black .blueimp-gallery .title {
    background: #ff0 !important;
}

/* Indicators in Contrast Mode */
html.black-white .blueimp-gallery .indicator li,
html.black-yellow .blueimp-gallery .indicator li,
html.white-black .blueimp-gallery .indicator li,
html.yellow-black .blueimp-gallery .indicator li {
    border: 2px solid currentColor !important;
    opacity: 1 !important;
}

html.black-white .blueimp-gallery .indicator .active,
html.black-yellow .blueimp-gallery .indicator .active,
html.white-black .blueimp-gallery .indicator .active,
html.yellow-black .blueimp-gallery .indicator .active {
    box-shadow: 0 0 0 4px currentColor !important;
}

/* Ensure SVG icons follow text color in contrast modes */
html.black-white .blueimp-gallery svg,
html.black-yellow .blueimp-gallery svg,
html.white-black .blueimp-gallery svg,
html.yellow-black .blueimp-gallery svg {
    stroke: currentColor !important;
    fill: none !important;
}

/* Play/Pause icons need fill instead of stroke */
html.black-white .blueimp-gallery .play-pause svg,
html.black-yellow .blueimp-gallery .play-pause svg,
html.white-black .blueimp-gallery .play-pause svg,
html.yellow-black .blueimp-gallery .play-pause svg {
    fill: currentColor !important;
    stroke: none !important;
}

/* Info icon 'i' needs both circle (stroke) and dot/line (fill/stroke) - usually stroke is enough for the path I used */

* + html .blueimp-gallery > .slides > .slide {
    min-height: 300px
}

* + html .blueimp-gallery > .slides > .slide > .slide-content {
    position: relative
}

.blueimp-gallery .indicator-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 70px;
    width: calc(100% - 70px);
    height: 80px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 101;
    display: none;
    align-items: center;
    padding: 0 10px;
}

.blueimp-gallery-controls .indicator-wrapper {
    display: flex;
}

.blueimp-gallery .indicator-wrapper > .indicator {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    background: transparent;
    z-index: 1;
    flex-grow: 1;
    margin: 0;
    padding: 10px 0;
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    pointer-events: auto !important;
    min-height: 80px;
}

.blueimp-gallery .indicator-wrapper > .indicator::-webkit-scrollbar {
    display: none;
}

.blueimp-gallery .indicator-wrapper > .indicator.grabbing {
    cursor: grabbing;
    scroll-behavior: auto;
}

.blueimp-gallery .indicator-wrapper > .indicator-prev,
.blueimp-gallery .indicator-wrapper > .indicator-next {
    flex: 0 0 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}

.blueimp-gallery .indicator-wrapper > .indicator-prev:hover,
.blueimp-gallery .indicator-wrapper > .indicator-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.blueimp-gallery .indicator-wrapper > .indicator-prev svg,
.blueimp-gallery .indicator-wrapper > .indicator-next svg {
    width: 20px;
    height: 20px;
}

.blueimp-gallery .indicator-wrapper > .indicator-prev { margin-right: 10px; }
.blueimp-gallery .indicator-wrapper > .indicator-next { margin-left: 10px; }

@media (max-width: 767px) {
}

.blueimp-gallery .indicator li {
    flex: 0 0 auto;
    border-radius: 10px;
    width: 100px;
    height: 60px;
    background-position: center !important;
    margin: 5px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s;
    background-size: cover !important;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 0.6;
    pointer-events: auto !important;
    outline: none !important;
}
.blueimp-gallery .indicator li:hover {
    opacity: 1;
}

.blueimp-gallery .indicator li:focus,
.blueimp-gallery .indicator .active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px #007bff !important;
    opacity: 1;
    border-color: #fff;
    z-index: 102;
    transform: scale(1.1) translateY(-2px);
    background: #fff;
}

.blueimp-gallery > .prev, .blueimp-gallery > .next {
    z-index: 20;
}

.blueimp-gallery > .slides {
    position: relative;
    height: calc(100% - 100px);
    overflow: hidden;
}

.blueimp-gallery-single > .indicator {
    display: none
}

.blueimp-gallery .indicator {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

* + html .blueimp-gallery .indicator li {
    display: inline
}

.blueimp-gallery > .slides > .slide > .video-content > img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    -moz-backface-visibility: hidden
}

.blueimp-gallery > .slides > .slide > .video-content > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.blueimp-gallery > .slides > .slide > .video-content > iframe {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    border: none
}

.blueimp-gallery > .slides > .slide > .video-playing > iframe {
    top: 0
}

.blueimp-gallery > .slides > .slide > .video-content > a {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    margin: -64px auto 0;
    width: 128px;
    height: 128px;
    background: url(../img/video-play.png) center no-repeat;
    opacity: .8;
    cursor: pointer
}

.blueimp-gallery > .slides > .slide > .video-content > a:hover {
    opacity: 1
}

.blueimp-gallery > .slides > .slide > .video-playing > a, .blueimp-gallery > .slides > .slide > .video-playing > img {
    display: none
}

.blueimp-gallery > .slides > .slide > .video-content > video {
    display: none
}

.blueimp-gallery > .slides > .slide > .video-playing > video {
    display: block
}

.blueimp-gallery > .slides > .slide > .video-loading > a {
    background: url(../img/loading.gif) center no-repeat;
    background-size: 64px 64px
}

body:last-child .blueimp-gallery > .slides > .slide > .video-content:not(.video-loading) > a {
    background-image: url(../img/video-play.svg)
}

* + html .blueimp-gallery > .slides > .slide > .video-content {
    height: 100%
}

* + html .blueimp-gallery > .slides > .slide > .video-content > a {
    left: 50%;
    margin-left: -64px
}

/* --- CONSOLIDATED MODERN STYLES --- */

#blueimp-gallery.blueimp-gallery-playing .play-icon {
    display: none !important;
}

#blueimp-gallery.blueimp-gallery-playing .pause-icon {
    display: block !important;
}

/* Slideshow Progress Indicator - 2026 UX/WCAG 2.2 Standard */
.blueimp-gallery .slideshow-progress {
    position: absolute;
    top: 0 !important;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2000010 !important; /* Extremely high z-index */
    pointer-events: none;
    display: none;
    overflow: hidden;
}

/* Align with top of title/description area for semantic proximity */
.blueimp-gallery .title {
    padding-top: 15px !important;
}

.blueimp-gallery-playing .slideshow-progress {
    display: block !important;
}

.blueimp-gallery .slideshow-progress .progress-bar {
    width: 0%;
    height: 100%;
    /* 2026 High-End Gradient: Vibrant but balanced */
    background: linear-gradient(90deg,
        #0062ff 0%,
        #00d4ff 50%,
        #0062ff 100%
    );
    background-size: 200% 100%;
    animation: bar-shimmer 2s infinite linear;
    box-shadow: 0 0 12px rgba(0, 98, 255, 0.6);
    border-radius: 0 2px 2px 0;
    transition: none;
}

/* Pause visual cue for WCAG 2.2 (Pointer Hover) */
.blueimp-gallery:hover .slideshow-progress .progress-bar {
    filter: grayscale(0.5) brightness(0.8);
    box-shadow: none;
}

@keyframes bar-shimmer {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}

/* WCAG 2.2 Contrast & Accessibility Overrides */
@media (prefers-reduced-motion: reduce) {
    .blueimp-gallery .slideshow-progress .progress-bar {
        animation: none;
        background: #0062ff;
    }
}

html.black-yellow .blueimp-gallery .slideshow-progress { background: rgba(255, 255, 0, 0.2); }
html.black-yellow .blueimp-gallery .slideshow-progress .progress-bar {
    background: #ff0 !important;
    box-shadow: none !important;
    animation: none;
}

html.yellow-black .blueimp-gallery .slideshow-progress { background: rgba(0, 0, 0, 0.5); }
html.yellow-black .blueimp-gallery .slideshow-progress .progress-bar {
    background: #000 !important;
    box-shadow: 0 0 0 2px #ff0 !important;
    animation: none;
}

html.black-white .blueimp-gallery .slideshow-progress .progress-bar {
    background: #fff !important;
    box-shadow: none !important;
    animation: none;
}

html.white-black .blueimp-gallery .slideshow-progress .progress-bar {
    background: #000 !important;
    box-shadow: 0 0 0 2px #fff !important;
    animation: none;
}

/* Gallery Thumbnails Enhancement */
.blueimp-gallery .indicator-wrapper {
    padding: 0 10px !important; /* Reset outer padding */
    height: 100px !important;
}

.blueimp-gallery .indicator-wrapper > .indicator {
    padding: 15px 0 !important;
    min-height: 100px !important;
    overflow-y: visible !important;
}

.blueimp-gallery .indicator-wrapper > .indicator-prev {
    margin-right: 40px !important; /* Gap between arrow and thumbnails */
}

.blueimp-gallery .indicator-wrapper > .indicator-next {
    margin-left: 40px !important; /* Gap between arrow and thumbnails */
}

/* Hardening Control Elements */
.blueimp-gallery .controls-sidebar {
    z-index: 1500000 !important; /* Extremely high z-index to stay on top */
    pointer-events: auto !important;
}

.blueimp-gallery .blueimp-close,
#gallery-close-btn {
    pointer-events: auto !important;
    z-index: 2000000 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.blueimp-gallery .indicator-wrapper > .indicator-prev,
.blueimp-gallery .indicator-wrapper > .indicator-next {
    align-self: center;
    z-index: 100;
}

.blueimp-gallery .indicator li {
    border-radius: 10px !important;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    margin: 5px 10px !important;
    opacity: 0.6 !important;
}

.blueimp-gallery .indicator li:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
}

.blueimp-gallery .indicator .active {
    opacity: 1 !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.4), 0 4px 10px rgba(0, 0, 0, 0.5) !important;
    transform: scale(1.1) translateY(-2px) !important;
    z-index: 2;
}

/* WCAG Contrast Modes for Thumbnails */
html.black-yellow .blueimp-gallery .indicator .active {
    border-color: #ff0 !important;
    box-shadow: 0 0 0 3px #000, 0 0 0 5px #ff0 !important;
}

html.yellow-black .blueimp-gallery .indicator .active {
    border-color: #000 !important;
    box-shadow: 0 0 0 3px #ff0, 0 0 0 5px #000 !important;
}

html.black-white .blueimp-gallery .indicator .active {
    border-color: #fff !important;
    box-shadow: 0 0 0 3px #000, 0 0 0 5px #fff !important;
}

html.white-black .blueimp-gallery .indicator .active {
    border-color: #000 !important;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #000 !important;
}
