video.item-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 100 !important;
  position: absolute !important;
}

.decorview-modal .modal-content,
.virtual-tour-modal .modal-content {
  background-color: transparent !important;
  border: none !important;
}

.decorview-modal .modal-content {
  width: 100% !important;
  position: relative;
  overflow: visible;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity .2s ease, transform .2s ease;
}

.decorview-modal.decorview-modal-ready .modal-content {
  opacity: 1;
  transform: scale(1);
}

.decorview-modal .modal-body,
.virtual-tour-modal .modal-body {
  height: 75vh !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decorview-modal .modal-header,
.virtual-tour-modal .modal-header {
  border-bottom: 0px;
}

.decorview-modal .modal-header {
  position: absolute;
  top: 8px;
  right: calc(50% - (var(--decorview-modal-content-width, 0px) / 2) + 8px);
  left: auto;
  z-index: 10;
  padding: 0;
  width: auto;
  pointer-events: none;
}

.decorview-modal .modal-title {
  display: none;
}

.decorview-modal .modal-header .close {
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgb(0 0 0 / 38%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  text-shadow: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.decorview-modal .modal-header .close:hover,
.decorview-modal .modal-header .close:focus {
  background: rgb(0 0 0 / 48%);
  box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
  outline: none;
}

.decorview-modal .modal-header .close span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .decorview-modal .modal-header {
    right: calc(50% - (var(--decorview-modal-content-width, 0px) / 2) + 1px);
    top: 6px;
  }
}

.decorview-modal button.close span,
.virtual-tour-modal button.close span {
  color: white !important;
  font-size: 28px !important;
  font-weight: normal !important;
}

.virtual-tour-modal iframe {
  border-width: 0px;
}

.external-iframe {
  width: 100% !important;
  height: 100% !important;
  /* this line has been commented out because on iphone devices the 3D video of the assets was not rendered
  object-fit: cover !important;*/
  z-index: 100 !important;
  position: absolute;
}

.over-iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 100;
}

.decorview-modal .modal-xl {
  justify-content: center;
  width: 92vw;
  max-width: 92vw !important;
  margin: 1rem auto !important;
}

.modal-xl {
  max-width: 95vw !important;
}

.beforeAfter img {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.beforeAfter.decorview-fade {
  opacity: 0;
  transition: opacity .25s ease;
}

.beforeAfter.decorview-fade.decorview-ready {
  opacity: 1;
}

.listing-block .beforeAfter.decorview-custom,
.decorview-modal .beforeAfter.decorview-custom {
  --decorview-position: 50%;
  position: relative;
  overflow: hidden;
}

.decorview-modal .beforeAfter.decorview-custom {
  max-width: 100%;
  background-color: #111;
}

.decorview-modal .beforeAfter.decorview-custom img.decorview-a,
.decorview-modal .beforeAfter.decorview-custom img.decorview-b {
  object-fit: contain !important;
  object-position: center center !important;
}

.listing-block .beforeAfter.decorview-custom img.decorview-a,
.listing-block .beforeAfter.decorview-custom img.decorview-b,
.decorview-modal .beforeAfter.decorview-custom img.decorview-a,
.decorview-modal .beforeAfter.decorview-custom img.decorview-b {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

.listing-block .beforeAfter.decorview-custom img.decorview-a,
.decorview-modal .beforeAfter.decorview-custom img.decorview-a {
  z-index: 1;
}

.listing-block .beforeAfter.decorview-custom img.decorview-b,
.decorview-modal .beforeAfter.decorview-custom img.decorview-b {
  z-index: 2;
  clip-path: inset(0 0 0 var(--decorview-position));
  -webkit-clip-path: inset(0 0 0 var(--decorview-position));
}

.listing-block .beforeAfter.decorview-custom .decorview-separator,
.decorview-modal .beforeAfter.decorview-custom .decorview-separator {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--decorview-position);
  width: 2px;
  transform: translateX(-50%);
  background-color: #fff;
  z-index: 3;
  cursor: ew-resize;
}

.listing-block .beforeAfter.decorview-custom .decorview-handle,
.decorview-modal .beforeAfter.decorview-custom .decorview-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
}

.listing-block .beforeAfter.decorview-custom .decorview-arrow,
.decorview-modal .beforeAfter.decorview-custom .decorview-arrow {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-top: 2px solid #333;
}

.listing-block .beforeAfter.decorview-custom .decorview-arrow-left,
.decorview-modal .beforeAfter.decorview-custom .decorview-arrow-left {
  border-left: 2px solid #333;
  transform: rotate(-45deg);
}

.listing-block .beforeAfter.decorview-custom .decorview-arrow-right,
.decorview-modal .beforeAfter.decorview-custom .decorview-arrow-right {
  border-right: 2px solid #333;
  transform: rotate(45deg);
}

.decorview-a,
.decorview-b {
  object-position: center center !important;
}

.beforeAfter div:nth-child(3) {
  min-width: 5px !important;
}

.beforeAfter div:nth-child(3)>div>div {
  width: 40px !important;
  height: 40px !important;
}

.beforeAfter div:nth-child(3)>div>div>i {
  margin-top: 16px;
}

.gallery .owl-carousel .owl-nav>div {
  top: 50% !important;
}

.btn-diglo {
  background: #aee4b5 !important;
  color: #004b7a !important;
}

.btn-diglo:hover {
  color: #aee4b5 !important;
  background: #004b7a !important;
}

.gallery-counter {
  font-size: 1rem;
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

  .decorview-modal .modal-xl {
    width: 80vw;
    max-width: 80vw !important;
  }

  .modal-xl {
    max-width: 80vw !important;
  }

  .gallery .owl-carousel .owl-nav>div {
    top: 50% !important;
  }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  .gallery .owl-carousel .owl-nav>div {
    top: 50% !important;
  }
}

/* X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}

/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {}
