/* Global */

.action.primary, .action-primary {
    border-radius: .5rem;
}

input.submit {
    background: var(--color-branding-primary);
    border: 1px solid var(--color-branding-primary);
    border-radius: 5px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 2rem;
}

input.submit:hover {
    background: var(--color-branding-primary);
    border: 1px solid var(--color-branding-primary);
}

.page-bottom {
    border-top: .5rem solid var(--color-branding-primary);
    margin-top: 2rem;
}

input[type="text"], input[type="password"], input[type="url"], input[type="tel"], 
input[type="search"], input[type="number"], input[type*="date"], input[type="email"], select {
    height: 4.5rem;
    border-radius: .5rem;
}

/* Header */

span.action.nav-toggle {
    display: none;
}

.header.content .logo {
    padding-left: 0;
}

.page-header {
    border-bottom: .5rem solid var(--color-branding-primary);
}

.catalog-category-view header.page-header {
    margin-bottom: 0;
}


/* Top ribbon */

.top-ribbon-content {
    max-width: calc(var(--width-content-max) - 4rem);
}

/*Home page */

.hp-section {
    margin-top: 4rem;
}

.hp-section h2 {
    font-weight: var(--font-weight-normal);
    position: relative;
    margin-right: 2rem;
}

.hp-section h2 span {
    background: #fff;
    z-index: 999;
    position: relative;
    padding-right: 2rem;
    color: var(--color-branding-secondary);
}

.hp-section h2:after {
    content: '';
    width: 100%;
    border-top: 1px solid var(--color-mid-gray);
    display: inline;
    position: absolute;
    top: 50%;
    left: 0;
}

.category-lanes .card .copy {
    text-align: center;
    width: calc(100% - 2rem);
}

.category-lanes .card {
    background: unset;
}

.category-lanes .card-set {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
}

.category-lanes .card-set .card {
    width: 33%;
}



@media only screen and (min-width: 768px) {

    .category-lanes .card-set .card {
        width: 30%;
    }

}

@media only screen and (min-width: 1024px) {

    .category-lanes .card-set .card {
        width: 18%;
    }

    .page-products .products-grid .product-item, 
    .page-layout-1column .products-grid .product-item, 
    .page-layout-3columns .products-grid .product-item, 
    .page-products.page-layout-1column .products-grid .product-item, 
    .page-products.page-layout-3columns .products-grid .product-item {
        width: calc((100% - 12rem) / 4);
    }

}

/* Home page top banner */

.card.hp-top-banner {
    background: var(--color-branding-secondary);
    margin-top: -2rem;
    color: #fff;
}

.hp-top-banner h1 {
    margin-bottom: var(--spacing__vertical--2);
    font-weight: var(--font-weight-normal);
}

.hp-top-banner h1 span {
    color: var(--color-branding-primary);
}

.catalog-category-view .hp-top-banner h1 {
    color: var(--color-branding-primary);
}


@media only screen and (min-width: 768px) {

    .card.hp-top-banner {
        margin: 0 auto;
        width: 124rem;
        max-width: 100%;
        background: var(--color-branding-secondary);
        color: #fff;
        border-radius: .5rem;
    }

    .card.hp-top-banner .copy {
        padding: 2rem;
    }

}

/* Category top banners */

.catalog-category-view .card.hp-top-banner {
    color: var(--color-text);
    background: unset;
}

.card.category-top-banner {
    background: unset;
    margin-bottom: 2rem;
}

.catalog-category-view .card.category-top-banner h1 {
    color: var(--color-branding-primary);
    margin-bottom: 2rem;
}

/* Trust signals */

.trust-signal-inner {
    border-top: unset;
    border-bottom: unset;
}

/* Category trust signals */

.catalog-category-view .trust-signal-wrapper {
    background: var(--color-trust-signal-background);
    margin-top: 0;
}

/* Ribbon */

a.ribbon {
    width: 124rem;
    max-width: calc(100% - 4rem);
    box-sizing: border-box;
}

