/**
*
* TABLE OF CONTENTS:
* 
* Request Custom Quote
* Custom Registration Fields
* Purchase Lists
* Fonts
* Product page
* Media Queries
*
*/

:root {
    --b2bking-font-family-a: 'Roboto', sans-serif;
    --b2bking-font-family-b: "Roboto Medium", 'Roboto';
    --b2bking-font-family-c: "DM Sans", sans-serif;
}

/* 1. Request Custom Quote */
#b2bking_request_custom_quote_button{
	margin-bottom: 5px;
    position: initial;
    visibility: visible;
    height: auto;
}
div#b2bking_before_quote_request_button {
    display: none;
}
#b2bking_request_custom_quote_textarea{
	width: 100%;
    min-height: 150px;
    resize: vertical;
    margin-bottom: 5px;
    display: none;
}
span.b2bking_request_custom_quote_text_label {
    display: none;
    text-align: left;
    margin-top: 15px;
}
.b2bking_before_quote_request_form {
    display: none;
    margin-top: 15px;
    text-align: left;
}
.b2bking_button_quote_productpage:not(.b2bking_send_custom_quote_button){
    margin-left: 5px;
}
.b2bking_button_quote_productpage{
    max-width: fit-content;
    margin-bottom: 0px !important;
}
#b2bking_purchase_lists_table_length label {
    display: flex !important;
    align-items: center !important;
}
div#b2bking_purchase_lists_table_filter label {
    display: flex !important;
    align-items: center !important;
}
#b2bking_purchase_lists_table_filter input {
    margin-bottom: 0px;
}
#b2bking_request_custom_quote_textarea_abovetext{
	display: none;
	text-align: left;
	margin-top: 15px;
}
#b2bking_request_custom_quote_name, #b2bking_request_custom_quote_email{
	width: 50%;
    margin-bottom: 5px;
    display: none;	
}
.b2bking_custom_quote_field, .b2bking_custom_quote_field_container{
    display: none;
}
.b2bking_custom_quote_field{
    width: 50% !important;
    margin-bottom: 5px !important;
}
.b2bking_custom_quote_field_container label {
    display: flex !important;
    width: 110px;
    align-items: flex-end;
    justify-content: start;
}
.b2bking_custom_quote_field_container .b2bking_supported_types {
    display: flex;
}

#b2bking_agent_switched_bar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 10px;
    background-color: #131314;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #717171;
    box-shadow: 0px 1px 3px 0px rgb(54 74 99 / 5%);
}

.b2bking_bar_element {
    font-size: 15px;
    margin-left:5px;
}

#b2bking_return_agent{
    display: flex;
    font-family: var(--b2bking-font-family-c);
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.4375rem 1.125rem;
    font-size: 0.8125rem;
    line-height: 1.25rem;
    border-radius: 4px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #fff;
    background-color: #854fff;
    
}

#b2bking_return_agent:hover{
    color: #fff;
    background-color: #6a29ff;
}
#b2bking_return_agent:focus{
    outline: none !important;
    border: 1px solid transparent;


}

.b2bking_theme_list_buttons{
    display: flex;
}
.b2bking_theme_list_buttons button{
    margin-right: 10px !important;
    margin-left: 0px !important;
}
.b2bking-application-pending{
    font-style: italic;
}

.price .b2bking_both_prices_text, .price .b2bking_both_prices_price {
    display: inline;
}
.b2bking_custom_quote_field_container {
    width: 100% !important;
}

.b2bking_image_preview {
    background-position: center;
}

.b2bking-drop-area {
    display: flex;
    border: 1px dashed #487bfe;
    border-radius: 4px;
    flex-direction: column;
    width: 100%;
    text-align: center;
    align-items: center;
    padding: 14px 45px;
    font-size: 15px;
    color: #414141;
    cursor: pointer;
    background: #f4f8ff;
}
.b2bking-drop-area.highlight {
    border-color: blue;
}
#b2bkingfilelist {
    list-style: none;
    margin: 0;
    padding: 0;
}
#b2bkingfilelist li {
    margin: 10px 0;
    padding: 7px 10px !important;
    background: #ffffff;
    border: 1px dashed gray;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px;
}

#b2bkingfilelist li button {
    margin-left: 20px;
    background: #929292;
    color:#fff;
    border-radius: 2px;
    font-size: 10px;
}
#b2bkingfilelist li button:hover {
    background: #878787;
}

