/* Unique project styles */

/* -- Global */

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    font-family: 'Roboto', sans-serif;;
}

h1 {
    font-size: 3.6rem;
    line-height: 1.2;
    font-weight: 400;
}

.action-primary-reverse,
.action.primary, .action-primary,
button#product-addtocart-button {
    border-radius: 5rem;
    line-height: 2.4rem;
    padding: 1.5rem 3rem;
}

.small-text {
    font-size: var(--text-small-size);
}

.link-underline {
    text-decoration:underline;
}

/* -- Header */

.navigation .level0 > .level-top {
    text-transform: uppercase;
}


@media only screen and (min-width: 768px) {

    nav.navigation,
    .nav-sections {
        background: unset;
    }
   
}

/* -- Trust signals */

@media only screen and (min-width: 768px) {

}

/* Product categories grid */

.product-categories {
    margin: 4rem 0;
}

.product-categories .category {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.product-categories button {
    background: #fff;
    color: var(--color-branding-primary);
    border-radius: 2rem;
    padding: 1rem 3rem;
    border: 1px solid var(--color-branding-primary);
    transition:  all 0.5s ease;
}

.product-categories button:hover {
    background: var(--color-branding-primary);
    color: #fff;
}

.product-categories h3 {
    margin: .5rem 0;
}


@media only screen and (min-width: 768px) {

    .product-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-around;
    }

    .product-categories .category {
        width: calc(50% - 2rem);
    }

}


@media only screen and (min-width: 1024px) {

    .product-categories {
        display: flex;
        flex-wrap: nowrap;
        gap: 2rem;
        justify-content: space-around;
    }


}

/* Product grid */

ol.product-items.widget-product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.block.widget .products-grid .product-item {
    text-align: center;
    width: 100%;
}

.product-item-actions .actions-secondary > a.action.tocompare {
    display: none;
}

/* -- Product page */


/* -- Succes page */


/* -- Full width banner */

.top-banner-wrapper {
    display: flex;
    background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-homepage-bg.jpg);
    background-size: cover;
    background-position: center right;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 4rem;
}

.cms-index-index .top-banner-wrapper {
    margin-bottom: 0;
}

.top-banner-wrapper.electronics {
    background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-electronics-bg.jpg);
}

.top-banner-wrapper.led-lighting {
    background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-led-lighting-bg.jpg);
}

.top-banner-wrapper.water-heating {
    background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-water-heating-bg.jpg);
}

.top-banner-wrapper.smart-thermostats {
    background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-smart-thermostats-bg.jpg);
    background-position: center right;
}

.top-banner-wrapper.sale {
    /* [Dark background] background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-electronics-bg.jpg);*/
    background: linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.8)), url(/media/wysiwyg/sale-banner.jpg);
}

.sub-wrapper {
    width: 100%;
    min-height: 20rem;
    display: flex;
    align-items: flex-end;
}

.sub-wrapper .copy {
    color: #fff;
}

.sso-login .sub-wrapper .copy {
   /* [Dark background] color: #fff;*/
    color: #333;
}

.top-banner-wrapper h1 {
    font-size: 3.6rem;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    text-wrap: pretty;
}

p.banner-pre-title {
    margin-bottom: .25rem;
}

.top-banner-wrapper p {
    font-size: 1.8rem;
}


.top-banner-wrapper p,
.top-banner-wrapper h1,
.top-banner-wrapper h2 {
    text-shadow: 4px 4px 13px rgba(0,0,0,0.6);
}


/* Remove shadow on dark text */

/* Dark background */
.sso-login.top-banner-wrapper p,
.top-banner-wrapper.sale p,
.top-banner-wrapper.sale h1,
.top-banner-wrapper.sale h2
.top-banner-wrapper.sso-login p,
.top-banner-wrapper.sso-login h1,
.top-banner-wrapper.sso-login h2 {
    text-shadow: unset;
}

/* Light background */

.top-banner-wrapper p.small-text {
    font-size: var(--text-small-size);
}

@media only screen and (min-width: 768px) {

    .sub-wrapper {
        margin: 0;
        max-width: unset;
        background: unset;
    }

    .sub-wrapper .copy {
        color: #fff;
        max-width: 50%;
    }

    .top-banner-wrapper {
        min-height: 30rem;
        display: flex;
        align-items: flex-end;
    }

    .sale .sub-wrapper .copy {
        color: #333;
        max-width: 50%;
    }


}

