/* MENU CSS */

nav:not(.bc) {
    position: relative;
    z-index: 999;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #head-mobile {
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#cssmenu:after,
#cssmenu>ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}

#cssmenu #head-mobile {
    display: none
}

#cssmenu {
    font-weight: 600;
    margin-top: 0px;
    z-index: 999;
}

#cssmenu div.wrapper {
    background-color: #fff;
}

#cssmenu>ul {
    margin: 0;
    padding: 0;
    text-align: left;
    display: flex;
    justify-content: center;
    gap: 0px;
}



#cssmenu>ul ul {
    margin-left: 0px;
    text-align: left;
    padding-left: 0px;
}

#cssmenu>ul>li>a {
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 16px;
    text-decoration: none;
    line-height: 1;
    text-align: center;
    padding: 9px 25px;
    transition: background-color 0.4s;
}

#cssmenu.mega>ul>li:after {
    display: block;
    content: '';
    border-bottom: solid 3px #000;
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

#cssmenu.mega>ul>li.active:after {
    border-bottom: solid 3px #d7d7d7;
    transform: scaleX(0.6);
}

#cssmenu.mega>ul>li:hover:after {
    transform: scaleX(0.6);
    /* transform-origin: 0% 50%; */
}

#cssmenu>ul>li:hover,
#cssmenu ul li.active:hover,
#cssmenu ul li.active,
#cssmenu ul li.has-sub.active:hover {
    -webkit-transition: background .3s ease;
    -ms-transition: background .3s ease;
    transition: background .3s ease;
}


#cssmenu>ul>li:hover a {
    animation: bounce-text 0.4s ease;
    display: inline-block;
}

#cssmenu.mega>ul>li>a.active {
    border-bottom: solid 4px #ffffff;
}

#cssmenu>ul>li.has-sub>a span:before {
    content: "\D";
}

#cssmenu ul ul {
    position: absolute;
    left: -9999px
}

#cssmenu ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    background: white;
    transition: all .25s ease
}

#cssmenu ul ul li:hover {
    background-color: #f8f8f8;
}

#cssmenu li>ul {
    padding-top: 3px;
}

#cssmenu li>ul.default {
    width: 200px;
}

#cssmenu ul ul.default li {
    /* background-color: rgb(245, 245, 245); */
}

#cssmenu li>ul.default div.wrapper {
    padding-top: 10px;
    padding-left: 15px;
    /* background-color: rgb(245, 245, 245); */
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}



#cssmenu li:hover ul {
    left: auto;
    z-index: 9999;
}

#cssmenu li>ul>li {
    height: auto;
    background-color: #f2f2f2;
}

#cssmenu.normal li:hover>ul>li {
    padding-left: 1rem
}

#cssmenu ul ul ul {
    margin-left: 100%;
    top: 0
}

#cssmenu ul ul li a {
    text-align: left;
    padding: 12px 0px;
    width: 250px;
    font-size: 14px;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    line-height: 1;
}

#cssmenu ul ul li a:hover {
    background-color: #e0dede;
}

#cssmenu ul ul li:last-child>a,
#cssmenu ul ul li.last-item>a {
    border-bottom: 0
}


/* #cssmenu ul ul li.has-sub > a:after{position:absolute;top:16px;right:11px;width:8px;height:2px;display:block;background:#ddd;content:''} */


/* #cssmenu ul ul li.has-sub > a:before{position:absolute;top:13px;right:14px;display:block;width:2px;height:8px;background:#ddd;content:'';-webkit-transition:all .25s ease;-ms-transition:all .25s ease;transition:all .25s ease} */

#cssmenu ul ul>li.has-sub:hover>a:before {
    top: 17px;
    height: 0
}

#cssmenu>ul>li.has-sub>ul>li.active>a,
#cssmenu>ul ul>li.has-sub>ul>li.active>a {
    border-top: 1px solid #333
}

#cssmenu ul ul li.last:before {
    position: absolute;
    content: "";
    width: 40px;
    background-color: #3B2316;
    height: 1px;
    left: 50%;
    margin-left: -20px;
    top: 32px;
}

ul.footer-col {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    flex-wrap: wrap;
}

