.gallery-lightbox__popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    z-index: 20;
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    padding: 15px 41px 42px; /* 20px */

    /* Hiding by default */
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease-in-out;
  }

  /* Showing popup when active class is added */
  .gallery-lightbox__popup.active {
    opacity: 1;
    visibility: visible;
  }

  .gallery-lightbox__popup--options {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 2rem;
  }

  .gallery-lightbox__popup--options a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 2.5rem;
    margin-right: 2rem;
  }

  .gallery-lightbox__popup--options a:last-child {
    margin-right: 0;
  }

  /* For option buttons (zoom in and zoom out) */
  .disabled {
    pointer-events: none;
    opacity: 0.2;
  }

  /* Holds the full image */
.gallery-lightbox__popup--content .fullview {
    transition: all 0.3s ease-in-out;
    /*padding-top: 77px;*/
    padding-right: 25px;
}

  /* Fullscreen */
  .gallery-lightbox__popup--content.fullscreen .fullview {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  /* Arrows */
  .gallery-lightbox__popup--navigation {
    margin: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 40%;
  }

  button.arrow {
    color: rgb(174 166 186);
    padding: 0.8rem;
    font-size: 2.1rem;
    cursor: pointer;
    border-radius: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px;
    background: unset;
    font-weight: 100;
  }
  .arrow--left {
  margin-left: -28px;
  }

  button.arrow.arrow--right {
    margin-right: 50px;
  }

  .gallery-lightbox__popup.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    padding-right: 69px;
    background: white;
  }

/* Styling the scrollbar for WebKit browsers (Chrome, Safari) */
.popup-description .description::-webkit-scrollbar {
    width: 6px; /* Slim scrollbar */
}

/* Track of the scrollbar */
.popup-description .description::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background color of the scrollbar track */
    margin-left: 5px; /* Adds space on the left side */
}

/* Handle (thumb) of the scrollbar */
.popup-description .description::-webkit-scrollbar-thumb {
    background-color: #d1d3d6; /* Scrollbar color */
    border-radius: 10px; /* Rounded edges for the scrollbar handle */
    border: 2px solid transparent; /* Optional: adds some padding around the handle */
}

/* Handle on hover */
.popup-description .description::-webkit-scrollbar-thumb:hover {
    background-color: #b3b5b8;
}

/* For Firefox */
.popup-description .description {
    scrollbar-width: thin; /* Makes the scrollbar thinner */
    scrollbar-color: #d1d3d6 #f1f1f1; /* Thumb color #d1d3d6 and track color #f1f1f1 */
    padding-left: 5px;
}

/* General styles */
.popup-description {
    /*display: flex;*/
    align-items: end;
    overflow-y: auto;
    height: 541px;
    padding-top: 73px;
    width: 450px;
    margin-right: -6px;
}

.popup-description .description {
    text-align: justify;
    font-size: 1.2rem;
    max-height: 100% !important;
    overflow-y: scroll;
    position: relative;
    padding-left: 5px; /* Adds space inside the content on the left side */
}


.popup-description .description {
    text-align: justify;
    font-size: 1.2rem;
    max-height: 100% !important;
    overflow-y: scroll;
    position: relative;
}


.gallery-lightbox__popup--content {
    width: 100%;
    display: flex;
    justify-content: end;
    /*grid-template-columns: 15% 47% 23%;*/
    /*gap: 40px;*/
    margin-top: 58px;
  }
.w-400{
    min-width: 463px;
    max-width: 463px;
    width: auto;
}
.mt-0{
    margin-top: 0px;
}
  .popup-description .description {
    text-align: justify;
  }
  .popup-description .description {
    font-size: 1.2rem;
    max-height: 100% !important;
    overflow-y: scroll;
    position: relative;
  }



  .fullview {
  text-align: right;
  }
  .fullview img {
    object-fit: cover;
    max-width: 100%;
    height: 460px;
    /*margin-right: -120px;*/
    position: relative;
    left: 45px;
  }
  .close-btn {
    position: absolute;
    top: 30px;
    right: 11px;
    color: rgb(166, 166, 166);
    font-size: 1.7rem;
    cursor: pointer;
    border-radius: 0.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px;
    width: 50px;
    height: 50px;
    background: transparent;
  }

  p.caption-text {
    font-size: 16px;
    overflow: auto;
    padding: 0px;
      padding-left:10px ;
      padding-right:10px ;
}
.close-btn span {
    width: 35px;
    height: 15px;
    background: rgb(151, 151, 151);
    border-radius: 3px;
}

