/****************************
-- 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 + p {
  margin: 20px auto 0;
  max-width: 410px;
  font-weight: normal;
  font-size: 14px;
}

.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: 769px) {
  .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;
  }

  .hero_videobg h1.black {
    color: #333 !important;
  }
  .hero_videobg p.black {
    color: #333 !important;
  }

  #home .hero_videobg .container.text-left {
     left: 45%;
     width: 725px;
     -webkit-transform: translate(-590px, -50%);
     transform: translate(-590px, -50%);
     text-align: left !important;
   }

      #home .hero_videobg .container.text-right {
     right: -1200px !important;
     width: 400px;
     -webkit-transform: translate(-590px, -50%);
     transform: translate(-590px, -50%);
     text-align: left !important;
     position: absolute;
   }
    #home .hero_videobg .container.text-right .btn {
     margin-left: 0;
    }
    #home .hero_videobg .container.text-right h1 {
    font-size: 50px;
   }
    #home .hero_videobg .container.text-right p {
     margin: 0;
   }
   #home .hero_videobg p {
     color: #333;
     font-weight: 400;
    margin: 20px 5px;
   }
   #home .hero_videobg h1 {
    color: #333;
    font-size: 60px;
    margin: 0 auto;
   }
 }

 @media screen and (min-width: 1024px) {
   .hero_videobg_media {
     height: auto;
   }
   .hero_videobg_media.image {
     height: 580px;
     background-position: center;
   }

   .hero_videobg_media video,
   .hero_videobg_media img {
     display: block;
     width: 100%;
   }

   .hero_videobg h1 + p {
     font-size: 15px;
   }

   /*Non Center alignment Hero text*/
   .hero_videobg h1 + p {
     margin: 20px 0 0;
   }
   .text-left {
     text-align: left !important;
   }
   .text-right{
     text-align: right !important;
   }

 }

 @media screen and (min-width: 1280px) {
   .hero_videobg p {
     font-size: 22px;
   }

   .hero_videobg h1 + p {
     font-size: 22px;
     font-weight: 500;
   }
 }


/****************************
-- 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;
}

/*Outage Alert*/
.hero-alert-msg {
  font-size: 13px;
  color: red !important;
  line-height: 20px;
  margin: 0 !important;
}
.alert-box{
  padding: 10px 0;
}

@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: 440px;
    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.black {
  color: #333 !important;
}
.hero_slider p.black {
  color: #333 !important;
}

.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;
  }
}



/*UPDATE: ArloV4 - Video BG HERO*/
.animated-bg.hero_slider h1,
.animated-bg.hero_slider p {
  color: #fff !important;
}

.animated-bg a.button--primary {
  margin: 25px auto 0;
}

.animated-bg .video_slider_item video {
 width: 100%;
}
.animated-bg .text-container {
  margin-top: 10px;
}


@media screen and (max-width: 1024px) {
  .animated-bg a.button--primary {
  margin: 20px auto 0;
  }
.animated-bg .text-container {
  margin-top: 0;
}
  .animated-bg .hero_slider_item.video_slider_item {
    max-height: 432px;
  }

}

@media screen and (max-width: 768px) {
  .animated-bg .hero_slider_item.video_slider_item {
    max-height: 373px;
  }
  .animated-bg.hero_slider h1 {
    font-size: 28px;
    line-height: 40px;
  }
}

@media screen and (max-width: 767px) {
  .animated-bg .text-container {
    position: absolute;
    top: 0;
    margin-top: 40px;
  }
  .animated-bg .product-img-banner {
    background-size: cover;
    background-position-y: -65px;
    height: 500px;
  }
  .animated-bg .product-img-banner {
    display: block;
  }

  .animated-bg .hero_slider_item.video_slider_item video {
    display: none;
  }
}

@media screen and (max-width: 414px) {
   .animated-bg .product-img-banner {
    background-position-y: -30px;
  }
  .animated-bg .hero_slider_item.video_slider_item {
    max-height: 372px;
  }
   .animated-bg .text-container {
    margin-top: 75px;
  }
}
