/* Aantal Invoerveld Outline Grijs */
input.numeric.quantity {
    border: 2px solid #e6e6e6 !important;
}

/* Tussenruimte menu items */
.nav-link-margin {
    margin-left: 10px;
    margin-right: 10px;
}
/* Tussenruimte CTA banners */
.first-col {
    padding-right: 20px;
}
.second-col {
    padding-left: 20px;
}

/* Voorpagina Hero Slider */
.background-slide {
    border-radius: 0.5rem;
    width: 936px;
    height: 400px;
    display: flex !important;
    align-items: center !important;
}

/* Product Foto */
img#mainImage {
    width: 100% !important;
}

.product_photo .single_img {
    width: 100%;
}

.pagination {
    gap: 5px;
}
.pagination strong {
    padding: 10px;
    min-height: 44px;
    background-color: #EF2C32;
    border-radius: 6px;
    color: white;
}

.pagination a {
    padding: 10px !important;
    min-height: 44px;
    background-color: #F0F3F2;
    border-radius: 6px;
    transition: background-color .1s;
}
.pagination a:hover {
    background-color: #ebebeb;
}

.pagination .pagination__next a,  .pagination .pagination__previous a {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 13px !important;
    padding-bottom: 14px !important;
    border-radius: 6px;
}

/* Foto's Pagination */
.product_listing_footer {
    padding: 30px 0 20px;
}

.product_listing_footer a, .product_listing_footer strong {
    margin-right: 10px;
    border: 1px solid #e8e8e8;
    padding: 10px 15px;
    border-radius: 6px;
    color: #889397;
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}
.product_listing_footer a:hover {
    background-color: #EF2C32;
    color: white;
}
.product_listing_footer strong {
    background-color: #EF2C32;
    color: #fff;
}

input#photo1::file-selector-button,
input#photo2::file-selector-button,
input#photo3::file-selector-button,
input#photo4::file-selector-button,
input#photo5::file-selector-button {
    background-color: #EF2C32;
    color: white;
}

span[data-hasImage="true"] {
    position: relative; /* This makes the span the reference point for the absolutely positioned image */
}

span[data-hasImage="true"]:hover::after {
    content: attr(data-image); /* Inserts the image from the data attribute */
    position: absolute;
    top: 0; /* Align it with the top of the span */
    left: -110%; /* Moves it slightly to the left */
    z-index: 1000; /* Ensures the image is above other elements */
    white-space: nowrap; /* Prevents breaking of the image if it’s in an inline format */
}

span[data-hasImage="true"] img {
    max-width: 100px; /* Adjust this to the size of your image */
    max-height: 100px;
    display: block;
}


.wishlist-hover a {
    color: red;
    opacity: .4;
    transition: opacity .2s;
}
.wishlist-hover:hover a {
    opacity: 1;
}

.glyphicon.glyphicon-envelope:hover {
    cursor: pointer;
}

@media screen and (min-width: 767px) {
    #related_products .slick-track {
        margin-left: 0;
    }
}

#gal_01 img {
    cursor: pointer;
    width: 100px;
}

.availability_indicator {
    float: right;
    padding-top: 4px;
}
.availability_indicator .info {
    font-size: 10px;
    display: block;
    float: left;
}
.availability_indicator img {
    padding-top: 2px;
    float: right;
}
.offline, .offline a { color: #666 !important; }
#dialog-confirm {
    position: fixed;
    z-index: 100;
    top: 250px;
    left: 47%;
    width: 300px;
    padding: 0 20px;
    border: 1px solid #333;
    display: none;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.6);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
    color: #FFFFFF;
}
#dialog-confirm h5, div.notice_main h5 {
    font-size: 16px;
    font-weight: normal;
    color: #FFFFFF;
}

a.cart { font-size: 13px; margin: 8px 0 5px 0; display: inline-block; text-decoration: underline; }

.cart_alt {
    background:none!important;
    border:none;
    padding:0!important;
    font: inherit;
    /*border is optional*/
}

.ui-dialog .ui-dialog-titlebar-close::before{
    content: 'X';
    display: block;
    color: #000;
    font-size: 13px;
}

#container span {
    position: absolute;
    cursor: pointer;
}
#container span:hover {
    background-color: #ef2c32;
    border-radius: 5px;
}

.imgContainer {
    display: none;
    position: absolute;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: auto;
    height: auto;
    filter: drop-shadow(3px 4px 6px #000);
    z-index: 999999 !important;
}

.imgContainer img {
    display: block;   /* voorkomt inline whitespace */
    width: auto;      /* behoud originele afmetingen */
    height: auto;
    max-width: 100%;  /* past in tooltip container */
    max-height: 100%;
}

#numberTable tr {
    cursor: pointer;
}

#numberTable tr:hover td .imgContainer {
    display: block !important;
    padding: 5px;
    filter: drop-shadow(3px 4px 6px #000000);
    background-color: #fff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    width: auto;
    height: auto;
    z-index: 999999;
}

.overflow-capture span {
    cursor: pointer !important;
}

#numberTable tr.table-highlight {
    background-color: #FBF572 !important;
}

#numberTable tr:nth-of-type(odd) {
    background-color: #f0f3f2;
}

.table > :not(caption) > * > * {
    padding: 0;
}
.autoComplete{
    position: absolute;
    top: 48px !important;
    left: 0 !important;
    width: 350px;
    background-color: #FFFFFF;
    z-index: 9999;
    border: 1px solid #ef2c32 !important;
    display: none;
    font-weight: 400;
    text-align: left;
    border-radius: 6px;
}

#autoCompleteCategoryPage{
    top: 108px;
    left: -50px;
}

.autoComplete p{
    margin: 0;
}

.autoComplete a {
    display: block;
    font-size: 12px;
    padding: 5px 0;
}

.autoComplete .product-suggestion{
    display: flex;
    padding: 0 10px;
    color: #21313c;
    align-items: flex-start;
}

.autoComplete .suggest-productdetails{
    display: flex;
    flex-wrap: wrap;
}

.autoComplete .suggest-productname{
    width: 100%;
}

.autoComplete .suggest-productname strong{
    color: #ef2c32;
}

.autoComplete .suggest-price{
    font-size: 14px;
    font-weight: bold;
}

.autoComplete .product-suggestion img{
    max-width: 85px;
    margin-right: 10px;
}

select[name="part_model"] {
    display: none;
}

.autoComplete .all-results{
    margin: 0 -9px 0 -5px;
    padding: 10px 5px;
    text-align: center;
    background-color: transparent;
}

.cart-close-btn {
    margin-bottom: 5px !important;
}

@media screen and (max-width: 768px) {
    .first-col {
        padding-right: 0;
    }
    .second-col {
        padding-left: 0;
    }
    #autoComplete {
        width: 100%;
        top: 70px !important;
    }
}

.input-spinner .button-minus-cart,.input-spinner .button-plus-cart {
    background-color:transparent;
    border-color:var(--fc-gray-200);
    height:2rem;
    width:1.8rem;
}