.masthead {
  position: relative;
}
@media (min-width:  1200px ), (min-width:  992px ) and (max-width:  1199px ) {
  .masthead {
    height: 280px;
  }
}
.masthead .masthead-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 335px;
  margin-left: auto;
  margin-right: auto;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
@media (min-width:  1200px ), (min-width:  992px ) and (max-width:  1199px ) {
  .masthead .masthead-image {
    position: absolute;
  }
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .masthead .masthead-image {
    background-position: right center;
    display: block;
  }
}
@media (max-width:  767px ) {
  .masthead .masthead-image {
    background-position: 85% center;
    background-size: cover;
    height: 0px !important;
    min-height: 150px;
    padding-top: 10px;
    display: block;
  }
}
.masthead .masthead-image .container {
  height: 100%;
  position: relative;
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .masthead h1 {
    bottom: 35px;
  }
}
@media (max-width:  767px ) {
  .masthead h1 {
    position: relative;
    top: 10px;
    color: white;
    padding: 11px 10px 12px;
    margin: 0 0 10px;
    font-size: 22px !important;
  }
}
.masthead .cta {
  position: absolute;
  right: 0;
  padding-left: 30px;
  padding-right: 30px;
}
@media (min-width:  768px ) and (max-width:  991px ), (max-width:  767px ) {
  .masthead .cta {
    position: relative;
    right: auto;
    bottom: auto;
    margin-bottom: 35px;
  }
}
.mastheadheading {
  background-color: transparent;
  height: 142px;
  position: absolute;
  bottom: 30px;
  z-index: 2;
  width: 100%;
}
@media (min-width:  768px ) and (max-width:  991px ), (max-width:  767px ) {
  .mastheadheading {
    background-color: #005d83;
    margin-top: 0px;
    display: block;
    position: relative;
    bottom: 0;
  }
}
.mastheadheading h1 {
  text-align: left;
  font-size: 52px;
}
@media (min-width:  768px ) and (max-width:  991px ), (max-width:  767px ) {
  .mastheadheading h1 {
    text-align: center;
    font-size: 30px;
  }
}
.mastheadheading .smallctabutton {
  text-align: right;
  margin-top: 30px;
}
.mastheadheading .smallctabutton a {
  padding-left: 30px;
  padding-right: 30px;
}
@media (min-width:  768px ) and (max-width:  991px ), (max-width:  767px ) {
  .mastheadheading .smallctabutton {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 35px;
  }
}
