.hero-banner-container {
    position: relative;
}

.image-section {
    height: inherit;
}
.image-section img {
    height: inherit;
}

.hero-content {
    position: absolute;
    z-index: 10;
    margin: 0;
    color: #fff;
    width: auto;
}
.hero-content.vertical-middle.horizontal-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-content.content-overlay {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 0 !important;
    width: 803px !important;
}
.background-color-section {
    min-height: 688px;
}
.search-banner .background-color-section {
    min-height: 424px;
}
.hero-overlay-image {
    max-width: 278px;
}
.hero-overlay-image img {
    width: auto;
    height: 100%;
    max-height: 260px;
}
.content-overlay .hero-overlay-text h1 {
    font-size: 60px;
    font-weight: 300;
    line-height: 76px;
}
.content-overlay .hero-overlay-text p {
    font-size: 32px;
    font-weight: 300;
    line-height: 40px;
    margin-top: 32px;
    font-family: "HelveticaNeue", Arial, Helvetica, sans-serif;
}
.hero-content h1 {
    font-family: "HelveticaNeue_Light", Arial, Helvetica, sans-serif;
    color: white;
    margin: 0;
    font-weight: 300;
    font-size: 38px;
    line-height: 38px;
}
.hero-content h2 {
    color: white;
    font-size: 22px;
    margin-top: 3px;
    line-height: 30px;
    font-weight: 500;
    font-family: "HelveticaNeue_Light", Arial, Helvetica, sans-serif;
}
.hero-content p {
    color: #fff;
    font-family: "HelveticaNeue_Medium", Arial, Helvetica, sans-serif;
    line-height: 20px;
    margin-top: 10px;
}
.vertical-top {
    margin: auto;
    padding: 10px;
    top: 0;
    transform: unset;
    text-align: center;
}

.vertical-middle {
    margin: auto;
    padding: 10px;
    top: 50%;
    transform: translateY(-50%) !important;
    text-align: center;
}

.vertical-middle.horizontal-center {
    margin: auto;
    padding: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    text-align: center;
}

.vertical-bottom {
    margin: auto;
    padding: 10px;
    bottom: 0;
    transform: unset;
    text-align: center;
}

