div#colart_B2B_product_pages {
    margin-bottom: 170px;
}



div#colart_B2B_product_pages table#variations {

    visibility: hiddeng;

}
div#colart_B2B_product_pages table#variations tr {

}

div#colart_B2B_product_pages table#variations td {

    border-left: 1px solid #dee2e6;
    /* Change the border style as needed */
    border-bottom: 1px solid #dee2e6;
    /* Change the border style as needed */

}

div#colart_B2B_product_pages table#variations th {

    border-left: 1px solid #000;
    /* Change the border style as needed */

}


/*Used for cart items that could not be added to cart*/
#colart_B2B_product_pages tr.red td {
    background-color: #ff00002b;
    border-bottom: 1px solid rgb(156, 54, 54);
}


#colart_B2B_product_pages th.swatch {
    width: 65px !important;
}

#colart_B2B_product_pages th.sku {
    width: auto;
}

#colart_B2B_product_pages th.filter {
    width: auto;
}


#colart_B2B_product_pages th.add-to-cart-area {
    width:235px;
    
}

#colart_B2B_product_pages .no-ecommerce th.add-to-cart-area {
    width:auto;
    
}

/*swatches*/
#colart_B2B_product_pages td[data-meta-key="ATR_PRODUCT_ORDER_NUMBER"] {
    width: 100px;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #fff;
    background-size: contain;
}

/*somtimes*/
#colart_B2B_product_pages td.codes-3 {
    font-size: 12px;
    line-height: 14px;
}


/*Restrict the width of table cell content*/
#colart_B2B_product_pages td.add-to-cart-area {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}


#colart_B2B_product_pages .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 24px;
}

.select2-container {
    width: auto;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
    padding-left: 8px;
    padding-right: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 5px;
    display: none; 
}


  

#colart_B2B_product_pages .select2-container {
    
    /*Looks better when the drop down fills the space*/
    min-width:100px;
    

}


.column-filter{
    width:100px;
    visibility: hidden;
}











/*item cart area*/

.items-are-in-cart .cart-quantity {
    position: block;
}

.items-are-in-cart .enclosure {
    margin-top: 4px;
}

/* Remove outline for all elements when focused */
.qty-button:focus {
    outline: none;
}


.btn-primary.focus,
.btn-primary:focus {
    box-shadow: none !important;
    outline: none !important;

}

.enclosure {
    margin-top: -2px;
}

.enclosure input.quantity {
    border-style: none;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
}

.enclosure .qty-button {
    background-color: #555;
    color: #fff;
    border-style: none;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;

}

.enclosure.disabled input.quantity {
    border-top-color: #ccc;
    border-bottom-color: #ccc;
}


.enclosure.disabled .qty-button {
    background-color: #ccc;
    cursor: default;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}


.enclosure .fa-cart-plus  {
    position: absolute;
    right:8px;
}

.cart-quantity {
    position: absolute;
    width: 100%;
    display: none;
    background-color: greenyellow;
    top: -3px;
    right: 0px;
    font-size: 12px;
    padding-right: 9px;
    text-align: right;
}

.currency_price {
    width: 60px;
    display: inline-block;
}

.in-basket-row {
    border-top: 3px solid greenyellow;
    background-color: #d3eec4;
}


.line-add-to-cart {
    width: 91px;
    display: inline-block;
    border-width: 1px 0px;
    border-style: solid none solid none;
    text-align: left;
}

#colart_B2B_product_pages .line-add-to-cart.disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: default !important;
}

/*#colart_B2B_product_pages .spinner-border {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: baseline;
    border: .20em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: d .75s linear infinite;
}*/
.quantity_buttons_wrapper .spinner-border {
    margin-right: 20px;
}
.quantity_buttons_wrapper .request_result {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}
.single-product .quentity_wrapper .spinner-border {
    margin-left: 20px;
    display: inline-block;
    vertical-align: middle;
}
.single-product .quentity_wrapper .request_result {
    margin-left: 20px;
    display: inline-block;
    vertical-align: middle;
}
/*.quantity_buttons_wrapper .request_result.success {
    color: #198754;
}
.quantity_buttons_wrapper .request_result.error {
    color: #198754;
}*/

