/**
 * 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;
}

.m-100 {
    min-width: 100%;
}

@media (min-width: 992px) {
    .image-modal-lg .modal-dialog {
        width: 95%;
        max-width: 1200px;
    }
}

#productLargeImageModal img {
    width: 100%;
    height: auto;
}

.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;
}
}

/* ===== MOBILE STICKY SEARCH ===== */
@media (max-width: 991.98px) {
    #mobileSearchWrapper {
        position: sticky;
        top: 60px;
        z-index: 1050;
        background: #fff;
        border-bottom: 1px solid #ddd;
        padding: 10px 15px;
    }

    #mobileSearchWrapper form {
        margin: 0;
    }

    #mobileSearchWrapper .input-group {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
    }

    #mobileSearchWrapper input[type="text"],
    #mobileSearchWrapper input[type="search"],
    #mobileSearchWrapper .form-control {
        width: 100%;
        height: 40px;
        padding: 6px 10px;
        border: 1px solid #ccc;
    }

    #mobileSearchWrapper .input-group-append {
        display: flex;
    }

    #mobileSearchWrapper .input-group-append input,
    #mobileSearchWrapper .input-group-append button,
    #mobileSearchWrapper .input-group-append img {
        height: 40px;
        max-height: 40px;
    }
}

