/*
Theme Name: Wildflower Communities
Theme URI: wildflowercommunities.com
Description: The theme for WordPress. Designed with LOVE by DigitalDesign.NYC
Author: dd.nyc
Version: 1.a
*/

@media (min-width: 768px) {
  .filter-form-option:nth-child(2) .selector {
    min-width: 200rem;
  }
}

.s16-pagination {
  display: none;
}

.s12 .carousel-button.swiper-button-lock {
  display: none;
}
.s12-2 .swiper-slide:last-child .s12-3::after {
  display: none;
}

.s17-5-pad {
  display: none;
}

.tour-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100dvh;
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.tour-popup.active {
  opacity: 1;
  visibility: visible;
}
.tour-popup-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.tour-popup-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.tour-popup-bar {
  z-index: 2;
  flex-shrink: 0;
  background: var(--c0);
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px 0;
}
.tour-popup-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--c1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour-popup-close svg {
  width: 100%;
  height: 100%;
}
.tour-popup-content {
  flex: 1;
}
.calendar-buttons {
  grid-template-columns: auto;
}

@media screen and (max-width: 1023.98px) {
  .s17-5-pad {
    display: block;
  }

  .textfield-input {
    width: 100%;
  }

  .s17-15 {
    padding: 30rem 20rem;
    min-height: 90vh;
    overflow: scroll;
  }

  .tour-popup-content {
    margin-top: -1px;
  }
}

.calendar
  .day:not(.first-date-selected):not(.last-date-selected):not(.checked):hover {
  background-color: rgba(44, 44, 44, 0.1);
  border-radius: 50%;
}
.calendar:not(:has(.last-date-selected)) .first-date-selected::before {
  border-radius: 50%;
}

@media screen and (max-width: 1023.98px) {
  .s16-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
  }
  .s16-pagination .swiper-pagination-bullet {
    flex: 1;
    max-width: 45px;
    height: 2px;
    border-radius: 1px;
    background-color: var(--c2);
    opacity: 0.2;
  }
  .s16-pagination .swiper-pagination-bullet-active {
    opacity: 1;
  }
}

.wpcf7 .form-thank-you {
  display: none;
}
.wpcf7.form-success .wpcf7-form {
  display: none;
}
.wpcf7.form-success .form-thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 40rem 20rem;
  background-color: var(--c0);
  border-radius: 4rem;
}
.form-thank-you-title {
  font-size: var(--f-l);
  margin: 0;
}
.form-thank-you-text {
  font-size: var(--f-b);
}

.s14-3-2 .play-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
}

html:has(.document.loading),
html:has(#headroom.menu-opened),
html:has(.document.popup-active) {
  overflow: hidden;
}

.video-popup {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.video-popup.active {
  opacity: 1;
  visibility: visible;
}
.video-popup-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
.video-popup-inner {
  position: relative;
  z-index: 1;
  width: 80%;
}
.video-popup-close {
  position: absolute;
  left: calc(100% + 10px);
  bottom: calc(100% - 32px);
  width: max(26px, 46rem);
  height: max(26px, 46rem);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #f8f4ef;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-popup-close svg {
  width: 100%;
  height: 100%;
}
.video-popup-media {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.video-popup-media iframe,
.video-popup-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-popup-poster {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.video-popup-poster.hidden {
  display: none;
}
.video-popup-play-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: max(50px, 110rem);
  height: max(50px, 110rem);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.video-popup-play-btn:hover {
  transform: scale(1.05);
}
.video-popup-play-btn svg {
  width: 100%;
  height: 100%;
  fill: transparent;
}

@media screen and (max-width: 1023.98px) {
  .video-popup-inner {
    width: 95%;
  }
  .video-popup-close {
    left: calc(100% - 20px);
    bottom: calc(100% + 12px);
    width: 26px;
    height: 26px;
  }
  .video-popup-play-btn {
    width: 50px;
    height: 50px;
  }
}
