.main-nav{
    width:100%;
    font-family: 'Rajdhani', sans-serif !important;
}

.main-nav a{
    text-decoration:none;
}

.main-nav-notice{
    width: 100%;
    padding: 6px 10px;
    color: white;
    fill:white;
    font-size:0.85rem;
    text-align:center;
    background: var(--wp--preset--color--secondary);
    font-family: var(--wp--preset--font-family--body);
}

.main-nav-notice-container{
    width:100%;
    max-width: var(--wp--style--global--wide-size);
    margin:auto;
}

.main-nav-container{
    max-width: var(--wp--style--global--wide-size);
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px;
    position:relative;
}

.main-nav-logo{
    width:175px;
    margin-right:10px;
    flex-shrink: 0;
    display:block;
}

.main-nav-logo img{
    width:100%;
}

.main-nav-right{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content: space-between;
}

.main-nav-right .top-nav{
    font-size:1rem;
    display:flex;
    align-items:center;
    gap:20px;
    line-height:100%;
    padding-bottom:5px;
    font-weight:600;
}

.main-nav-right .top-nav .main-nav-lien-externe,
.main-nav-right .top-nav .main-nav-telephone,
.main-nav-right .top-nav .main-nav-social-link,
.zero-c-language-switcher{
    color:var(--wp--preset--color--foreground-alt) !important;
    fill:var(--wp--preset--color--foreground-alt) !important;
}

.main-nav-right .top-nav .main-nav-lien-externe svg{
    width:12px;
}

.main-nav-right .top-nav .main-nav-social-link{
    width:15px;
}

.main-nav-right .top-nav .main-nav-social-link svg{
    vertical-align: middle;
    padding-bottom:2px;
}

.main-nav-items{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:5px;
}

.main-nav-link,
.main-nav-dropdown{
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 500;
    cursor:pointer;
}

.main-nav-link{
    border-bottom:1px solid transparent;
    transition:all 200ms ease;
}

.main-nav-link:hover{
    border-bottom:1px solid var(--wp--preset--color--foreground-alt);
}

.main-nav-dropdown svg{
    width:10px;
    transition:transform 200ms ease;
}

.main-nav-dropdown:hover svg{
    transform:rotate(180deg);
}

.main-nav-dropdown-popup{
    position:absolute;
    z-index:99;
    padding-top:30px;
    top:70px;
    width:94%;
    left:3%;
}

.main-nav-popup-content{
    border-radius:4px;
    border-bottom:3px solid var(--wp--preset--color--foreground-alt);
    padding:10px 10px 10px 25px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15); 
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
    background:white;
    width:100%;
    margin:auto;
    display:flex;
    align-items:stretch;
    gap:10px;
}

.main-nav-popup-submenu,
.main-nav-popup-cta{
    width:33%;
}

.main-nav-popup-submenu{
    padding-top:15px;
}

.main-nav-popup-submenu h3{
    text-transform: uppercase;
    font-weight:600;
    font-size:1.1rem;
    color:var(--wp--preset--color--foreground-alt);
    margin-top:5px;
}

.main-nav-popup-inside-link{
    display:flex;
    align-items:center;
    width:100%;
    margin:16px 0;
    font-weight:500;
    line-height:1.2rem;
    font-size:1.2rem;
}

.main-nav-popup-inside-link svg{
    width:20px;
    margin-right:8px;
    fill:var(--wp--preset--color--primary);
}

.main-nav-popup-submenu.small .main-nav-popup-inside-link{
    font-size:1rem;
}

.main-nav-popup-cta{
    position:relative;
    border-radius:4px;
    background-size:cover;
    background-position:center;
    padding:20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-nav-popup-cta-overlay{
    background:rgba(0,0,0,0.2);
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    border-radius:4px;
}


.main-nav-popup-cta h4{
    position:relative;
    color:white;
    font-weight:500;
    font-size:1.5rem;
    line-height:1.7rem;
    text-align:center;
}

.main-nav-popup-cta-button{
    position:relative;
    display:block;
    border-radius:4px;
    padding:5px 15px;
    background:white;
    color:var(--wp--preset--color--secondary);
    transition:transform 200ms cubic-bezier(0.570, 0.840, 0.185, 1.445) !important;
    text-align:center;
    font-weight:600;
    font-size:1.1rem;
    text-transform: uppercase;
}

.main-nav-popup-cta-button:hover{
    transform:scale(1.02);
}

#main-nav-ham{
    border-radius:4px;
    background:var(--wp--preset--color--secondary);
    cursor:pointer;
}

