{# .cst-hdr-grp .row .cst-logo a {
   background-image: url();
} 
 #}

.hero-text-wrapper h1 {
  hyphens: manual;
}

@media (min-width: 917px) {
  .module_header-image.type1 {
    position: relative;
    display: flex;
    align-items: center;
  }
}  

@media (min-width: 917px) {
  .module_header-image.type3 {
      padding-top: 0 !important;
      padding-bottom: 0 !important;
  }
}
@media (max-width: 916px) {
  .module_header-image.type3 h1 {
    font-size: 44px;
    line-height: 58px;
  }
}
.module_header-image.type1.dark h1,
.module_header-image.type1.dark h2,
.module_header-image.type1.dark p, 
.module_header-image.type2.dark h1,
.module_header-image.type2.dark h2,
.module_header-image.type2.dark p, {
  color: black;
}

.module_header-image.type3.dark h1,
.module_header-image.type3.dark h2,
.module_header-image.type3.dark p {
  color: white;
}

@media (min-width: 917px) {
.module_header-image.type1 {
  margin-top:-120px;
  padding-top: 120px;
  }
.module_header-image.type1.dark h1,
.module_header-image.type1.dark h2,
.module_header-image.type1.dark p, 
.module_header-image.type2.dark h1,
.module_header-image.type2.dark h2,
.module_header-image.type2.dark p, 
.module_header-image.type3.dark h1,
.module_header-image.type3.dark h2,
.module_header-image.type3.dark p {
    color: white;
  }
}

.module_header-image .label-background {
  font-size: 14px;
  line-height: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 16px;
  padding-left: 14px;
  padding-right: 14px;
  display: inline-block;
  font-weight: 500;
  margin-bottom: 20px;
}
.module_header-image .label {
  font-size: 14px;
  line-height: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 16px;
  display: inline-block;
  font-weight: 500;
  margin-bottom: 20px;
}

.module_award {
  padding-top: 0;
  padding-bottom: 0;
}
.module_award .award-wrapper {
    bottom: -40px;
  position: absolute;
}
.module_award .award-wrapper {
    bottom: -40px;
  position: absolute;
}
.module_award .award-wrapper img {  
    width: auto !important;
    height: 180px !important;
  } 

.module_header-image.type1 {
  background-size: auto 100%;
  background-position: center center;
  position: relative;
  height: 750px;
}
.module_header-image.type2 {
  /*margin-top: 120px; */
  background-size: auto 100%;
  background-position: center center;
  position: relative;
/*  padding-top: 0;
  padding-bottom: 0;
*/
}
.module_header-image.type2 .row,
.module_header-image.type3 .row {
  border-radius: 8px;
  height: 514px;
  background-size: cover;
}

.module_header-image.type1 .row .col-md-4,
.module_header-image.type2 .row .col-md-4,
.module_header-image.type3 .row .col-md-4,
.module_header-image.type1 .row .col-md-5,
.module_header-image.type2 .row .col-md-5,
.module_header-image.type3 .row .col-md-5 {
  display: flex;
  align-items: center;
  min-height: 430px;
  margin-right: auto;
  margin-left: auto;
}
.module_header-image.type2 .row .col-md-4,
.module_header-image.type2 .row .col-md-5 {
  min-height: 480px;
}
.module_header-image p {
  font-size: 20px;
  line-height: 30px;
}
.module_header-image.type3 p {
  font-size: 18px;
  line-height: 27px;
}

.module_header-image.type3  .pure-button {
  margin-top: 16px;
}
@media (max-width: 916px) {
  .module_header-image.type3 h1 {
    font-size: 44px;
    line-height: 58px;
  }
  .module_header-image.type2 {
    margin-top: 48px;
    height: auto;
    min-height: auto;
  }
  .module_header-image.type2 .row,
  .module_header-image.type3 .row {
    height: auto;
    border-radius: 0px;
  }
  .award-wrapper {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    position: relative;
    bottom: unset;
  }
  .award-wrapper {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    position: relative;
    bottom: unset;
  }
  .award-wrapper img {  
      width: auto !important;
    height: 138px !important;
  } 
  .award {
    position: absolute;
    top: 32px;
    left: 0;
  }
  .module_header-image.type1 .row .col-md-4, 
  .module_header-image.type2 .row .col-md-4,
  .module_header-image.type3 .row .col-md-4, 
  .module_header-image.type1 .row .col-md-5,
  .module_header-image.type2 .row .col-md-5, 
  .module_header-image.type3 .row .col-md-5 { 
    min-height: auto;
  }
  .module_header-image.type2 .row .col-md-4,
  .module_header-image.type2 .row .col-md-5 {
    text-align: center;
  }    
  .module_header-image {
    background-size: auto 100%;
    background-position: center center;
    min-height: 480px;
  }
  .module_header-image.type1 .tablet-background,
  .module_header-image.type2 .tablet-background {
    margin-top: 8px;
    height: 420px;
    background-position: center bottom;
    background-size: cover;
    margin-left: -7vw;
    margin-right: -7vw;
    padding-left: 7vw;
    padding-right: 7vw;
    display: block;
  }
  .module_header-image.type2 .tablet-background {
    height: 320px;
  }  

  .module_header-image .gradient {
    width: 916px;
    height: 140px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    margin-left: -7vw;
    margin-right: -7vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .module_header-image .pure-button {
    margin-bottom: 32px;
  }
  .module_header-image.type3 {
    /*margin-top: 96px; */
    height: auto;
    min-height: auto;
  }
  .module_header-image.type1 {
    height: 100%;
  }
  section.module_header-image.type1 {
    padding: 5vw 7vw 0vw 7vw;
  }
}  

@media (max-width: 540px) {
  .module_header-image.type1 h1 {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 4px;
  }
  .module_header-image.type3 h1 {
    font-size: 38px;
    line-height: 51px;
    margin-bottom: 8px;
  }
  .module_header-image.type1,
  .module_header-image.type2 {
    padding-top: 0;
  }
  .module_header-image.type1 p {
    font-size: 18px;
    line-height: 27px;
  }
  
  .award-wrapper img {  
      width: auto !important;
    height: 104px !important;
  }
  .module_header-image.type1 .tablet-background {
    position: relative;
    margin-top: 8px;
    min-height: 300px;
    background-position: center top;
  }
  .module_header-image.type2 .row .col-md-4,
  .module_header-image.type2 .row .col-md-5 {
    text-align: center;
  }      
  .module_header-image.type2 .tablet-background {
    margin-top: 0px;
    background-position: center bottom;
    background-size: cover;
    margin-left: -7vw;
    margin-right: -7vw;
    padding-left: 7vw;
    padding-right: 7vw;
    display: block;
    height: 320px;
  }    

  .module_header-image .pure-button {
    margin-bottom: 0px;
  }
  .module_header-image.type3 .pure-button {
    width: unset;
  }  
}