#buildingGallery {
  position: relative;
}
#buildingGallery.office-style .gallery-slider-area .owl-item:not(:last-of-type) {
  padding-right: 2px;
}
#buildingGallery .owl-dots {
  display: none;
}

#buildingGallery .slider-button {
  position: absolute;
  left: var(--gap-xl);
  z-index: 9;
  padding: 62px 12px;
  background: #000000ab;
  color: var(--color-white);
  font-size: var(--font-size-24);
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px;
}

#buildingGallery .slider-button.carouselNextBtn {
  right: var(--gap-xl);
  left: auto;
}

#buildingGallery .slider-button:hover {
  background: #000000e3;
}

#buildingGallery .slider-button.carouselPrevBtn.disabled {
  display: none;
}

#buildingGallery .slider-button.carouselPrevBtn .fa-chevron-left::before {
  content: "" !important;
  display: flex!important;
  font-size: 0!important;
  width: 24px!important;
  height: 24px!important;
  background-image: url('../svg/arrow-prev.svg')!important;
  background-size: cover!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
}

#buildingGallery .slider-button.carouselNextBtn .fa-chevron-right::before {
  content: "" !important;
  display: flex!important;
  font-size: 0!important;
  width: 24px!important;
  height: 24px!important;
  background-image: url('../svg/arrow-next.svg')!important;
  background-size: cover!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
}

#buildingGallery .lg-sub-html {
  text-align: left;
  max-width: 837px;
  margin: 0 auto;
}
#buildingGallery .lg-sub-html .category {
  margin-bottom: 0.5em;
}
.gallery-slider-image.two-row,
.gallery-slider-image.last {
  padding-left: 2px;
}

.gallery-slider-image.two-row {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-slider-image img {
  width: 100%;
  max-width: none;
  display: block;
  transition: transform ease-in-out 0.2s, opacity ease-in-out 300ms;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-slider-image .image-wrapper:hover img, .gallery-slider-image .image-wrapper:hover:before {
  transform: scale(1.02);
}
.gallery-slider-image .image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  width: 100%;
}
.gallery-slider-image .image-wrapper.blurWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
  background-position: center;
  position: relative;
}
.gallery-slider-image .image-wrapper.blurWrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-filter: blur(12px) contrast(0.9) brightness(1.2);
  -ms-filter: blur(12px) contrast(0.9) brightness(1.2);
  filter: blur(12px) contrast(0.9) brightness(1.2);
  background: inherit;
  transition: transform ease-in-out 0.2s, opacity ease-in-out 300ms;
}
.gallery-slider-image .image-wrapper.blurWrapper img {
  max-width: 400px;
  z-index: 1;
  height: 95%;
  width: auto;
  object-fit: contain;
}
.owl-item:last-of-type .gallery-slider-image {
  padding-left: 1px;
}
.gallery-slider-image .image-caption {
  width: 100%;
  height: 100%;
  background: #00000030;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  font-size: var(--font-size-md);
  color: var(--color-white);
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.3) 90%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.gallery-slider-image .image-caption .image-caption-title{
  font-size: 14px;
}
.gallery-slider-image .image-caption .image-caption-text{
  font-size: 16px;
  text-wrap: nowrap;
  text-overflow: ellipsis;
  overflow: clip;
  width: 80%;
}

.mobile-content .slider-caption {
  position: absolute;
  width: 100%;
  bottom: 0px;
  z-index: 9;
  padding: var(--gap-md);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: var(--gap-md);
  align-items: end;
  min-height: 10rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.52) 100%
  );
}

.mobile-content .slider-caption .slider-caption-content {
  width: 70%;
  overflow: hidden;
}

.mobile-content .slider-caption .slider-caption-content .slider-caption-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.mobile-content .slider-caption-page {
  padding: var(--gap-xs);
  background: #0000006e;
  font-size: var(--font-size-md);
}

.slider-caption-page-pc {
  position: absolute;
  background: black;
  color: white;
  bottom: 46px;
  z-index: 1;
  right: 25px;
  padding: 22px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  opacity: .7;
  border-radius: 4px;
}

