/* CSS Document */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    overflow-y: auto;
}

html {
    font-size: 16px !important;
    line-height: 1.3 !important;

    @media (max-width: 767px) {
        font-size: 14px !important;
    }
}

body {
    background-color: var(--gray-light);
    position: relative;
    background-image: url('../images/bg-pattern.png');
    background-repeat: repeat;
    background-attachment: fixed;
}

@font-face {
    font-family: 'FrutigerLTW01-45Light';
    src: url('../webfonts/7d3671fc-8c26-459c-98e1-997c4f6c8c93.eot?#iefix');
    src: url('../webfonts/7d3671fc-8c26-459c-98e1-997c4f6c8c93.eot?#iefix') format('eot'),
        url('../webfonts/4fb89ed5-baf5-425f-aba4-46e8c2c3aabe.woff2') format('woff2'),
        url('../webfonts/2a004a53-ac5c-43b3-9eeb-9f74ae4c1609.woff') format('woff'),
        url('../webfonts/74d53f3b-1683-4d5a-a556-e13f6553cdf0.ttf') format('truetype'),
        url('../webfonts/3f5a5b87-e71e-4544-be0c-da4daa132710.svg#3f5a5b87-e71e-4544-be0c-da4daa132710') format('svg');
}

@font-face {
    font-family: 'FrutigerLTW01_65Bold';

    src: url('../webfonts/fbd7c0fb-f004-4e83-81d2-1d400413a873.eot?#iefix');
    src: url('../webfonts/fbd7c0fb-f004-4e83-81d2-1d400413a873.eot?#iefix') format('eot'),
        url('../webfonts/6e7f04cb-3b30-43a5-b79d-25b4c1178700.woff2') format('woff2'),
        url('../webfonts/9aa32a81-1124-4c43-b3db-15bfb1f7aed2.woff') format('woff'),
        url('../webfonts/6faffbf4-f8e8-4817-b24b-a390e166be7e.ttf') format('truetype'),
        url('../webfonts/fc09de64-de25-425e-90dc-a0cae29b02c4.svg#fc09de64-de25-425e-90dc-a0cae29b02c4') format('svg');
}

* {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    font-weight: 900 !important;
}

h1,
.h1 {
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    line-height: 1.2em;
    font-family: 'Bricolage Grotesque', sans-serif;
}