.b2bking_hidden_img{
    display: none !important;
}
.b2bking_invisible_img{
    visibility: hidden !important;
}
img.b2bking_cream_add_selected_loader_icon {
    width: 39px;
    position: absolute;
    left: 12px;
    top: 1px;
}
.b2bking_loading_products_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#b2bking_request_custom_quote_button.b2bking_button_quote_shortcode{
  /*  display: none; */
}
.b2bking_loading_products_text {
    color: #393939;
    margin-top: 34px;
    margin-bottom: 14px;
    font-family: var(--b2bking-font-family-c);
    -webkit-font-smoothing: antialiased;
    font-size: 16.7px;
}

.b2bking_image_preview {
    display: none;
    position: absolute;
    z-index: 999999;
    width: var(--b2bking-preview-width, 300px);
    height: var(--b2bking-preview-height, 300px);
    border: 2px solid #ddd;
    background-repeat: no-repeat;
    background-size: cover;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
}


.b2bking_tiered_total_price_text, .b2bking_tiered_total_price{
    display: inline-block;
}
.b2bking_tiered_total_price_container{
    margin-top: 25px;
    font-size: 20px;
}

.b2bking_tiered_price_table_horizontal thead {
    display: none;
}
.b2bking_tiered_price_table_horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
}
.b2bking_tiered_price_table_horizontal tr {
    display: flex !important;
    flex-direction: column;
}
.b2bking_tiered_price_table_horizontal tbody {
    display: flex;
    width: 100%;
}


.b2bking_tiered_range_replaced_hidden{
    display: none !important;
}
.b2bking_tiered_clickable tbody tr{
    cursor: pointer !important;
}

.b2bking_myaccount_coffers_pagination_container{
	display: flex;
	justify-content: space-between;
}

.b2bking_checkbox_child {
    padding-left: 18px;
    border-left: 30px solid #777;
}

.b2bking-cart-item-child .product-remove a, .b2bking-cart-item-child .remove_from_cart_button, .b2bking-cart-item-child a.remove {
    display: none !important;
}
.b2bking-cart-item-child .product-price .amount, .b2bking-cart-item-child .product-subtotal .amount{
    opacity: 0.3;
}
.woocommerce-checkout .b2bking-cart-item-child {
    opacity: 0.3;
}
.woocommerce-order-received .b2bking-cart-item-child .product-total {
    display: none;
}

.b2bking_hidden{
    display: none;
}

button#b2bking_conversation_make_offer_vendor {
    min-width: 100px;
    background: #0a6099;
}
.b2bking_list_button_delete_theme{
    width: 140px !important;
}

.b2bking_loader_img{
    margin:auto;
    display: block;
}
.b2bking_loader_hidden{
    display: none !important;
}

.b2bking_loader_icon_button{
    width: 37px;
    position: relative;
    left: -7px;
}

.b2bking_loader_icon_button_quote {
    width: 22px;
    display: inline-block;
    float: right;
    margin-left: 20px;
}

/* 5. Custom registration fields */
select#b2bking_registration_roles_dropdown, .b2bking_custom_registration_field {
    width: 100%;
}
.b2bking_registration_roles_dropdown_section_hidden{
    display: none !important;
}
.b2bking_checkbox_registration_field{
    width: auto;
}
select#b2bking_registration_roles_dropdown{
    display: inline-block;
}
.b2bking_custom_registration_field_textarea{
	resize: vertical;
	min-height: 55px;
}
.b2bking_country_or_state{
    margin-bottom: 0 !important;
}
/* vat visible and hidden. !important necessary to make sure these stay hidden */
.b2bking_vat_visible{
	display: block;
}
.b2bking_vat_hidden{
	display: none !important;
}
.b2bking_vat_countries_hidden{
	display: none !important;
}
button#b2bking_checkout_registration_validate_vat_button {
    margin-top: 8px;
}


div[activepaymentmethod="b2bking-credit-gateway"] p {
    margin-bottom: 1px !important;
}
div[activepaymentmethod="b2bking-credit-gateway"] p:nth-child(1) {
    margin-top: 20px !important;
}

/* 7. Purchase lists */
div#b2bking_purchase_lists_table_wrapper {
    font-size: 14px;
    background: #fff;
    border-radius: 5px;
}

