/* FireRescue Members Image Lightbox 1.1.0 */
img.frmlb-zoomable { cursor: zoom-in; }
body.frmlb-open { overflow: hidden !important; }

.frmlb-dialog,
.frmlb-dialog * { box-sizing: border-box; }

.frmlb-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  overflow: hidden;
  z-index: 2147483000;
}
.frmlb-dialog::backdrop { background: rgba(8, 14, 25, 0.94); }
.frmlb-dialog[open] { display: block; }
.frmlb-layout {
  width: 100%;
  height: 100%;
  height: 100dvh;
  padding: 12px 16px 20px;
  display: grid;
  grid-template-rows: 44px minmax(0, 1fr) auto;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: rgba(8, 14, 25, 0.96);
}
.frmlb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.frmlb-count {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #e1e6ed;
}
.frmlb-dialog .frmlb-button {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease;
}
.frmlb-dialog .frmlb-button:hover { background: #a7252d; }
.frmlb-dialog .frmlb-button:focus-visible {
  outline: 3px solid #ffcf72;
  outline-offset: 3px;
}
.frmlb-dialog .frmlb-button[hidden] { display: none !important; }
.frmlb-dialog .frmlb-close { font-size: 30px; }
.frmlb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 56px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.frmlb-dialog .frmlb-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  border-radius: 5px;
}
.frmlb-dialog .frmlb-previous,
.frmlb-dialog .frmlb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
}
.frmlb-dialog .frmlb-previous { left: 0; }
.frmlb-dialog .frmlb-next { right: 0; }
.frmlb-caption {
  margin: 0;
  padding: 4px 12px 2px;
  max-height: 100px;
  overflow: auto;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  color: #f3f4f6;
}
.frmlb-caption[hidden] { display: none; }
@media (max-width: 600px) {
  .frmlb-layout { padding: 6px 8px 12px; }
  .frmlb-stage { padding: 0 34px; }
  .frmlb-dialog .frmlb-button { width: 36px; height: 36px; }
  .frmlb-dialog .frmlb-previous,
  .frmlb-dialog .frmlb-next { font-size: 33px; }
  .frmlb-dialog .frmlb-close { font-size: 27px; }
  .frmlb-caption { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .frmlb-dialog .frmlb-button { transition: none; }
}
