﻿.viewarrow {
    border-bottom: none;
    border-right: none;
    z-index: 1000;
    top: -5px;
    margin-left: -6px;
    height: 10px;
    width: 10px;
    position: absolute;
    left: 50%;
    transform: rotate(45deg);
    border-width: 1px;
    border-style: solid;
    border-color: #e1e1e1;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

.artnrSmall {
    font-size: 75%;
    color: #333;
}

.thumbnail-col {
    height: 100%;
    display: flex;
}

.quantity-selector-desktop {
    display: none !important;
}
    .quantity-selector-mobile input[type="number"][readonly] {
        background-color: unset;
    }

.input-group-grid {
    display: flex;
    justify-content: space-between;
}

.input-group-grid .price-stock {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.quantity-selector-mobile {
    display: flex;
    flex-direction: column; /* Arrange elements vertically */
    width: 34%;
    justify-content: flex-end;
}

    .quantity-selector-mobile .button-group {
        display: flex;
        justify-content: space-between; /* Space out the buttons */
        width: 100%; /* Buttons should span the full width */
        margin-bottom: 5px; /* Add some space between buttons and input */
    }

    .quantity-selector-mobile .decrement-button,
    .quantity-selector-mobile .increment-button {
        width: 49%;
        height: 30px;
        background-color: var(--default-primary-color);
        border: none;
        text-align: left;
        line-height: 22px;
        cursor: pointer;
        color: white;
    }

        .quantity-selector-mobile .decrement-button:hover,
        .quantity-selector-mobile .increment-button:hover {
            background-color: var(--default-primary-color-hover);
        }

    .quantity-selector-mobile input.quantity-mobile {
        width: 100%;
        height: 25px;
        text-align: left;
        border: 1px solid var(--default-primary-color);
        margin-bottom: 5px; /* Space between input and Add to Cart button */
        padding: 5px;
    }

    .quantity-selector-mobile button.btn-grid-buy {
        width: 100%; /* Ensure the Add to Cart button takes the full width */
        height: 28px;
        background-color: var(--default-primary-color);
        border: none;
        color: white;
        text-align: center;
        cursor: pointer;
    }

        .quantity-selector-mobile button.btn-grid-buy:hover {
            background-color: var(--default-primary-color-hover);
        }

.quantity-selector-mobile-read-more {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 110px;
}
/*.decrement-button {
    background-color: var(--default-primary-color);
    border: none;
    position: absolute;
    right: 90px;
    bottom: 89px;
    width: 45px;
}*/

/*.increment-button {
    background-color: var(--default-primary-color);
    border: none;
    position: absolute;
    right: 42px;
    bottom: 89px;
    width: 45px;
}

    .increment-button:focus, .decrement-button:focus {
        background-color: var(--default-primary-color);
    }

    .increment-button:active, .decrement-button:active {
        background-color: var(--default-primary-color-hover);
    }*/


@media screen and (max-width: 768px) {
    .thumbnail-col {
        width: 20% !important;
    }

    .articleDescription-col {
        width: 55% !important;
    }

    .price-col {
        width: 25% !important;
        padding-left: 0 !important;
    }



        
}


@media(max-width: 650px) {
    .thumbnail-col {
        padding: 0 !important;
    }
}

@media(max-width: 562px) {
    .thumbnail-col {
        width: 30% !important;
    }

    .articleDescription-col {
        width: 45% !important;
    }
}

.artthumbnail {
    display: flex;
    justify-content: center;
    /*min-height: 140px;*/
}

.buyArea .quantity {
    width: 30%;
    float: left;
}

.buyArea .btn-primary {
    width: 60%;
}

#PartialView .list .infoproduct {
    float: left;
    clear: none;
}

#PartialView a:hover, #PartialView a:focus {
    color: var(--default-primary-color-hover);
    text-decoration: none;
}

#PartialView .list .artthumbnail {
    float: left;
    /*padding: 15px 0;*/
    /*margin-left: -25px;*/
}