/* Purchase list – product page widget */
.b2bking_purchaselist_productpage_wrap {
    display: flex !important;
    align-items: center !important;
    margin-top: 40px !important;
    clear: both;
    margin-bottom: 10px !important;
}
.b2bking_purchaselist_productpage_wrap .b2bking_purchaselist_productpage_select {
    height: 45px !important;
    margin-right: 8px !important;
    box-sizing: border-box !important;
    padding: 6px !important;
    border: 1px solid #d6d6d6;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    line-height: normal !important;
}
.b2bking_purchaselist_productpage_wrap .b2bking_purchaselist_productpage_add_button {
    height: 45px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    padding: 10px 30px !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    white-space: nowrap !important;

}

table#b2bking_purchase_lists_table {
    padding-top: 19px;
    padding-bottom: 13px;
    width:100%
}
.b2bking_purchase_lists_top_title {
    font-family: var(--b2bking-font-family-a);
    font-size: 30px;
    color: #373737;
    font-weight: 400;
}
#b2bking_purchase_lists_table_filter input {
    border-radius: 4px;
    box-shadow: none;
    height: 33px;
    background: #fff;
    border: 1px solid #eee;
}
#b2bking_purchase_lists_table_length select{
	border-radius: 4px;
}
div#b2bking_purchase_lists_table_length {
    margin-top: 6px;
}
button.b2bking_purchase_lists_view_list {
    border-radius: 3px;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    margin-right: 5px;
    padding: 4px 8px;
    justify-content: center;
    color: #ffffff;
    background: #6abeff;
    margin-top: 1px;
    border: none;
    font-weight: 600;
    text-transform: none;
    min-height: 0;
    line-height: normal;
    height: 31px;
    font-family: var(--b2bking-font-family-a);
    font-size: 13px;
}
button.b2bking_purchase_lists_view_list:hover{
	background: #3a98e1;
	color: #ffffff;
	cursor: pointer;
}
button.b2bking_purchase_lists_add_to_cart {
    border-radius: 3px;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    padding: 4px 8px;
    justify-content: center;
    color: #ffffff;
    background: #606060;
    margin-right: 5px;
    margin-top: 1px;
    border: none;
    font-weight: 600;
    text-transform: none;
    min-height: 0;
    line-height: normal;
    height: 31px;
    font-family: var(--b2bking-font-family-b);
    font-size: 13px;
    min-width: 60px;
}
button.b2bking_purchase_lists_add_to_cart:hover{
	background: #444444;
	color: #ffffff;
	cursor: pointer;
}
#b2bking_purchase_lists_table a.b2bking_purchase_list_button_href:visited, #b2bking_purchase_lists_table a.b2bking_purchase_list_button_href{
	text-decoration: none;
}

#b2bking_purchase_lists_table td, #b2bking_purchase_lists_table th{
	text-align: center;
}
#b2bking_purchase_lists_table td{
	padding: 12px 14px;
}
.b2bking_purchase_list_top_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.woocommerce .woocommerce-MyAccount-content .b2bking_purchase_list_top_container a.b2bking_purchase_list_new_link{
    text-decoration: none !important;
}
button#b2bking_purchase_list_new_button {
    background: #3AB1E4;
    line-height: 15px;
    min-width: 135px;
    text-align: end;
    height: 35px;
    color: #FFFFFF;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    position: relative;
    outline: none;
    border: none;
    font-family: var(--b2bking-font-family-a);
    font-weight: 500;
    font-size: 15.5px;
    padding: 5px 16px;
    text-transform: none;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
