/* ============================================ */
/* public.css                                   */
/*                                              */
/* Styles for frontend                          */
/*                                              */
/*  Contents:                                   */
/*                                              */
/*  GENERAL                                     */
/*  REGISTRATION                                */
/*  OFFERS                                      */
/*  QUOTE                                      */
/*  BULK ORDER                                 */
/*                                              */
/* ============================================ */

/* ============================================ */
/* GENERAL                                       */
/* ============================================ */

.eib2bpro-hidden-row {
    display: none;
}

.eib2bpro-text-muted {
    font-size: 12px;
    opacity: 0.7;
}

.eib2bpro_price_tiers_table {
    margin-top: 40px;
}

.eib2bpro_price_tiers_active_row td {
    background-color: red !important;
    color: #fff !important;
}

.eib2bpro_price_tiers_active_row span.amount {
    color: #fff !important;
}

/* ============================================ */
/* REGISTRATION                                       */
/* ============================================ */

.woocommerce-checkout .eib2bpro_registration_form {
    display: none;
}

.eib2bpro_registration_container {
    margin-bottom: 20px;
}

.eib2bpro_registration_container span,
.eib2bpro_registration_container input:not([type="checkbox"]),
.eib2bpro_customfield_required_0 input,
.eib2bpro_customfield_required_1 input {
    width: 100%;
}

/* ============================================ */
/* OFFERS                                       */
/* ============================================ */

.eib2bpro-b2b-offer-in-cart-head {
    display: block;
    margin-bottom: 20px;
    font-size: 1em;
}

.eib2bpro_offers {
    padding: 25px;
    margin-bottom: 20px;
    background: #353535;
    color: #fff;
}

.eib2bpro_offers h2 {
    margin-top: 5px;
    margin-bottom: 25px;
}

.eib2bpro_offers hr {
    margin: 0;
    height: 0;
}

.eib2bpro-b2b-offer-in-cart {
    background-color: #efefef;
    padding: 20px;
    padding-bottom: 10px;
}


/* Suggestion */

.eib2bpro-b2b-offer-line {
    width: 49%;
    margin-bottom: 10px;
    margin-top: 10px;
    display: inline-block;
}

.eib2bpro-b2b-offer-line-image {
    width: 35%;
    float: left;
    padding-right: 20px;
}

.eib2bpro-b2b-offer-line-image img {
    max-height: 120px;
    width: auto !important;
    height: auto;
}

.eib2bpro-b2b-offer-line-name {
    width: 65%;
    float: left;
}

.eib2bpro-b2b-offer-line-product-name {
    font-size: 1.1em;
    padding-bottom: 5px;
    font-weight: bold;
    padding-top: 10px;
}

.eib2bpro-b2b-offer-line-end {
    clear: both;
}

.eib2bpro_offers_product_table th,
.eib2bpro_offers_product_table td,
.eib2bpro_offers a,
.eib2bpro_offers .woocommerce-Price-amount,
.eib2bpro_offers h2 {
    color: #fff !important;
}

.eib2bpro_offers>img {
    width: 100%;
    margin-bottom: 20px;
}

.eib2bpro_offers_product_table {
    margin: 0px;
    border: 0;
    border-radius: 10px;
}

.eib2bpro_offers_product_table td,
.eib2bpro_offers_product_table th {
    text-align: right;
    background-color: transparent !important;
    padding-left: 0px;
    border: 0 !important;
}

.eib2bpro_offers_product_table td a {
    text-decoration: none !important;
}

.eib2bpro_offers_product_table th.eib2bpro_offers_product_name {
    width: 40%;
}

.eib2bpro_offers_cart_table {
    margin: 0px;
    border: 0px;
}

.eib2bpro_offers_cart_table td {
    background-color: transparent !important;
    border: 0px;
}

.eib2bpro_offers_cart_table .eib2bpro_offers_add_to_cart {
    text-align: left !important;
}

.eib2bpro_offers .eib2bpro_offers_add_to_cart,
.eib2bpro_offers .eib2bpro_offers_product_name {
    text-align: left;
}

a.eib2bpro_offer_add_to_cart_options,
button.eib2bpro_offer_add_to_cart {
    margin-top: 10px;
    padding: 12px 15px;
    border: 0;
    cursor: pointer;
    font-size: 0.8rem;
    background: #fff;
    color: #000;
    line-height: 1;
}


.eib2bpro_offer_total {
    text-align: right !important;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1.2rem;
}

.eib2bpro_offer_cart_display {
    background: #353535;
    padding: 15px;
    color: #fff;
    border-radius: 10px;
    margin-top: 10px;
}

.eib2bpro_offer_cart_display_item {
    padding: 0px 0px 0px 0px;
}

.eib2bpro_offer_cart_display_item:first-child {
    border-bottom: 0px;
}

.eib2bpro_offer_cart_name {
    padding-top: 10px;
    font-size: 1.1rem;
}

