/*
 * Lightbox — DevCore Studeo Reskin
 * Dark tech theme with #bf0039 accent
 */

html.lb-disable-scrolling {
  overflow: hidden;
  position: fixed;
  height: 100vh;
  width: 100vw;
}

/* ——— OVERLAY ——— */
.lightboxOverlay {
  position: absolute;
  top: 0; left: 0;
  z-index: 9999;
  background-color: rgba(4, 4, 10, 0.97);
  display: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ——— LIGHTBOX CONTAINER ——— */
.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 10px;
  border: 1px solid rgba(191, 0, 57, 0.3);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(191, 0, 57, 0.15);
}

.lightbox a img { border: none; }

/* ——— OUTER CONTAINER ——— */
.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px; height: 250px;
  margin: 0 auto;
  border-radius: 12px;
  background: rgba(10, 10, 18, 0.95);
  border: 1px solid rgba(191, 0, 57, 0.2);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(191, 0, 57, 0.1);
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

/* ——— LOADER ——— */
.lb-loader {
  position: absolute;
  top: 43%; left: 0;
  height: 25%; width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px; height: 32px;
  margin: 0 auto;
  background: url(../images/loading.gif) no-repeat center;
  opacity: 0.6;
  filter: hue-rotate(300deg) saturate(2);
}

/* ——— NAV ——— */
.lb-nav {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  z-index: 10;
}

.lb-container > .nav { left: 0; }

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../images/prev.png) left 48% no-repeat;
  opacity: 0;
  transition: opacity 0.4s ease;
  -webkit-transition: opacity 0.4s ease;
  filter: hue-rotate(300deg) saturate(2) brightness(1.2);
}
.lb-nav a.lb-prev:hover { opacity: 1; }

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../images/next.png) right 48% no-repeat;
  opacity: 0;
  transition: opacity 0.4s ease;
  -webkit-transition: opacity 0.4s ease;
  filter: hue-rotate(300deg) saturate(2) brightness(1.2);
}
.lb-nav a.lb-next:hover { opacity: 1; }

/* ——— DATA / CAPTION ——— */
.lb-dataContainer {
  margin: 0 auto;
  padding-top: 6px;
  *zoom: 1;
  width: 100%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: rgba(8, 8, 16, 0.85);
  border-top: 1px solid rgba(191, 0, 57, 0.15);
}
.lb-dataContainer:after { content: ""; display: table; clear: both; }

.lb-data {
  padding: 6px 8px;
  color: rgba(200, 200, 220, 0.85);
}

.lb-data .lb-details {
  margin-top: 8px;
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.2em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: 600;
  line-height: 1em;
  color: #f0f0f5;
  font-family: 'Poppins', sans-serif;
}

.lb-data .lb-caption a {
  color: #bf0039;
  transition: color 0.3s;
}
.lb-data .lb-caption a:hover { color: #e0003f; }

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 11px;
  color: rgba(150, 150, 170, 0.6);
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

/* ——— CLOSE BUTTON ——— */
.lb-data .lb-close {
  display: block;
  float: right;
  width: 32px; height: 32px;
  margin-top: 10px;
  background: url(../images/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  opacity: 0.6;
  transition: opacity 0.25s ease, transform 0.25s ease;
  -webkit-transition: opacity 0.25s ease, transform 0.25s ease;
  filter: hue-rotate(300deg) saturate(2) brightness(1.3);
}
.lb-data .lb-close:hover {
  cursor: pointer;
  opacity: 1;
  transform: rotate(90deg) scale(1.1);
  filter: hue-rotate(300deg) saturate(3) brightness(1.6);
}
