/* =========================================================
   GLightbox — Base layout
   ========================================================= */

   .glightbox-container {
    position: fixed;
    inset: 0;
    z-index: 999999 !important;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    outline: none;
    touch-action: none;
    text-size-adjust: 100%;
    backface-visibility: hidden;
  }
  
  .glightbox-container.inactive {
    display: none;
  }
  
  .glightbox-container .gcontainer {
    position: relative;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .glightbox-container .gslider {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    transition: transform 0.4s ease;
  }
  
  .glightbox-container .gslide {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    opacity: 0;
    user-select: none;
  }
  
  .glightbox-container .gslide.current {
    position: relative;
    z-index: 99999;
    opacity: 1;
  }
  
  .glightbox-container .gslide.prev {
    z-index: 9999;
    opacity: 1;
  }
  
  .glightbox-container .gslide:not(.current) {
    pointer-events: none;
  }
  
  .glightbox-container .gslide-inner-content {
    width: 100%;
  }
  
  .glightbox-container .ginner-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: auto;
  }
  
  .glightbox-container .ginner-container.desc-bottom,
  .glightbox-container .ginner-container.desc-top {
    flex-direction: column;
  }
  
  .glightbox-container .ginner-container.desc-left,
  .glightbox-container .ginner-container.desc-right {
    max-width: 100% !important;
  }
  
  /* =========================================================
     Media and images
     ========================================================= */
  
  .gslide iframe,
  .gslide video {
    min-height: 165px;
    border: none;
    outline: none !important;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .gslide-image {
    display: flex;
    align-items: center;
  }
  
  .gslide-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    min-width: 200px;
    margin: auto;
    padding: 0;
    float: none;
    border: none;
    outline: none;
    object-fit: cover;
    user-select: none;
    touch-action: none;
  }
  
  .gslide-image img.zoomable {
    position: relative;
  }
  
  .gslide-image img.dragging {
    cursor: grabbing !important;
    transition: none;
  }
  
  .gslide-video {
    position: relative;
    width: 100% !important;
    max-width: 100vh;
  }
  
  .gslide-video .gvideo-wrapper {
    width: 100%;
    margin: auto;
  }
  
  .gslide-video .plyr__poster-enabled.plyr--loading .plyr__poster {
    display: none;
  }
  
  .gslide-video::before {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    background: #fff;
    content: "";
  }
  
  .gslide-video.playing::before {
    display: none;
  }
  
  .gslide-video.fullscreen {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100%;
    height: 75vh;
  }
  
  .gslide-video.fullscreen video {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* =========================================================
     Inline and external content
     ========================================================= */
  
  .gslide-inline {
    max-width: 100%;
    max-height: calc(100vh - 40px);
    margin: auto;
    overflow: auto;
    background: #fff;
    text-align: left;
  }
  
  .gslide-inline .ginlined-content {
    display: block !important;
    width: 100%;
    padding: 20px;
  }
  
  .ginlined-content {
    display: block !important;
    overflow: auto;
    opacity: 1;
  }
  
  .gslide-inline .dragging {
    cursor: grabbing !important;
    transition: none;
  }
  
  .gslide-external {
    display: flex;
    width: 100%;
    min-width: 100%;
    height: 100%;
    max-height: 75vh;
    padding: 0;
    overflow: auto;
    background: #fff;
  }
  
  .gslide-media {
    display: flex;
    width: auto;
  }
  
  .zoomed .gslide-media {
    box-shadow: none !important;
  }
  
  /* =========================================================
     Descriptions and captions
     ========================================================= */
  
  .gslide-description {
    position: relative;
    flex: 1 0 100%;
  }
  
  .gslide-description.description-left,
  .gslide-description.description-right {
    max-width: 100%;
  }
  
  .gslide-description.description-top,
  .gslide-description.description-bottom {
    width: 100%;
    margin: 0 auto;
  }
  
  .gslide-description p {
    margin-bottom: 12px;
  }
  
  .gslide-description p:last-child {
    margin-bottom: 0;
  }
  
  .glightbox-desc {
    display: none !important;
  }
  
  .zoomed .gslide-description {
    display: none;
  }
  
  .gdesc-open .gslide-media,
  .gdesc-closed .gslide-media {
    transition: opacity 0.5s ease;
  }
  
  .gdesc-open .gslide-media {
    opacity: 0.4;
  }
  
  .gdesc-closed .gslide-media {
    opacity: 1;
  }
  
  .gdesc-open .gdesc-inner {
    padding-bottom: 30px;
  }
  
  .glightbox-container .gdesc-inner i,
  .glightbox-container .gslide-desc i {
    font-style: italic !important;
  }

  .glightbox-container .gdesc-more {
    display: none !important;
}

.glightbox-container .gdesc-inner {
    max-height: none !important;
    overflow: visible !important;
}
  
  /* =========================================================
     GLightbox Clean theme
     ========================================================= */
  
  .glightbox-clean .gslide-description {
    background: #fff;
  }
  
  .glightbox-clean .gdesc-inner {
    padding: 8px 20px;
    text-align: center;
  }
  
  .glightbox-clean .gslide-title {
    margin: 0;
    color: #9033ff;
    font-family: Georgia, serif;
    font-size: 1em;
    font-weight: normal;
    line-height: 1.1;
  }
  
  .glightbox-clean .gslide-desc {
    margin: 10px 1px;
    font-family: Georgia, serif;
    font-size: 0.86em;
    line-height: 1.1;
  }
  
  .glightbox-clean .gslide-video {
    background: #fff;
  }
  
  .glightbox-mobile .glightbox-container .gslide-title,
  .glightbox-mobile .glightbox-container .gslide-desc {
    color: #9033ff;
  }
  
  .glightbox-mobile .glightbox-container .gslide-desc a {
    color: #9033ff;
    font-weight: bold;
  }
  
  .glightbox-mobile .glightbox-container .gslide-desc * {
    color: inherit;
  }
  

  
  /* =========================================================
     Navigation controls
     ========================================================= */
  
  .gprev,
  .gnext,
  .gclose {
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 44px;
    border: none;
    cursor: pointer;
  }
  
  .gprev svg,
  .gnext svg,
  .gclose svg {
    display: block;
    width: 25px;
    height: auto;
    margin: 0;
    padding: 0;
  }
  
  .gprev.disabled,
  .gnext.disabled,
  .gclose.disabled {
    opacity: 0.1;
  }
  
  .gprev .garrow,
  .gnext .garrow,
  .gclose .garrow {
    stroke: #9033ff;
  }
  
  .gbtn.focused {
    outline: 2px solid #0f3d81;
  }
  
  .glightbox-clean .gprev,
  .glightbox-clean .gnext,
  .glightbox-clean .gclose {
    position: absolute;
    background: transparent;
    border-radius: 4px;
  }
  
  .glightbox-clean .gprev {
    top: -100%;
    left: 30px;
    width: 40px;
    height: 50px;
  }
  
  .glightbox-clean .gnext {
    top: -100%;
    right: 30px;
    width: 40px;
    height: 50px;
  }
  
  .glightbox-clean .gclose {
    top: 15px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .glightbox-clean .gclose svg {
    width: 18px;
  }
  
  .glightbox-clean .gprev path,
  .glightbox-clean .gnext path,
  .glightbox-clean .gclose path {
    fill: #9033ff;
  }
  
  .glightbox-clean .gclose:hover {
    opacity: 1;
  }
  
  .glightbox-button-hidden {
    display: none;
  }
  
  .glightbox-closing .gnext,
  .glightbox-closing .gprev,
  .glightbox-closing .gclose {
    opacity: 0 !important;
  }
  
  /* =========================================================
     Loading and overlay
     ========================================================= */
  
  .glightbox-open {
    overflow: hidden;
  }
  
  .goverlay {
    position: fixed;
    top: -1px;
    left: 0;
    width: 100%;
    height: calc(100vh + 1px);
    background: #fff;
    will-change: opacity;
  }
  
  .gloader {
    position: absolute;
    top: 47%;
    right: 0;
    left: 0;
    z-index: 9999;
    display: block;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    border: 2px solid #fff;
    border-right-color: transparent;
    border-radius: 50%;
    animation: lightboxLoader 0.8s linear infinite;
  }
  
  iframe.wait-autoplay {
    opacity: 0;
  }
  
  /* =========================================================
     Animations
     ========================================================= */
  
  .greset {
    transition: all 0.3s ease;
  }
  
  .gabsolute {
    position: absolute;
  }
  
  .grelative {
    position: relative;
  }
  
  .gfadeIn {
    animation: gfadeIn 0.5s ease;
  }
  
  .gfadeOut {
    animation: gfadeOut 0.5s ease;
  }
  
  .gslideOutLeft {
    animation: gslideOutLeft 0.3s ease;
  }
  
  .gslideInLeft {
    animation: gslideInLeft 0.3s ease;
  }
  
  .gslideOutRight {
    animation: gslideOutRight 0.3s ease;
  }
  
  .gslideInRight {
    animation: gslideInRight 0.3s ease;
  }
  
  .gzoomIn {
    animation: gzoomIn 0.1s ease;
  }
  
  .gzoomOut {
    animation: gzoomOut 0.1s ease;
  }
  
  @keyframes lightboxLoader {
    to {
      transform: rotate(360deg);
    }
  }
  
  @keyframes gfadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes gfadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  @keyframes gslideInLeft {
    from {
      opacity: 0;
      transform: translate3d(-60%, 0, 0);
    }
    to {
      visibility: visible;
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  
  @keyframes gslideOutLeft {
    from {
      visibility: visible;
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
    to {
      visibility: hidden;
      opacity: 0;
      transform: translate3d(-60%, 0, 0);
    }
  }
  
  @keyframes gslideInRight {
    from {
      opacity: 0;
      transform: translate3d(60%, 0, 0);
    }
    to {
      visibility: visible;
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }
  
  @keyframes gslideOutRight {
    from {
      visibility: visible;
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
    to {
      opacity: 0;
      transform: translate3d(60%, 0, 0);
    }
  }
  
  @keyframes gzoomIn {
    from {
      opacity: 0;
      transform: scale3d(0.3, 0.3, 0.3);
    }
    to { opacity: 1; }
  }
  
  @keyframes gzoomOut {
    50% {
      opacity: 0;
      transform: scale3d(0.3, 0.3, 0.3);
    }
    to { opacity: 0; }
  }
  
  /* =========================================================
     Desktop
     ========================================================= */
  
  @media (min-width: 769px) {
    .glightbox-container .ginner-container {
      flex-direction: row;
      width: auto;
      height: auto;
    }
  
    .glightbox-container .ginner-container.desc-top .gslide-description {
      order: 0;
    }
  
    .glightbox-container .ginner-container.desc-top .gslide-image,
    .glightbox-container .ginner-container.desc-top .gslide-image img {
      order: 1;
    }
  
    .glightbox-container .ginner-container.desc-left .gslide-description {
      order: 0;
    }
  
    .glightbox-container .ginner-container.desc-left .gslide-image {
      order: 1;
    }
  
    .gslide-image img {
      max-width: 100%;
      max-height: calc(97vh - 15px);
      transform: translateY(15px);
    }
  
    .gslide-image img.zoomable {
      cursor: zoom-in;
    }
  
    .zoomed .gslide-image img.zoomable {
      cursor: grab;
    }
  
    .gslide-inline {
      max-height: 95vh;
    }
  
    .gslide-external {
      max-height: 100vh;
    }
  
    .gslide-description.description-left,
    .gslide-description.description-right {
      max-width: 275px;
    }
  
    .glightbox-open {
      height: auto;
    }
  
    .glightbox-clean .gslide-media {
      box-shadow: none;
    }
  
    .glightbox-clean .description-left .gdesc-inner,
    .glightbox-clean .description-right .gdesc-inner {
      position: absolute;
      height: 100%;
      overflow-y: auto;
    }
  
    .glightbox-clean .gprev,
    .glightbox-clean .gnext {
      top: 45%;
    }
  
    .glightbox-clean .gclose {
      right: 20px;
      opacity: 1;
    }
  }
  
  /* =========================================================
     Mobile: image first, caption below
     ========================================================= */
  
  @media (max-width: 768px) {
    .glightbox-mobile .goverlay {
      background: #fff;
    }
  
    .glightbox-mobile .glightbox-container .ginner-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 100%;
      height: auto;
      min-height: 100vh;
    }
  
    .glightbox-mobile .glightbox-container .gslide-media {
      order: 1;
      margin: 0 auto;
    }
  
    .glightbox-mobile .glightbox-container .gslide-image {
      position: relative;
      flex: 0 0 auto;
      width: 100%;
    }
  
    .glightbox-mobile .glightbox-container .gslide-image img {
      display: block;
      width: auto;
      max-width: 100%;
      max-height: calc(100vh - 120px);
      height: auto;
      margin: 0 auto;
      transform: none;
    }
  
    .glightbox-mobile .glightbox-container .gslide-description {
      position: relative;
      bottom: auto;
      left: auto;
      order: 2;
      flex: 0 0 auto;
      width: 100%;
      max-width: 100%;
      height: auto;
      max-height: none;
      margin: 0;
      padding: 10px 10px 20px;
      overflow: visible;
      box-sizing: border-box;
      background: #fff;
    }
  }
  
  /* Short screens */
  @media screen and (max-height: 420px) {
    .goverlay {
      background: #fff;
    }
  }

  @media screen and (max-width: 768px) {
    .glightbox-mobile .glightbox-container .gslide-description .gslide-desc i,
    .glightbox-mobile .glightbox-container .gslide-description .gslide-desc em {
      font-style: italic !important;
    }
  }