/**
 * stel_calculator_style.css 
 * Savings message in cart, checkout pages and single product pages. GB only
 * Version: 0.0.17
**/

.shop_table .order-savings-low-tax,
.shop_table .order-savings-high-tax,
.single-product-savings-low-tax,
.single-product-savings-high-tax {
    background: var(--link-color-a);
}


/* ------------------------------------- Single product page --------------------------------------------- START  */

#stel-calc-savings span.amount {
    font-weight: normal;
}

#stel-calc-savings {
    margin-top: 2rem;
}

#stel-calc-savings .netto-low,

/*#stel-calc-savings .netto-high,*/

#stel-calc-savings .single-product-savings-high-tax {
    margin-bottom: 0.6rem
}

#stel-calc-savings .single-product-savings-low-tax {
    margin-bottom: 0.4rem;
}

#stel-calc-savings .single-product-savings-low-tax,
#stel-calc-savings .single-product-savings-high-tax {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 115%;
    color: #fff;
    text-align: center;
}

#stel-calc-savings .single-product-savings-low-tax,
#stel-calc-savings .single-product-savings-high-tax,
#stel-calc-savings .single-product-savings-low-tax .woocommerce-Price-amount,
#stel-calc-savings .single-product-savings-high-tax .woocommerce-Price-amount {
    color: #fff;
}


/* ------------------------------------- Single product page --------------------------------------------- END  */


/* Cart and checkout ------------------------------------------------------------------------------------- START */


/* cart page */

.cart_totals .shop_table .order-savings-low-tax td,
.cart_totals .shop_table .order-savings-high-tax td,

/* check out page */

#order_review .shop_table .order-savings-low-tax td,
#order_review .shop_table .order-savings-high-tax td,
#stel_savings_container {
    margin-top: 5px;
    margin-bottom: 25px;
}

.header_txt_stel_savings {
    width: 58%;
    margin-bottom: 1em;
    line-height: 1.4;
    font-weight: bold;
    font-size: 1.2rem;
}

.stel_savings_tax {
    background-color: #008000;
    color: #fff;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 7px;
    font-size: 0.8rem;
    font-weight: bold;
}

.stel_savings_tax .woocommerce-Price-amount {
    color: unset;
}

.stel_calc_cart_checkout_col_1 {
    width: 28%;
}

.stel_calc_cart_checkout_col_2 {
    width: 40%;
}

.stel_calc_cart_checkout_col_1 input[type=text] {
    margin-bottom: 0;
    border: 0;
    box-shadow: unset;
    background-color: #ddd;
    color: #000;
}

.stel_calc_cart_checkout_col_1 input[type=text],
.stel_savings_tax {
    height: 2.25rem;
}

.stel_calc_cart_checkout_col_2 {
    padding-left: 1%
}

.stel_calc_cart_checkout_col_2 .stel_savings_tax {
    margin-bottom: 0;
}

#stel_savings_container .headerDisplay{
    display: flex;
}


/* Cart and checkout --------------------------------------------------------------------------------------- END */

@media only screen and (max-width: 849px) {
    /******************** ADD MOBILE/TABLET ONLY CSS HERE  ***********************************/
    .stel_calc_cart_checkout_col_1,
    .stel_calc_cart_checkout_col_2 {
        width: 100%;
    }
    .stel_calc_cart_checkout_col_2 {
        padding-left: 0;
    }
    #stel_savings_container .row:first-child {
        margin-bottom: 0;
    }
    #stel_savings_container .row {
        margin-bottom: 1rem;
        padding-right: 1px;
    }
    .stel_savings_tax {
        font-size: 95%;
        height: unset;
        padding-bottom: 7px;
        padding-left: 5px;
        padding-right: 5px;
    }
}