ul.footer-col h4 {
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

ul.footer_menu,
ul.footer_menu li,
ul.footer-col,
ul.menu_social {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.footer_menu li a {
    display: inline-block;
    font-size: 13px;
    color: #ABABAB;
    transition: color 0.2s;
    font-weight: 300;
    padding: 3px 0px;
    letter-spacing: 0.4px;
}

ul.footer_menu li a:hover {
    color: #333;
}

ul.menu_social {
    display: flex;
    justify-content: start;
    align-items: baseline;
    gap: 10px;
}

ul.menu_social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FAC864;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 22px;
    border: 2px solid #F0F0F0;
    transition: all ease-in-out 0.2s;
}

ul.menu_social li a:hover {
    background-color: #FAC864;
    border: 2px solid #FAC864;
    color: #fff;

}





/* MEGA MENU */

.mega-menu-left,
.mega-menu-right {
    position: relative;
    width: 40%;
    height: auto;
    display: inline-block;
    vertical-align: top;
    background-color: white;
}

.mega-menu-right {
    padding: 10px 0px;
    columns: 2;
    width: 60%;
}

.mega-menu-left img {
    max-width: 100%;
}

#cssmenu.mega li>ul.mega {
    width: 700px;
    height: auto;
    float: left;
    /* box-shadow: 1px 2px 2px rgb(0, 0, 0, 0.2); */
    box-shadow: 0 3px 4px 0px rgb(0, 0, 0, 0.2);
}

#cssmenu.mega ul ul li a {
    width: auto;
}

#cssmenu.mega ul ul ul {
    margin: 0;
    top: auto;
}

#cssmenu.mega ul ul li {
    height: auto;
    border-bottom: 1px solid #ededed;
    margin-right: 20px;
}

#cssmenu.mega ul.mega:first-child ul ul {
    margin-left: 30px;
    width: auto;
    height: auto;
}

#cssmenu ul ul li a {
    transition: color 0.2s, padding 0.2s;
}

#cssmenu ul ul li a:hover {
    background: 0;
    padding-left: 10px;
}

#cssmenu.mega ul ul li.has-sub:hover,
#cssmenu.mega li:hover>ul>li {
    background: 0;
}

#cssmenu.mega ul ul ul li {
    margin-left: 10px;
}

#cssmenu.mega ul ul ul li a {
    padding: 5px 20px;
}

#cssmenu.mega ul ul ul li a:hover {
    padding-left: 25px;
}

@media only screen and (max-width: 1275px) {
    #cssmenu>ul>li>a {
        padding: 20px 8px;
    }
}

@media only screen and (max-width: 1275px) {
    #cssmenu>ul>li>a {
        padding: 20px;
    }
}

@media only screen and (max-width: 1200px) {}