h2,
.h2 {
    font-size: 1.35rem;
    line-height: 1.2rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

h3,
.h3 {
    font-size: 1.25rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

h4,
.h4 {
    font-size: 1.1rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

h5,
.h5 {
    font-size: 1rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

h6,
.h6,
.small {
    font-size: .85rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

h6,
.h6 {
    margin-bottom: .5rem;
}

.regular,
p,
ul,
li {
    font-size: 1rem;
}

.big {
    font-size: 1.75rem;
    line-height: 1.2;
}

.bold {
    font-weight: bold;
}

p {
    margin-bottom: .6rem;
}

.font-title {
    font-family: 'Bricolage Grotesque', sans-serif;
}

.font-base {
    font-family: 'Roboto', sans-serif;
}

.textAnimation h2 {
    margin-bottom: 15px;
}

.margin-base {
    margin-top: 1.5rem;
}

.margin-left {
    margin-left: auto !important;
}

strong,
strong span {
    font-weight: 900;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.container::before,
.container::after {
    display: none
}

.container {
    @media (max-width: 767px) {
        max-width: 100% !important;
    }
}

main {
    margin-top: var(--headerHeight);
}

.grid {
    display: grid;
    gap: 1rem;

    @media (max-width: 767px) {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}

.flex {
    display: flex;
    gap: 1rem;

    @media (max-width: 767px) {
        flex-direction: column;
    }
}

.main-grid {
    padding: 8rem 0;
    align-items: flex-start;

    >.bloc {
        width: 100%;
    }

    &.ChooseDelivery {
        grid-template-columns: 8fr 4fr;

        .bloc.ChooseDelivery {
            grid-column: span 2;
        }

        @media (max-width: 991px) {

            >.bloc {
                order: 3;
            }

            .bloc.ChooseDelivery {
                order: 1 !important;
            }

            .contain-cartContainer.viewFix {
                order: 2;
            }
        }
    }

    @media (max-width: 991px) {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

.bloc.solde {

    .loading {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* animation */

    .loading svg {
        animation: loading-rotate 1s linear infinite;
    }

    /* keyframes */
    @keyframes loading-rotate {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    ul.actions {
        padding: 0;
        margin: 0;
        list-style: none;

        @media (max-width: 767px) {
            width: 100%;
            align-items: center !important;

            li {
                width: 100%;

                a {
                    margin-inline: auto;
                }
            }
        }
    }
}

aside.sidebar {
    height: fit-content;
    top: calc(2rem + var(--headerHeight));
    padding-inline: 0 !important;

    @media (max-width: 991px) {
        position: static;
        z-index: initial;
        padding: 0;
        border-radius: 0;
        background-color: transparent;

        .bloc {
            width: 100%;
        }
    }

    @media (min-width: 992px) {

        .bloc {
            padding: 0;
        }
    }

    ul.actions {
        padding: 0;
        margin: 1.5rem 0 0;
        list-style: none;
        width: 100%;

        @media (max-width: 991px) {
            padding: 1.5rem;
            margin-top: 1rem;
            cursor: pointer;

            li {
                display: none;
            }

            li.current {
                display: flex !important;
                align-items: center;
                justify-content: space-between;

                &::after {
                    content: '\F282';
                    font-family: 'bootstrap-icons';
                }
            }

            &.open li {
                display: block;

                &.current {
                    &::after {
                        transform: rotate(180deg);
                    }
                }
            }
        }

        li {
            border-top: 1px solid var(--gray);

            @media (max-width: 991px) {
                &:first-child {
                    border: none;
                }
            }

            a {
                padding: 1rem 0;
                display: block;
                color: var(--black);

                &:hover {
                    color: var(--main-color);
                }
            }

            &.current {

                a {
                    color: var(--main-color);
                    cursor: initial;
                }
            }
        }
    }
}

/*----------------------------------*/
/*----------------------------------*/
/*----------------------------------*/
/* Commun */
a {
    color: var(--main-color);
    text-decoration: none;

    svg {
        color: var(--main-color) !important;

        path {
            fill: var(--main-color);
        }
    }
}

a:hover {
    text-decoration: none;
    color: var(--main-color);
}

.lightgrey {
    background-color: rgb(241, 244, 246);
    transition: all 0.2s ease-in-out 0s;
}

.color-title {
    color: var(--color-main);
}

.bloc {
    border-radius: 1rem;
    background-color: white;
    padding: 1.5rem;
    padding-inline: 1.5rem !important;
    width: fit-content;
    height: auto;

    @media (max-width: 767px) {
        padding: 1rem;
        padding-inline: 1rem !important;
        border-radius: .7rem;
    }
}

.sousTitre {
    height: 2px;
    background-color: rgb(200, 200, 200);
    margin-bottom: 35px;
}

.subArt {
    font-size: 16px;
    color: #333;
    opacity: 60%;
}

.header {
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    padding: 1rem 0;
    padding-top: 1.5rem;
    background: white;
    z-index: 9999;
    box-shadow: 0px 0px 16px var(--gray);

    .title {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;

        h2 {
            margin-bottom: 0;
        }
    }

    .container {
        justify-content: space-between;
        align-items: center;
        position: relative;
        gap: 1rem;
    }

    @media (max-width: 767px) {
        height: auto;
        padding-bottom: 2rem;

        .flex {
            flex-direction: row;
            justify-content: space-between !important;
            align-items: center !important;
            margin: 0;

            &.btns {
                flex-wrap: wrap;
            }
        }

        .logo {

            img {
                width: 80px;
            }
        }

        p.h3 {
            display: none;
        }

        .container {
            flex-direction: column;
            gap: 1.2rem;
        }
    }

    .flex:not(.btns) {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .cart-header {

        .cart-number {
            width: 1.5rem;
            height: 1.5rem;
            line-height: 1;
            top: 70%;
            right: 50%;
            left: initial;
            font-size: .9rem;

            p {
                font-size: inherit;
                font-weight: bold;
            }
        }
    }

    ul.lang-switcher {
        position: absolute;
        top: -1.5rem;
        right: var(--bs-gutter-x, .75rem);
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

ul.lang-switcher {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 0;
    border: 1px solid var(--main-color);
    border-radius: .5rem;
    overflow: hidden;

    li {
        border-left: 1px solid var(--main-color);
        color: var(--main-color);
        padding: .5rem;
        transition: all .2s linear;
        line-height: 1;
        background-color: white;

        &:first-child {
            border-left: none;
        }
    }

    li:hover,
    li.is-active {
        color: white;
        background-color: var(--main-color);
    }
}

ul.lang-switcher:hover {

    li:hover,
    li.is-active {
        border-color: white;
    }
}


.logo p.h3 {
    max-width: 60%;
}

.logo img {
    height: auto;
    width: 120px;
}

.btn-icon {
    color: var(--main-color);
    font-size: .9rem;
    line-height: 1.2;
    display: flex;
    width: fit-content;
    justify-content: flex-start;
    align-items: center;
    gap: .5rem;
    cursor: pointer;

    svg {
        width: 1.2rem;
        height: 1.2rem;
        color: var(--main-color);

        path {
            fill: var(--main-color);
        }
    }

    i {
        width: auto;
    }

    @media (max-width: 767px) {
        padding: .5rem .4rem;

        svg {
            width: 1.5rem;
            height: 1.5rem;
        }
    }
}

.btn-icon:hover {
    color: var(--main-color-dark);

    svg {

        path {
            fill: var(--main-color-dark);
        }
    }
}

.d-flex {
    @media (max-width: 767px) {
        flex-direction: column;
        justify-content: flex-start !important;
    }
}

.btn-primary,
.showCat,
[type="submit"] {
    font-size: 1rem;
    line-height: 1.3;
    display: flex;
    gap: .8rem;
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: .5rem 2.5rem;
    border-radius: 1.2rem;
    color: white;
    background-color: var(--main-color);
    text-decoration: none;
    transition: all .2s linear;
    cursor: pointer;
    border: 1px solid var(--main-color);
    text-align: center;

    i {
        width: fit-content;
    }

    svg {
        color: inherit;

        path {
            fill: inherit;
            color: inherit;
        }
    }

    @media (max-width: 767px) {
        width: 100%;
    }
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    border-color: var(--main-color-dark);
    background-color: var(--main-color-dark);
    box-shadow: none !important;
}

.btn-primary.revert {
    color: var(--main-color);
    background-color: white;
    border-color: var(--main-color);

    &.active {
        color: white;
        background-color: var(--main-color);
    }
}

.btn-primary.revert:hover,
.btn-primary.revert:focus,
.btn-primary.revert:active {
    color: white;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .btn-primary {
        width: 100%;
    }
}

.input,
.securitylog input:not([type="submit"]),
.main-grid.Page form input:not([type="submit"]),
.CreatAccount input:not([type="submit"]) {
    border: 1px solid var(--main-color);
    border-radius: .3rem;
    color: var(--black);
    font-size: 1rem;
    line-height: 1.3;
    padding: .5rem 1rem;
    width: 100%;

    &::placeholder {
        color: inherit;
    }

    &:focus {
        border-color: var(--main-color);

        &::placeholder {
            opacity: .5;
        }
    }

    &:focus-visible {
        outline: none;
    }
}

select.input {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    background-image: url('../images/icon-arrow-down.svg');
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position-x: 98%;
    background-position-y: 50%;
}

.homebtn {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.changepassword {

    .d-flex.flex-column {
        width: 100%;
        max-width: 45%;

        @media (max-width: 767px) {
            max-width: 100%;
        }
    }
}

.contact-bloc {

    .grid {
        grid-template-columns: 45% 45%;
        justify-content: space-between;
        gap: 2rem;
    }
}

.securitylog,
.firstLogin,
.lostPwd,
.recordAccount,
.mailcheck,
.main-grid.Page form,
.CreatAccount form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-inline: auto;
    padding: 5rem 0;
    text-align: center;

    h1 {
        margin-bottom: 3.5rem;
    }

    * {
        width: 100%;
    }

    a.text-right {
        width: fit-content;
        margin-left: auto;
    }

    @media (max-width: 991px) {
        max-width: 100%;
    }

    .form,
    form {
        margin-inline: auto;
    }
}

.text-right {
    text-align: right;
}

.noprint {
    @media (max-width: 767px) {
        width: 100% !important;
    }
}

.transactions {
    padding: 0;
    gap: 0;
}

.transactionBloc {
    gap: .6rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray);

    &:last-child {
        border: none;
    }

    * {
        margin: 0;
    }

    .articles {
        gap: .5rem;
    }

    @media (max-width: 767px) {

        .d-flex {
            row-gap: .6rem;
        }

        .transaction-title {
            align-items: flex-start !important;

            .h3 {
                margin-left: auto;
            }
        }

        .infos {
            align-items: flex-start !important;
            gap: .5rem;

            .align-items-baseline {
                flex-direction: row !important;
            }
        }

        .paymentMode {

            .align-items-baseline {
                flex-direction: row;
                justify-content: space-between !important;
            }
        }

        .recap {

            .tva,
            .ht {
                flex-direction: row;
                justify-content: space-between !important;
            }
        }
    }
}

.choixEntreprise {
    padding-top: 25px;
    padding-bottom: 25px;
    cursor: pointer;
    background-color: var(--neutral-extra-light);
    border: 1px solid #E1E1E1;
    margin-bottom: 25px;
}

.falsepassword,
.emailFalse,
.falsepsw {
    display: none;
}

.transaction-utilities {
    margin-top: 15px;
}

address {
    margin: 0;
}

.resumeConsumption {
    background-color: var(--gray-light);
    border-radius: .7rem;
}

.consumption,
.resumeConsumption {
    width: 100%;

    h2.h3 {
        text-align: center;
    }
}

.report {

    .actions {
        @media (max-width: 767px) {
            align-items: center !important;
        }
    }

    table {
        display: block;
        overflow: hidden;

        @media (max-width: 767px) {
            display: flex;
            flex-direction: column;
            overflow-x: auto;
            padding-bottom: 1rem;
        }

        thead {
            display: block;
            margin-bottom: 1rem;
        }

        .grid {
            grid-template-columns: 2fr 2fr 2fr 1fr;

            @media (max-width: 767px) {
                display: grid;
                width: auto;
                grid-template-columns: 35vw 25vw 25vw auto;
            }
        }

        tbody {
            display: block;

            tr.grid {
                border-bottom: 1px solid var(--gray);
                padding: .5rem 0;
            }

            td:not(.description) {
                white-space: nowrap;
            }
        }

        tbody,
        thead {
            @media (max-width: 767px) {
                width: fit-content;
            }
        }
    }
}

.footer {
    margin-top: 2.5rem;
    background-color: white;
    padding: 1.5rem 0 2.5rem;

    ul.lang-switcher {
        margin-left: auto;

        @media (max-width: 767px) {
            margin-left: 0;
            margin-top: 2rem;
        }
    }

    h6 {
        font-size: .8rem;
        line-height: 1.2;
        margin-bottom: .5rem;
    }

    .d-flex {
        @media (max-width: 767px) {
            flex-direction: column;
            gap: 1rem !important;
        }
    }
}

.form-control {
    border: none;
    background-color: #FFF;
    border-bottom: 1px solid #C8C8C8;
    border-radius: 0;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    padding: 6px 0;
}

.ui-datepicker {
    margin-top: .5rem;
    background-color: white;
    border-radius: .5rem;
    border: 1px solid var(--main-color);
    overflow: hidden;
    display: none;

    .ui-datepicker-header {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: .5rem;
        border-bottom: 1px solid var(--main-color);
        font-size: .8rem;
        font-weight: bold;
        row-gap: .2rem;
        background-color: var(--main-color);

        .ui-datepicker-title {
            font-family: 'Bricolage Grotesque', sans-serif;
            width: 100%;
            text-align: center;
            margin-top: .5rem;
        }

        * {
            font-family: inherit;
            color: white;

        }

        a {
            color: white;
            cursor: pointer;

            * {
                color: inherit;
            }
        }
    }

    .ui-datepicker-calendar {
        width: 100%;

        thead {
            text-align: center;

            * {
                font-family: 'Bricolage Grotesque', sans-serif;
            }
        }

        tbody {

            tr {
                border-top: 1px solid var(--gray-light);

                td {
                    padding: .2rem .2rem;
                    text-align: right;
                    font-size: .9rem;
                    line-height: 1.2;
                }
            }
        }
    }
}

#frameRefillBalance {
    width: 100%;
    height: 80dvh;
    border: none;
}

.boxLog .warning {
    width: 90%;
    float: left;
}

i.bi.bi-eye-slash {
    width: 10%;
    margin-top: 10px;
    cursor: pointer;
    color: var(--main-color);
    display: none;
}

.oldpswd,
.is-mail,
.is-snumber,
.ask-number,
.ask-pass,
.ask-ready {
    display: none;
}

.no-id-pass,
.successtpass,
.waitpass {
    display: none;
}

.print-receipt {
    width: 100%;
}

.flex-end-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.flex-end-nav div {
    margin-left: 15px;

}

.flex-end-nav div p {
    margin-bottom: 0;
    font-size: 15px;
    margin-top: 5px;
}

.switch-lng {
    cursor: pointer;
}

.cart-element {

    .descr,
    .myaccountp {
        font-family: 'Bricolage Grotesque', sans-serif;
        color: #333;
    }

    .cancel-order {

        svg {
            width: 1rem;
            height: 1rem;
        }
    }

    .cancel-confirme {
        margin-top: 1rem;
    }
}

.article-container {
    border-radius: 1rem;
    border: 1px solid var(--main-color);
    padding: 1rem;

    .article-container-head,
    .article-container-prix {
        font-family: 'Bricolage Grotesque', sans-serif;

        p {
            font-family: inherit;
            font-size: inherit;
        }
    }

    .blockQuantity {
        display: flex;
        gap: 1rem;
        flex-direction: column;
        align-items: center;

        .articleQuantity {
            border-radius: .3rem;
        }
    }
}

.securitylog,
.main-grid.Page form,
.CreatAccount form {
    .left {
        text-align: left;
    }

    label {
        color: var(--main-color);
        font-size: .9rem;
        text-align: left;
    }

    .field {
        margin-bottom: 1rem;

        &.checkbox {
            text-align: left;

            input,
            label {
                width: fit-content;
            }

            input {
                margin-left: 0;
                accent-color: var(--main-color);
            }
        }
    }

    .Actions {
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }
}

.main-grid.Page form,
.CreatAccount form {
    padding: 0;
    max-width: 100%;
}

.add-article {
    top: var(--headerHeight);
    margin-top: 2rem;
    box-shadow: 0px 0px 16px var(--gray);
    border-radius: 1rem;
    padding: 1.5rem;
    right: 2rem;

    .btn-primary {
        width: 100%;
    }
}

.contain-cartContainer {
    z-index: 9999;
    height: 100dvh;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    box-shadow: 0px 0px 16px var(--gray);
    padding: 1rem;
    width: 30vw;

    &.viewFix {
        border-radius: 1rem;
        box-shadow: none;
        width: 100%;
        height: fit-content;
        position: static;
    }

    @media (max-width: 991px) {
        width: 50vw;
    }

    @media (max-width: 767px) {
        width: 80vw;
    }

    @media (max-width: 576px) {
        width: 100vw;
        border-radius: 0;
    }

    .close {
        opacity: 1;
        color: var(--main-color);

        svg {
            margin: 0;
            width: 1.5rem;
            height: 1.5rem;
            color: var(--main-color);

            path {
                color: inherit;
            }
        }

        @media (max-width: 768px) {
            top: 1rem !important;
            right: 1rem !important;
        }
    }

    .cart-total {
        padding: .5rem;
        background-color: var(--main-color-light);
        border-radius: .3rem
    }
}

.alert {
    background-color: var(--gray-light);
    border-color: var(--gray);
    padding: 1rem;
    border-radius: .3rem;
    color: #333;
}

.alert-danger {
    background-color: var(--main-color-light);
    border-color: var(--main-color);
}

[type="checkbox"],
[type="radio"] {
    accent-color: var(--main-color);
}