button#b2bking_purchase_list_new_button:hover{
	background-color: #0088c2;
	color: #ffffff;
	cursor: pointer;
}
svg.b2bking_purchase_list_new_button_icon {
    width: 19px;
    margin-right: 10px;
}
.b2bking_purchase_list_new_link{
	height: fit-content;
}
table#b2bking_purchase_lists_table thead tr th {
    color: white;
}
table#b2bking_purchase_lists_table thead tr th:nth-child(1){
    border-radius: 5px 0px 0px 0px;
}
table#b2bking_purchase_lists_table thead tr th:nth-child(4){
    border-radius: 0px 5px 0px 0px;
}
table#b2bking_purchase_lists_table:not( .has-background ) tbody td{
    background: #fff;
}
table#b2bking_purchase_lists_table tfoot{
    display: none;
}
table#b2bking_purchase_lists_table td{
    border-bottom: 1px solid #eee;
}
#b2bking_purchase_lists_table_length select {
    border-radius: 4px;
    background: #fff;
    border: 1px solid #eee;
    margin: 0px 5px;
}
#b2bking_purchase_lists_table_paginate .paginate_button.current {
    background: #fcfcfc;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#b2bking_purchase_lists_table_paginate .paginate_button:hover {
    background: #f1f1f1 !important;
    border: 1px solid #eee;
    border-radius: 5px;
    color: #333 !important;
    cursor: pointer;
}
img.b2bking_list_download {
    width: 14px;
    margin-right: 6px;
    filter: invert(1);
}
button.b2bking_purchase_lists_view_list {
    font-weight: 300 !important;
}
table#b2bking_purchase_lists_table thead tr th{
    border-bottom: none;
}
/* 8. Fonts */
/* cyrillic-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto/KFOmCnqEu92Fr1Mu7mxKOzY.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto/KFOmCnqEu92Fr1Mu4WxKOzY.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 9. Product Page */
.b2bking_tiered_active_price, .b2bking_tiered_range_replaced{
    visibility: visible !important;
    display: inline-block;
}
.b2bking_shop_table{
    margin-top: 50px;
}
.b2bking_shop_table td, .b2bking_shop_table th {
    display: table-cell !important;
}
.b2bking_shop_table tr {
    display: table-row !important;
}
.b2bking_has_color{
    background: rgb(30, 115, 190); 
    background-color: rgb(30, 115, 190); 
    color: rgb(255, 255, 255) !important;
}
table.b2bking_tiered_price_table tbody td.b2bking_has_color{
   background: rgb(30, 115, 190); 
   background-color: rgb(30, 115, 190); 
   color: rgb(255, 255, 255) !important; 
}

.b2bking_login_icon, .b2bking_lock_icon, .b2bking_business_icon, .b2bking_wholesale_icon{
    position: relative;
    top: 2px;
    right: 1px;
}

div#b2bking_company_credit_history_table_wrapper{
    overflow: scroll;
}

/* 10. Media Queries */


@media screen and (max-width: 665px) { 

    .b2bking_myaccount_individual_conversation_content_item:nth-child(2), .b2bking_myaccount_individual_conversation_top_item:nth-child(2) {
        display: none;
    }

    .b2bking_myaccount_individual_conversation_content_item{
        font-size:13px;
    }

    .b2bking_conversation_message_time{
        font-size:10px !important;
    }

    #b2bking_myaccount_offers_container, #b2bking_myaccount_bulkorder_container{
        margin: 0px 0px;
    }

    #b2bking_purchase_lists_table th:nth-child(2),#b2bking_purchase_lists_table td:nth-child(2){
        display:none;
    }

    .b2bking_myaccount_individual_offer_container, #b2bking_myaccount_bulkorder_container{
        min-width: unset;
    }
    .b2bking_myaccount_individual_offer_bottom_line{
        margin:0px 10px;
        flex-direction: column-reverse;
    }
    .b2bking_myaccount_individual_offer_bottom_line_add{
        margin-top: 7px;
    }
    .b2bking_bulkorder_form_container_bottom_add,.b2bking_bulkorder_form_container_bottom, .b2bking_bulkorder_form_container, #b2bking_myaccount_conversations_container_top, .b2bking_subaccounts_container_top, .b2bking_subaccounts_new_account_container_content_bottom{
        display: block !important;
    }
    div#b2bking_reimburse_button_container, div#b2bking_redeem_button_container{
        display: block;
    }
    #b2bking_redeem_amount_button, #b2bking_reimburse_amount_button{
        border-radius: 4px !important;
        margin-top: 2px !important;
    }
    input#b2bking_reimburse_amount_input, input#b2bking_redeem_amount_input{
        width: 100%;
        border-right: 2px !important;
        border: 1px solid #E5E5E5 !important;
        border-radius: 4px;
    }
}

@media screen and (max-width: 500px) { 

    #b2bking_purchase_lists_table th:nth-child(3),#b2bking_purchase_lists_table td:nth-child(3){
        display:none;
    }
    #b2bking_return_agent{
        font-size: 0.7rem;
    }

}



