/* Site overrides. Layout classes use the studio-/site- names. */

/* Before/after: keep the top image full-width inside the clip, and hide the block until both photos are ready. */
.ba-slider {
  visibility: hidden;
}

.ba-slider.is-ready {
  visibility: visible;
}

.ba-slider .resize img {
  width: 200%;
  max-width: none;
  height: auto;
}
[data-site-elfsight-mount],
[class*="elfsight-app-"] {
  min-height: 320px;
}

.google-review-fallback {
  max-width: 650px;
  margin: 0 auto;
  text-align: left;
}

.google-review-fallback__item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.google-review-fallback__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.google-review-fallback__stars {
  color: #ffb800;
  letter-spacing: 1px;
}

.google-review-fallback__text {
  margin: 0;
  line-height: 1.5;
}
.studio-page-body {
  min-height: 50vh;
}

.studio-booking-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: block;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  font-size: 14px;
  padding: 0;
}

#site-top-bar .social-icons a {
  margin: 0 6px;
}

/* Work gallery: the middle visible slide is larger than the side slides. */
.studio-addon-image-slider .image-slider.owl-loading {
  opacity: 1;
}

.studio-addon-image-slider .image-slider .owl-stage {
  height: auto !important;
}

.studio-addon-image-slider .owl-item {
  transition: width 0.25s ease, margin-top 0.25s ease, opacity 0.25s ease;
}

.studio-addon-image-slider .owl-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 992px) {
  .studio-addon-image-slider .image-slider .owl-stage {
    min-height: 420px;
  }

  .studio-addon-image-slider .owl-item.active:not(.is-center) {
    width: 160px !important;
    margin-top: 72px;
  }

  .studio-addon-image-slider .owl-item.active.is-center {
    width: 340px !important;
    margin-top: 0 !important;
    z-index: 3;
  }
}

@media (max-width: 991px) {
  .studio-addon-image-slider .image-slider .owl-stage {
    min-height: 0;
  }

  .studio-addon-image-slider .image-slider .owl-item,
  .studio-addon-image-slider .image-slider .owl-item.active,
  .studio-addon-image-slider .image-slider .owl-item.active.is-center,
  .studio-addon-image-slider .image-slider .owl-item.active.active-two,
  .studio-addon-image-slider .image-slider .owl-item.active.active-three {
    margin-top: 0 !important;
  }

  .studio-addon-image-slider .image-slider .owl-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .studio-addon-image-slider .owl-controls .owl-nav {
    text-align: center;
    margin-top: 8px;
  }

  .studio-addon-image-slider .owl-controls .owl-nav > div,
  .studio-addon-image-slider .owl-controls .owl-nav > div.owl-next {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    margin: 0 16px;
    opacity: 0.55;
  }
}
