html.lightbox-open {
  overflow: hidden;
}

.basicLightbox {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    opacity: .01;
    transition: opacity .4s ease;
    z-index: 1000;
    will-change: opacity
}

.basicLightbox--visible {
    opacity: 1
}

.basicLightbox__placeholder {
    max-width: 100%;
    -webkit-transform: scale(.9);
    transform: scale(.9);
    transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    transition: transform .4s ease, -webkit-transform .4s ease;
    z-index: 1;
    will-change: transform
}

.basicLightbox__placeholder>iframe:first-child:last-child,
.basicLightbox__placeholder>img:first-child:last-child,
.basicLightbox__placeholder>video:first-child:last-child {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-width: 95%;
    max-height: 95%
}

.basicLightbox__placeholder>iframe:first-child:last-child,
.basicLightbox__placeholder>video:first-child:last-child {
    pointer-events: auto
}

.basicLightbox__placeholder>img:first-child:last-child,
.basicLightbox__placeholder>video:first-child:last-child {
    width: auto;
    height: auto
}

.basicLightbox--iframe .basicLightbox__placeholder,
.basicLightbox--img .basicLightbox__placeholder,
.basicLightbox--video .basicLightbox__placeholder {
    width: 100%;
    height: 100%;
    pointer-events: none
}

.basicLightbox--visible .basicLightbox__placeholder {
    -webkit-transform: scale(1);
    transform: scale(1)
}



/* Style for the pagination button */
.basicLightbox__prevButton,
.basicLightbox__nextButton  {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  /* background-color: rgba(255, 255, 255, 0.8);  */
  border: none;
  border-radius: 50%; 
  cursor: pointer;
  outline: none;
}

.basicLightbox__nextButton {
  right: 30px;
}
.basicLightbox__prevButton {
  left: 30px; 
}


/* Arrow shape for previous button */
.basicLightbox__prevButton::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(44deg); /* Angle of the arrow */
  width: 30px; /* Adjust arrow size */
  height: 30px; /* Adjust arrow size */
  border-left: 2px solid #fff; /* Adjust arrow color and thickness */
  border-bottom: 2px solid #fff; /* Adjust arrow color and thickness */
}

/* Arrow shape for next button */
.basicLightbox__nextButton::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(46deg); /* Angle of the arrow */
  width: 30px; /* Adjust arrow size */
  height: 30px; /* Adjust arrow size */
  border-right: 2px solid #fff; /* Adjust arrow color and thickness */
  border-top: 2px solid #fff; /* Adjust arrow color and thickness */
}

@media (max-width: 780px) {

.basicLightbox__prevButton,
.basicLightbox__nextButton  {
  top: 5%;
}
}
