html {
    margin-top: 0 !important;
}

.search-form-wrap {
    z-index: 999;
}

.search-form {
    #searchsubmit {
        border: none;
        background: transparent;
    }
}

@media screen and (max-width: 992px) {
    .header {
        margin-top: 10px !important;
    }

    .header-container:has(.navigation-wrapper ul.menu > li.menu-item-has-children .chevron-toggler.active) .topbar {
        opacity: 0;
    }

    .menu-search-wrapper {
        width: 100%;
    }

    #menu-main-menu-header #customsearchform {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        border-radius: 100px;
        background: #D1D5DC66;
        border: solid 1px #D1D5DC;
        padding: 5px 12px;

        input {
            background: transparent;
            border: none;
            padding: 5px 10px;
            color: white;
            font-size: 15px;

            &::placeholder {
                color: white;
            }
        }

        button {
            background: transparent;
            border: none;

            svg {
                color: white;
            }
        }
    }

    .mobile-menu-top-bar {
        justify-content: space-between;
        display: flex;
        align-items: center;
        padding: 10px 0;

        & > span {
            width: 32px;
        }
    }

    .navigation-wrapper {
        padding-bottom: 175px;
        padding-top: calc(0px + var(--wp-admin--admin-bar--height)) !important;
    }

    .header-outer .topbar {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        border-radius: 20px 20px 0 0;
        opacity: 0;
        transition: all ease-in-out .4s;
        @starting-style {
            opacity: 0;
        }
    }

    .menu-open .header-outer .topbar {
        display: block;
        opacity: 1;
        @starting-style {
            opacity: 0;
        }
    }

    .header-outer .header .header-inner {
        border-radius: 10px;

        .row {
            padding: 5px 20px;
        }
    }

    .header-fixed .header-outer .topbar .topbar-inner {
        visibility: visible;
        opacity: 1 !important;
    }

    .header-outer .top-containr {
        border: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 15px;
        gap: 30px;

        .web-col a {
            gap: 5px;
            font-size: 14px !important;
        }

        .search-col, .user-card {
            display: none;
        }
    }

    .lang-switch-col ul.menu > li ul.sub-menu {
        top: unset;
        bottom: 100%;
    }
}

.header {
    @media screen and (max-width: 992px) {
        .navigation-col {
            width: 0 !important;
            max-width: 0 !important;
            padding: 0 !important;
        }

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

    #menu-main-menu-header{
        padding: 5px 0 !important;
    }

    .lang-switch-col ul.menu>li ul.sub-menu{
        z-index: 1;
    }

    .sub-menu:has(.menu-item-card-dark, .has-icon:not(.menu-item-panel-item)) {
        display: grid;
        align-items: center;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        column-gap: 25px;
        padding: 30px 35px;
        background: white;

        @media screen and (max-width: 992px) {
            display: flex;
            gap: 15px;
            flex-direction: column;
            align-items: stretch;
        }
    }

    .sub-menu:has(.menu-item-panel-item.has-icon) {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        padding: 25px 0px;
        width: 650px;


        & > li {
            border-radius: 0;
            border-right: solid 1px rgb(74 85 101 / 0.39);
        }

        li {
            position: relative;
            width: 50%;
            padding: 0 35px;

            a {
                display: flex !important;
                align-items: flex-start !important;
                gap: 5px;
                font-size: 15px !important;
                flex-direction: row;

                img {
                    top: 0px;
                    position: relative;
                }
            }

            .menu-item-title {
                color: #4A5565;
                font-weight: 300;
            }
        }

        @media screen and (max-width: 992px) {
            width: 100%;
            gap: 15px;
            padding: 75px 35px 30px;

            & > li {
                border: 0;
            }

            li {
                padding: 0;
                width: 100%;
            }
        }

        li:hover {
            background-color: transparent !important;

            img {
                filter: brightness(0) saturate(100%) invert(8%) sepia(89%) saturate(6718%) hue-rotate(240deg) brightness(99%) contrast(96%);
            }
        }

        li.menu-item-has-children a {
            width: 100%;
            min-width: 100%;
            position: relative;
        }

        li.menu-item-has-children a:after {
            content: "";
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke-width='0'/%3E%3Cg stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414' fill='%231f1d1e'/%3E%3C/svg%3E");
            display: block;
            width: 15px;
            height: 15px;
            position: absolute;
            right: 10px;
            top: 50% !important;
            transform: translateY(-50%) !important;
        }

        li:hover a {
            background-color: #F6F6F6;
            border-radius: 5px;

            .menu-item-title {
                color: var(--e-global-color-text);
            }
        }

        .sub-menu {
            position: absolute;
            top: 0;
            right: 0;
            display: none;
            width: 50%;
            list-style: disc;
            box-shadow: none;
            padding-left: 40px;


            li {
                padding: 0;
                width: 100%;
            }
        }

        li + .sub-menu:hover {
            display: block;

            @media screen and (max-width: 992px) {
                display: none;
            }
        }

        li:hover + .sub-menu {
            display: block;

            @media screen and (max-width: 992px) {
                display: none;
            }
        }
    }

    .has-icon:not(.menu-item-card-dark) {
        border-radius: 5px;
        transition: all ease-in-out .3s;

        &:hover {
            background-color: #F6F6F6;
        }
    }

    .has-icon {

        a {
            display: flex !important;
            align-items: flex-start !important;
            gap: 5px;
            font-size: 15px !important;
            flex-direction: row;
            max-width: 280px;

            img {
                top: -4px;
                position: relative;
            }

            .menu-item-content {
                display: flex;
                flex-direction: column;
                justify-content: left;
                gap: 5px;
                text-align: left;

                .menu-item-title {
                    font-size: 16px;
                    font-weight: 400;
                    color: var(--e-global-color-text);
                }

                .menu-item-subtitle {
                    color: #4A5565;
                    font-size: 14px;
                    display: block;
                    width: fit-content;
                    line-height: 20px;
                }
            }
        }
    }

    .menu-item-card-dark {
        height: 100%;
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 4;
        background-color: var(--c-primary-dark);
        border-radius: 10px;
        padding: 20px;

        @media screen and (max-width: 992px) {
            grid-column-start: 1;
            grid-column-end: 2;
            grid-row-start: unset;
            grid-row-end: unset;
        }

        a {
            display: flex !important;
            flex-direction: column !important;
            gap: 10px;

            .menu-item-content {
                display: flex;
                gap: 5px;

                .menu-item-title {
                    color: white;
                    font-weight: 400;
                }

                .menu-item-subtitle {
                    line-height: 20px;
                    color: white;
                }
            }

            .menu-btn-element {
                margin-top: 30px;
                color: var(--c-primary-dark);
                background-color: var(--c-secondary);
                border-radius: 5px;
                padding: 9px 20px;
                transition: all ease-in-out .3s;
                font-weight: 400;

                &:hover {
                    background-color: white;
                }
            }


        }
    }

    #menu-main-menu-header {
        justify-content: flex-end;
    }

    @media screen and (max-width: 992px) {
        #menu-main-menu-header li > .sub-menu {
            background: white;
            transition: all ease-in-out .3s;
            position: absolute;
            left: 100%;
            top: 0;
            height: 100vh;
            overflow: scroll;
            display: flex;
            flex-direction: column;
            gap: 15px;
            width: 100%;

            a {
                text-align: left;
            }
        }

        #menu-main-menu-header li:has(.chevron-toggler.active) > .sub-menu {
            transform: translateX(-100%);
        }

        #menu-main-menu-header li > .sub-menu {
            padding-top: 75px;
        }

        .navigation-wrapper ul.menu > li.menu-item-has-children {
            justify-content: flex-start;
        }

        .navigation-wrapper {
            padding-inline: 15px;
        }

        .navigation-wrapper #menu-main-menu-header > li:nth-last-child(3) {
            padding: 25px 0;
        }

        .navigation-wrapper #menu-main-menu-header > li:nth-last-child(2) {
            padding-bottom: 10px !important;
        }

        .navigation-wrapper #menu-main-menu-header > li:nth-last-child(3), .navigation-wrapper #menu-main-menu-header > li:nth-last-child(2), .navigation-wrapper #menu-main-menu-header > li:nth-last-child(1) {
            width: fit-content;
            a {
                margin: 0;
            }
        }

        .navigation-wrapper #menu-main-menu-header > li:nth-last-child(1) {
            padding-top: 5px;
        }
    }

    .navigation-wrapper ul.menu > li .sub-menu .menu-item-back-mobile a {
        text-align: left;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start;
        border-bottom: solid 1px #E4E4E499;

        &:before {
            display: block;
            content: '';
            width: 25px;
            height: 25px;
            background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10H15M5 10L9.16667 5.83334M5 10L9.16667 14.1667' stroke='%23121212' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
            background-position: center;
            background-size: cover;
        }
    }
}