@media only screen and (min-width: 1024px) {

}

/* Footer */

.footer-content-wrapper {
    background: #fff;
    padding: 4rem 0;
}

.card.inline-img.full-width-ad {
    width: var(--width-content-max-calc);
    max-width: var(--width-content-max);
}

.page-bottom .full-width-ad .copy {
    color: var(--color-text);
}

.page-wrapper > .page-bottom .full-width-ad a.cta.alt {
    border-radius: 2rem;
    color: var(--color-branding-secondary);
}

.page-wrapper > .page-bottom .full-width-ad a.cta.alt:hover {
    color: #fff;
}

.footer .copyright, .footer .bugs {
    display: block;
    margin: 0px 0 2rem;
}

.footer.content {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
}

p.footer-note {
    padding: 0 2rem 2rem;
}

.page-bottom .content {
    display: flex;
    flex-direction: column;
}

/* Category page */

.products.wrapper.grid.products-grid {
    width: var(--width-content-max);
    max-width: var(--width-content-max-calc);
    margin: 5rem auto;
}

.products .product-items .product-item {
    text-align: center;
}

.sale-price-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.widget-product-grid.product-items, ol.products.list.items.product-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
}

.catalog-category-view .column.main .widget.block.block-static-block {
    background: var(--color-light-gray);
}

.catalog-category-view.page-layout-1column .column.main {
    padding-bottom: 0;
}

.product-item a.product-item-link, .products a.product-item-link {
    font-size: var(--text-h4-size);
    line-height: var(--text-h4-line-height);
}

.price-box .special-price span.price-label {
    color: var(--color-branding-primary);
    font-size: var(--text-h4-size);
    font-weight: var(--font-weight-bold);
}



/* Product page */

button#product-addtocart-button {
    margin-top: 3px;
}

.qty button {
    height: 4.2rem;
    position: relative;
}

.product-info-main .box-tocart .input-text.qty, .product-options-bottom .box-tocart .input-text.qty {
    height: 42px;
    text-align: center;
    width: 42px;
}


.product-info-main .box-tocart .action.tocart {
    line-height: 0;
    padding: auto;
    font-size: 1.8rem;
    height: 4.2rem;
    position: relative;
    top: 1px;
}

.description h3 {
    color: var(--color-branding-primary);
    margin-top: 0;
}