.artthumbnail img {
    max-height: 100%;
    width: auto;
    margin: 0 !important;
}

.infoproduct {
    padding: 10px 15px 0px;
    clear: both;
    position: relative;
    border-top-width: 1px;
    min-height: 110px;
}

.nettoprice {
    color: var(--default-primary-color);
}

.nettoprice-from {
    color: var(--default-primary-color);
    /*	font-size: 13px;
	font-weight: 700;*/
}

.no-vat {
    color: grey;
    font-size: 11px;
    float: right;
    margin-right: 18px;
    margin-left: 20px;
}

@media screen and (max-width: 566px) {
    .no-vat {
        /*margin-left: 89px;*/
        /*display: none;*/
    }
}

/*CATEGORY DOCUMENTS*/

.category-documents .img {
    height: 150px;
    width: auto;
}

.category-documents .pdf-wrap {
    margin: auto;
    position: relative;
    display: inline-block;
}

.category-documents .blocker {
    position: absolute;
    height: 100%;
    width: 94%;
    z-index: 1;
    background: rgba(255,0,0,0);
}

.category-documents .pdf-iframe {
    z-index: 2;
}

.category-documents .video {
    height: 175px;
    width: auto;
}


.infoproduct {
    font-size: 1em;
}

.campaign {
    width: 45px;
    height: 45px;
    padding-top: 7px;
}

.buyArea .buy-article {
    font-size: 12px;
}

.bigprice {
    font-size: 21px;
}

.buyArea .inputarea {
    background-color: #EEEEEE;
    border-radius: 4px;
    padding: 5px;
    float: right;
    max-width: 54%;
}

#view div .list > li {
    height: 120px;
}

    #view div .list > li li, #viewTitle li li {
        float: left;
    }

    #view div .list > li img {
        /*		max-height: 100px;
		max-width: 100px;*/
    }

#view .articleList > li:first-child {
    width: 100px;
    margin-right: 10px;
}

.buy-article {
    float: right;
    padding: .8em 2em;
}

#view div .list .buyArea {
    position: absolute;
    right: 10px;
    width: 29%;
}

#view .list .articleList > form > li {
    width: 20% !important;
}

#view .grid .articleList > form > li {
    width: 120px !important;
    float: right;
}

/*#view .price {
	margin-top: 5px;
}*/

#view h2 {
    float: left;
    width: 80%;
    -webkit-margin-before: 0;
}

#view > button {
    margin-bottom: 10px;
}

#view #viewTitle {
    overflow: hidden;
    clear: left;
    border-bottom: 1px solid #ddd;
    padding-bottom: 11px;
}

    #view #viewTitle > li > ul {
        margin-left: 0px !important;
    }

#viewTitle .gridlist {
    color: #929292;
    width: auto !important;
}

#viewTitle .active {
    color: #404a54;
}

#viewTitle span:hover {
    background: #f1f1f1;
}

@media screen and (max-width: 992px) {
    .sort-grid-first, .sort-list-first {
        display: none;
    }
}

#cateoryView {
    float: left;
    width: 100%;
}

    #cateoryView ul {
        float: left;
        width: 100%;
        columns: 4;
        -webkit-columns: 4;
        -moz-columns: 4;
        margin-bottom: 0px;
    }

@media(max-width: 680px) {
    #cateoryView ul {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }
}

@media(max-width: 500px) {
    #cateoryView ul {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
}



#view #viewTitle > li {
    max-height: 30px;
}

#view .selected {
    font-weight: bold;
}

#view .current {
    font-weight: bold;
}

#view .pages {
    clear: both;
    margin: 5px;
}

    #view .pages .current {
        clear: both;
        margin: 5px;
        background-color: lightblue;
    }

#view form {
    display: inline;
}

#view .up:after {
    margin-left: 5px;
    content: '\25B2';
}

#view .down:after {
    margin-left: 5px;
    content: '\25BC';
}