#main-nav-ham svg{
    color:white;
    fill:white;
    display:block;
    width:20px;
    margin:5px 8px;
}

.main-nav-social-link{
    display:none;
}

.main-nav-items.desktop{
    display:none;
}

.main-nav-items.mobile{
    display:flex;
}

.main-nav-lien-externe.desktop{
    display:none;
}

.main-nav-mobile{
    position:fixed;
    top:10px;
    right:10px;
    bottom:10px;
    left:10px;
    z-index:99;
    background:var(--wp--preset--color--background);
    border-radius:8px;
    overflow:auto;
    -webkit-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.1); 
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.1);
}

body.admin-bar .main-nav-mobile{
    top:80px;
}

#close-mobile-nav{
    width:25%;
    text-align:right;
    cursor:pointer;
}

#close-mobile-nav svg{
    display:inline-block;
    width:20px;
    fill:var(--wp--preset--color--secondary);
}

.main-nav-mobile-content{
    padding:0 10px 20px;
}

.main-nav-mobile-button-wrap{
    width:100%;
    text-align:center;
    margin:15px 0;
}

.main-nav-link.mobile{
    display:block;
    margin:10px;
}

.main-nav-link.mobile:hover{
    border-bottom: 1px solid transparent;
}

.main-nav-mobile-dropdown-title{
    margin:0;
}

.main-nav-mobile-submenu {
    background: white;
    border-radius: 4px;
    padding: 17px 10px 1px;
    margin: 10px 0;
}

.main-nav-lien-externe.mobile{
    display:block;
    width:100%;
    margin:30px 0;
    text-align:center;
}

.main-nav-lien-externe.mobile svg{
    width:12px;
}

.main-nav-social-link-mobile svg{
    color:var(--wp--preset--color--foreground-alt) !important;
    fill:var(--wp--preset--color--foreground-alt) !important;
    width:12px;
}

.main-nav-mobile-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 10px 0;
}

.main-nav-mobile-header .left{
    width:75%;
}

.main-nav-popup-submenu.two_cols{
    width:60%;
}

.main-nav-popup-submenu-two-cols-wrap{
    display:flex;
    gap:15px;
    margin-top:-15px;
}

.main-nav-popup-submenu-two-cols-wrap .main-nav-popup-inside-link{
    margin:10px 0;
}

.main-nav-popup-submenu.expertises{
    width:100%;
    margin:0 10px;
}

.expertise-submenu-title{
    display:flex;
    align-items:center;
}
.expertise-submenu-title svg{
    width: 20px;
    margin-right: 8px;
    fill: var(--wp--preset--color--primary);
}

.expertise-submenu-title h3{
    margin-bottom:0;
    margin-top:5px;
    white-space: nowrap;
}

.main-nav-popup-submenu.expertises .main-nav-popup-inside-link{
    font-size:1rem;
    margin: 10px 0;
}
@media (min-width:1100px){
    .main-nav-dropdown-popup{
        left:10%;
        width:80%;
    }
}

@media (min-width:1050px){
    .main-nav-items.desktop{
        display:flex;
    }

    .main-nav-lien-externe.desktop{
        display:block;
    }

    .main-nav-items.mobile{
        display:none;
    }

    .main-nav-mobile{
        display:none !important;
    }

    .main-nav-social-link{
        display:inline;
    }
}

@media (max-width:1049px){
    .main-nav-popup-inside-link{
        font-size:1rem;
        margin:8px 0;
    }

    .main-nav-mobile-dropdown-title,
    .expertise-submenu-title h3{
        font-size:1.2rem;
    }
}

@media (max-width:500px){
    .main-nav-logo{
        width:125px;
    }
}