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

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

.homepage-features {
  background-color: #D5DDB2;
  padding: 0px;
  margin-top: 70px;
  margin-bottom: 40px;
}

#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: lora, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 40px;
  color: #0D0D0D;
  padding-bottom: 15px;
}

.hmpg-features-2-text h4 {
  font-weight: 900;
  font-style: normal;
  font-size: 22px;
  color: #005380;
  padding-bottom: 10px;
  padding-top: 5px;
}

/*.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-sfsgp {
  background-color: #008FD5;
  border-color: #008FD5;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 20px;
  color: #fff;
  transition: all 0.3s ease 0s;
}

.btn-sfsgp:hover {
  background-color: #0e78ac;
  border-color: #0e78ac;
  color: #fff;
}

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

.hmpg-features-2-text p {
  font-size: 16px;
  text-align: left;
}

.hmpg-features-2-text {
  padding: 0px 20px;
}

/* 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: 1 200px;
    margin: 15px;
  }

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

  .homepage-features {
    background-color: #D5DDB2;
    padding: 30px 0px;
    margin-top: 0;
  }

  .hmpg-features-2-text {
    padding: 0px;
  }

  .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: 60px;
  }

  .feature-box-2.last-in-list {
    border-top: 1px solid #114876;
    padding-top: 25px;
    margin-top: 25px;
  }

  .feature-box-2.first-in-list {
    border-bottom: 1px solid #114876;
    padding-bottom: 40px;
    margin-bottom: 10px;
  }

}

/* 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;
    margin-top: -50px;
  }

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

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

  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:last-of-type,
  div#get-involved-features a:last-of-type {
    margin: 10px 0px 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 {
    max-height: 100px;
  }


}

/* 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.last-in-list {
    margin-left: 40px;
  }


}

/* End LG */