/*#view div .grid > li {
	float: left;
	width: 25%;
	height: 350px;
	border-bottom: 1px solid #CCC;
	padding-top: 10px;
	padding-bottom: 20px;
	padding: 10px;
}*/

#view .grid li:nth-child(4n+1) > ul {
    border-left: 1px solid #CCC;
}

#view .grid .articleList {
    padding-left: 5px;
    padding-right: 5px;
    min-height: 420px;
    border-right: 1px solid #ddd;
}

#view div .grid .buyArea {
    padding: 5px;
}

#view div .grid .articleList {
    margin: 0;
}

#view div .grid > li article {
    min-height: 42px;
}

#view div .grid > li img {
    max-height: 48%;
    width: auto;
    max-width: 80%;
    margin-left: auto;
    display: block;
    margin-right: auto;
}

#view div > ul {
    overflow: hidden;
}


#view .input-group {
    width: 100% !important;
}


#viewTitle span {
    padding: px;
    font-size: px;
}


/* ---------------- Custom CSS --------------- */


/*#view div .grid > li {
	float: left;
	width: 25%;
	height: 380px;
	border-bottom: 1px solid #CCC;
	padding-top: 10px;
	padding-bottom: 20px;
}*/

/* ---------------- End of Custom CSS --------------- */





@media screen and (min-width: 600px) {
    #view div .list > li li, #viewTitle li li {
        width: 30%;
        padding-right: 5px;
    }

    /*		#viewTitle li li:last-child {
			width: 40%;
		}*/

    /*#view div .list > li li:nth-child(3) {
			width: 20%;
		}


		#view div .list > li li:nth-child(4) {
			width: 15%;
		}*/
}

@media screen and (max-width: 600px) {
    #view .articleList > li:first-child {
        display: none;
    }

    /*#view div .grid > li {
		width: 50%;
	}*/

    #viewTitle li li {
        width: 50%;
    }

        #viewTitle li li:last-child {
            width: 100%;
        }
}

@media screen and (max-width: 480px) {

    #changeview {
        display: none;
    }

    #PartialView {
        clear: both;
    }
}

@media screen and (max-width: 380px) {

    #view div .list > li {
        height: 200px;
    }
}


/* NEW CODE FOR GALLERY AND LIST VIEW TO GET DUSTIN LOOK */
/* LIST VIEW */
.productRow {
    padding: 10px 0;
    background-color: #fff;
    border: 1px solid #e6e8e9;
    border-top-color: #f1f2f3;
    margin-bottom: -1px;
    position: relative;
    width: 100%;
    height: 100%;
}

    .productRow .oneLiner {
        /*max-height: 35px;*/
        max-height: 50px;
        overflow-y: hidden;
    }

    .productRow .shortSpec {
        padding-left: 15px;
        padding-bottom: 25px;
        list-style-type: circle;
        font-size: 10px;
        color: #999;
        margin-top: -25px;
    }

    .productRow .shortSpec-right {
        float: right;
    }

    .productRow .shortSpec-left {
        float: left;
    }

    .productRow .shortSpec-left-col {
        display: flex;
    }

    .productRow .articleinfo-row {
        margin: 0 0 0 0;
        position: relative;
        top: -20px;
    }

    .productRow .stock-icon {
        position: absolute;
        top: 76px;
    }


@media(max-width: 1024px) {
    .shortSpec-left-col {
        justify-content: center;
    }
}

/*@media(max-width: 992px) {
		.productRow .shortSpec-left {
			margin-top: -15px;
		}
	}
	*/

@media(max-width: 882px) {
    .shortSpec-left-col {
        justify-content: end;
    }
}

@media(max-width: 768px) {
    .productRow .shortSpec {
        display: none;
    }
}

/*.productRow #AddToCart {
    position: absolute;
    right: 10px;
    bottom: 10px;
}*/

.productRow .priceInfo {
    float: right;
    z-index: 2;
}

    .productRow .priceInfo .price {
        float: right;
        clear: both;
    }

