/*
 * gallery-zoom.css - styles for the viewer chrome: extra buttons, caption and
 * first-time hint. Safe to load on the live page (does not style #photoGallery). Loaded after photoswipe.css.
 */

/* ---- Page behind the viewer ---- */

html.h67g-open,
html.h67g-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

/* ---- Viewer chrome: slim 44px bars so the photo area is 44px from top and bottom ---- */

.pswp .pswp__top-bar {
    height: 44px;
}

.pswp .pswp__top-bar .pswp__button {
    width: 44px;
    height: 44px;
}

.pswp .pswp__top-bar .pswp__icn {
    top: 6px;
    left: 6px;
}

.pswp .pswp__counter {
    height: 44px;
    margin-inline-start: 16px;
    font-size: 15px;
    line-height: 44px;
}

.pswp .pswp__button:disabled {
    opacity: 0.35;
    cursor: default;
}

/* ---- Caption ---- */

.pswp .h67g-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44px;
    padding: 0 60px;
    box-sizing: border-box;
    overflow: hidden;
    color: #fff;
    font: 14px/44px Arial, Helvetica, sans-serif;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    transition: opacity 333ms;
}

.pswp:not(.pswp--ui-visible) .h67g-caption {
    opacity: 0;
}

.pswp--touch .h67g-caption {
    padding: 0 16px;
}

/* ---- First-time touch hint ---- */

.pswp .h67g-hint {
    position: absolute;
    left: 50%;
    bottom: 64px;
    z-index: 10;
    max-width: 85%;
    padding: 10px 18px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font: 15px/1.3 Arial, Helvetica, sans-serif;
    text-align: center;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity 400ms;
}

.pswp .h67g-hint-out {
    opacity: 0;
}
