/* ============================================ */
/* public.css                                   */
/*                                              */
/* Styles for frontend                          */
/*                                              */
/*  Contents:                                   */
/*                                              */
/*  GENERAL                                     */
/*  REGISTRATION                                */
/*  OFFERS                                      */
/*  QUOTE                                      */
/*  BULK ORDER                                 */
/*                                              */
/* ============================================ */

/* ============================================ */
/* GENERAL                                       */
/* ============================================ */

.eib2bpro-hidden-row {
    display: none !important;
}

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

#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;
    border-collapse: separate;
    border-spacing: 0;
}

.eib2bpro-bulkorder-l1-table * {
    outline: transparent !important;
}

.eib2bpro-bulkorder-l1-table thead td,
.eib2bpro-bulkorder-l1-body td {
    vertical-align: middle;
    padding: 15px 10px !important;
}

.eib2bpro-bulkorder-l1-table thead td {
    padding: 15px 20px !important;
}

.eib2bpro-bulkorder-l1-body td a {
    text-decoration: none !important;
}

.eib2bpro-bulkorder-l1-body .eib2bpro-bulkorder-l1-td-product a {
    width: calc(100% - 75px) !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-body .eib2bpro-bulkorder-l1-td-product {
    padding-left:20px !important; 
}

.eib2bpro-bulkorder-l1-table[data-subtotal=hide] .eib2bpro-bulkorder-l1-bodyx .eib2bpro-bulkorder-l1-td-product {
    width: 62%;
}

.eib2bpro-bulkorder-l1-message {
    background-color: red;
    padding:30px;
    color:#fff;
}

.eib2bpro-bulkorder-l1-td-add {
    text-align: center;
    width:70px;
}

.eib2bpro-bulkorder-l1-td-qty input {
    width: 56px !important;
    text-align: center;
}

.eib2bpro-bulkorder-l1-table .woocommerce-Button,
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: auto;
    border-radius: 5px !important;
    border: 0px !important;
    padding: 2px 7px !important;
    font-size: inherit !important;
    margin: 0px !important;
    line-height: 20px !important;
    font-weight: bold !important;
    min-height: 35px !important;
    box-shadow: none !important;
}

.eib2bpro-bulkorder-l1-product-add svg {
    vertical-align: middle;
}

.eib2bpro-bulkorder-l1-table .woocommerce-Button {
    width: auto;
}

.eib2bpro-bulkorder-l1-variations {
    margin-top: 10px !important;
    display: block !important;
}

button.eib2bpro-bulkorder-l1-page {
    width: auto;
}

.eib2bpro-bulkorder-l1-categories,
.eib2bpro-bulkorder-l1-search,
.eib2bpro-bulkorder-l1-search::placeholder {
    color: #fff !important;
    padding-left: 0px !important;
    box-shadow: none !important;
    border: 0px !important;
    padding-bottom: 0px !important;
}

.eib2bpro-bulkorder-l1-qty-max-alert {
    display: none;
}

.eib2bpro-bulkorder-l1-categories {
    float: right;
}

.eib2bpro-b2b-bulkorder-l1-image {
    display:inline !important;
    padding-right: 15px;
}
.eib2bpro-b2b-bulkorder-l1-image img{
    width: 40px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    border-radius: 8px !important;
}

.eib2bpro-b2b-bulkorder-l1-outofstock {
    background-color: red;
    color:#fff;
    font-size:12px;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    display: inline !important;
}

.eib2bpro-bulkorder-l1-td-product > a {
    display: inline-table !important;
    line-height: 1.6 !important;
}

.eib2bpro-bulkorder-l1-td-qty,
.eib2bpro-bulkorder-l1-td-subtotal {
    text-align: center;
    width:110px;
}

.eib2bpro-bulkorder-l1-td-subtotal2 {
    display: none;
}

.eib2bpro-bulkorder-l1-search {
    float:left;
    width:60% !important;
}

.eib2bpro-bulkorder-l1-categories {
    float:right;
    width:40% !important;
}

.eib2bpro-bulkorder-l1-td-qty .num-block {
    display:block;
    width: 80px !important;
    margin: 0 auto !important;
}
.eib2bpro-bulkorder-l1-td-qty .num-in {
	border-radius: 5px;
	height: 35px;
  float: left;
}

.eib2bpro-bulkorder-l1-td-qty .num-in	span {
  width: 20px !important;
  display: block;
  height: 35px;
  float: left;
  position: relative;
  cursor:pointer;
  opacity: 0.6;
}

.eib2bpro-bulkorder-l1-td-qty .num-in span:before, .eib2bpro-bulkorder-l1-td-qty .num-in span:after {
  content: '';
  position: absolute;
  background-color: #fff;
  height: 2px;
  width: 7px;
  top: 50%;
  left: 50%;
  margin-top: -1px;
  margin-left: -4px;
}

.eib2bpro-bulkorder-l1-td-qty .num-in span.plus:after {
  transform: rotate(90deg);
}

.eib2bpro-bulkorder-l1-td-qty .num-in input {
		float: left;
		width: 40px !important;
		height: 35px;
		border: none;
		text-align: center;
}

.eib2bpro-bulkorder-l1-product-qty::-webkit-inner-spin-button, 
.eib2bpro-bulkorder-l1-product-qty::-webkit-outer-spin-button {  
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
}

.eib2bpro-bulkorder-l1-product-qty {
    -moz-appearance: textfield !important;
}

@media (max-width: 820px) {
.eib2bpro-b2b-bulkorder-l1-image {
    display: block !important;
    padding-bottom: 10px;
}

.eib2bpro-bulkorder-l1-td-subtotal2 {
    display: block;
    padding-top:5px;
}

.eib2bpro-bulkorder-l1-table .pagination, .eib2bpro-bulkorder-l1-table .woocommerce-pagination {
    border:0px !important;
}

.eib2bpro-bulkorder-l1-table thead td, .eib2bpro-bulkorder-l1-body td {
    vertical-align: middle;
    padding: 15px 10px !important;
}

.eib2bpro-bulkorder-l1-table thead td,
td.eib2bpro-bulkorder-l1-td-product {
    padding-left: 20px !important;
}

.eib2bpro-bulkorder-l1-td-qty .num-in input {
    pointer-events: none;
    width: 40px !important;
}
.eib2bpro-bulkorder-l1-td-qty .num-in span {
    width: 20px;
    padding-left:0px;
}

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