@media screen and (min-width: 1024px) {

    .sub-wrapper {
        width: var(--width-content-max);
        margin: 0 auto;
    }

    .sub-wrapper .copy {
        margin: 0;
        background: unset;
        padding: 2rem 3rem;
    }

}

/* Sale banner */

.top-banner-wrapper.sale {
    /* [Dark background] background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-earth-day.jpg);*/
    background: linear-gradient(180deg,rgba(255,255,255,.6),rgba(255,255,255,.6)), url(/media/wysiwyg/sale-banner.jpg);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.top-banner-wrapper.sale .sub-wrapper {
    margin: 0 auto;
    max-width: unset;
    background: unset;
}

a.cta.action.submit.primary {
    width: fit-content;
    margin-top: 2rem;
    border-radius: 5rem;
}

.sale .sub-wrapper .copy {
    color: #333;
}

.sale.top-banner-wrapper p,
.sale.top-banner-wrapper h1,
.sale.top-banner-wrapper h2 {
    text-shadow: none;
}

.sale a:hover, .sale a:visited {
    text-decoration: none;
}

/* -- Category page */


@media only screen and (min-width: 768px) {

    .top-banner-wrapper.sale {
    /* [Dark background] background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-earth-day.jpg);*/
        background: linear-gradient(180deg,rgba(255,255,255,.6),rgba(255,255,255,.6)), url(/media/wysiwyg/sale-banner.jpg);
        background-position: center right;
        background-repeat: no-repeat;
        background-size: cover;
    }

}

@media only screen and (min-width: 1400px) {

    .top-banner-wrapper.sale {
    /* [Dark background] background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-earth-day.jpg);*/
        background: linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.2)), url(/media/wysiwyg/sale-banner.jpg);
        background-position: center right;
        background-repeat: no-repeat;
        background-size: cover;
    }

}


/* Terms modal */


/* Checkout */

p.zip-code-reminder {
    background: var(--color-light-gray);
    padding: 2rem;
    border: 1px solid var(--color-mid-gray);
}

/* Success */


@media only screen and (min-width: 768px) {

}

/* Multi-column footer */

.footer-wrapper-inner {
    max-width: var(--width-content-max);
    margin: auto;
}

