/* MAIN PAGE */

#container {
    display: flex;
}

.divTitleProduct {
    display: flex;
    flex-wrap: wrap;
}

#divTri {
    padding: 10px 1rem;
    width: 300px;
    height: calc(100vh - var(--navbar-height));
    flex-shrink: 0;
    box-shadow: 1px 1px 6px var(--vitta-shadow-color);
    background-color: var(--bg-1);
    text-align: start;

    position: sticky; 
    top: var(--navbar-height);
    overflow-y: auto;
    overflow-x: hidden;
}

#divTri #divTri-content {
    max-height: 100%;
}

#total-products {
    color: var(--vitta-white);
    background: var(--vitta-green);
    border-radius: 10px;
    padding: 4px 8px;
    font-weight: 500;
}

#allProducts {
    display: none;
}

#allProducts~label {
    cursor: pointer;
    margin-bottom: 0px;
}

#allProducts~label:hover {
    text-decoration: underline;
}

#allProducts:checked~label {
    color: var(--vitta-green);
}

#allProducts~label:focus::before,
#allProducts:focus~label::before {
    position: absolute;
    content: " ";
    border: 2px solid transparent;
    border-radius: 10px;
    width: calc(100% + 13px);
    height: calc(100% + 13px);
    top: -7px;
    left: -7px;
}

#title-categories>i {
    margin-left: 0.25em;
    transition: all .15s ease-in-out;
}

#title-categories.collapsed>i {
    transform: rotate(-90deg);
}

#productsContainer {
    max-width: calc(100% - 300px);
    margin-bottom: 5em;

}

#productsHeader {
    margin: 1em;
}

#productsHeader p {
    max-width: 1090px;
    margin: 0 auto 20px;
    text-align: start;
}



#mobileSearch {
    display: none;
    z-index: 6;
    align-self: flex-start;
}


/* slick carousel*/
.info-carousel {
    display: flex;
    flex-direction: row;
    flex: 1;
    width: 75%;
    margin: 0 auto;
}

.carousel-img img {
    max-width: 100%;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    display: block;
    transform: translate(0, -50%);
    font-size: 1.5em;
}

.slick-next {
    right: -56px;
}

.slick-prev {
    left: -56px;
}

/* info banner*/
.info-banner {
    flex-wrap: wrap;
    gap: 1em;
}

.info-banner>div {
    width: 25%;
    min-width: 225px;
    text-align: start;
}

.info-banner>div>h5,
.info-banner>div>p {
    margin-bottom: 0px;
}

.info-banner>div>h5>img {
    height: 1em;
    width: auto;
    margin: 3px auto;
}

.info-banner>div>.payment-grid,
.footer-shop-col .payment-grid {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 10px;
    grid-template-rows: 1fr 1fr 1fr;
    text-align: start !important;
}

.info-banner>div>.payment-grid img ,
.footer-shop-col .payment-grid img {
    width: 100%;
    height: auto;
}

.info-banner>div>.payment-grid .two-icons img,
.footer-shop-col .payment-grid .two-icons img {
    width: 50%;
}

@media (max-width: 910px) {
    .info-banner {
        flex-wrap: wrap;
    }

    .info-banner>div {
        width: 50%;
    }
}

/* product list */
#productsPart {
    margin-left: 1em;
}

.h4Cat {
    margin-inline-start: 1em;
    text-align: start;
    flex: 0 1 100%;
}

/* reseller footer */
#resellerDiv {
    border-top: .5em solid;
    border-color: var(--vitta-blue-dark);
    background: var(--bg-1);
    padding: 1em 0px 4em;
}

#resellerDiv h4 {
    text-align: center;
    color: var(--vitta-blue-dark);
    font-weight: 700;
    margin-top: 1em;
}

#resellerDiv img {
    padding: 10px;
    border-radius: 10px;
    height: 100%;
    width: 15%;
}

#resellerDiv #img-container {
    padding: 0.5em;
    border-radius: 15px;
}
.theme-dark #resellerDiv #img-container {
    background-color: var(--vitta-white);

}

