/* bootstrap override */
.path-frontpage .custom-select{
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 2.88219L0.649682 2.1002e-07L-1.50415e-07 0.558905L4 4L8 0.558905L7.35032 -8.28742e-08L4 2.88219Z' fill='%23022F63'/%3E%3C/svg%3E%0A");
  font-style: normal;
  font-weight: normal;
  font-size: 1.1rem;
  line-height: 1.4rem;
  letter-spacing: 0.045em;
  color: #4F4F4F;
  background-size: 7px 7px;
  border-radius: 0;
  padding-left: 1.1rem;
  max-height: calc(1.2em + 16px);
  height: calc(1.2em + 16px);
}

/* Idea: Style the default option to be gray, active option to be blue. Ajax calls rebuild the dom and event listeners get lost atm -- gotta find an alternative */
.path-frontpage .custom-select option[value="All"]{
  color: #4F4F4F;
}

.path-frontpage #edit-search-api-fulltext[type=text]{
  font-style: normal;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.5rem;
  color: #0072BC;
  background-image: url("data:image/svg+xml,%3Csvg width='15' height='16' viewBox='0 0 15 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5.16393' cy='5.16393' r='4.41393' stroke='%230072BC' stroke-width='1.5'/%3E%3Cpath d='M8.85181 9.09839L14.2616 15' stroke='%230072BC' stroke-width='1.5'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: 0% 50%;
  background-position: 2% 50%;
  padding-left: 3rem;
}

.path-frontpage .form-group{
  margin-bottom: 0;
}

.path-frontpage .js-form-item{
  margin: 0;
  padding: 0;
  flex: 0 0 25%;
  margin-top: 5px;
  margin-bottom: 5px;
  display:block;
}

.front-page-header__property-type{flex: 0 0 50%;}

.front-page-header__sale-lease{flex: 0 0 50%;}

.front-page-header__fulltext{flex: 0 0 100%;}

/* .front-page-header__price-min, .front-page-header__price-max, .front-page-header__bedrooms{
  flex: 0 0 7.5%;
} */
button.btn-primary-custom.home-banner-btn {
	font-size: 1.8rem;
	line-height: 2rem;
	max-width: 100%;
	display:block;
	margin:auto;
}


@media (min-width: 992px) {
	button.btn-primary-custom.home-banner-btn {
		display:inline-block;
	}
}

@media (min-width: 768px) {

  .front-page-header__property-type{flex: 0 0 9.3%;}

  .front-page-header__sale-lease{flex: 0 0 10.3%;}

  .front-page-header__fulltext{flex: 0 0 44%;}

  .front-page-header__price-min, .front-page-header__price-max, .front-page-header__bedrooms{
    flex: 0 0 7.5%;
  }
  

}

.front-page-header__submit #edit-submit-property-search-map{
  font-style: normal;
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 1.6rem;
  letter-spacing: 1px;
  color: #F4EEEF;
  padding: 1.1rem;
}

.banner__text-main{
  font-style: normal;
  font-weight: bold;
  font-size: 3.6rem;
  line-height: 4.5rem;
  text-align: center;
  color: #FFFFFF;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.banner__text-secondary{
  font-style: normal;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 2rem;
  text-align: center;
  color: #FFFFFF;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.financing-options__title{
  font-style: normal;
  font-weight: bold;
  font-size: 2.8rem;
  line-height: 3.5rem;
  color: #00253D;
}

@media (min-width: 575.98px) {
  .financing-options__title{
    font-style: normal;
    font-weight: bold;
    font-size: 3.4rem;
    line-height: 4.3rem;    
    color: #00253D;
  }
  .banner__text-secondary {
    font-style: normal;
    font-weight: 300;
    font-size: 2.4rem;
    line-height: 3rem;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  }
  .banner__text-main{
    font-style: normal;
    font-weight: bold;
    font-size: 4.8rem;
    line-height: 6rem;
    color: #ffffff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  }
}



.region-footer-fifth{
  display: flex;
  flex-direction: column;
}

.learn-more-block__title{
  font-style: normal;
  font-weight: bold;
  font-size: 2.8rem;
  line-height: 3.5rem;
  /* Dark Blue 1 */
  color: #00253D;
}


.learn-more-block__link{
}

@media (min-width: 576px) {

  .learn-more-block__title{
    font-style: normal;
    font-weight: bold;
    font-size: 3.4rem;
    line-height: 4.3rem;
    /* Brown */
    color: #3B3B3B;
  }
  
  .learn-more-block__sub-title{
    font-style: normal;
    font-weight: normal;
    font-size: 2rem;
    line-height: 2.5rem;
    /* identical to box height */    
    color: #242424;
  }
  
  .learn-more-block__address{
    font-style: normal;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 165.5%;
    /* identical to box height, or 25px */
    /* Green Accent 1 */
    color: #00492F;
  }

  .learn-more-block__address:hover{
    color: #00492F;
  }

  
  .learn-more-block__link{
    font-style: normal;
    font-weight: bold;
    font-size: 1.6rem;
    line-height: 2rem;
    /* identical to box height */
    /* swe blue */
    
    color: #0072BC;
  }

  .learn-more-block__container__info{
    max-width: 56.4rem;
    margin-right: 3.4rem;
  }

}

.front-page-header__more-filters{
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-style: normal;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.6rem;
  letter-spacing: 0.045em;
  padding:0;
  margin-left: 2.2rem;
  padding-top: 12px;
}

.optionset-property-search-slider slides > li {
    display:block;
}

@media only screen and (max-width: 767px) {
  .front-page-header__more-filters{
    margin-left: 0;
    margin-top: 2.7rem;
  }
}


@media only screen and (min-width: 991px) {
  .block-new-listings .view-content .block-new-listing__card:nth-child(n+3), .featured-commercial .view-content .block-new-listing__card:nth-child(n+3), .block-recently-sold .view-content .block-new-listing__card:nth-child(n+3), .block-recent-renovations .view-content .block-new-listing__card:nth-child(n+3), .block-preserve-of-texas .view-content .block-new-listing__card:nth-child(n+3), .block-land-spotlight .view-content .block-new-listing__card:nth-child(n+3){
    margin-top: 3.5rem;
  }
}
@media only screen and (max-width: 991px) {
  .block-new-listings .view-content .block-new-listing__card, .featured-commercial .view-content .block-new-listing__card, .block-recently-sold .view-content .block-new-listing__card, .block-recent-renovations .view-content .block-new-listing__card, .block-preserve-of-texas .view-content .block-new-listing__card, .block-land-spotlight .view-content .block-new-listing__card {
    margin-bottom: 2rem;
  }
}


@media only screen and (max-width: 767px) {
  .path-frontpage .custom-select {
    max-height: calc(1.2em + 25px);
    height: calc(1.2em + 25px);
  }
  .path-frontpage #edit-search-api-fulltext[type=text]{
    height: 3.8rem;
  }
}

.banner__btn{
  width: 10.1rem;
}



.card__new_listings__item-container{
  /* max-width: 80%; */
  flex-wrap:wrap;
}

@media only screen and (max-width: 767px) {
  .card__new_listings__item-container{
    max-width: 100%;
  }
}

.learn-more-block__link__extra-container{
  margin-top: 4rem;
}

.learn-more-block__about-us{
margin-bottom: 2.8rem;
}

@media only screen and (max-width: 991px) {
  .learn-more-image-block{
    margin-top: 4.9rem;
  }
}
