@media (min-width: 992px) {
  .utility-nav .container {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
  }
  .utility-nav .container ul.social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
  }
}
ul.navbar-nav li.nav-item:last-of-type a, ul.navbar-nav li.nav-item:last-of-type a:visited {
  background-color: transparent;
  color: #000;
}
ul.navbar-nav li.nav-item:last-of-type > a.nav-link {
  background-color: #fdb714;
  color: #fff !important;
}
ul.navbar-nav li.nav-item:last-of-type > a.nav-link:hover {
  background-color: #08194f;
  color: #fff !important;
}
ul.navbar-nav li.nav-item:last-of-type .dropdown-menu a {
  letter-spacing: 1px !important;
  -webkit-box-pack: start !important;
      -ms-flex-pack: start !important;
          justify-content: flex-start !important;
  -webkit-transition: none;
  transition: none;
  border-radius: 0% !important;
}
@media (min-width: 992px) {
  ul.navbar-nav li.nav-item.show:last-of-type .dropdown-menu, ul.navbar-nav li.nav-item:last-of-type .dropdown-menu {
    left: -70%;
    -webkit-transition: none;
    transition: none;
    -webkit-transform: none;
            transform: none;
  }
}
@media screen and (min-width: 992px) and (max-width: 1099px) {
  ul.navbar-nav li.nav-item {
    margin-left: 1rem !important;
  }
  ul.navbar-nav li.nav-item a.nav-link, ul.navbar-nav li.nav-item a.nav-link:visited {
    font-size: 15px;
  }
}

/* Main container */
#custom-gallery-container {
  margin: auto;
  padding: 10px;
  max-width: 1200px;
  font-family: Montserrat, sans-serif;
}

.main-image {
  position: relative;
  min-height: 300px;
  margin-bottom: 15px;
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background-color: #215d0c;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 10px;
  color: #fff;
}

.nav-arrow.left {
  left: -20px;
}

.nav-arrow.right {
  right: -20px;
}

.nav-arrow.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.image-caption {
  text-align: left;
  margin-top: 8px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: normal;
  min-height: 1.5em;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Thumbnails horizontal scroll */
.thumbnail-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  padding: 15px 10px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.thumbnail-container {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 160px;
  position: relative;
}

.thumbnail-container img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: border 0.2s, -webkit-transform 0.2s;
  transition: border 0.2s, -webkit-transform 0.2s;
  transition: transform 0.2s, border 0.2s;
  transition: transform 0.2s, border 0.2s, -webkit-transform 0.2s;
}

.thumbnail-container img:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  border: 3px solid #8CFF7B;
}

.thumbnail-container.selected img {
  border: 3px solid #8CFF7B;
}

.thumbnail-container.selected .thumbnail-caption {
  margin: 0 3px 3px;
}

.thumbnail-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 2px 4px;
  border-radius: 3px;
}

.viewAllBtnContainer {
  width: 100%;
  margin: 15px 0 15px;
  text-align: center;
}

#viewAllBtn {
  background-color: #F37321;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
}

/* Lightbox */
#lightboxOverlay {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 90%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.lightbox-content {
  background: #222;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.lightbox-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.lightbox-grid img {
  width: 160px;
  height: 160px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.lightbox-grid img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

@media (max-width: 767px) {
  .nav-arrow {
    font-size: 18px;
    padding: 6px 10px;
    top: 50%; /* vertical center */
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%); /* shift up by half height */
  }
  #custom-gallery-container .thumbnail-container {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    width: auto;
    position: relative;
  }
}
@media (min-width: 768px) {
  #lightboxOverlay #lightboxGrid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr;
    grid-template-columns: repeat(6, 1fr); /* 6 equal columns */
    gap: 10px; /* Optional: space between columns */
  }
  #lightboxOverlay .lightbox-content {
    padding: 30px 50px;
  }
}
#custom-gallery-container {
  /* Positioning */
  /* Disabled state */
  /* Disabled state */
}
#custom-gallery-container .nav-arrow {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background-color: #215d0c; /* Earthy green */
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 10px;
  color: #fff;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#custom-gallery-container .nav-arrow.left {
  left: -20px;
}
#custom-gallery-container .nav-arrow.right {
  right: -20px;
}
#custom-gallery-container .nav-arrow.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
#custom-gallery-container .nav-arrow:active:not(.disabled) {
  color: #8CFF7B; /* Bright green text */
  -webkit-box-shadow: 0 0 12px #8CFF7B;
          box-shadow: 0 0 12px #8CFF7B; /* Glow using #8CFF7B */
  -webkit-transform: translateY(-50%) scale(0.95);
          transform: translateY(-50%) scale(0.95); /* Slight press effect */
  -webkit-box-shadow: 0 2px 10px #8CFF7B, 0 0 16px #8CFF7B;
          box-shadow: 0 2px 10px #8CFF7B, 0 0 16px #8CFF7B;
}
#custom-gallery-container .nav-arrow:hover:not(.disabled) {
  color: #8CFF7B;
  -webkit-box-shadow: 0 2px 10px #8CFF7B;
          box-shadow: 0 2px 10px #8CFF7B;
}
#custom-gallery-container .thumbnail-nav-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  position: relative;
}
#custom-gallery-container .thumbnail-scroll-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: auto;
  overflow: hidden;
  scroll-behavior: smooth;
  max-width: 100%;
  gap: 20px;
}
#custom-gallery-container .thumb-prev-button,
#custom-gallery-container .thumb-next-button {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: #215d0c;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 10px;
  color: #fff;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#custom-gallery-container .thumb-prev-button {
  left: -20px;
}
#custom-gallery-container .thumb-next-button {
  right: -20px;
}
#custom-gallery-container .thumb-arrow.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
#custom-gallery-container .thumb-arrow:active:not(.disabled) {
  color: #8CFF7B; /* Bright green text */
  -webkit-box-shadow: 0 0 12px #8CFF7B;
          box-shadow: 0 0 12px #8CFF7B; /* Glow using #8CFF7B */
  -webkit-transform: translateY(-50%) scale(0.95);
          transform: translateY(-50%) scale(0.95); /* Slight press effect */
  -webkit-box-shadow: 0 2px 10px #8CFF7B, 0 0 16px #8CFF7B;
          box-shadow: 0 2px 10px #8CFF7B, 0 0 16px #8CFF7B;
}
#custom-gallery-container .thumb-arrow:hover:not(.disabled) {
  color: #8CFF7B;
  -webkit-box-shadow: 0 2px 10px #8CFF7B;
          box-shadow: 0 2px 10px #8CFF7B;
}

#thumbnailGrid .thumbnail-container {
  margin: 6px;
}

table td a {
  color: #007bff;
}
#news-loop-carousel{
  //background-color: #fff !important;
}
#news-loop-carousel >.elementor-container{
margin:0;
}

#news-loop-carousel-container  .swiper-slide.e-loop-item{
	  background-color: #fff !important;
	border-radius:8px !important;
}
