/* Lightbox override (dev): fixed-size stage, photo centred, always-visible side arrows. Loads after lightbox-v2.min.css. */
.lightbox{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important}
.lightbox{--lbw:min(808px,92vw);--lbh:min(808px,78vh)}
.lightbox .lb-outerContainer{position:absolute!important;top:calc(50% - var(--lbh) / 2)!important;left:calc(50% - var(--lbw) / 2)!important;margin:0!important;
  width:var(--lbw)!important;height:var(--lbh)!important;display:flex;align-items:center;justify-content:center;background:transparent!important;border-radius:0}
.lightbox .lb-container{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:0!important}
.lightbox .lb-image{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;margin:0 auto;border:0!important;border-radius:2px;box-shadow:0 6px 30px rgba(0,0,0,.45)}
.lightbox .lb-loader{top:50%;transform:translateY(-50%);height:auto}
/* caption / counter / close sit below the stage and do not move the image */
.lightbox .lb-dataContainer{position:absolute!important;top:calc(50% + var(--lbh) / 2)!important;left:calc(50% - var(--lbw) / 2)!important;width:var(--lbw)!important;margin:0;padding-top:8px}
/* arrows: always visible, outside the photo, 40px from the screen edge */
.lightbox .lb-nav{position:static!important;width:0!important;height:0!important}
.lightbox .lb-nav a.lb-prev,.lightbox .lb-nav a.lb-next{position:fixed!important;top:50%!important;width:52px!important;height:52px!important;margin-top:-26px;float:none!important;
  opacity:1!important;display:block!important;border-radius:50%;background-color:rgba(0,0,0,.6)!important;background-repeat:no-repeat!important;background-position:center!important;background-size:24px 24px!important;z-index:10001;cursor:pointer}
.lightbox .lb-nav a.lb-prev{left:40px!important;right:auto!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4 7 12l8 8'/%3E%3C/svg%3E")!important}
.lightbox .lb-nav a.lb-next{right:40px!important;left:auto!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 4 8 8-8 8'/%3E%3C/svg%3E")!important}
.lightbox .lb-nav a.lb-prev:hover,.lightbox .lb-nav a.lb-next:hover{background-color:rgba(0,0,0,.85)!important}
@media (max-width:700px){.lightbox .lb-nav a.lb-prev{left:8px!important}.lightbox .lb-nav a.lb-next{right:8px!important}.lightbox .lb-nav a.lb-prev,.lightbox .lb-nav a.lb-next{width:44px!important;height:44px!important;margin-top:-22px}}
/* close X: white, upper right, 60px out from the stage's top-right corner (stage is fixed, so the X never jumps between photos) */
.lightbox .lb-data .lb-close{position:fixed!important;float:none!important;width:34px!important;height:34px!important;opacity:1!important;cursor:pointer;
  top:max(12px, calc(50% - var(--lbh) / 2 - 60px - 34px))!important;left:calc(50% + var(--lbw) / 2 + 60px)!important;right:auto!important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M4 4l16 16M20 4 4 20'/%3E%3C/svg%3E") center/30px 30px no-repeat!important;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.8));z-index:10001}
@media (max-width:1000px){.lightbox .lb-data .lb-close{top:12px!important;left:auto!important;right:12px!important}}