#colart_B2B_product_pages .simple-product-page .spinner-border {
    width: 2.25rem;
    height: 2.25rem;
    color:#aaa;
    
}

/*Stock Classes*/

.stock {
    font-size: 14px;
    text-align: left;
}

.stock.simple-product {
    font-size: 16px;
}


#colart_B2B_product_pages .in-stock {
    color: #047b76;
}

#colart_B2B_product_pages .low-stock,
#colart_B2B_product_pages .while-stocks-last {
    color: rgb(182, 116, 3);
}

#colart_B2B_product_pages .out-of-stock,
#colart_B2B_product_pages .request-backorder,
#colart_B2B_product_pages .item-unavailable  {
    color: red;
}

/*xx*/

#colart_B2B_product_pages .add-to-basket.disabled{
    background-color: #ccc !important;
    cursor: default !important;
}



/*SPP*/

#colart_B2B_product_pages .simple-product-page .add-simple-product-to-basket {
    /* width: 100px !important; */
    text-align: center;
    position: relative;
    top: -1px;
}

#colart_B2B_product_pages .simple-product-page .add-simple-product-to-basket.disabled {
    background-color: #ccc !important;
    border-color: #ccc !important;
}



#colart_B2B_product_pages .simple-product-page #quantity {
    font-size: 20px;
    text-align: center;
    width: 60px;
    height: 36px;
    margin: 10px;
    border: 2px solid #888;
}

#colart_B2B_product_pages .simple-product-page .cart-message{
    background-color: greenyellow;
    padding: 0px 12px;
    display: block;
    line-height:30px;      
    width: fit-content;
}

#colart_B2B_product_pages .simple-product-page #quantity:focus {
    outline: none;
    border: 2px solid #111;
}


#colart_B2B_product_pages .simple-product-page .add-to-basket {
    position: relative;
    top: -1px;
}


/*Swatches*/

#colart_B2B_product_pages td.image{
    background-position: center center!important;/*good most of the time*/    
    background-repeat: no-repeat;
    background-size:contain; 
} 

#colart_B2B_product_pages td.image.colour-product{
    background-size:cover;    
}

#colart_B2B_product_pages td.image.swatch{
    background-size:cover;    
}

#colart_B2B_product_pages .image.colour-product.primary-image{
    background-size:cover;    
}


#colart_B2B_product_pages table.snazaroo td.colour-product{
    background-size:300%;    
}

#colart_B2B_product_pages table.z-884955070604 td.swatch{
    background-size:contain;    
}

#colart_B2B_product_pages td.primary-image{
   
}



/*Swatches*/

#colart_B2B_product_pages .clickable{
    cursor: pointer;    
    text-decoration: underline;
}

#colart_B2B_product_pages .clickable.fas{
    color:#fff;
}

#colart_B2B_product_pages .clickable.fal{
    color:#ddd;
}



#colart_B2B_product_pages .fa-light{
    color: #aaa;
}



#colart_B2B_product_pages #variations.table tr.first-row th {
    padding: .40rem .75rem .2rem .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

#colart_B2B_product_pages #variations.table tr.second-row th {
    padding: .2rem .75rem .40rem .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}



#colart_B2B_product_pages .product-items-container {
    width: 100%;
    overflow-x: auto; /* Horizontal scrolling */
    white-space: nowrap; /* Prevent line breaks for child elements */
  }

#colart_B2B_product_pages .product-items-container .placeholder-image{
    width:75px;
 }

 #colart_B2B_product_pages .product-items-container .product-image {
    border:1px solid #dedede;
  }

  .tooltip {
    pointer-events: none;
    top:-75px!important;
  }

    
    /* Define styles for the hover state of the link */
    .datasheet_link:hover a {
        color: #000; /* Set the color when hovering */
        text-decoration: underline; /* Add underline when hovering */
        }
    
#colart_B2B_product_pages .simple-product-page .simple-product span {
    text-transform: capitalize;
}

#woocommerce-wrapper #content #main > .woocommerce-products-header ~ .panel-layout > .panel-grid {
    display: none;
}