/****************************
-- Video Background Hero --
****************************/
.hero_videobg_media {
  background-position: center center;
  background-size: cover;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  width: 100%;
}

.hero_videobg_media video,
.hero_videobg_media img {
  display: none;
  width: 100%;
}

.hero_videobg .container {
  padding-top: 30px;
  padding-bottom: 40px;
  text-align: center;
}

.hero_videobg p {
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

.hero_videobg h1 {
  margin: 10px 0 0;
}

.hero_videobg h1 span {
  display: block;
}

.hero_videobg .btn {
  margin: 22px 9px 0;
}

@media screen and (min-width: 768px) {
  .hero_videobg {
    overflow: hidden;
    position: relative;
  }

  .hero_videobg_media {
    height: 500px;
    padding: 0;
  }

  .hero_videobg .container {
    position: absolute;
    left: 50%;
    max-width: 1050px;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
  }

  .hero_videobg p {
    color: #fff;
    font-size: 15px;
  }

  .hero_videobg h1 {
    color: #fff;
  }
}

@media screen and (min-width: 1024px) {
  .hero_videobg_media {
    height: auto;
  }

  .hero_videobg_media video,
  .hero_videobg_media img {
    display: block;
    width: 100%;
  }
}

@media screen and (min-width: 1280px) {
  .hero_videobg p {
    font-size: 22px;
  }
}

/****************************
-- Rounded Hero --
****************************/
.hero_round {
  text-align: center;
}

.hero_round_background {
  display: none;
}

.hero_round_nav {
  padding: 25px 10px 0;
  text-align: center;
}

.hero_round_nav a {
  font-size: 14px;
  margin: 0 10px;
  text-decoration: underline;
}

.hero_round_nav .btn {
  display: none;
}

.hero_round .container {
  max-width: 485px;
  padding: 30px 20px 40px;
}

.hero_round h1 {
  font-size: 32px;
  font-weight: 400;
  line-height: 38px;
  margin: 0 0 15px;
}

.hero_round p {
  color: #6b6b6b;
  margin: 0 0 25px;
}

.hero_round .hero_round_search + p {
  margin: 10px 0 0;
}

.hero_round p a {
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .hero_round .container {
    padding-bottom: 50px;
    padding-top: 50px;
  }

  .hero_round h1 {
    font-size: 38px;
    line-height: 46px;
  }
}

@media screen and (min-width: 1024px) {
  .hero_round {
    height: 395px;
    position: relative;
  }

  .hero_round_wrap {
    bottom: 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 52%;
    z-index: 1;
  }

  .hero_round .container {
    left: 50%;
    max-width: 555px;
    position: absolute;
    top: 50%;

    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .hero_round .container form {
    margin: 0 auto;
    width: 475px;
  }

  .hero_round h1 {
    font-size: 48px;
    line-height: 56px;
  }

  .hero_round .hero_round_search + p {
    margin-top: 15px;
  }

  .hero_round_nav {
    padding: 0;
    position: absolute;
    right: 30px;
    top: 17px;
    z-index: 1;
  }

  .hero_round_nav a {
    color: #fff;
    display: inline-block;
    font-size: 15px;
    margin: 0 12px;
    text-decoration: none;
    vertical-align: middle;
  }

  .hero_round_nav a:last-child {
    margin-right: 0;
  }

  .hero_round_nav .btn {
    display: inline-block;
  }

  .hero_round_background {
    background-position: center center;
    background-size: cover;
    bottom: 0;
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
}

@media screen and (min-width: 1280px) {
  .hero_round_nav {
    right: 40px;
  }
}

/****************************
-- Hero Slider --
****************************/
.hero_slider .bx-controls-direction {
  height: 0;
  padding-bottom: 56.25%;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero_slider_item_media {
  background-position: center center;
  background-size: cover;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  width: 100%;
}

.hero_slider_item_media img,
.hero_slider_item_media video {
  display: none;
  width: 100%;
}

.hero_slider .container {
  padding-top: 30px;
  padding-bottom: 40px;
  text-align: center;

  -webkit-transition: top 300ms ease;
  transition: top 300ms ease;
}

.hero_slider h1 {
  color: #333;
}

.hero_slider h1 span {
  display: block;
}

.hero_slider p {
  color: #6b6b6b;
  font-size: 15px;
  line-height: 23px;
  margin: 10px 0 0;
}

.hero_slider .btn {
  margin: 22px 9px 0;
}

.hero_slider .bx-wrapper .bx-pager.bx-default-pager a:hover,
.hero_slider .bx-wrapper .bx-pager.bx-default-pager a.active{
  background-color: #e5e5e5;
  border: 1px solid #e5e5e5;
}

@media screen and (min-width: 768px) {
  .hero_slider .bx-controls-direction {
    padding: 0;
    position: static;
  }

  .hero_slider {
    overflow: hidden;
    position: relative;
  }

  .hero_slider_item_media {
    height: 500px;
    padding: 0;
  }

  .hero_slider .container {
    position: absolute;
    left: 50%;
    max-width: 590px;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
  }

  .hero_slider h1 {
    color: #fff;
  }

  .hero_slider p {
    color: #fff;
  }

  .hero_slider .bx-controls.bx-has-pager {
    display: inline-block;
    left: 50%;
    position: relative;
    top: -60px;
  }

  .hero_slider .bx-wrapper .bx-pager {
    padding: 0px;
  }
}

@media screen and (min-width:1024px) {
  .hero_slider_item_media {
    background-image: none;
    height: auto;
  }

  .hero_slider_item_media img,
  .hero_slider_item_media video {
    display: block;
  }
}

@media screen and (min-width: 1280px) {
  .hero_slider p {
    font-size: 22px;
    line-height: 32px;
  }
}

/****************************
-- Sub Hero Links --
****************************/
.sub_hero_links {
  display: none;
  position: relative;
}

.sub_hero_links_box {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  display: inline-block;
  left: 50%;
  padding: 20px;
  position: relative;
  text-align: center;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.sub_hero_links_box:after {
  background-color: #fff;
  border-color: #e1e1e1;
  border-style: solid;
  border-radius: 0 0 5px 0;
  border-width: 0px 1px 1px 0;
  content: '';
  height: 14px;
  left: 50%;
  margin-left: -7px;
  margin-top: -6px;
  position: absolute;
  top: 100%;
  width: 14px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sub_hero_links_box h4 {
  color: #b2b2b2;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  margin: 0 0 6px;
}

.sub_hero_links_active {
  color: #06A84E;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  margin-right: 30px;
  margin-top: 2px;
}

.sub_hero_links_cta {
  color: #333;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  position: relative;
}

.sub_hero_links_cta.shift {
  color: #06a84e;
}

/* Type 2 */
.sub_hero_links.t2 {
  display: block;
}

.sub_hero_links.t2 .sub_hero_links_box:after {
  display: none;
}

.sub_hero_links.t2 .sub_hero_links_box h4 {
  color: #6b6b6b;
}

@media screen and (min-width: 768px) {
  .sub_hero_links {
    display: block;
    height: 30px;
  }

  .sub_hero_links_box {
    padding: 18px 0 18px 30px;
    top: -30px;
  }

  .sub_hero_links_box h4 {
    float: left;
    margin: 0 40px 0 0;
  }

  .sub_hero_links_active {
    float: left;
  }

  .sub_hero_links_cta {
    float: left;
    margin: 2px 30px 0;
  }

  .sub_hero_links_cta:before {
    border-left: 1px solid #e1e1e1;
    content: '';
    height: 100%;
    left: -30px;
    position: absolute;
    top: 0;
  }

  /* Type 2 */
  .sub_hero_links.t2 {
    height: 35px;
  }

  .sub_hero_links.t2 .sub_hero_links_box {
    padding: 23px 30px;
    top: -35px;
  }

  .sub_hero_links.t2 .sub_hero_links_box h4 {
    color: #333;
    margin: 0;
  }

  .sub_hero_links.t2 .sub_hero_links_cta {
    margin: 0 0 0 20px;
  }

  .sub_hero_links.t2 .sub_hero_links_cta:before {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  /* Type 2 */
  .sub_hero_links.t2 .sub_hero_links_box h4 {
    font-size: 17px;
  }

  .sub_hero_links.t2 .sub_hero_links_cta {
    line-height: 18px;
    margin-top: 4px;
  }
}