#buildingGalleryModal {
  overflow-y: auto;
  background-color: #242424f0;
  z-index: 9999;
}
div#buildingGalleryModal .revamp-modal-header-nav .close {
  background: transparent;
  font-size: 26px;
}
#buildingGalleryModal .slider-button {
  position: fixed;
  left: var(--gap-xl);
  top: 0px;
  z-index: 9;
  padding: var(--gap-xxl) var(--gap-md);
  background: #000000ab;
  color: var(--color-white);
  font-size: var(--font-size-xl);
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}
#buildingGalleryModal.show .slider-button {
  display: block;
}
#buildingGalleryModal .slider-button.carouselNextBtn {
  right: var(--gap-xl);
  left: auto;
}
#buildingGalleryModal .revamp-modal-content {
  max-width: 90%;
  width: 100%;
  overflow-x: hidden;
}
#buildingGalleryModal .revamp-modal-content .revamp-modal-body {
  background: transparent;
}
.buildingGalleryModal-image {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100% !important;
  flex-direction: column;
}
.buildingGalleryModal-image img {
  max-width: 650px;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: none;
  z-index: 1;
}
.buildingGalleryModal-caption {
  color: white;
  margin-top: var(--gap-xl);
}
#buildingGalleryModal .revamp-modal-header-nav {
  position: fixed;
  top: var(--gap-xl);
  right: var(--gap-xl);
  display: none;
}
#buildingGalleryModal.show .revamp-modal-header-nav {
  display: block;
}
#buildingGalleryModal .image-wrapper,
#buildingGalleryModal .slider-caption {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
#buildingGalleryModal .image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}
#buildingGalleryModal .image-wrapper.blurWrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-filter: blur(12px) contrast(0.9) brightness(1.2);
  -ms-filter: blur(12px) contrast(0.9) brightness(1.2);
  filter: blur(12px) contrast(0.9) brightness(1.2);
  background: inherit;
  z-index: 0;
}
#buildingGalleryModal .slider-caption {
  display: flex;
  gap: var(--gap-md);
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: var(--gap-md);
  align-items: end;
  color: white;
  padding-top: 2rem;
}
#buildingGalleryModal .slider-caption-page {
  text-wrap: nowrap;
  display: flex;
  gap: var(--gap-xs);
  background: #00000070;
  padding: var(--gap-sm) var(--gap-md);
  border-radius: 4px;
  font-size: var(--font-size-xs);
}
#buildingGalleryModalThumbnails {
  position: fixed;
  width: 90%;
  left: 5%;
  bottom: 0px;
  padding: var(--gap-lg) 0rem;
  display: none;
  overflow-x: auto;
}
/* width */
#buildingGalleryModalThumbnails::-webkit-scrollbar {
  width: 12px; /* Lebar scrollbar */
}

/* Track */
#buildingGalleryModalThumbnails::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
#buildingGalleryModalThumbnails::-webkit-scrollbar-thumb {
  background-color: #333; /* Warna thumb */
  border-radius: 10px; /* Sudut melengkung */
  border: 2px solid #1a1a1a; /* Batas thumb */
}

/* Handle on hover */
#buildingGalleryModalThumbnails::-webkit-scrollbar-thumb:hover {
  background-color: #424242; /* Warna thumb */
}
#buildingGalleryModalThumbnails {
  scrollbar-width: thin; /* Lebar scrollbar */
  scrollbar-color: #333 #1a1a1a; /* Warna thumb dan track */
}
.show #buildingGalleryModalThumbnails {
  display: block;
}
#buildingGalleryModalThumbnails .buildingGalleryModal-thumbnail-wrapper {
  display: flex;
  width: auto;
  gap: var(--gap-sm);
  flex-wrap: nowrap;
}
#buildingGalleryModalThumbnails .buildingGalleryModal-thumbnail-wrapper > * {
  cursor: pointer;
  flex: 0 0 100px; /* Flex-grow: 0, flex-shrink: 0, flex-basis: 20% */
}
#buildingGalleryModalThumbnails img {
  max-width: 580px;
  width: 100% !important;
}

#buildingGalleryModalThumbnails
  .buildingGalleryModal-thumbnail-wrapper
  .buildingGalleryModal-thumbnail:first-child {
  margin-left: auto;
}

#buildingGalleryModalThumbnails
  .buildingGalleryModal-thumbnail-wrapper
  .buildingGalleryModal-thumbnail:last-child {
  margin-right: auto;
}
@media screen and (max-width: 860px) {
  .gallery-slider-image .image-wrapper {
    aspect-ratio: auto;
  }
  .gallery-slider-image .image-wrapper.blurWrapper img{
    height: auto;
    width: auto;
    max-width: none;
  }
}