.horizontal-center {
    margin: auto;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.horizontal-left {
    margin: auto;
    padding: 10px;
    left: 50px;
    transform: unset;
    text-align: left;
}
.horizontal-right {
    margin: auto;
    padding: 10px;
    right: 0;
    transform: unset;
    left: unset; /*need to change */
}

a.hero-link-button {
    background-color: #fff;
    outline: none;
    text-decoration: none;
    padding: 6px 22px;
    border: 2px solid #1456ae;
    color: #1456ae;
    text-align: center;
    font-size: 13px;
    border-radius: 5px;
    font-family: "HelveticaNeue_Light", Arial, Helvetica, sans-serif;
}

a.hero-link-button:hover {
    background: #1456ae;
    color: #fff;
    outline: none;
    outline-offset: inherit;
    text-shadow: none;
    box-shadow: none;
    padding: 6px 22px;
}

a.hero-link-button:focus {
    outline: none;
}

.hero-banner-container a:hover .hero-content h2 span {
    color: #fff !important;
}

.hero-background-color .image-section {
    display: none;
}

@keyframes indicatorSlide {
    0% { bottom: 0px; opacity: 0; }
    30% { bottom: 0px; opacity: 0; }
    80% { bottom: 10px; opacity: 0; }
    100% { bottom: 20px; opacity: 1; }
  }

.scroll-for-more {
    position: absolute;
    bottom: 20px;
    margin: 0 auto;
    text-align: center;
    left: 0;
    right: 0;
    cursor: pointer;
    animation: indicatorSlide 1.5s ease;
    animation-iteration-count: 1
}

.scroll-for-more a {
    text-decoration: none !important;
}

.scroll-for-more a::after {
    content: "";
    background: url(/themes/custom/lutron/images/chevron_down.png) no-repeat;
    display: inline-block;
    font-family: icomoon;
    font-size: 24px;
    margin: 0 auto;
    margin-top: 4px;
    height: 16px;
    width: 16px;
    margin-bottom: -4px;
}

.scroll-for-more h3 {
    font-size: 14px;
    line-height: 16px;
}

@media only screen and (max-width: 767px) {
    .hero-overlay-text {
        margin-bottom: 50px;
    }
    .hero-banner-container .horizontal-left {
        left: 5px;
    }
    .hero-banner-container .hero-content h2 {
        font-size: 18px;
        margin-top: 10px;
        line-height: 22px;
    }
    .hero-banner-container .hero-content h2 span {
        display: block;
    }
    .hero-banner-container .hero-content h1 {
        font-size: 30px;
        line-height: 30px;
    }
    .hero-banner-container .hero-content {
        width: 100% !important;
    }
    .hero-banner-container .hero-content p {
        margin-top: 10px;
        line-height: 20px;
    }
    .background-color-section {
        min-height: 512px;
    }
    .hero-content.content-overlay {
        flex-direction: column;
    }
    .content-overlay .hero-overlay-text h1 {
        font-size: 32px;
        font-weight: 300;
        line-height: 40px;
    }
    .content-overlay .hero-overlay-text p {
        font-size: 20px;
        font-weight: 300;
        line-height: 28px;
        margin-top: 16px;
    }
    .hero-overlay-image {
        margin: 0 0 32px;
        height: 288px;
    }
    .hero-banner.hero-background-color {
        height: auto;
    }
    .vertical-middle.horizontal-center {
        top: 17%;
        left: 50%;
        transform: translate(-50%, -10%) !important;
    }
}
@media only screen and (min-width: 768px) {
    .hero-banner-container .hero-content {
        /* max-width: 803px; to fix full width of hero banner */
        width: 100% !important;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .hero-content.content-overlay {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: center;
    }
    .content-overlay .hero-overlay-text {
        text-align: left;
        margin-right: 48px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-background-color {
        min-height: 688px;
    }
    .search-banner .hero-background-color {
        min-height: 429px;
        height: auto;
    }
    .hero-content.content-overlay {
        flex-direction: column;
    }
    .hero-overlay-image {
        margin: 0 0 64px;
        height: 318px;
    }
    .content-overlay .hero-overlay-text h1 {
        font-size: 48px;
        font-weight: 300;
        line-height: 56px;
    }
    .content-overlay .hero-overlay-text p {
        font-size: 32px;
        font-weight: 300;
        line-height: 40px;
        margin-top: 16px;
    }
    .vertical-middle.horizontal-center {
        top: 34%;
        left: 50%;
        transform: translate(-50%, -25%) !important;
    }
}
/* search-box hero banner */
.hero-banner-container h5{
    line-height:32px;
    font-weight: 300;
}
.search-banner .hero-banner-container h5 {
    font-size: 24px;
}

.hero-banner-container .support-banner-search {
    padding: var(--SpacingPaddingPadding01) var(--SpacingPaddingPadding05);
    border-radius: var(--RadiiRadius09);
    order: 3;
    width: 100%;
}

.hero-banner-container .search-container {
    position: relative;
    margin-top: 48px;
    clear: both;
}

.hero-banner-container .group-input .search-input-icon {
    font-family: lutron-base !important;
    font-size: 25px;
    position: absolute;
    margin : 7px 0px;
    left: 5px;
    border: none;
    background: none;
}
@media (min-width: 768px) {
    .hero-banner-container .group-input .search-input-icon {
        margin : 16px 0px;
    }
}
@media (max-width: 1023px) {
    .hero-banner-container .group-input .search-input-icon {
        padding: 1px 10px;
    }
}

.hero-banner-container .search-container input[type=text] {
    border-radius: 50px;
    padding: 16px 50px; /* Padding for text and space for the icon */
    font-size: 16px;
    font-weight: 300;
    line-height: 32px;
    height: 48px;
    width: 100%!important;
    color: var(--color-main-text);
    background-color: #f9f9f9;
    border: 1px solid #ccc; 
}
@media (min-width: 768px) {
    .hero-banner-container .search-container input[type=text] {
        height: 64px; 
    }
}
.search-banner #searchbox,
.search-banner #searchbox:focus,
.search-banner #searchbox:active {
	outline: none;
    border: 0;
}
.hero-banner-container .autocomplete-result{
    width:  calc(100% - 60px);
    background:transparent;
}
.hero-banner-container .search-container .ui-autocomplete.ui-front {
    background: #fff;
    border: 1px solid #999;
    list-style: none;
    padding: 8px 16px !important;
    list-style-image: none;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 14px 0 rgba(0, 0, 0, .1);
}
.hero-banner-container .ui-autocomplete.ui-front li{
    padding: 5px 0px;
    transition: all .2s;
}
.hero-banner-container .ui-autocomplete.ui-front li:hover a{
    font-weight: 600;
}
.hero-banner-container .search-container .ui-menu-item.active {
    font-weight: normal;
    color: #2b2b2b;
    text-decoration: none !important;
    box-shadow: none;
    background: transparent;
    border: none;
}
.ui-menu .ui-menu-item-wrapper:hover, .ui-menu .ui-menu-item-wrapper.ui-state-active{
    background: transparent;
    border: none;
    color: #333;
}

.hero-banner-container .ui-menu .ui-menu-item-wrapper, .hero-banner-container .ui-menu .ui-menu-item-wrapper:hover{
    background: transparent;
    border: none;
    color: #333 !important;
    font-size: 14px;
}

@media (min-width: 768px) {
    .hero-banner-container .search-container input[type=text] {
        font-size: 20px;
    }
    .hero-banner-container .ui-menu .ui-menu-item-wrapper, .hero-banner-container .ui-menu .ui-menu-item-wrapper:hover{
        font-size: 16px;
    }
    .hero-banner-container .ui-autocomplete.ui-front li{
        padding: 9px 0px;
    }
}

@media (min-width: 1023px) {
    .hero-banner-container .search-container input[type=text] {
        font-size: 24px;
    }
}
.hero-banner-container .help-modal-number-link a {
    color: #d2d2d2 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.search-banner .help-modal-number-link {
    margin-bottom: 0;
} 
.search-banner .help-modal-number-link a {
    padding-bottom: 0;
    margin-top: 2px;
}

.front-layout-container .hero-banner-container .help-modal-number-link a:hover {
    color: #f9f9f9 !important;
}

.help-modal-container{
    float: right!important;
}

.hero-banner-container .help-modal-number-link a:after {
    content: "\e917"; /* Icon after the link */
    font-family: lutron-base !important;
    font-size: 18px;
    padding: 3px 5px;
    color: #f9f9f9;
}

.hero-banner-container .modal-number-popup h4.panel-title a:hover span{
    box-shadow: none;
}

.ios-device .hero-banner-container .modal-number-popup .modal-dialog {
    transform: translateY(-50%) !important
}

.search-container .search-input--clear {
    right: var(--space-140);
    margin: var(--space-008) 0px;
    border: 0;
    padding: 0;
    display: none;
    width: var(--space-320);
    height: var(--space-320);
    background: url(/themes/custom/lutron/images/icons/icon-filter-clear.svg) no-repeat center center;
    cursor: pointer;
    position: absolute;
}
  
@media (min-width: 768px) {
    .search-container .search-input--clear {
        margin: var(--space-160) 0px;
    }
}
.search-container .search-input--clear.visible {
    display: inline-block;
}
.search-banner .hero-banner-container .hero-content h1 {
    font-size: 60px;
    line-height: 76px;
    margin-bottom: 16px;
}
.search-banner .hero-banner-container .hero-content .hero-overlay-text {
    font-size: 24px;
    line-height: 32px;
    font-family: 'HelveticaNeue_light', Helvetica, sans-serif, Arial; /*overwrite with support site TBF*/
}
@media (max-width: 1023px) {
    .search-banner .hero-banner-container .hero-content h1 {
        font-size: 36px;
        line-height: 44px;
    }
    .search-banner .hero-banner-container .hero-content .hero-overlay-text {
        font-size: 16px;
        line-height: 24px;
    }
}
.search-banner .hero-banner-container .hero-content {
    margin: 0 auto;
    max-width: 1440px;
    left: 0;
    right: 0;
    padding: 0 24px;
    bottom: unset;
}
@media (min-width:768px) {
    .search-banner .hero-banner-container .hero-content {
        padding: 0 48px;
    }
}