.footer-wrapper-inner ul {
    text-align: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer-wrapper-inner h4 {
    text-align: left;
}

.footer-wrapper-inner {
    width: calc(100% - 4rem);
    max-width: var(--width-content-max);
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.soc-links {
    display: flex;
    gap: 1rem;
    fill: #fff;
}

.footer.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    align-items: center;
}

.page-footer .widget.block.block-static-block {
    margin: 0;
}

footer.page-footer {
    padding: 2rem  0;
}

@media only screen and (min-width: 768px) {

    .footer-wrapper-inner {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .footer.content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
        align-items: center;
        width: var(--width-content-max);
        max-width: calc(100% - 4rem);
    }

    .footer .copyright {
        margin: 0;
    }

}


/* Accordion info blocks */


/* All blocks */

.product-info-wrapper h2 {
    padding: 0 0 0 1rem;
}

.product-info-wrapper p {
    padding: 0 1rem;
}

.product-info-wrapper .icon svg {
    width: 4rem;
    fill: var(--color-branding-primary);
}

.product.data.items > .item.content {
    margin-top: 0;
    padding: 0;
    border: unset;
}

.section-wrapper {
    margin: -2rem auto 0;
    display: flex;
    flex-direction: column;
}

.section-wrapper .icon-inner-wrapper {
    display: flex;
    gap: 1rem;
    padding: 0 1rem 2rem;
}

.section-wrapper .icon-inner-wrapper.table-container {
    padding: 0;
    display: block;
}

.section-wrapper .icon-inner-wrapper.table-container {
    padding: 0;
    display: block;
    margin-bottom: 3rem;
}

.section-wrapper table {
    margin-bottom: 2rem;
}

.section-wrapper th {
    font-weight: normal;
    color: #ffffff;
    background: var(--color-branding-primary);
    border: 1px solid var(--color-branding-primary);;
}

.section-wrapper td {
    border: 1 px solid var(--color-branding-primary);
}

.section-wrapper tr:nth-child(odd) {
    background: var(--color-light-gray);

}

.section-image img {
    width: 100%;
}

.product.description h2 {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.section-copy p {
    padding: 0 1rem;
}

/* Multiple blocks */

.section-wrapper.benefits .copy-content .table,
.section-wrapper.specs .copy-content .table {
    overflow: auto;
}


@media only screen and (min-width:768px) {
    .inner-wrapper {
        display: flex;
        flex-direction: row-reverse;
        gap: 7rem;
    }

}


/* Why Buy block */

@media only screen and (min-width: 768px) {

    .why-buy-wrapper {
        background: var(--color-branding-primary);
        background: linear-gradient(180deg, var(--color-branding-primary) 0%, var(--color-branding-primary) 70%, rgba(255,255,255,1) 70%, rgba(255,255,255,1) 100%);
    }

    .why-buy-reasons {
        display: flex;
        gap: 2rem;
        flex-direction: row;
        padding: 0 2rem;
        margin-top: 3rem;
    }

    .why-buy-reasons > * {
        background: #fff;
        width: 100%;
        padding: 2rem;
        -webkit-box-shadow: 10px 10px 32px 0px rgba(0,0,0,0.31);
        -moz-box-shadow: 10px 10px 32px 0px rgba(0,0,0,0.31);
        box-shadow: 10px 10px 32px 0px rgba(0,0,0,0.31);
    }

    .why-buy-wrapper .inner-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .why-buy-header h2 {
        color: #ffffff;
        padding-top: 3rem;
    }
    
    
}

/* All blocks */

/* PA launcher */

.pa-launcher-inner .icon svg {
    fill: #ffffff;
}

.pa-launcher-button {
    background: #ffffff;
}

a.quiz_launcher.ga4_quiz_link {
    font-weight: bold;
    text-decoration: none;
}

.pa-launcher-wrapper {
    margin-bottom: 2rem;
}

/* Three card banner */

.top-banner h1 {
    font-size: var(--text-h2-size);
    font-weight: 400;
    margin: 0 1rem 2.5rem;
}

.top-banner h1 span {
    text-transform: uppercase;
    color: #3F9B2C;
    padding: 0;
    font-weight: 600;
}

/* Installation message */

.product-info-main .widget.block.block-static-block {
    order: 4;
}

/* Quiz check */

.quizcheck-index-index input.submit.action.primary.disclaimer {
    margin-top: 2rem;
}

/* SSO login */

.ri_sso-ameren-ssologin main#maincontent.page-main {
    max-width: 100%;
    padding: 0;
}

.top-banner-wrapper.sso-login {
    display: flex;
    background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-sso-login-bg.jpg);
    /* [dark background] background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.8)), url(/media/wysiwyg/top-banner-event-bg.jpg);*/
   /* background: linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.5)), url(/media/wysiwyg/top-banner-event-bg.jpg);*/
    background-size: cover;
    background-position: center right;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 4rem;
}


/* Light background */
.sso-login .sub-wrapper {
    background: rgba(255, 255, 255, 0.5);
}

.sso-login .sub-wrapper .copy {
    padding: 4rem 2rem;
}

.sso-login .button-wrapper {
    margin-top: 2rem;
}

.ri_sso-ameren-ssologin .page-header {
    border-bottom: 2px solid var(--color-branding-primary);
    margin-bottom: 0;
}

s.ri_sso-ameren-ssologin span.action.nav-toggle {
    display: none;
}

.ri_sso-ameren-ssologin .header.content .logo {
    padding-left: 0;
}

.sso-login h2 {
    font-weight: var(--font-weight-normal);
}

button#sso_btn_submit {
        background: #1B6CB5;
        border: 1px solid #1B6CB5;
        color: #fff;
}

@media only screen and (min-width: 768px) {


    .sub-wrapper .copy {
        min-height: 40rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .top-banner-wrapper.sso-login {
        /* Light background */
        /*background: linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.5)), url(/media/wysiwyg/top-banner-event-bg.jpg);*/
        background-position: right;
        background-repeat: no-repeat;
    }
    
    /* Light background */
    .sso-login .sub-wrapper {
        background: unset;
    }
}

/* What to expect */

.expect header.modal-header {
    border-top: 1rem solid var(--color-branding-primary);
}

.expect h1#modal-title-2 {
    font-weight: 600;
}

h2.installation-disclaimer {
    font-size: var(--text-h3-size);
    margin-bottom: .75rem;
    margin-top: 2rem;
    font-weight: 600;
}



/* Modal gate */

.custom-popup-modal header.modal-header {
    border-top: 1rem solid var(--color-branding-secondary);
    width: calc(100% - 4rem);
}

