/*
 * NOTICE OF LICENSE
 *
 * This product is licensed for one customer to use on one installation (test stores and multishop included).
 * Site developer has the right to modify this module to suit their needs, but can not redistribute the module in
 * whole or in part. Any other use of this module constitutes a violation of the user agreement.
 *
 * DISCLAIMER
 *
 * NO WARRANTIES OF DATA SAFETY OR MODULE SECURITY
 * ARE EXPRESSED OR IMPLIED. USE THIS MODULE IN ACCORDANCE
 * WITH YOUR MERCHANT AGREEMENT, KNOWING THAT VIOLATIONS OF
 * PCI COMPLIANCY OR A DATA BREACH CAN COST THOUSANDS OF DOLLARS
 * IN FINES AND DAMAGE A STORES REPUTATION. USE AT YOUR OWN RISK.
 *
 * @author    idnovate.com <info@idnovate.com>
 * @copyright 2022 idnovate.com
 * @license   See above
 */

 /* Bootstrap compatibility */
.hidden-xs-up {
    display: none!important
}

@media (max-width: 575px) {
    .hidden-xs-down {
        display:none!important
    }
}

@media (min-width: 576px) {
    .hidden-sm-up {
        display:none!important
    }
}

@media (max-width: 767px) {
    .hidden-sm-down {
        display:none!important
    }
}

@media (min-width: 768px) {
    .hidden-md-up {
        display:none!important
    }
}

@media (max-width: 991px) {
    .hidden-md-down {
        display:none!important
    }
}

@media (min-width: 992px) {
    .hidden-lg-up {
        display:none!important
    }
}

@media (max-width: 1199px) {
    .hidden-lg-down {
        display:none!important
    }
}

@media (min-width: 1200px) {
    .hidden-xl-up {
        display:none!important
    }
}

.hidden-xl-down {
    display: none!important
}


.alert-loyalty {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid;
    border-radius: 0;
    clear: both;
}

.loyalty-block img {
    width: auto !important;
    margin-right: .625rem;
    vertical-align: middle;
    display: inline-block;
    background: transparent;
    box-shadow: none;
}

.alert-loyalty span,
#blockcart-modal .modal-body .divide-right span {
    vertical-align: middle;
    display: inline;
}

/* Customer account */
.loyalty-block-redeem-btn {
    text-align: center;
    margin-bottom: 2rem;
}

.loyalty-block-redeem-btn .btn {
    white-space: normal;
}

#module-loyaltyeditpoints-points .box {
    box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
}

#module-loyaltyeditpoints-points h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #232323;
    margin-bottom: 1rem;
}

/* Product page */
.loyalty-block-product .alert-loyalty {
    margin-top: .625rem;

}

.loyalty-block-product-free .alert-loyalty {
    background-color: #d9edf7;
    border-color: #bcdff1;
    color: #31708f;
    margin-top: .625rem;
    display: inline-block;
    border-radius: 5px;
}

.loyalty-block-product-free .alert-loyalty img {
    display: none;
}

/* Product list page */
.loyalty-block-productlist {
    clear: both;
}

.loyalty-block-productlist .alert-loyalty {
    margin: 0.2rem 0 0;
    padding: 0.1rem;
    border-radius: 20px 0px 20px 0px;
}

.owl-carousel .owl-item .loyalty-block-productlist .alert-loyalty img,
.loyalty-block-productlist .alert-loyalty img {
    width: 20px !important;
    display: inline-block !important;
}

/* Shopping cart page */
.loyalty-block.loyalty-block-shopping-cart {
    padding: 1.25rem 1.25rem 0.5rem;
}

.loyalty-block-shopping-cart-detail .alert-loyalty {
    padding: 0;
    margin: 0;
    background: inherit;
    width: 24px;
    text-align: center;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.loyalty-block-shopping-cart-detail img,
.cart-grid .product-image.media-middle .loyalty-block-shopping-cart-detail img {
    width: 20px;
    min-width: auto;
    margin: 0;
}

/* Shopping cart page */
.loyalty-block-checkout .alert-loyalty {
}

.loyalty-block-checkout .loyalty-block-redeem-btn .btn {
    white-space: normal;
}

.loyalty-block-checkout .loyalty-block-redeem-btn .btn:hover {
    color: white !important;
}

/* Order confirmation page */
.loyalty-block-order-confirmation .alert-loyalty {
}

/* Product added modal */
.loyalty-block-shopping-cart-modal .alert-loyalty {
}

/* Product image */
.loyalty-block-product-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff6ca;
    color: #777777;
    border: 1px solid #f8d100;
    padding: .2rem;
    z-index: 1;
}

.loyalty-block-product-image span {
    vertical-align: middle;
}

.loyalty-block-product-image img,
.main-product-details .product-cover .loyalty-block-product-image img {
    margin-right: 0;
    display: inline-block;
}

#module-loyaltyeditpoints-points th {
  border-left: 1px solid black;
}

#module-loyaltyeditpoints-points table {
  border-collapse: collapse;
  width: 100%;
}

#module-loyaltyeditpoints-points table {
    /*display: flex;*/
    /*flex-flow: column;*/
    width: 100%;
    /*height: 400px;*/

}

#module-loyaltyeditpoints-points thead, #module-loyaltyeditpoints-points tfoot {
    padding-right: 17px;
    flex: 0 0 auto;
}

#module-loyaltyeditpoints-points tbody {
    /*flex: 1 1 auto;*/
    display: block;
    /*overflow-y: auto;*/
    /*overflow-x: hidden;*/
}

#module-loyaltyeditpoints-points tr {
    width: 100%;
    display: table;
    table-layout: fixed;
}