.banner-sec-container {
    background: white !important;

    .banner-sec {
        box-sizing: content-box;
    }
}

.home {

    .image-video-text-section {
        position: fixed !important;
        top: 0;
        height: 100vh;
        z-index: -1;

        & + div {
            margin-top: 100vh;
        }
    }

    .card-text-icon{
        width: auto;
    }

}

.marquee, .marquee_logo {
    display: flex !important;
    overflow: hidden !important;
    user-select: none !important;
    gap: 2rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.marquee {
    height: 10vh !important;
}

.marquee__group {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    animation: scroll 25s linear infinite reverse !important;
    min-width: 1650px !important;

    .e-con-inner {
        width: 100% !important;
        min-width: 100% !important;
    }
}


@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

@media only screen and (min-width: 360px) {
    .marquee__group span {
        font-size: 6.5vw;
    }
}

.banner-caption .container {
    display: flex;
    flex-direction: column;
    justify-content: end;

    @media screen and (max-width: 992px) {
        padding: 15px;
        justify-content: flex-start;
    }

    .link.type-black{
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    .customer_text_image{
        display: flex;
        flex-direction: row;
        color: white;
        align-items: center;
        gap: 10px;
        font-size: 16px;

        p{
            margin: 0 !important;
        }

        @media screen and (max-width: 992px) {
            display: none;
        }
    }

    .icone-texte-repeater-container {
        margin-top: 40px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 25px;

        @media screen and (max-width: 992px) {
            margin-top: 0px;
            justify-content: flex-start;
            gap: 5px;
        }

        .repeater-item {
            display: flex;
            flex-direction: row;
            align-items: center;

            .item-image img {
                width: 45px;
                height: 45px;
            }

            .item-text {
                font-size: 16px;
                color: white;
            }
        }
    }
}
.footer{
    .wrapper{
        padding: 25px 0;
        border-top: solid 1px #c9c9c97d;
        border-bottom: solid 1px #c9c9c97d;
        height: 100%;

        .logo{
            width: 240px;
        }

        .info-text{
            font-size: 14px !important;
            line-height: initial;
            color: #A6A6A6;
        }
    }

    .footer-bottom{
        color: white;
        background: var(--c-primary-dark);
    }

    .col-footer-nav{
        ul.menu-outer ul{
            padding-top: 0;
        }
        ul.menu-outer ul li a{
            color: #A6A6A6;
        }

        ul.menu-outer ul li:first-of-type a{
            display: inline-block;
            color: white;
            margin-bottom: 10px;
            font-size: 16px !important;
            line-height: 1 !important;
        }
    }
}