.custom-popup-modal.modal-slide .modal-content {
    border-top: unset;
}

.custom-popup-modal .top-copy {
    margin-bottom: 2rem;
}

.custom-popup-modal .form label span {
    display: block;
    height: 3rem;
}

.custom-popup-modal .form > div {
    margin-bottom: 1rem;
}

.custom-popup-modal  input.action.primary {
    margin: 3rem 0 1rem;
    display: block;
}

.custom-popup-modal .product.validation-forms.data.items {
    margin-bottom: 0;
}

.custom-popup-modal .button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

.custom-popup-modal input[type="text"] {
    height: 4.5rem;
}

.modal-popup .modal-header {
    padding-top: 0;
}

.modal-popup.modal-slide .modal-inner-wrap[class] {
    background-color: #ffffff;
}

.custom-popup-modal h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.custom-popup-modal .top-copy span {
    font-weight: 600;
}

.product-info-wrapper h2.copy-title {
    padding-left: 0;
    font-size: var(--text-normal-size);
}

.custom-popup-modal .modal-logo {
    margin: 1rem 0 2rem 0;
}

.choice {
    margin-top: 2rem;
}

.modal-popup .modal-content {
    padding-left: 2rem;
    padding-right: 2rem;
}

div#custom-fail-popup-modal {
    margin-top: 4rem;
}

@media only screen and (min-width: 768px) {

    .custom-popup-modal.modal-slide .modal-content {
        padding-top: 0;
    }

    .custom-popup-modal._inner-scroll .modal-inner-wrap {
        max-width: 60rem;
        min-height: 40rem;
    }

    .custom-popup-modal .button-wrapper {
        margin: 0 0 0 auto;
    }

    .custom-popup-modal header.modal-header {
        width: calc(100% - 6rem);
    }

    .modal-popup .action-close, .modal-slide .action-close {
        right: -10px;
        top: 5px;
    }

    .residential-gate-modal .modal-inner-wrap {
        width: fit-content;
    }

    div#custom-fail-popup-modal {
        padding: 0 1rem;
    }

}

/* Peak savings pages */

.quizcheck-index-validate .column.main,
.quizcheck-index-index .column.main {
    margin-top: 1rem;
}

.radio-set {
    display: flex;
}

.radio-set input[type="radio"] {
    margin: 0;
}

.radio-set label {
    padding: 0 1rem 0 .2rem;
}

.field.choice.thermostat-connection {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-mid-gray);
    padding-bottom: 2rem;
}

.quizcheck-index-validate .buttons {
    margin: 3rem 0 5rem;
    display: flex;
    gap: 2rem;
}

.quizcheck-index-validate .buttons .back {
    background: var(--color-mid-gray);
    border: 1px solid var(--color-mid-gray);
    color: var(---color-text)
}

.quizcheck-index-validate .buttons .back:hover {
    background: #ddd;
    border: 1px solid #ddd;
    color: var(---color-text)
}


@media only screen and (min-width: 768px) {

    .quizcheck-index-validate .column.main,
    .quizcheck-index-index .column.main {
        padding: 2rem 0;
        max-width: calc(100% - 6rem);
        margin: 3rem auto 0;
    }

}


/* Demand Response banner */

.demand-response-banner {
    background: var(--color-branding-secondary);
    color: #fff;
    padding: 2rem;
}

.catalog-category-view .demand-response-banner {
    margin-top: 2rem;
}

.demand-response-banner-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
    flex-direction: column;
}

.demand-response-banner-inner .copy {

}

.demand-response-banner h2 {
    margin-bottom: 1rem;
}

.demand-response-banner .button {
    white-space: nowrap;
    background: var(--color-branding-secondary);
    border: 1px solid #ffff;
}

.demand-response-banner .button:hover {
    background: #ffffff;
    border: 1px solid var(--color-branding-secondary);
}

.demand-response-banner-inner .button:hover a {
    color: var(--color-branding-secondary);
    text-decoration: none;
}


.demand-response-banner-inner a,
.demand-response-banner-inner a:hover,
.demand-response-banner-inner a:visited {
    color: #fff
}

.catalog-product-view .demand-response-banner .button {
    display: none;
}

@media only screen and (min-width: 768px) {

    .demand-response-banner-inner {
        display: flex;
        flex-direction: row;
    }

}

/* Tooltip */


/* Mobile menu */

.section-item-title.nav-sections-item-title:nth-child(3) {
    display: none;
}