@media (max-width: 992px) {
    #mobileSearch {
        display: block;
        align-self: flex-start
    }
    
    #productsContainer {
        flex-basis: 100%;
        max-width: 100%;
    }

    #divTri {
        height: 100%;
        width: 0;
        /* 0 width - change this with JavaScript */
        position: fixed;
        z-index: 4;
        left: 0;
        overflow-x: hidden;
        padding: 0;
        padding-top: 8rem;
        transition: 0.3s;

    }

    #divTri.mobileDisplay {
        width: 100%;
        padding: 10px 20px;
        padding-top: 3rem;
    }

    .info-carousel {
        width: 100%;
        overflow: hidden;
    }

    .carousel-arrow {
        display: none !important;
    }

    #resellerDiv div {
        flex-direction: column;
    }

    #productsPart {
        margin-left: 0px;
    }
}

@media (max-width: 600px) {
    .divTitleProduct {
        justify-content: center;
    }
}

/* slider */
.irs {
    font-family: var(--alt-font);
}

.irs--round .irs-bar {
    background-color: var(--vitta-green);
}

.irs--round .irs-handle {
    border: 1px solid black;
    background-color: var(--vitta-white);
}

.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
    background-color: var(--vitta-green);
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before {
    border-top-color: var(--vitta-green)
}

/* PRODUCT PAGE */

#product-slideshow {
    box-shadow: 0 0 5px var(--vitta-shadow-color);
    background-color: var(--vitta-white);
    border-radius: 10px;
}

.content-pointer-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: bold;
    background-color: var(--vitta-white);
    border: var(--vitta-green) 3px solid;

    text-align: center;

    color: var(--vitta-green);
    cursor: default;

    -webkit-transition: all 0.2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;

    display: flex;
    justify-content: center;
    align-items: center;
}

.content-pointer-img:hover,
.content-pointer-img.hover {
    transform: scale(1.1);
    background-color: var(--vitta-green);
    color: var(--vitta-white);
}

.content-pointer-legend {
    padding: 0px 1em;
}

.content-pointer-legend:hover,
.content-pointer-legend.hover {
    color: var(--vitta-green);
}

#product-image {
    position: sticky;
    top: 7em;
}

.logo-support {
    display: inline-flex;
    align-items: flex-end;
}

.thumbnail-swiper {
    margin-top: 10px;
}

.thumbnail-swiper .swiper-slide {
    border: 1px solid transparent;
    border-radius: 10px;
}

.thumbnail-swiper .swiper-slide>img {
    box-shadow: 0 0 3px var(--vitta-shadow-color);
    border-radius: 10px;
}

.thumbnail-swiper .swiper-slide-thumb-active {
    border-color: var(--text-3);
}

.logo-support img {
    height: 30px;
    width: auto;
}

.logo-support::after {
    display: inline-block;
    content: '\f128';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin: 0 0.5em 0 0;
    position: relative;
    bottom: -10px;
    left: -5px;
}

.logo-support.support-false::after {
    content: '\f00d';
    color: var(--vitta-red);
}

.logo-support.support-true::after {
    content: '\f00c';
    color: var(--vitta-green);
}


.product-price {
    font-size: x-large;
}

.legend-list {
    text-align: left;
    list-style-type: none;
    padding: 0px;
}

.linked-resource {
    width: 150px;
    text-align: center;
}

.linked-resource img {
    box-shadow: 0 0 5px var(--vitta-shadow-color);
    margin-bottom: 1em;
    width: 100%;
    border-radius: 5px;
}

.linked-resource a {
    color: var(--text-1);
}

.linked-resource a:hover {
    color: var(--text-2);
}


.associe-div {
    background-color: var(--vitta-white);
    box-shadow: 0 0 3px #333;
    margin: 30px;
    border-radius: 15px;
}

