/* Pine Cliff lightbox (replaces the Essential Grid / Fancybox lightbox). */

.pcw-lightbox { display: none; }
.pcw-lightbox.is-open { display: block; }
.pcw-lb-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 8010;
  background: rgba(16, 12, 12, 0.69); opacity: 0; cursor: pointer;
}
.pcw-lb-wrap { position: fixed; top: 0; left: 0; z-index: 8020; opacity: 0; visibility: hidden; }
.pcw-lb-skin {
  position: relative; width: 100%; height: 100%; background: #f9f9f9; color: #444; text-shadow: none;
  border-radius: 4px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.pcw-lb-inner { position: relative; width: 100%; height: 100%; overflow: hidden; }
.pcw-lb-image { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; }

.pcw-lb-close {
  position: absolute; top: -18px; right: -18px; width: 36px; height: 36px; z-index: 8040; cursor: pointer;
  border: none !important; text-decoration: none !important; outline: none;
}
.pcw-lb-close svg { display: block; width: 36px; height: 36px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }
.pcw-lb-close:focus-visible svg { outline: 2px solid #fff; outline-offset: 2px; border-radius: 50%; }

.pcw-lb-nav {
  position: absolute; top: 0; width: 40%; height: 100%; z-index: 8040; cursor: pointer;
  text-decoration: none !important; border: none !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.pcw-lb-prev { left: 0; }
.pcw-lb-next { right: 0; }
.pcw-lb-nav span {
  position: absolute; top: 50%; width: 36px; height: 34px; margin-top: -18px; z-index: 8040; cursor: pointer; visibility: hidden;
}
.pcw-lb-nav span svg { display: block; width: 36px; height: 34px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }
.pcw-lb-prev span { left: 10px; }
.pcw-lb-next span { right: 10px; }
.pcw-lb-nav:hover span, .pcw-lb-nav:focus-visible span { visibility: visible; }

.pcw-lb-loading {
  display: none; position: fixed; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  background: #111; border-radius: 8px; opacity: 0.8; z-index: 8060;
}
.pcw-lb-loading div {
  width: 24px; height: 24px; margin: 10px; box-sizing: border-box; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25); border-top-color: #fff; animation: pcw-lb-spin 0.8s linear infinite;
}
@keyframes pcw-lb-spin { to { transform: rotate(360deg); } }