.eib2bpro_offer_cart_qty_x {
    color: #aaa;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.eib2bpro_offer_cart_qty {
    color: orange;
}


/* ============================================ */
/* QUOTE                                       */
/* ============================================ */


#eib2bpro-b2b-cart-request-a-quote-container {
    text-align: left;
    padding: 30px;
    width: 100%;
}

#eib2bpro-b2b-cart-request-a-quote-container .form-row {
    margin-bottom: 20px;
}

#eib2bpro-b2b-cart-request-a-quote-container .eib2bpro_quote_field_label {
    padding-bottom: 5px;
    font-weight: 600;
}

#eib2bpro-b2b-cart-request-a-quote-container input {
    width: 100%;
}

.eib2bpro-b2b-quote-table,
.eib2bpro-b2b-quote-table td {
    border: 0 !important;
}

.eib2bpro-b2b-quote-table-image {
    width: 25%;
}

.eib2bpro-b2b-quote-table-image img {
    width: 100%;
}

.eib2bpro-b2b-quote-table-qty {
    max-width: 70px !important;
}

.eib2bpro-b2b-cart-request-a-quote-label {
    display: block;
    text-align: left;
}

.eib2bpro-b2b-cart-request-a-quote-ok {
    padding: 30px;
    text-align: center;
}


.eib2bpro-modal {
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
}

.eib2bpro-modal.is-visible {
    visibility: visible;
}

.eib2bpro-modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.eib2bpro-modal.is-visible .eib2bpro-modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.eib2bpro-modal-wrapper {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    width: 32em;
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.eib2bpro-modal-transition {
    transition: all 0.3s 0.12s;
    opacity: 0;
}

.eib2bpro-modal.is-visible .eib2bpro-modal-transition {
    opacity: 1;
}

.eib2bpro-modal-body {
    max-height: 80vh;
    overflow: auto;
}

.eib2bpro-modal-close {
    position: absolute;
    right: 14px;
    top: 0px;
    font-size: 25px;
    cursor: pointer;
}

.eib2bpro-modal-header,
.eib2bpro-modal-content {
    padding: 1em;
}

.eib2bpro-modal-content>*:first-child {
    margin-top: 0;
}

@media (max-width: 820px) {
    .eib2bpro-modal-wrapper {
        width: 80vw;
    }

    .eib2bpro_offers_product_table td,
    .eib2bpro_offers_cart_table td {
        display: inline-block;
        width: 100%;
        text-align: center !important;
    }

    .eib2bpro-b2b-offer-line {
        width: 100%;
    }

    .eib2bpro-bulkorder-l1-td-subtotal {
        display: none;
    }
}

/* ============================================ */
/* BULK ORDER                                       */
/* ============================================ */

.eib2bpro-bulkorder-l1-table {
    background: #efefef;
}

.eib2bpro-bulkorder-l1-table * {
    outline: transparent !important;
}

.eib2bpro-bulkorder-l1-body td {
    vertical-align: middle;
}

.eib2bpro-bulkorder-l1-body td a {
    text-decoration: none !important;
}


.eib2bpro-bulkorder-l1-body tr:last-child td {
    border-radius: 0;
    background-color: transparent !important;
    border-bottom: 0px !important;
}

.eib2bpro-bulkorder-l1-categories,
.eib2bpro-bulkorder-l1-search {
    width: 100%;
    padding: 5px;
    height: 35px;
}

.eib2bpro-bulkorder-l1-td-product {
    width: 40%;
}

.eib2bpro-bulkorder-l1-td-add {
    text-align: center;
}

.eib2bpro-bulkorder-l1-td-qty input {
    width: 50px;
    text-align: center;
}

button.eib2bpro-bulkorder-l1-page,
.eib2bpro-bulkorder-l1-variations,
.eib2bpro-bulkorder-l1-categories,
.eib2bpro-bulkorder-l1-search,
.eib2bpro-bulkorder-l1-product-qty,
.eib2bpro-bulkorder-l1-product-add {
    width: 100%;
    border-radius: 8px;
    border: 0px;
    padding: 6px 10px !important;
}

button.eib2bpro-bulkorder-l1-page {
    width: auto;
}

.eib2bpro-bulkorder-l1-categories,
.eib2bpro-bulkorder-l1-search,
.eib2bpro-bulkorder-l1-search::placeholder {
    background-color: transparent !important;
    background: transparent !important;
    color: #fff !important;
    padding-left: 0px !important;
    box-shadow: none !important;
    border: 0px m !important;
}

.eib2bpro-bulkorder-l1-qty-max-alert {
    display: none;
}

.eib2bpro-bulkorder-l1-categories {
    float: right;
}

/* ============================================ */
/* RTL                                       */
/* ============================================ */

.rtl .eib2bpro-b2b-offer-line-image {
    padding-left: 20px;
}

.rtl .eib2bpro_offers_add_to_cart {
    text-align: right !important;
}

.rtl .eib2bpro_offer_total {
    text-align: left !important;
}