.close-btn span:first-child {
    transform: rotate(45deg);
    margin-right: -35px;
}

.close-btn span:last-child {
    transform: rotate(-45deg);
}

.pop_grid_1 {
    max-width: 468px;
    height: auto;
}

/*scroolbar start */
.text-bottom0{
    /*display: flex;*/
    align-items: flex-end;
}
.text-bottom0-mb-0{
    margin-bottom: 0px;
    text-align: justify;
}
.scrollbar2{
    height: 600px;
    overflow-y: scroll;
    /*padding: 0px;*/
    padding-left: 50px;
    /*margin-top: 30px;*/
    display: grid;
    vertical-align: bottom;
    margin-right: 20px;

}
#preview_image_text{
    height: 460px;
    padding-right: 15px;
    margin-right: 0;
}
.scrollbar2::-webkit-scrollbar{
    width: 7px;
    background-color: #fff;
}
.scrollbar2:hover::-webkit-scrollbar{
    width: 7px;
    background-color: #fff;
}
.scrollbar2::-webkit-scrollbar-thumb{
    background-color: #FFFFFF;
    border: 2px solid #ffff;
}
.scrollbar2:hover::-webkit-scrollbar-thumb{
    background-color: #b3b5b86b;
    border: 2px solid #ffff;
}
/*end */

@media (max-width: 1880px){
    .gallery-lightbox__popup--content {
        grid-template: repeat(1, 1fr)/repeat(3, 1fr);
    }
    .popup-description {
        width: 100%;
    }
    .popup-description .description {
        width: 100%;
    }
    p.caption-text {
        width: 100%;
    }
    .gallery-lightbox__popup--content .fullview {
        min-width: 496px;
    }
}
@media(max-width: 1500px) {
    /*.gallery-lightbox__popup--content {*/
    /*    grid-template-columns: 0% 71% 26%;*/
    /*}*/
}

@media(max-width: 1200px) {
    button.close-btn {
        z-index: 99;
        top: 95px;
        right: 13px;
    }
    .gallery-lightbox__popup--navigation {
        left: 0px;
    }
    button.arrow.arrow--right {
        margin-right: 0px ;
    }
}

@media(max-width: 992px) {
    .gallery-lightbox__popup--content {
        grid-template-columns: 1% 50% 45%;
    }
    .gallery-lightbox__popup .fullview {
        min-width: 100% !important;
    }

    .gallery-lightbox__popup .fullview img {margin-right: 0px;}

    .gallery-lightbox__popup button.arrow.arrow--left {
        left: 31px;
    }

    .gallery-lightbox__popup .popup-description {
        width: 100%;
        padding-top: 22px !important;
        height: unset;
    }
    .w-400{
        min-width: unset;
        max-width: unset;
    }
    .gallery-lightbox__popup--content{
        flex-direction: column;
    }
    .gallery-lightbox__popup--content .fullview{
        text-align: start;
        margin-top: 25px;
    }
}

@media(max-width: 700px) {
    .gallery-lightbox__popup--content {
        grid-template-columns: 1% 50% 45%;
        grid: unset;
        height: unset;
        overflow: auto;
        overflow-y: scroll;
        display: unset;
    }
    .popup-description .description {
        max-height: unset !important;
        height: unset !important;
        padding-right: 13px;
        display: unset;
        padding-top: 0px !important;
        overflow: unset !important;
        padding-left: 13px;
    }

    .gallery-lightbox__popup.active {
        height: unset;
        position: absolute;
        padding-right: 0px;
        padding-left: 0px;
    }
    button.arrow {
        position: fixed;
    }

    button.arrow.arrow--left {
        top: 50%;
        left: 10px;
    }

    button.arrow.arrow--left {
        display:none;
    }

    button.arrow.arrow--right {
        display:none;
    }


    button.arrow.arrow--right {
        right: 10px;
        margin: unset;
        top: 50%;
    }
    .close-btn {
        position: fixed;
    }
    .gallery-lightbox__popup .fullview img {
        width: 100%;
        object-fit: unset;
        height: auto;
    }
    .home-banner img {
        max-width: 100%;
        height: auto;
    }

    .home-banner {
        margin-left: 0px;
        margin-top: 33px;
    }
}

/*
Extra CSS
*/
.fullview {
  transition: transform 0.3s ease;
}
button.arrow i {
    color: #cfcece80;
}

.close-btn i.fa.fa-xmark {
    color: #cfcece80;
}
@media(max-width: 560px) {
    button.close-btn {
        z-index: 99;
        top: 121px;
        right: 13px;
    }
}
