@layer reset, tokens, base, layout, components, utilities;
@layer tokens {
  :root {
    --color-brand: #d2232a;
    --color-brand-alt: #f7941d;
    --color-black: #000;
    --color-white: #fff;
    --color-text-muted: #6b6b6b;
    --color-text-body: #333;
    --color-border-soft: #e8e8e8;
    --shadow-card:
      0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    --radius-xs: 2px;
  }
}
@layer base {
  a {
    color: var(--color-brand);
  }
  a:hover {
    color: var(--color-black);
  }
}
.innerHero {
  background-image: url("../images/hero.jpg");
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.barrie-238-rainwater-homepage .hero-slider {
  position: relative;
  min-height: 100vh;
}

.barrie-238-rainwater-homepage .hero-slider .urban-townhome {
  position: absolute;
  bottom: 0;
  left: 0;
  right: unset;
}

.sectionHeading {
  border-top: none;
  padding-top: 0;
  text-align: start;
}

#georgian-section .border {
  display: none;
}

#defaultCarousel .carousel-indicators li {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  margin: 5px;
}

#defaultCarousel .carousel-indicators .active {
  background-color: #e22b28;
}

.contactMap {
  margin: 0;
  height: 500px;
}

.virtual-bar {
  z-index: 9;
  left: 33%;
  top: 41%;
}

hr.grey {
  background-color: #53626f;
  height: 1px !important;
}

hr.black {
  background-color: #424f5c;
  height: 1px !important;
}

.activeNav {
  color: var(--color-brand-alt);
}

.nav-link:focus,
.nav-link:hover {
  color: var(--color-brand-alt);
}

.img-plus {
  position: absolute;
  right: 0;
  bottom: 33px;
}

.img-wrapper {
  position: relative;
}

.customButton {
  font-size: 16px;
  font-weight: 400;
}

.pdfDownload {
  border-bottom: 1px solid var(--color-brand-alt);
  padding: 10px 15px;
  font-size: 14.5px;
  color: var(--color-black);
}

#projectNav {
  margin-top: 7px;
  border-top: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
}

#projectNav .nav-link {
  color: var(--color-black);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 10px;
}

#projectNav .navbar-brand .img-fluid {
  max-height: 50px;
}

.poppins-light {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 300;
}

.lh-35 {
  line-height: 35px;
}

.vimeo-wrapper {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 70vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.fullHero {
  background-position: center;
  background-size: cover;
}

.vimeo-wrapper iframe,
.vimeo-wrapper video {
  width: 100vw;
  height: 56.25vw;
  min-height: 70vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fullHero .showMoreButton {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 20px;
  z-index: 99;
}

.homeName {
  font-size: 45px;
  letter-spacing: 1px;
  font-weight: 800;
}

.model {
  position: relative;
}

.model::before {
  position: absolute;
  content: "";
  height: 3px;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 5%;
  width: 45%;
  background: #f7941e;
}

.floorplan-height {
  box-shadow: var(--shadow-card);
  height: 650px;
}

@media screen and (max-width: 87.5em) {
  #projectNav .nav-link {
    font-size: 13px;
  }
}
@media screen and (max-width: 62em) {
  #accordionFloorplans .accordion-button,
  #accordionFloorplans .accordion-body {
    padding: 20px 20px;
  }
  .house-name {
    padding: 0.2rem;
  }
  .img-unit {
    height: auto;
  }
  .floorplan-height {
    height: auto;
    width: 350px;
    margin: 0 auto;
  }
}
.text-brand-nav {
  color: #d2232a !important;
}

@media screen and (max-width: 62em) {
  .text-brand-nav {
    color: #fff !important;
  }
}
@media screen and (max-width: 47.9375em) {
  /* .floorplan-height{width: 250px;} */
  .barrie-238-rainwater-homepage .scroll-gallery {
    height: auto;
  }
}
.floorplans-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  align-items: center;
  flex-wrap: wrap;
}

