/**
 * Main Template CSS Stylesheet
 * 
 * BOOTSTRAP v3.4.0
 *
 */
.clearBoth {
   clear: both;
}
.forward {
    float: right;
}
.back {
    float: left;
}

/* This is used to re-size images */
img {
    max-width: 100%;
    height: auto;
    border: 0;
}

.qmix > br {
    display: none;
}

.normalprice, .productSpecialPriceSale {
    text-decoration: line-through;
}

#back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    z-index: 1;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}

#back-to-top.show {
    opacity: 1;
    z-index: 1;
}

/* set height of scrollable area in mobile menu */
div#navbarSupportedContent {
    max-height:90vh;
    overflow-y:auto;
}

.zca-banner {
    text-align: center;
}

.ot-title {
    text-align: right;
}
.ot-text,
.totalCell {
    text-align: right;
}

.centeredContent {
    text-align: center;
    padding: 1rem;
}

table.tabTable td {
    padding: 0.5rem;
}
#indexProductList-cat-wrap {
    margin-bottom: 1rem;
}
#productsListing-bottomRow {
    margin-top: 1rem;
}

.sideBoxContent select {
    margin-bottom: 1rem;
}
#navCatTabs a,
#navCatTabs a:hover {
    border: 0.125rem solid #007faf;
}

/* These CSS media queries control how many columns of cards display on the login, checkout_shipping, checkout_payment & checkout_confirmation pages */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
.card-columns {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
}
}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
.card-columns {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
.card-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
.card-columns {
  -webkit-column-count: 2;
  -moz-column-count:2;
  column-count: 2;
}
}

/* Center EZ-Pages Header Bar & Footer Bar Links (ZCA Bootstrap) */
#ezpagesBarHeader,
#ezpagesBarFooter,
#navSuppWrapper {
    text-align: center;
}

#ezpagesBarHeader .navbar-nav,
#ezpagesBarHeader ul,
#ezpagesBarFooter .navbar-nav,
#ezpagesBarFooter ul,
#navSuppWrapper .navbar-nav,
#navSuppWrapper ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    float: none;
    margin: 0 auto;
    width: 100%;
}

#ezpagesBarHeader li,
#ezpagesBarFooter li,
#navSuppWrapper li {
    display: inline-block;
    float: none;
}

/* Hide Billing Address block on One-Page Checkout (billed centrally to company) */
#checkoutOneBillto {
    display: none !important;
}

/* Product Info Page: Center main product image & theme Add to Cart card + button */
.productMainImage,
#productInfo-productMainImage,
#productMainImage {
    float: none !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}
.productMainImage figure,
.productMainImage a,
#productInfo-productMainImage figure,
#productInfo-productMainImage a,
#productMainImage figure,
#productMainImage a {
    display: inline-block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
.productMainImage img,
#productInfo-productMainImage img,
#productMainImage img {
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#addToCart-card {
    border-color: #0056b3 !important;
}
#addToCart-card-header {
    background-color: #0056b3 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-align: center !important;
}
#cartAdd .btn,
#cartAdd button,
#cartAdd input[type="submit"] {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
    color: #ffffff !important;
}
#cartAdd .btn:hover,
#cartAdd button:hover,
#cartAdd input[type="submit"]:hover {
    background-color: #004494 !important;
    border-color: #004494 !important;
    color: #ffffff !important;
}

 =========================================================
   Product Info Page & Site Theme Overrides (#284b73)
   ========================================================= */

/* 1 & 3. Attribute headers & compact boxes (Size, Color, Logo) */
#productAttributes .card {
    border-color: #284b73 !important;
    max-width: 360px !important;
    width: 100% !important;
    margin-bottom: 0.65rem !important;
}
#productAttributes .card-header {
    background-color: #284b73 !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 0.3rem 0.65rem !important;
}
#productAttributes .card-header h4,
#productAttributes .card-header .optionName {
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
#productAttributes .card-body {
    padding: 0.45rem 0.65rem !important;
}
#productAttributes .card-body .custom-control,
#productAttributes .card-body .form-check,
#productAttributes .card-body label {
    margin-bottom: 0.2rem !important;
    font-size: 0.9rem !important;
}

/* 2. Product Price: ~20% larger than 1.05rem */
#productInfo-productPrices,
#productInfo-productPrices *,
#productPrices,
#productPrices *,
.productBasePrice,
.productSpecialPrice,
.productSalePrice {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

/* 4. Add to Cart card & button: match exact #284b73 site color */
#addToCart-card {
    border-color: #284b73 !important;
}
#addToCart-card-header {
    background-color: #284b73 !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 0.35rem 0.75rem !important;
    text-align: center !important;
}
#cartAdd .btn,
#cartAdd button,
#cartAdd input[type="submit"] {
    background-color: #284b73 !important;
    border-color: #284b73 !important;
    color: #ffffff !important;
}
#cartAdd .btn:hover,
#cartAdd button:hover,
#cartAdd input[type="submit"]:hover {
    background-color: #1e3958 !important;
    border-color: #1e3958 !important;
    color: #ffffff !important;
}