.productRow .action-row {
    position: absolute;
    bottom: 0;
}

.productRow .title-list {
    font-size: 16px;
    line-height: 1.2;
    display: inline-block;
    font-weight: bolder;
    width: 100%;
    padding-right: 50%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-height: 45px;
    color: var(--default-primary-color);
    letter-spacing: 1px;
    font-family: var(--default-font);
    margin-bottom: -7px;
}

@media screen and (max-width: 768px) {
    .productRow .title-list {
        padding-right: 0;
    }
}

.productRow .short-descr {
    padding-left: 0 !important;
    line-height: 1;
}

.productRow .articlenumber-list {
    font-family: var(--default-font);
    color: black;
    font-weight: bolder !important;
    font-size: 13px;
}

.productRow .desc-list {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 10px;
    font-family: var(--default-font);
    color: #999;
    overflow: hidden;
    max-height: 35px;
    margin-bottom: 0;
    margin-top: 20px;
}

.productRow:hover {
    z-index: 5;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,.175);
    box-shadow: 0 0 3px rgba(0,0,0,.175);
}

.productRow .btn-list-buy {
    padding: 0px;
    position: absolute;
    width: 100px;
    right: 10px;
    bottom: 10px;
    color: #FFFFFF;
    font-size: 12px;
    line-height: 22px;
    height: 25px;
    background-color: var(--default-primary-color);
    border-width: 1px;
    border-style: solid;
    border-color: var(--default-primary-color);
    border-image: initial;
}

    .productRow .btn-list-buy:hover, .btn-list-buy:active, .btn-list-buy:focus {
        color: #FFFFFF;
        background-color: var(--default-primary-color-hover);
    }

.productRow input[type="number"] {
    padding: 0px 5px;
    position: absolute;
    right: 118px;
    bottom: 10px;
    width: 92px;
    height: 25px;
    border-color: var(--default-primary-color);
}


/*@media screen and (max-width: 530px) {
	.productRow input[type="number"] {
		bottom: 78px
	}

	.productRow .btn-list-buy {
		bottom: 50px;
	}
}*/

.productBox input[type="number"]:focus {
    border-color: var(--default-primary-color);
    webkit-box-shadow: 0px 0px 5px 1px rgba(250, 180, 0);
    -moz-box-shadow: 0px 0px 5px 1px rgba(250, 180, 0);
    box-shadow: 0px 0px 5px 1px rgba(250, 180, 0);
}

/* GRRID/LIST VIEW BUTTONS*/

#viewTitle {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

    #viewTitle .gridlist {
        color: var(--default-secondary-color) !important;
        border-color: var(--default-secondary-color) !important;
        float: right;
        width: 47%;
        height: 43px !important;
        margin-right: 0 !important;
        margin-left: 5px !important;
        text-align: center;
    }

    #viewTitle .active {
        color: white !important;
        background-color: var(--default-secondary-color) !important;
        border-color: var(--default-secondary-color) !important
    }

    #viewTitle .gridlist:hover {
        color: white !important;
        background-color: var(--default-primary-color) !important;
        border-color: var(--default-primary-color) !important;
    }

.quantity-sorting {
    padding-left: 0 !important;
}

.gallery-list-btns {
    margin-top: 24px;
    padding-right: 0 !important;
}


