/* Run a Successful Business custom styling */

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #12324a;
    background-image: linear-gradient(to bottom, #0C5AA8 0%, #B69449 100%);
    background-color: #0C5AA8;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Header logo */
body:before {
    content: "";
    display: block;
    width: 100%;
    max-width: 1180px;
    height: 145px;
    margin: 0 auto 24px auto;
    background-image: url("https://fk163.files.keapfile.app/fk163/84452acb-6877-4671-af70-1ff19c3e8a23");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-color: #ffffff;
    border-bottom: 6px solid #0D7945;
}

/* General text */
td {
    font-family: Arial, Helvetica, sans-serif;
    color: #12324a;
}

h1,
h2 {
    color: #0C5AA8;
    font-family: Arial, Helvetica, sans-serif;
}

h3 {
    color: #0D7945;
    font-family: Arial, Helvetica, sans-serif;
}

/* Main form/table areas */
.viewCart,
.shippingTable,
.billingTable,
.paymentMethodTable,
.shipMethodTable,
.payplanTable,
.orderSummary,
.upsell {
    background-color: #ffffff;
    outline: 1px solid #c8d8e8;
    border: 1px solid #c8d8e8;
}

/* Table headers */
.viewCart th,
.viewCartShort th,
.payPlan th,
.summaryCart th,
.shippingInfo th,
.billingInfo th,
.billingTable th,
.shippingTable th,
.paymentInfo th,
.signinTable th,
.paymentMethodTable th,
.shipMethodTable th,
.payplanTable th,
.orderSummary th {
    background: #0D7945;
    filter: none;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

/* Handles any dark title/header cells Keap may inject */
.viewCart th.priceCell,
.viewCart th.qtyCell,
.viewCart th.productCell,
.viewCart th.rightAlign,
.viewCart th.centerAlign,
th.leftAlign,
th.rightAlign,
th.rightAlignTop,
th.centerAlign {
    background: #0D7945;
    filter: none;
    color: #ffffff;
}

/* Table cells */
.viewCart td,
.viewCartShort td,
.payPlan td,
.summaryCart td,
.shippingInfo td,
.billingInfo td,
.paymentInfo td,
.orderSummary td {
    background-color: #ffffff;
    border-top: 1px solid #d9e4ef;
}

/* Subtotal row - keeps it white so there is no green corner */
.viewCart tr.subtotal,
.viewCart tr.subtotal td,
.subtotal {
    background-color: #ffffff;
    color: #12324a;
    font-weight: bold;
}

/* Hide promo code row */
#ORDER_FORM_SUMMARY tr:has(#promoCode) {
    display: none;
}

/* Form fields */
.checkout,
.checkoutShort,
.checkoutShortest,
.checkoutBottom,
.checkoutTop,
.qtyField,
.optionsDrop,
.promoField {
    border: 1px solid #b8cde2;
    border-radius: 4px;
    color: #12324a;
    font-family: Arial, Helvetica, sans-serif;
}

.checkout:focus,
.checkoutShort:focus,
.checkoutShortest:focus,
.checkoutBottom:focus,
.checkoutTop:focus,
.qtyField:focus,
.optionsDrop:focus,
.promoField:focus {
    border-color: #0C5AA8;
    outline: none;
}

/* Links */
a,
a:hover {
    color: #0C5AA8;
}

/* Buttons */
.codeButton,
.continueButton,
.upsellButton {
    background: #0D7945;
    filter: none;
    background-color: #0D7945;
    border: 1px solid #095c34;
    border-radius: 4px;
    color: #ffffff;
    font: bold 13px/1.2 Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-shadow: none;
}

/* Bigger Place Order button */
#CHECKOUT_LINKS .checkoutLinks .continueButton {
    display: inline-block;
    font: bold 15px/1.2 Arial, Helvetica, sans-serif;
    padding: 6px 20px;
    min-width: 125px;
    text-align: center;
}

.codeButton:hover,
.continueButton:hover,
.upsellButton:hover {
    background: #0C5AA8;
    filter: none;
    background-color: #0C5AA8;
    border: 1px solid #09477f;
    color: #ffffff;
    text-shadow: none;
}

/* Product and alert colors */
.soldOut,
.outOfStockText,
.errorMessage,
.cartDiscount {
    color: #c62828;
}

.upsellPrice {
    color: #0D7945;
}

.optionChosen {
    color: #5d7184;
}

/* PayPal buttons area */
#payPalButtons {
    background-color: #ffffff;
}

/* Mobile header adjustment */
@media only screen and (max-width: 960px) {
    body:before {
        height: 95px;
        margin-bottom: 16px;
        background-size: contain;
    }

    .viewCart tr:not(:first-child) {
        border-top: 1px solid #d9e4ef;
    }
}