.resource-box,
.kit-faq-box {
    width: 100%;
    padding: 15px 5px 15px 5px;
    background-color: var(--bg-1);
    margin: 10px 0px 10px 0px;
    overflow: hidden;
    border-radius: 10px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    line-height: 1;
    box-shadow: 0 0 1px #333;
}

.resource-box-header,
.faq-box-header {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    /* align vertical */
    cursor: pointer;
}

.faq-box-dropdown {
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border: 2px solid var(--vitta-grey);
    color: var(--vitta-grey);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0px 10px;
}

@media (max-width: 769px) {
    #product-informations {
        margin-top: 1em;
        height: auto;
    }

    .slide-interactive {
        display: none;
    }
}


@media (max-width: 910px) {
    #product-presentation {
        position: relative;
        top: auto;
        bottom: auto;
        height: auto;
        flex-direction: column;
        flex-wrap: wrap-reverse;
    }

    #product-slideshow {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .content-picture-container {
        width: 100%;
    }

    .content-picture-container>ul {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
}

/* NOT CONNECTED */

#accountStep {
    padding: 10px;
    display: block;
    border: 1px solid var(--text-3);
    border-radius: 10px;
    text-align: center;
}

#separatorOr {
    width: 100%;
    margin: 0.25rem auto;
    background: var(--bg-1);
    text-align: center;
    position: relative;
    z-index: 1;
    font-weight: 700;
    text-shadow:
        2px 0 0 var(--bg-1),
        -2px 0 0 var(--bg-1),
        0 2px 0 var(--bg-1),
        0 -2px 0 var(--bg-1),

        3px 0 0 var(--bg-1),
        -3px 0 0 var(--bg-1),
        0 3px 0 var(--bg-1),
        0 -3px 0 var(--bg-1),

        1px 1px var(--bg-1),
        1px -1px 0 var(--bg-1),
        1px -1px 0 var(--bg-1),
        -1px 1px 0 var(--bg-1),

        1px 1px var(--bg-1),
        1px -2px 0 var(--bg-1),
        1px -2px 0 var(--bg-1),
        -2px 1px 0 var(--bg-1);

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#separatorOr::before {
    content: ' ';
    position: absolute;

    width: 100%;
    top: 50%;
    left: 0px;

    z-index: -1;
    height: 1px;

    background-color: var(--text-1);
    border: none;
}

#accountStep hr {
    border-top: 1px solid var(--text-1);

}

#separatorOr,
#accountStep hr {
    opacity: 0.5;
    width: 60%;
    margin-inline: auto;
}

#accountStep ul {
    text-align: left;
    margin: 0 auto;
    width: 56%;
}

/* CART */

.cart-pic {
    border: 1px solid var(--text-1);
    height: 75px;
    width: auto;
}

.cart-item-info,
.cart-item-price-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cart-item-description {
    display: flex;
}

.cart-item-description .cart-item-info p {
    margin-bottom: 5px;
    font-weight: bold;
}

.cart-item .cart-item-price-container div {
    display: flex;
    justify-content: space-between;
}

.cart-item .cart-item-price-container {
    margin-top: 5px;
}

.cart-item .cart-item-price-container p {
    margin-bottom: 5px;
}

.cart-item .cart-item-price-container .ht-cart {
    margin-left: 5px;
}

.wishlist-article {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--text-1);
    border-radius: 10px;
    padding: 10px;
}

.wishlist-article .wishlist-article-picture {
    display: flex;
    align-items: center;
}

.wishlist-article .wishlist-article-picture p {
    margin-left: 5px;
}

.wishlist-article .wishlist-article-price {
    display: flex;
}

.wishlist-article .wishlist-article-interactions {
    display: flex;
    justify-content: space-around;
}

.wishlist-article .cart-pic {
    height: 100px;
    margin: 0.75rem auto;
}

.cart-warning-stock {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 5px;
    border-radius: 5px;
    background-color: var(--vitta-orange);
}

@media (max-width: 992px) {

    .order-summary-div,
    .order-summary-div h4 {
        font-size: smaller;
    }
}