/* GALLERY VIEW */
.productBox {
    z-index: 1;
    box-shadow: none;
    background-color: #fff;
    border: 1px solid #e6e8e9;
    margin: 0 0 4px 0;
    padding: 5px;
    border-top-color: #f1f2f3;
    min-height: 475px;
    display: flex;
    flex-direction: column;
}

    .productBox .articlenumber-grid {
        font-family: var(--default-font);
        color: black;
        font-weight: bolder !important;
        font-size: 12px;
    }

    .productBox .productImageWrap {
        height: 225px;
    }

    .productBox .productDescButtons {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .productBox .priceInfo {
        z-index: 2;
        position: relative;
        min-height: 55px;
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

        .productBox .priceInfo .price {
            float: right;
            clear: both;
            color: #FFFFFF;
            font-family: var(--default-font);
            font-weight: 700;
            font-size: 1.5em;
            padding: .1em .4em;
            /*margin-right: 0px;*/
            font-size: 13px;
        }

    .productBox .productImageWrap img {
        position: absolute;
        max-width: 100%;
    }

    .productBox .productDescription {
        overflow: hidden;
        min-height: 117px;
        margin-top: 0px;
        padding: 10px;
        flex-grow: 1;
    }

@media screen and (max-width: 1170px) {
    /*		.productBox .productDescription {
			margin-top: -80px;
		}*/

    #view div .grid > li img {
        max-width: 75%;
    }
}

@media screen and (max-width: 1024px) {
    .productBox {
        display: grid;
        grid-template-rows: auto 2fr;
    }

        .productBox .productImageWrap {
            height: unset;
        }

            .productBox .productImageWrap img {
                position: relative;
                width: 100%;
                height: auto;
            }
}

@media screen and (max-width: 992px) {
    .productBox .productDescription {
        margin-top: 0px;
    }

    #view div .grid > li img {
        max-width: 78%;
    }
}

@media screen and (max-width: 768px) {
    .productBox {
        display: grid;
        grid-template-rows: auto 1fr;
    }

        .productBox .productImageWrap {
            height: unset;
        }

            .productBox .productImageWrap img {
                position: relative;
                width: 100%;
                height: auto;
            }
}

@media screen and (max-width: 530px) {
    .productBox .productDescription {
        margin-top: 0px;
    }

    #view div .grid > li img {
        max-width: 81% !important;
    }
}

.productBox .desc-list {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 11px;
    font-family: var(--default-font);
    color: #999;
    overflow: hidden;
    max-height: 50px;
}

.productBox .action-row {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/*.productBox .btn-grid-buy {
    padding: 0px 22px;
    position: absolute;
    right: 43px;
    bottom: 25px;
    color: #FFFFFF;
    background-color: var(--default-primary-color);
    border: 1px solid var(--default-primary-color);
    font-size: 12px;
    line-height: 22px;
    height: 25px;
    display: flex;
    justify-content: center;
}*/

.productBox .btn-grid-buy {
    padding: 0; /* Remove padding as width is handled */
    position: static; /* No longer absolute */
    right: auto; /* Reset previous styles */
    bottom: auto;
    color: white;
    width: 100%; /* Ensures full width */
    height: 28px; /* Same height as other elements */
    background-color: var(--default-primary-color);
    border: 1px solid var(--default-primary-color);
    font-size: 14px; /* Increased for readability */
    display: flex;
    justify-content: center;
    align-items: center; /* Vertically center text */
    line-height: normal; /* Adjust to avoid misalignment */
}

    .productBox .btn-grid-buy:hover, .btn-grid-buy:active, .btn-grid-buy:focus {
        color: #FFFFFF;
        background: var(--default-primary-color-hover);
    }

.productBox .read-more {
    width: 34%;
    min-width: 110px;
    float: right;
    height: 28px;
}

.productBox .productDescription .shortSpec {
    padding: 5px 15px;
    list-style-type: circle;
    clear: both;
    color: #999;
    font-size: 12px;
}

.productBox .productDescription .desc-list {
    font-size: 11px;
}

.productBox .productDescription .title-grid {
    font-weight: 700;
    font-size: 14px;
    font-family: var(--default-font);
    line-height: 1.2;
    font-weight: bold;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    color: var(--default-primary-color);
    margin-bottom: -3px;
}

/*.productBox input[type="number"] {
    padding: 0px 5px;
    position: absolute;
    right: 43px;
    bottom: 59px;
    width: 92px;
    height: 25px;
    border-color: var(--default-primary-color);
}*/

/*@media (min-width: 1412px) {
    .productBox input[type="number"] {
        width: 105px;
    }

    .productBox .btn-grid-buy {
        width: 105px;
    }
}*/
/*.input-unitcode {
	margin-left: -50px;
	font-size: 12px;
	text-transform: lowercase;
}*/

.input-unitcode {
    position: absolute;
    bottom: 46px;
    right: 12px;
    font-size: 12px;
    z-index: 1000;
    text-align: right;
    text-transform: lowercase;
}

.input-arrows {
    right: 69px;
}

.quantity-mobile::-webkit-outer-spin-button,
.quantity-mobile::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
.quantity-mobile {
    -moz-appearance: textfield;
}

/*@media (max-width: 1270px) and (min-width: 768px) {
    .input-unitcode {
        bottom: 63px;
    }
}*/

@media (max-width: 768px) {
    .input-unitcode {
        bottom: 42px;
    }
}

/*@media screen and (max-width: 1170px) {
	.input-unitcode {
		top: 511px;
	}
}
@media screen and (max-width: 992px) {
	.input-unitcode {
		top: 590px;
	}
}
@media screen and (max-width: 768px) {
	.input-unitcode {
		top: 576px;
	}
}*/

.productBox input[type="number"]:focus {
    border-color: var(--default-primary-color);
    webkit-box-shadow: 0px 0px 5px 1px rgba(250, 180, 0);
    -moz-box-shadow: 0px 0px 5px 1px rgba(250, 180, 0);
    box-shadow: 0px 0px 5px 1px rgba(250, 180, 0);
}

.productBox:hover {
    z-index: 5;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,.175);
    box-shadow: 0 0 3px rgba(0,0,0,.175);
}

