#image-gallery .gallery-box img {
    max-width: 100%;
    width: 100%;
    transition: all 200ms ease-in-out;
  }
  #image-gallery .gallery-box .txtBox{
     overflow: hidden;
  }

  #image-gallery .gallery-box a:hover img,
  #image-gallery .gallery-box a:focus img{
     transform: scale(1.1, 1.1);
  }

  #image-gallery .gallery-title {
    position: absolute;
    bottom: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    padding: 12px;
  }

  #image-gallery .gallery-title p {
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.5px;
    line-height: 19px;
    flex-grow: 1;
    z-index: 1;
    color: #fff;
  }

  #image-gallery .gallery-title:before {
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.76) 100%);
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    height: calc(100% + 5px);
  }

  #image-gallery .gallery-box {
    position: relative;
  }

  #image-gallery .masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-flow: row;
    column-count: 3;
    column-gap: 16px;
  }

  .gallery-box {
    break-inside: avoid;
    margin-bottom: 16px;
  }

  .gallery-box img {
    width: 100%;
    display: block;
  }

  #image-gallery .gallery-title .fa-search-plus {
    z-index: 1;
    font-size: 16px;
    padding: 12px 0 0 12px;
    color: #fff;
  }

  @media (max-width: 1200px) {
    .masonry-gallery {
      column-count: 2;
    }
  }

  @media (max-width: 768px) {
    .masonry-gallery {
      column-count: 1;
    }
    .lb-prev {
      left: 0px !important;
      color:#fff !important;
      opacity: 1 !important;
    }
    .lb-next {
      right: 0px !important;
          color:#fff !important;
      opacity: 1 !important;
    }
  }
.lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #ffffff;
  opacity: 1;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  outline: none;
  height: 100%;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

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

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


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

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

/* Common styles */
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  font-size: 36px;
  text-decoration: none;
  opacity: 0.6;
  transition: all 0.3s ease;
  z-index: 9999;
}

/* Left (Prev) Button */
.lb-prev {
  left: -65px;
}

.lb-prev::before {
  content: "\f053"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Right (Next) Button */
.lb-next {
  right: -65px;
}

.lb-next::before {
  content: "\f054"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Hover Effects */
.lb-prev:hover,
.lb-next:hover {
  opacity: 1;
  color: #000;
}


.lb-dataContainer {
  margin: 0 auto;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 30px;
}

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

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 100%;
  float: left;
  text-align: left;
  line-height: 1.1em;
  padding: 0 30px;

}

.lb-data .lb-caption p {
  font-size: 24px;
  letter-spacing: 0.5px;
  color: #000;
  font-family:'HyundaiMedium';
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: inline-flex; /* center icon nicely */
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent; /* remove background image */
  color: #000; /* icon color */
  font-size: 28px; /* icon size */
  cursor: pointer;
  position: absolute;
  top: -45px;
  right: 20px;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Add Font Awesome icon using ::before */
.lb-data .lb-close::before {
  content: "\f00d"; /* Font Awesome 'times' icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* solid style */
}

/* Hover effect */
.lb-data .lb-close:hover {
  opacity: 1;
}
.url-text{
   color: #413F40;
   font-family:"HyundaiRegular";
   font-size: 16px;
   letter-spacing: 0;
   line-height: 20px;
}

.lb-disable-scrolling {
    overflow: hidden;
}