.block.widget .product-item-info, .page-products .product-item-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item-details, .product.details.product-item-details {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.price-box.price-final_price {
    display: flex;
    flex-direction: column-reverse;
    margin-block-start: auto;
}

@media only screen and (min-width: 768px) {

    .long-description-item {
        width: calc(33% - 5rem);
        background: var(--color-product-page-description-background);
        padding: 2rem;
    }

    .long-description-wrapper {
        display: flex;
        flex-wrap: wrap;
    }

}

/* Success page */

.checkout-success {
    margin-top: 2rem;
}

.checkout-onepage-success .card {
    background: unset;
}

.checkout-onepage-success .top-container {
    background: unset;
}

.checkout-onepage-success .card {
    background: unset;
    border-bottom: 1px solid var(--color-mid-gray);
    padding-bottom: 2rem;
}

.checkout-onepage-success .card .copy {
    padding: 2rem 2rem 0;
}

.checkout-onepage-success .card .copy h1 {
    margin-bottom: 0;
}



@media only screen and (min-width: 768px) {

    .checkout-success {
        margin-top: 5rem;
    }

    .checkout-onepage-success .top-container {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .checkout-onepage-success img {
        border-radius: .5rem;
    }

    .checkout-onepage-success .card .copy {
        padding: 2rem;
    }


}

/* Gate - closed */

.welcome-index-index .columns .column.main {
    padding: 0;
}

.gate-wrapper .trust-signal-inner > * {
    box-shadow: unset;
    background: var(--color-light-gray);
}

.gate h2 {
    text-align: center;
    margin-bottom: 0;
}

.gate h3 {
    color: var(--color-branding-secondary);
    margin-bottom: 1rem;
}

.gate .trust-signal-inner h3 {
    color: var(--color-branding-primary);
}

.gate .copy {
    gap: 0;
}

.welcome-index-index header.page-header {
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    box-shadow: unset;
    border-bottom: .5rem solid var(--color-branding-secondary);
}

.gate form fieldset {
    gap: 0;
}

.gate input, .gate select {
    height: 4.5rem;
    width: 100%;
    border-radius: .5rem;
    text-align: center;
}

.gate .input-wrapper {
    max-width: 100%;
    position: relative;
}

.gate-wrapper > .left {
    background: unset;
    padding-top: unset;
}

.gate form fieldset {
    margin-top: 0;
}

.gate input[type="radio"] {
    height: 2rem;
}

.gate .radio-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.gate .field .input-box {
    display: flex;
    flex-direction: row;
}

div#wifi_at_home-error,
.gate div#code-error {
    position: absolute;
    bottom: -2rem;
}

.gate input.submit.action.primary {
    margin: 3rem auto;
    max-width: 20rem;
}

p.form-question {
    margin: 3rem 0 0 0;
}

@media only screen and (min-width: 768px) {

    .gate-wrapper {
        display: flex;
        flex-direction: row;
        width: var(--width-content-max);
        max-width: var(--width-content-max-calc);
        margin: auto;
        gap: 5rem;
    }

    .gate-wrapper .hp-top-banner .img img {
        border-radius: .5rem .5rem 0 0;
        max-height: unset;
    }

    .gate-wrapper .trust-signal-wrapper {
        margin-top: 0;
    }

}

/* Cross sell */

.crosssell .product-item-info {
    max-width: 45rem;
    width: auto;
    display: flex;
    align-items: center;
    border: 1px solid var(--color-mid-gray);
    padding-right: 2rem;
}

.crosssell .product.details.product-item-details {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: auto;
}

.crosssell .products .product-items .product-item {
    text-align: left;
    width: 100%;
}

.product-item-actions .actions-secondary > a.action.tocompare {
    display: none;
}

.block.crosssell {
    margin-top: 0;
}

/* Installation page */

.installation-index-index legend.legend {
    margin: 0;
}

.installation-index-index div#gate_wrapper form {
    max-width: 60rem;
}

.installation-index-index div#gate_wrapper {
    padding: 0;
}

/* CMS */

.cms-page-view .column.main ul {
    margin-left: 1rem;
}


/* Product Info block */

.program-info-wrapper {
    background: var(--color-light-gray);
}

.program-info {
    display: flex;
    gap: 2rem;
    margin: 4rem auto 0;
    width: var(--width-content-max);
    max-width: var(--width-content-max-calc);
    padding: 2rem;
}

.program-info > * {
    background: #ffffff;
    padding: 2rem;
    width: 100%;
}

@media only screen and (max-width: 768px) {

    .program-info {
        display: flex;
        gap: 2rem;
        flex-direction: column;
    }

    .program-info > * {
        width: calc(100% - 4rem);
    }

}

/* Installation page */

.installation-index-index .modal-popup ul {
    list-style: none;
}

.installation-index-index .gate input,
.installation-index-index .gate select {
    text-align: left;
}

.installation-index-index .control {
    margin-bottom: 1.5rem;
}

div#gate_wrapper {
    background: #f5f5f5;
    display: inline-block;
    border: 1px solid #ddd;
}

.gate-address-wrapper.col-md-6 {
    margin: 2.4rem;
}

div#gate_wrapper #btn_submit {
    display: inline-block;
    text-align: center;
    max-width: 20rem;
}

/* Checkout page */

.checkout-agreements-block a {
    text-decoration: underline;
    color: darkblue;
}

.checkout-agreements-block .checkout-agreement.field {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
}

.checkout-agreements-block input[type="checkbox"] {
    top: 4px;
}

.checkout-index-index .powered-by-techniart {
    display: none;
}