.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark background overlay */
  z-index: 1000;
}

.popup-content {
  display: none;
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the popup */
  padding: 20px;
  background: white;
  z-index: 99999;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-height: 80vh; 
  overflow-y:auto;
  margin-bottom:20px;
}

/* Class added by jQuery to show the popup */
.popup-overlay.active,
.popup-content.active {
  display: block;
}

.popup-content .heading{
	text-align:center;
	font-size:24px;
	margin:10px 0px;
	font-weight:700;
}

 /* Main heading as list item with bold and bigger font */
 .acs-term-box ol.main {
    list-style: decimal;
    font-weight: bold;
    font-size: 18px;
    padding-left: 0;
	margin: 20px 20px; 
  }

 .acs-term-box ol.main > li {
    margin-bottom: 10px;
  }

  /* Nested ordered list for 1.1, 1.2 etc */
 .acs-term-box ol.sub {
    list-style: decimal;
    margin-left: 20px;
    font-weight: normal;
    font-size: 14px;
    padding-left: 20px;
  }

  /* Bullet list inside sub-list */
 .acs-term-box ul.bullets {
    margin-left: 40px;
    padding-left: 20px;
  }

  /* Make sure nested items have proper spacing */
.acs-term-box ol.sub > li {
    margin-bottom: 10px;
  }

 .acs-term-box ul.bullets > li {
    margin-bottom: 6px;
	 list-style-type:disc !important;
  }







:root {
  --lightbox: rgb(0 0 0 / 0.75);
  --carousel-text: #fff;
}

.gallery-item {
  display: block;
}

.lightbox-content img {
    object-fit: contain;
    max-height: 90vh;
    width: 100%;
}

.gallery-item img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s;
}

.gallery-item:hover img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.35);
}

.carousel button:hover, .carousel button:focus{
  background:none !important;
}

.lightbox-modal .modal-content {
  background-color: var(--lightbox);
}

.lightbox-modal .btn-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.25rem;
  z-index: 10;
  filter: invert(1) grayscale(100);
}

.lightbox-modal .modal-body {
  display: flex;
  align-items: center;
  padding: 0;
}

.lightbox-modal .lightbox-content {
  width: 100%;
}

.lightbox-modal .carousel-indicators {
  margin-bottom: 0;
}

.lightbox-modal .carousel-indicators [data-bs-target] {
  background-color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-inner {
  width: 75%;
}

.lightbox-modal .carousel-item .carousel-caption {
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: 2rem;
  background-color: var(--lightbox);
  color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-control-prev,
.lightbox-modal .carousel-control-next {
  width: auto;
}

.lightbox-modal .carousel-control-prev {
  left: 1.25rem;
}

.lightbox-modal .carousel-control-next {
  right: 1.25rem;
}

@media (min-width: 1400px) {
  .lightbox-modal .carousel-inner {
    max-width: 60%;
  }
}

[data-bs-theme=dark] .lightbox-modal {
  --bs-carousel-control-icon-filter: none;
}

.btn-fullscreen-enlarge,
.btn-fullscreen-exit {
  position: absolute;
  top: 1.25rem;
  right: 3.5rem;
  z-index: 10;
  border: 0;
  background: transparent;
  opacity: .6;
  font-size: 1.25rem;
}

.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.035em;
  fill: currentcolor;
}