.grid-unitcode {
    font-size: 13px;
    font-weight: 100;
    color: var(--default-primary-color);
}

/* MISC */
.action-row .yellow {
    color: #F1A01F;
}

.action-row .green {
    color: #7AC143;
}

.action-row .red {
    color: #EB5A49;
}

.action-row .blue {
    color: #7ABCBF;
}

.action-row .status-out-front {
    text-transform: uppercase;
    font-size: 13px;
    line-height: 32px;
    padding-left: 6px;
    color: #EB5A49;
}

.action-row .status-order-front {
    text-transform: uppercase;
    font-size: 13px;
    line-height: 32px;
    padding-left: 6px;
    color: #7ABCBF;
}

.action-row .status-instock-front {
    text-transform: uppercase;
    font-size: 13px;
    line-height: 32px;
    padding-left: 6px;
    color: #7AC143;
}

.action-row .status-few-front {
    text-transform: uppercase;
    font-size: 10px;
    line-height: 32px;
    padding-left: 6px;
    color: #F1A01F;
}

.action-row .status-ontheway-front {
    text-transform: uppercase;
    font-size: 10px;
    line-height: 32px;
    padding-left: 6px;
    color: #EB5A49;
}

.productImageWrap .user-actions-front {
    float: right;
    z-index: 2;
    position: relative;
    font-size: 11px;
    padding: 0px 0px;
    text-align: right;
}

    .productImageWrap .user-actions-front a {
        font-family: var(--default-font);
        color: var(--default-primary-color);
        font-size: 11px;
        padding: 0px 0px;
    }

.user-login-for-price .user-actions-front {
    float: right;
    z-index: 2;
    font-size: 11px;
    padding: 0px 0px;
    text-align: right;
}

    .user-login-for-price .user-actions-front a {
        font-family: var(--default-font);
        color: var(--default-primary-color);
        font-size: 11px;
        padding: 0px 0px;
    }

.attribute-value {
    width: 69%;
    font-family: Avenir-book, Arial, Helvetica, sans-serif;
}
/* RELATED ARTICLE */
.related-products-wrapper img {
    max-width: 225px !important;
    margin-left: auto;
    display: block;
    margin-right: auto;
}


@media screen and (max-width: 768px) {
    .related-products-wrapper img {
        max-width: 70% !important;
    }
}