@media screen and (max-width:992px) {
    header .container {
        max-width: 100%;
    }

    .header-menu {
        height: 60px;
    }

    .header-main-menu {
        position: absolute;
        width: 100%;
        top: 71px;
        left: 0;
    }

    .menu-mobile-bt {
        display: block;
    }

    #cssmenu li>ul.default div.wrapper {
        padding-top: 10px;
        padding-left: 15px;
        /* background-color: rgb(245, 245, 245); */
        border: 0;
    }

    #cssmenu.mega li>ul.mega {
        box-shadow: none;
    }


    .header-pre-menu {
        display: none;
    }

    #cssmenu ul ul li a {
        text-transform: none;
    }

    .mega-menu-left {
        display: none;
    }

    #cssmenu.mega li>ul.mega {
        width: 100%;
    }

    #cssmenu li>ul.default {
        width: 100%;
    }


    #cssmenu ul ul li a:hover {
        background: 0;
        padding-left: 0px;
    }

    #cssmenu li>ul.default div.wrapper,
    #cssmenu ul ul.default li {
        background: none;
    }

    #cssmenu li>ul.default div.wrapper {
        padding: 0;
        padding-left: 50px;
    }

    #cssmenu.mega>ul>li:hover:after,
    #cssmenu.mega>ul>li.active:after {
        transform: scaleX(0);
    }

    .mega-menu-right {
        padding: 0px;
        padding-left: 50px;
        padding-bottom: 30px;
        columns: 1;
        width: 100%;
    }

    #cssmenu>ul>li>a {
        padding-left: 6px;
        padding-right: 6px;
    }

    #cssmenu li:hover>ul>li {
        background-color: #fff;
    }

    #cssmenu>ul>li.contact a {
        margin-top: 10px;
    }

    #cssmenu>ul>li.contact {
        margin-bottom: 20px;
    }

    #cssmenu>ul>li.formule {
        margin-top: 20px;
    }

    #cssmenu>ul>li>a.active,
    #cssmenu>ul>li:hover>a,
    #cssmenu>ul>li>a {
        border-bottom: none;
    }

    #cssmenu>ul>li:hover {
        box-shadow: none;
    }

    #cssmenu ul ul li {
        background: none;
    }

    #cssmenu>ul>li:hover,
    #cssmenu ul li.active:hover,
    #cssmenu ul li.active,
    #cssmenu ul li.has-sub.active:hover {
        background-color: none;
    }

    #cssmenu.mega ul ul li {
        border: 0;
    }

    #cssmenu>ul>li>a {
        color: #3B2316;
        padding: 25px 15px 25px 45px;
        font-size: 14px;
        letter-spacing: 1px;
        text-align: left;
    }

    #cssmenu ul ul li a {
        font-size: 13px;
        font-weight: 400;
        padding: 0;
    }

    nav {
        width: 100%;
    }

    #cssmenu {
        width: 100%;
        padding-top: 0px;
    }

    #cssmenu ul {
        width: calc(100% + 30px);
        margin-left: -15px;
        display: none;
        position: absolute;
        z-index: 9999;
        background-color: #fff;
        /* margin-top: 3px; */
    }

    #cssmenu ul li {
        width: 100%;
    }

    #cssmenu ul ul li,
    #cssmenu li:hover>ul>li {
        height: auto;
        padding: 6px;
        line-height: 1;
    }

    #cssmenu ul li a,
    #cssmenu ul ul li a {
        width: 100%;
        border-bottom: 0;
        text-align: left;
        line-height: 20px;
    }

    #cssmenu>ul>li {
        float: none
    }

    #cssmenu>ul>li>a {
        text-transform: uppercase;
        font-weight: 700;
        color: #000;
    }

    #cssmenu ul ul li a {
        padding-left: 0px
    }

    #cssmenu ul ul ul li a {
        padding-left: 35px
    }

    #cssmenu ul ul li a {
        color: #000;
        background: none
    }


    #cssmenu ul ul li:hover>a,
    #cssmenu ul ul li.active>a {
        color: #5f7b79
    }

    #cssmenu ul ul,
    #cssmenu ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }

    #cssmenu>ul>li.has-sub>a:after,
    #cssmenu>ul>li.has-sub>a:before,
    #cssmenu ul ul>li.has-sub>a:after,
    #cssmenu ul ul>li.has-sub>a:before {
        display: none
    }

    #cssmenu #head-mobile {
        display: block;
        padding: 23px;
        color: #ddd;
        font-size: 12px;
        font-weight: 700
    }

    .menu-mobile-bt {
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 999;
    }

    .menu-mobile-bt:after {
        position: absolute;
        display: block;
        height: 12px;
        width: 30px;
        top: 36px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        content: ''
    }

    .menu-mobile-bt:before {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        position: absolute;
        display: block;
        height: 2px;
        width: 30px;
        top: 26px;
        background: #fff;
        content: ''
    }

    .menu-mobile-bt.menu-opened:after {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        top: 36px;
        border: 0;
        height: 2px;
        width: 30px;
        background: #fff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg)
    }

    .menu-mobile-bt.menu-opened:before {
        top: 36px;
        width: 30px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }

    #cssmenu .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 5px;
        display: block;
        height: 46px;
        width: 100%;
        cursor: pointer;
    }

    #cssmenu .submenu-button.submenu-opened {
        background: none;
    }

    #cssmenu ul ul .submenu-button {
        height: 34px;
        width: 100%;
    }

    #cssmenu .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #000;
        content: ''
    }

    #cssmenu ul ul .submenu-button:after {
        top: 15px;
        right: 13px
    }

    #cssmenu .submenu-button.submenu-opened:after {
        background: #000
    }

    #cssmenu .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #000;
        content: ''
    }

    #cssmenu ul ul .submenu-button:before {
        top: 12px;
        right: 16px
    }

    #cssmenu .submenu-button.submenu-opened:before {
        background: none;
    }

    #cssmenu ul ul ul li.active a {
        border-left: none
    }

    #cssmenu>ul>li.has-sub>ul>li.active>a,
    #cssmenu>ul ul>li.has-sub>ul>li.active>a {
        border-top: none
    }

    #cssmenu ul ul li.last:before {
        position: absolute;
        content: "";
        width: 40px;
        background-color: #3B2316;
        height: 1px;
        left: 50%;
        margin-left: -20px;
        top: 54px;
    }

    #cssmenu ul ul li.last {
        margin-bottom: 15px;
    }

    section.header-down .colonne01,
    nav#cssmenu {
        height: auto;
    }
}

.header-pre-menu ul {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.header-pre-menu ul,
.header-pre-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 12px;
}

.header-pre-menu li a:hover {
    color: #75939E;
}

.header-pre-menu li a {
    color: #000;
}


@media screen and (max-width:1024px) {
    ul.footer-col li {
        text-align: center;
    }

    ul.footer-col {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    ul.menu_social {
        justify-content: center;
    }
}