/* New Homepage */

@media (min-width: 1200px) {
    .bodywrapper .block {
        max-width: 1140px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    #block-homepagefeaturestory,
    #newsletter-sign-up {
        max-width: unset;
    }
}

.layout-content {
    padding: 0;
}

.bodywrapper .block.support {
    padding: 3rem;
}

@media (max-width: 991px) {
    .bodywrapper .block.support {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .bodywrapper .block.support {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bodywrapper .block.support {
        padding: 1rem;
    }
}

.bodywrapper .support h4 {
    margin-bottom: 0;
}

.bodywrapper .block .container {
    padding: 0;
    width: 100%;
    margin: 0;
}

#page-title {
    padding: 0;
}

#page-title .container {
    width: 100%;
    max-width: unset;
    margin: 0 auto;
}

#page-title .container div[class*="col-"] {
    padding:0;
}

.bodywrapper #page-title .block,
#block-homepagebanner {
    max-width: unset;
}

.bodywrapper .carousel.carousel-home {
    margin-top: 0;
    max-height: 640px;
}

.bodywrapper .carousel.carousel-home .carousel-caption {
    height: 100%;
    padding: 0;
    max-height: 640px;
    max-width: unset;
}

.bodywrapper .carousel.carousel-home .carousel-caption .hero-text {
    height: 100%;
}
/*
@media (max-width: 1199px) {
    #page-title .container {
        width: 100%;
        max-width: 1140px;
        margin: 0 auto;
        padding: 0;
    }
}
*/
@media (max-width: 1023px) {
    ul.list-unstyled.header-mega-menu__ul {
        height: auto;
        overflow: hidden;
    }
}

@media (max-width: 991px) {
    .bodywrapper .carousel.carousel-home {
        height: auto;
    }

    .bodywrapper .carousel.carousel-home .carousel-inner>.item>img, .bodywrapper .carousel.carousel-home .carousel-inner .carousel-inner>.item>a>img {
        height: auto;
        width: 100%;
    }
}

@media (min-width: 620px) {

    .bodywrapper .carousel.carousel-home .carousel-inner>.item::before {
        background: rgb(0,0,0);
        background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0) 100%);
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        display: block;
        z-index: 1;
    }

    .bodywrapper .carousel.carousel-home .carousel-caption .hero-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .bodywrapper .carousel.carousel-home .carousel-caption .hero-text h1 {
        font-size: 60px;
    }
}

@media (min-width: 619px) and (max-width: 991px) {

    .bodywrapper .carousel.carousel-home .carousel-caption .hero-text h1, 
    .bodywrapper .carousel.carousel-home .carousel-caption .hero-text h4 {
        text-align: left;
        margin: 0 0 15px 0;
    }

    .bodywrapper .carousel.carousel-home .carousel-caption .hero-text a.button {
        margin: 0;
        height: 45px;
        line-height: 45px;
        max-width: 240px;
        font-size: 16px;
    }
}


@media (max-width: 619px) {
    .bodywrapper .carousel.carousel-home .carousel-caption {
        position:relative;
    }

    .bodywrapper .carousel.carousel-home .carousel-caption .hero-text h1, .bodywrapper .carousel.carousel-home .carousel-caption .hero-text h2, .bodywrapper .carousel.carousel-home .carousel-caption .hero-text h4 {
        text-shadow: none;
        color: #3e4653;
    }
}

.bodywrapper .carousel.carousel-home .carousel-caption .hero-text h1 sup {
    font-size: 50%;
    top: -0.75em;
    font-weight: 100;
}

h4.lined-title {
    font-size: 26px;
    font-weight: 900;
    color: #00807e;
    position: relative;
}

h4.lined-title span {
    background-color: #ffffff;
    padding-right: 20px;
    padding-left: 20px;
}

h4.lined-title::after {
    content: "";
    background-color: #00807e;
    width: 60%;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 20%;
    z-index: -1;
}

@media (max-width: 768px) {
    h4.lined-title::after {
        width: 90%;
        left: 5%;
    }
}


/* Newsletter Sign Up */

#newsletter-sign-up {
    background: #3E4653;
    color: #ffffff;
    width: 100%;
}

#newsletter-sign-up .pre-title {
    font-size: 36px;
    text-transform: unset;
    letter-spacing: 0;
    font-weight: 300;
    color: #ffffff;
}

#newsletter-sign-up .webform-submission-form h3 {
    color: #ffffff;
    font-weight: 300;
    font-size: 20px;
    margin-top: 30px;
}
@media (min-width: 992px) {
  #newsletter-sign-up .form-wrapper .form-item-full-name-first, 
  #newsletter-sign-up .form-wrapper .form-item-full-name-last, 
  #newsletter-sign-up .form-wrapper .form-item-phone-number, 
  #newsletter-sign-up .form-wrapper .form-item-first-name, 
  #newsletter-sign-up .form-wrapper .form-item-last-name,
  #newsletter-sign-up .form-wrapper .form-item-address-address, 
  #newsletter-sign-up .form-wrapper .form-item-email, 
  #newsletter-sign-up .form-wrapper .form-item-email-address {
      margin: 0.5em 1%;
      width: 31%;
  }
}

.home-menu>.home-menu-item {
    border-bottom: 20px #ffffff solid;
}
.home-menu>.home-menu-item:nth-child(3), 
.home-menu>.home-menu-item:nth-child(4), 
.home-menu>.home-menu-item:nth-child(5) {
    padding: 0;
    margin: 0;
    width: 33.333333%;
}
@media (min-width: 768px) {
  .home-menu>.home-menu-item:nth-child(odd) {
      border-right: none;
  }
  .home-menu>.home-menu-item:nth-child(1) {
    border-right: 10px solid #fff;
  }
  .home-menu>.home-menu-item:nth-child(2) {
    border-left: 10px solid #ffffff;
  }
  .home-menu>.home-menu-item:nth-child(3) {
    border-right: 14px solid #ffffff;
  }
  .home-menu>.home-menu-item:nth-child(4) {
    border-right: 7px solid #ffffff;
    border-left: 7px solid #ffffff;
  }
  .home-menu>.home-menu-item:nth-child(5) {
    border-left: 14px solid #ffffff;
  }
}

@media (max-width: 767px) {
  .home-menu>.home-menu-item:nth-child(even) { border-top: 5px solid #fff; }
  .home-menu>.home-menu-item:last-child { border-top: 5px solid #fff; }
  .home-menu>.home-menu-item {
    float:left;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
  }
  .home-menu>.home-menu-item:nth-child(1) {
    border-right: 5px solid #fff;
  }
  .home-menu>.home-menu-item:nth-child(2) {
    border-left: 5px solid #ffffff;
  }
  .home-menu>.home-menu-item:nth-child(3) {
    border-right: 10px solid #ffffff;
  }
  .home-menu>.home-menu-item:nth-child(4) {
    border-right: 5px solid #ffffff;
    border-left: 5px solid #ffffff;
  }
  .home-menu>.home-menu-item:nth-child(5) {
    border-left: 10px solid #ffffff;
  }
  .home-menu>.home-menu-item:nth-child(1), 
  .home-menu>.home-menu-item:nth-child(2) {
      padding: 0;
      margin: 0;
      width: 50%;
  }
  .home-menu .home-menu-item .content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .home-menu>.home-menu-item {
      border: 5px solid #ffffff!important;
      width: 100%!important;
  }
}

@media (min-width: 480px) {
    .design-in-action .row {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 479px) {
    .design-in-action .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        flex-direction: column;
    }

    .design-in-action .row div[class*="col-"] {
        width: 50%;
    }
}

.replacement_support { display: none; }