/**
 * Vanilla Lightbox Stylus
 * Compatible with magnificPopup classes for easy migration
 */
@font-face {
  font-family: 'Syntax Roman';
  src: url("../Fonts/SyntaxLTStd-Roman.otf") format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Syntax Bold';
  src: url("../Fonts/SyntaxLTStd-Bold.otf") format('opentype');
  font-weight: 700;
  font-style: normal;
}
.viz-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1051;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.viz-lightbox.viz-active {
  display: block;
  opacity: 1;
}
.viz-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0b0b0b;
  opacity: 0.8;
  z-index: 1050;
}
.viz-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0 8px;
  box-sizing: border-box;
  z-index: 1052;
}
.viz-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.viz-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1054;
  max-width: 100%;
}
.viz-figure {
  position: relative;
}
.viz-img-container {
  position: relative;
}
.viz-img {
  width: auto;
  max-width: 100%;
  max-height: 90vh;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
  cursor: pointer;
}
.viz-close {
  position: absolute;
  top: 1rem;
  right: 0;
  width: 3rem;
  height: 3rem;
  border: 0;
  color: #fff;
  font-size: 28px;
  text-align: center;
  cursor: pointer;
  z-index: 1055;
  opacity: 0.65;
  transition: opacity 0.2s;
  padding: 0;
  background: transparent;
  background: url("../Images/close_icon_light.svg") no-repeat center;
  background-size: 90%;
}
.viz-close:hover {
  opacity: 1;
}
.viz-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.5);
  border: 0;
  color: #fff;
  font-size: 48px;
  text-align: center;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s;
  z-index: 1055;
  padding: 0;
  background: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
}
.viz-arrow span {
  display: none;
}
.viz-arrow:hover {
  opacity: 1;
}
.viz-arrow-left {
  left: 4vw;
  background: url("../Images/chevron-left.svg");
}
.viz-arrow-right {
  right: 4vw;
  background: url("../Images/chevron-right.svg");
}
.viz-bottom-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: -36px;
  cursor: auto;
}
.viz-title {
  text-align: left;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
  font-size: 14px;
}
.viz-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #ccc;
  font-size: 12px;
}
/* Inline content container */
.viz-inline-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
}
.viz-inline-container .viz-icon-text-description-container {
  display: block !important;
}
.viz-inline-container .viz-icon-text-description-container .viz-icon-text-description-container-content .viz-icon-text-description {
  color: #fff;
}
/* Inline lightbox specific styles */
.viz-lightbox.viz-icon-text-bg .viz-overlay {
  background: #0b0b0b;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.viz-lightbox.viz-icon-text-bg.viz-ready .viz-overlay {
  opacity: 0.95;
}
.viz-lightbox.viz-icon-text-bg.viz-removing .viz-overlay {
  opacity: 0;
}
/* Mobile responsive styles */
@media screen and (max-width: 800px) {
  .viz-img {
    padding: 0;
  }
  .viz-arrow-left {
    left: 0;
  }
  .viz-arrow-right {
    right: 0;
  }
  .viz-bottom-bar {
    background: rgba(0,0,0,0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }
  .viz-counter {
    right: 5px;
    top: 3px;
  }
}