/* 5. Checkout button: change from yellow (.btn-warning) to #284b73 */
.btn-warning,
.button_checkout,
a[href*="checkout_shipping"] .btn,
a[href*="checkout_one"] .btn {
    background-color: #284b73 !important;
    border-color: #284b73 !important;
    color: #ffffff !important;
}
.btn-warning:hover,
.button_checkout:hover,
a[href*="checkout_shipping"] .btn:hover,
a[href*="checkout_one"] .btn:hover {
    background-color: #1e3958 !important;
    border-color: #1e3958 !important;
    color: #ffffff !important;
}

/* 6. Quantity Discounts table: #284b73 header, bold title, and full row/column grid borders */
#productInfo-productQuantityDiscounts,
#productQuantityDiscounts {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}
#productInfo-productQuantityDiscounts table,
#productInfo-productQuantityDiscounts .table,
#productQuantityDiscounts table,
#productQuantityDiscounts .table {
    border-collapse: collapse !important;
    border: 1px solid #284b73 !important;
    width: auto !important;
    min-width: 280px !important;
}
#productInfo-productQuantityDiscounts table thead th,
#productInfo-productQuantityDiscounts .table thead th,
#productInfo-productQuantityDiscounts table tr:first-child th,
#productInfo-productQuantityDiscounts table tr:first-child td,
#productQuantityDiscounts table thead th,
#productQuantityDiscounts .table thead th,
#productQuantityDiscounts table tr:first-child th,
#productQuantityDiscounts table tr:first-child td {
    background-color: #284b73 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 0.4rem 0.75rem !important;
    border: 1px solid #284b73 !important;
    text-align: center !important;
}
#productInfo-productQuantityDiscounts table td,
#productInfo-productQuantityDiscounts .table td,
#productQuantityDiscounts table td,
#productQuantityDiscounts .table td {
    border: 1px solid #9fb0c2 !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.9rem !important;
    text-align: center !important;
}
/* Re-apply #284b73 header fill if the header row uses <td> instead of <th> */
#productInfo-productQuantityDiscounts table tr:first-child td,
#productQuantityDiscounts table tr:first-child td {
    background-color: #284b73 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-color: #284b73 !important;
}
/* 8. Product Info Right Column & Copy Breathing Room */
#productInfo-displayColRight {
    padding-right: 2rem !important;
}
#productInfo-productDescription {
    max-width: 92% !important;
    padding-right: 1rem !important;
    line-height: 1.55 !important;
}
/* Product Listing Grid (8-per-page) — Product Title & Price Alignment */
#productListing .itemTitle,
#productListing .itemTitle a,
#productListing .card-title,
#productListing .card-title a,
#productListing .card-body a,
#productListing h3 a,
#productListing h4 a,
.centerBoxContentsProducts .itemTitle,
.centerBoxContentsProducts .itemTitle a,
.centerBoxContentsProducts .card-title a,
.productListing-data .itemTitle a {
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #284b73 !important;
    text-decoration: none !important;
}

#productListing .itemTitle a:hover,
#productListing .card-title a:hover,
#productListing .card-body a:hover,
#productListing h3 a:hover,
#productListing h4 a:hover,
.centerBoxContentsProducts .itemTitle a:hover,
.centerBoxContentsProducts .card-title a:hover,
.productListing-data .itemTitle a:hover {
    color: #284b73 !important;
    text-decoration: underline !important;
    opacity: 0.85;
}

#productListing .productPriceDiscount,
#productListing .normalprice,
#productListing .productSpecialPrice,
#productListing .itemPrice,
.centerBoxContentsProducts .itemPrice {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
/* Checkout Success — Hide Billing Address, Payment Method, Shipping Method, and Comments */
#checkoutSuccessBillTo,
#checkoutSuccessBillingAddress,
#checkoutSuccessPaymentMethod,
#checkoutSuccessPayment,
#checkoutSuccessShippingMethod,
#checkoutSuccessShipping,
#checkoutSuccessOrderComments,
#checkoutSuccessComments {
    display: none !important;
}
/* One-Page Checkout (checkout_one) — Hide Billing Address, Shipping Method, Payment/Coupon Boxes, and Comments */
#checkoutOneBillTo,
#checkoutBillingAddress,
#checkoutOneShippingMethod,
#checkoutShippingMethod,
#checkoutOnePaymentMethod,
#checkoutPayment,
#checkoutOneDiscountCoupon,
#checkoutOneGv,
#checkoutOneComments,
#checkoutComments {
    display: none !important;
}