/* This is the CSS template for Features for Yountville */ 

#features-background {
  background-color: #FFFFFF;
  padding: 30px 0px;
}

.homepage-features {
    background-color: #FCE7B6;
    padding: 40px 0px;
}

#hmpg-features-section-two,
#get-involved-features {
    display: flex;
    flex-wrap: wrap;
}

.feature-box-2 {
  flex: 1 100px;
  color: inherit;
  text-align: center;
}

#get-involved-features {
  text-align: center;
}

.hmpg-features-2 .features-2-btn {
  position: relative;
  bottom: -10px;
}

.hmpg-features-section-one h3 {
  font-family: source-sans-pro, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 40px;
  color: #0D0D0D;
  padding-bottom: 15px;
}

.hmpg-features-2-text h4 {
  font-family: source-sans-pro, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 28px;
  color: #0D0D0D;
  padding-bottom: 15px;
  padding-top: 0px;
}

/*.hmpg-features-2-text h4:after {
    content: ' ';
    display: block;
    border: 2px solid #2148B1;
    margin: 10px auto 20px;
    width: 20%;
    position: relative;
    bottom: -20px;
}*/

.involved-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: fit-content;
  }

.hmpg-features-section-one p {
  line-height: 1.8;
  font-family: roboto, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}

.btn-yountville {
  background-color: #F5B21B;
  border-color: #F5B21B;
  border-radius: 0px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 20px;
}

.btn-yountville:hover {
  background-color: #f8bf3e;
  border-color: #f8bf3e;
}

.hmpg-features-1-text h2 {
    margin-top: 0px;
    font-weight: 700;
    color: #2C2C2C;
    padding-bottom: 5px;
}

/* End ALL */ 

/* ----------- Smartphone Device Styles (XS)  ----------- */

@media (max-width: 767px) {


  /* Features XS */

  #features-background {
    padding: 10px 0px;
  }
  
  .feature-blurb p {
    display: none;
  }

  .feature-box-2 {
    flex: auto;
    margin: 15px;
}

#hmpg-features-section-two, #get-involved-features {
    display: flex;
    flex-wrap: wrap;
}

.homepage-features {
    background-color: #FCE7B6;
    padding: 30px 40px;
}

.hmpg-features-1-text h2 {
    padding-top: 20px;
    font-size: 36px;
}

#homepage-section-1 {
    padding-bottom: 2rem; 
}


  /* Footer XS */ 

  .tsq-logo {
    display: table;
    margin:0px auto 35px auto;
  }

#footer {
    margin-top: 00px;
}

.involved-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: fit-content;
    width: 150px;
  }

}
/* End XS */ 

/* ---------------------- Tablet styles (SM)  ---------------------- */
@media (min-width: 768px) {

.hmpg-features-1 {
    padding-right: 3rem;
}

.hmpg-features-1-text h2 {
    margin-top: 40px;
    font-weight: 700;
    color: #2C2C2C;
    font-size: 36px;
    padding-bottom: 5px;
}

.hmpg-features-2 {
    margin-bottom: 10px;
    position: relative;
}

.feature-box-2.first-in-list {
    border-right: 1px solid #114876;
}

.feature-box-2.last-in-list {
    border-left: 1px solid #114876;
}

a.feature-box-2:hover,
a.feature-box-2:focus,
a.feature-box-2:active {
    background-color: #F7F8F9;
    text-decoration: none;
}

div#hmpg-features-section-two a:first-of-type,
div#get-involved-features a:first-of-type  {
    margin-right: 30px;
}

div#hmpg-features-section-two a:last-of-type,
div#get-involved-features a:last-of-type {
    margin-left: 30px;
}

section.hmpg-features-lower {
    margin-top: 50px;
}

.hmpg-features-lower h4 {
      color: #5c78d6;
    font-size: 30px;
    font-weight: bold;
    margin-top: 0px;
}

.hmpg-features-2 div.involved-image {
    overflow: hidden;
}

.hmpg-features-2 div.involved-image {
    width: 100%;
    overflow: hidden;
}

.involved-image img {
    padding:0px 22rem 0px; /* was 80px for 3 features */ 
  }


}

/* End SM */

/* ----------- Desktops and laptops (MD) ----------- */
@media (min-width: 992px) {

  .hmpg-features-2 .involved-image {
    height: auto;
    overflow: hidden;
  }

  .hmpg-features-1-text h2 {
    margin-top: 0px;
}

}

/* End MD */

/* ----------- Large Desktops (LG) ----------- */
@media (min-width: 1200px) {

.feature-box-2.first-in-list {
    margin-right: 40px;
}

.feature-box-2.last-in-list {
    margin-left: 40px;
}


}

/* End LG */