@media screen and (min-width: 48em) {
  .floorplans-wrapper {
    flex-direction: row;
    align-items: start;
    justify-content: center;
  }
}
@media screen and (min-width: 61.9375em) {
  .floorplans-wrapper {
    justify-content: space-between;
    gap: 50px;
  }
  .floorplans-wrapper .floorplan-height {
    max-width: 400px;
  }
}
@media screen and (min-width: 75em) {
  .floorplans-wrapper {
    justify-content: center;
  }
  .floorplans-wrapper .floorplan-height {
    max-width: 400px;
  }
}
.model-homes-page .heading img {
  height: 90vh;
  min-height: 800px;
  object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 43.75em) {
  .model-homes-page .heading img {
    min-height: unset;
    height: 70vh;
  }
}
.model-homes-page .heading .container-fluid {
  position: relative;
  padding-bottom: 150px;
}

@media screen and (max-width: 43.75em) {
  .model-homes-page .heading .container-fluid {
    padding-bottom: 0px;
  }
}
.model-homes-page .heading .text {
  padding: 20px 30px;
  background-color: #fff;
  position: absolute;
  left: 10%;
  bottom: 0;
  max-width: 800px;
}

.model-homes-page .heading .text h1 {
  font-size: 80px;
}

.model-homes-page .heading .text .sub {
  font-size: 25px;
  line-height: 25px;
}

.model-homes-page .heading .text .para {
  font-size: 18px;
}

@media screen and (max-width: 64em) {
  .model-homes-page .heading .text {
    left: 5%;
    max-width: 90%;
  }
  .model-homes-page .heading .text h1 {
    font-size: 50px;
  }
  .model-homes-page .heading .text .sub {
    font-size: 20px;
    line-height: 20px;
  }
  .model-homes-page .heading .text .para {
    font-size: 16px;
  }
}
@media screen and (max-width: 43.75em) {
  .model-homes-page .heading .text {
    padding: 10px 15px;
    left: 5%;
    max-width: 90%;
    position: relative;
    margin-top: -60px;
  }
  .model-homes-page .heading .text h1 {
    font-size: 30px;
  }
  .model-homes-page .heading .text .sub {
    font-size: 18px;
    line-height: 18px;
  }
  .model-homes-page .heading .text .para {
    font-size: 16px;
  }
}
.model-homes-page .gallery {
  padding-top: 50px;
}

.model-homes-page .gallery .container-fluid {
  max-width: 80%;
}

@media screen and (max-width: 64em) {
  .model-homes-page .gallery .container-fluid {
    max-width: 90%;
  }
}
@media screen and (max-width: 43.75em) {
  .model-homes-page .gallery .container-fluid {
    max-width: 100%;
  }
}
.model-homes-page .video {
  max-width: 80%;
}

.model-homes-page .model-home-item--sold .accordion-button {
  background-color: #f3f3f3;
  color: #7a7a7a !important;
  cursor: not-allowed;
}

.model-homes-page .model-home-item--sold .accordion-button h2 {
  color: inherit;
}

.model-homes-page .model-home-item--sold .accordion-button::after {
  opacity: 0.4;
}

.model-homes-page .model-home-collapse--sold .accordion-body {
  display: none;
}

@media screen and (max-width: 64em) {
  .model-homes-page .video {
    max-width: 90%;
  }
  .model-homes-page .video iframe {
    height: 500px;
  }
}
@media screen and (max-width: 43.75em) {
  .model-homes-page .video {
    max-width: 100%;
  }
}
.video-carousel {
  background-color: var(--color-black);
  padding: 3rem 5rem;
  margin-bottom: 2rem;
}

.video-carousel .carousel-control-next,
.video-carousel .carousel-control-prev {
  width: 5%;
}

.video-carousel .carousel-control-next .span,
.video-carousel .carousel-control-prev .span {
  opacity: 1 !important;
}

.video-carousel .video-container video {
  height: 300px;
  max-height: 300px;
  object-fit: contain;
}

