.mc-gallery-window .goverlay{background:rgba(24,24,27,.97)}
.mc-gallery-window .gslide-inner-content{max-width:100%;padding:56px 42px 124px;box-sizing:border-box}
.mc-gallery-window .gslide-image img{max-height:calc(100vh - 190px);width:auto;max-width:100%;object-fit:contain}
.mc-gallery-window.mc-no-thumbs .gslide-inner-content{padding-bottom:52px}
.mc-gallery-window.mc-no-thumbs .gslide-image img{max-height:calc(100vh - 112px)}
.mc-gallery-window .mc-gallery-toolbar{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:0 8px;color:#eee;z-index:100000;font:16px Arial,sans-serif}
.mc-gallery-window .mc-gallery-tools{display:flex;align-items:center}
.mc-gallery-window .mc-gallery-tools button{position:static;display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:0;border-radius:0;background:transparent;color:#eee;font:26px Arial,sans-serif;cursor:pointer;opacity:1}
.mc-gallery-window .mc-gallery-tools button:hover{background:#ffffff1a}
.mc-gallery-window button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.mc-gallery-window .mc-gallery-tools button:disabled{opacity:.35;cursor:default}
.mc-gallery-window .mc-gallery-caption{position:absolute;bottom:90px;left:12px;right:12px;max-height:3.4em;overflow:auto;text-align:center;color:#fff;font:15px/1.4 Arial,sans-serif;z-index:100000;white-space:pre-wrap}
.mc-gallery-window.mc-no-thumbs .mc-gallery-caption{bottom:16px}
.mc-gallery-window .mc-gallery-thumbs{position:absolute;bottom:10px;left:0;right:0;display:flex;gap:6px;justify-content:safe center;overflow-x:auto;padding:4px 10px;z-index:100000}
.mc-gallery-window .mc-gallery-thumbs[hidden]{display:none}
.mc-gallery-window .mc-gallery-thumbs button{flex:none;width:76px;height:56px;padding:0;background:transparent;border:2px solid transparent;opacity:.55;cursor:pointer}
.mc-gallery-window .mc-gallery-thumbs button[aria-current=true]{border-color:white;opacity:1}
.mc-gallery-window .mc-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.mc-gallery-window .gnext,.mc-gallery-window .gprev{position:absolute;background:#ffffff12;width:44px;height:44px;border-radius:50%;top:calc(50% - 22px)}
.mc-gallery-window .mc-mobile-zoom .gslide-image{width:100vw!important;max-width:100vw!important;height:calc(100vh - 190px);overflow:auto;touch-action:pan-x pan-y;display:block}
.mc-gallery-window .mc-mobile-zoom .gslide-image img{width:200vw!important;min-width:200vw;max-width:none!important;max-height:none!important;height:auto;object-fit:fill}
@media(max-width:600px){.mc-gallery-window .gslide-inner-content{padding-left:0;padding-right:0}.mc-gallery-window .mc-gallery-counter{font-size:13px}.mc-gallery-window .mc-gallery-toolbar{padding:0 4px}.mc-gallery-window .gnext{right:4px}.mc-gallery-window .gprev{left:4px}}
@media(prefers-reduced-motion:reduce){.mc-gallery-window *{animation-duration:.001ms!important;transition-duration:.001ms!important}}

.mc-gallery-window .gnext{right:20px}.mc-gallery-window .gprev{left:20px}
.mc-gallery-window .gclose path,.mc-gallery-window .gnext path,.mc-gallery-window .gprev path{fill:#eee}
.mc-gallery-window .gclose svg{width:24px;height:24px}
@media(max-width:600px){.mc-gallery-window .gnext{right:4px}.mc-gallery-window .gprev{left:4px}}