@media (max-width: 768px) {

    .order-summary-div,
    .order-summary-div h4 {
        font-size: initial;
    }
}

/* PAYMENT PROCESS */

#processContainer {
    display: flex;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.process-step {
    display: block;

    margin: 0.2em auto;

    width: 2em;
    height: 2em;

    text-align: center;
    line-height: 32px;
    font-weight: 800;

    border: 1px solid var(--text-1);
    color: var(--text-1);

    border-radius: 50%;

    font-style: normal;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.process-step-name {
    margin-bottom: 0px;
    font-size: 0.8em;
}

.process-separator {
    border-bottom: 1px solid var(--text-1);
    height: 1px;
    align-self: center;
    width: 10%;
    position: relative;
    top: -10px;
}

.process-step.current {
    border-color: var(--vitta-green);
    color: var(--vitta-white);
    background-color: var(--vitta-green);
}

.process-step.finished {
    border-color: var(--vitta-green);
    color: transparent;
    background-color: transparent;
}

.process-step.finished::after {
    position: relative;
    content: "✔";
    left: -5px;
    color: var(--vitta-green);
}

#prevSteps,
#finalStep {
    padding: 1em;
    display: block;
    border: 1px solid var(--text-3);
    border-radius: 10px;
}

#prevStep1,
#prevStep2,
#prevStep3 {
    display: grid;
    grid-template-columns: auto 0.5fr 2fr;

}

#prevSteps .stepName,
#finalStep .stepName {
    margin-left: 10px;
}

#cart-table-body hr,
.order-summary-div hr,
#prevSteps hr,
#finalStep hr {
    border-color: var(--text-1);
    opacity: 0.5;
}

#prevSteps hr,
#finalStep hr {
    grid-column-start: 1;
    grid-column-end: 4;
    width: 100%;
}

.order-summary-div {
    box-shadow: 1px 1px 6px var(--vitta-shadow-color);
    border: 1px solid var(--text-3);
    border-radius: 20px;
    position: sticky;
    top: 80px;
    padding: 15px 30px;
}

.order-summary-div h4 {
    color: var(--vitta-green);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1em;
    margin-top: 0.5em;
    text-align: center;
}

.order-summary-div div p {
    margin-bottom: 0px;
}

.payment-ht,
.payment-tax {
    font-weight: 600;
}

.step-header {
    font-weight: 600;
    font-size: 1.3em;
    margin-top: 0.75em;
}

.step-header img {
    height: 1.3em;
    width: auto;
    margin-right: 0.5em;
}

.theme-dark .step-header img,
.theme-dark #prevSteps img {
    filter: invert(1);
}

.order-summary-div .item-line {
    display: grid;
    grid-template-columns: auto auto auto;
}

.order-summary-div .item-line .item-qty {
    font-weight: bold;
}

.order-summary-div .item-line .item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-summary-div .item-line .item-price {
    font-weight: bold;
    text-align: right;
}

.order-summary-div .item-line>p:nth-child(2) {
    margin-right: 10px;
}

.needed-label {
    color: var(--vitta-red);
}

.payment-methods>div {
    border: 1px solid var(--text-3);
    padding: 10px 15px;
    border-radius: 0.6em;
    margin: 20px 0px;

    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    justify-items: stretch;
}

.payment-methods #detailsDevis,
.payment-methods #detailsCB {
    grid-column-start: 1;
    grid-column-end: 3;

}

.payment-methods label {
    font-weight: 600;
    transition: .3s;
}

.payment-methods input:checked~label {
    color: var(--vitta-green);
}

.payment-methods img {
    float: right;
    height: 1.5em;
    width: auto;
}

.payment-methods>div>label,
.payment-methods>div>div>p:last-child {
    margin-bottom: 0px;
}

@media (max-width: 769px) {

    #contactInfoSteps,
    #billingInfoSteps,
    #shippingInfoSteps {
        grid-column-start: 1;
        grid-column-end: 4;
        width: 100%;
        margin-top: 10px;
    }
}