@layer components {
  .barrie-floorplan-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .barrie-floorplan-card--listing .barrie-floorplan-card__body {
    color: var(--color-black);
  }
  .barrie-floorplan-card--listing .house-name {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    line-height: 1;
  }
  .barrie-floorplan-lot-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: var(--color-white);
    background-color: var(--color-brand);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xs);
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  }
  .barrie-floorplan-sold-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    padding: 0.35rem 0.65rem;
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xs);
    pointer-events: none;
  }
  @media screen and (max-width: 36em) {
    .barrie-floorplan-lot-badge {
      top: 0.5rem;
      right: 0.5rem;
      padding: 0.3rem 0.55rem;
      font-size: 0.7rem;
    }
    .barrie-floorplan-sold-badge {
      top: 0.5rem;
      left: 0.5rem;
      padding: 0.3rem 0.55rem;
      font-size: 0.7rem;
    }
  }
  .barrie-floorplan-listing-facts {
    margin: 0;
  }
  .barrie-floorplan-listing-row {
    display: grid;
    grid-template-columns: minmax(5.5rem, 32%) 1fr;
    gap: 0.35rem 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-soft);
    align-items: start;
  }
  .barrie-floorplan-listing-row:first-of-type {
    padding-top: 0;
  }
  .barrie-floorplan-listing-desc {
    line-height: 1.5;
    font-size: 1rem;
    color: var(--color-text-body);
    font-family: "Open Sans", Arial, sans-serif;
  }
  .barrie-floorplan-listing-label {
    margin: 0;
    font-family: "Integral CF Extra", Arial, sans-serif;
    font-size: clamp(0.72rem, 1.2vw, 0.88rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    line-height: 1.3;
    padding-top: 0.15rem;
  }
  .barrie-floorplan-listing-value {
    margin: 0;
    font-size: clamp(1.15rem, 2.1vw, 1.45rem);
    line-height: 1.3;
  }
  .barrie-floorplan-card--listing .price,
  .barrie-floorplan-card--listing .price-old,
  .barrie-floorplan-card--listing .price-new {
    font-size: inherit;
  }
  .barrie-floorplan-card--listing .price-old {
    font-size: clamp(1rem, 1.8vw, 1.25rem) !important;
  }
  .barrie-floorplan-card--listing .price-new,
  .barrie-floorplan-card--listing .price:not(.price-old) {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem) !important;
  }
  @media screen and (max-width: 23.75em) {
    .barrie-floorplan-listing-row {
      grid-template-columns: 1fr;
      gap: 0.2rem;
    }
  }
  .barrie-floorplan-card a {
    color: var(--color-black);
  }
  .barrie-floorplan-card .price-old {
    color: var(--color-text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    margin-bottom: 2px;
  }
  .barrie-floorplan-card .price-new {
    color: var(--color-brand);
    line-height: 1.1;
  }
  .barrie-floorplan-card .house-link {
    padding: 1rem;
    background-color: var(--color-black);
    color: var(--color-white) !important;
    display: block;
    text-align: center;
    box-sizing: border-box;
    font-size: clamp(1.05rem, 1.15vw, 1.65rem);
  }
  .barrie-floorplan-card .red-btn {
    padding: 0.6rem 0.45rem;
    font-size: clamp(0.56rem, 0.72vw, 0.86rem);
    background-color: var(--color-brand);
    color: var(--color-white);
    font-family: "Integral CF Extra", Arial, sans-serif;
    width: 100%;
  }
  .barrie-floorplan-card .red-btn .cta-btn__text {
    color: var(--color-white);
  }
  .barrie-floorplan-card .black-btn {
    padding: 0.6rem 0.45rem;
    font-size: clamp(0.56rem, 0.72vw, 0.86rem);
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: "Integral CF Extra", Arial, sans-serif;
    width: 100%;
  }
  .barrie-floorplan-card .black-btn .cta-btn__text {
    color: var(--color-white);
  }
  .barrie-floorplan-card .photo-video-btns {
    flex-direction: row;
    padding-top: 0.75rem;
    flex-wrap: nowrap;
  }
  .barrie-floorplan-card .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    min-height: 2.35rem;
    flex: 1 1 0;
    min-width: 0;
  }
  .barrie-floorplan-card .cta-btn__text {
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .barrie-floorplan-card .cta-btn--features .cta-btn__text {
    letter-spacing: 0.015em;
  }
  @media screen and (max-width: 87.4375em) {
    .barrie-floorplan-card .red-btn,
    .barrie-floorplan-card .black-btn {
      font-size: 0.58rem;
      padding: 0.56rem 0.38rem;
    }
  }
  @media screen and (max-width: 74.9375em) {
    .barrie-floorplan-card .red-btn,
    .barrie-floorplan-card .black-btn {
      font-size: 0.54rem;
      padding: 0.52rem 0.34rem;
    }
  }
  .barrie-floorplan-card .red-btn:hover {
    background-color: var(--color-black);
    color: var(--color-brand);
    cursor: pointer;
  }
  .barrie-floorplan-card .black-btn:hover {
    background-color: var(--color-brand);
    color: var(--color-white);
    cursor: pointer;
  }
  .barrie-floorplan-card .house-link:hover {
    background-color: var(--color-brand);
    cursor: pointer;
  }
  .barrie-floorplan-card .house-link:hover span {
    color: var(--color-black);
  }
  .barrie-floorplan-card .house-link span {
    color: var(--color-brand);
    padding: 0 4px;
  }
  .barrie-floorplan-card--sold .p-3 {
    background-color: #f8f8f8;
  }
  .barrie-floorplan-card--sold .barrie-floorplan-card__body {
    color: var(--color-text-muted);
  }
  .barrie-floorplan-card--sold .barrie-floorplan-card__body .img-fluid {
    filter: grayscale(1);
    opacity: 0.75;
  }
  .barrie-floorplan-card--sold .house-name,
  .barrie-floorplan-card--sold .price-new,
  .barrie-floorplan-card--sold .barrie-floorplan-listing-value {
    color: #7b7b7b;
  }
  .barrie-floorplan-card--sold .more-buttons {
    display: none !important;
  }
  .barrie-floorplan-card__footer-disabled {
    background-color: #8c8c8c !important;
    color: var(--color-white) !important;
    cursor: not-allowed;
  }
  .barrie-238-hero-details-section {
    text-transform: capitalize;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .barrie-238-hero-details-section img {
    width: auto;
    height: 100%;
    max-height: 50px;
  }
  .barrie-238-hero-details-section span {
    color: var(--color-brand);
  }
  .barrie-238-hero-details-section .cards-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .barrie-238-hero-details-section .cards-section .offer-card {
    padding: 1rem;
    border-radius: 5px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    font-family: "Integral CF Extra", Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
    min-height: 70px;
  }
  .barrie-238-hero-details-section .cards-section .offer-card span {
    display: block;
  }
  .barrie-238-hero-details-section .offer-list-item {
    font-size: 18px;
    font-weight: 500;
    font-family: "Integral CF", Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 30px;
    gap: 1rem;
  }
  .barrie-238-hero-details-section .offer-list-item img {
    max-height: 40px;
  }
  @media screen and (max-width: 37.5em) {
    .barrie-238-hero-details-section .cards-section {
      grid-template-columns: repeat(1, 1fr);
    }
    .barrie-238-rainwater-homepage .hero-slider .urban-townhome {
      position: relative;
    }
  }
  .bootstrap-modal .modal-content .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 1rem;
    font-weight: 400;
    font-family: "Integral CF", Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0;
    margin-bottom: 20px;
    border-radius: 0;
  }
  .bootstrap-modal .modal-content .form-control:focus {
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.1);
    outline: none;
  }
}
/* Keep floorplan links from inheriting Bootstrap link blue.
   Unlayered on purpose so it wins over layered/base rules. */
.barrie-floorplan-card a {
  color: var(--color-black);
}

.barrie-floorplan-card a:hover {
  color: var(--color-black);
}
