header {
    height: 60px;
    background-color: #fff;
    border-bottom: solid 1px #dedede;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2052;
}

@media (min-width: 992px) {
    header {
        height: 100px;
    }
}

header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media (min-width: 992px) {
    header ul {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }
}

header ul.submenu {
    margin-left: 1rem;
    display: none;
    border-left: solid #dedede 1px;
    flex-basis: 100%;
}

header ul.submenu.opened {
    display: block;
}

header ul.submenu li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

header ul a {
    display: block;
    transition: 250ms;
}

@media (min-width: 992px) {
    header ul a:last-child {
    }
}

header ul a:first-letter {
    text-transform: uppercase;
}

header ul a.active {
    color: var(--primary-color);
}

header ul.thematiques a.dropdown {
    margin-left: auto;
    cursor: pointer;
}

header .collapser {
    margin-left: auto;
    font-size: 2rem;
}

header .menu-content {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: solid #dedede 1px;
    padding: inherit;
    display: flex;
    flex-direction: column;
    display: none;
}

@media (min-width: 992px) {
    header .menu-content {
        padding: 0;
    }
}

header .menu-content > ul {
    border-bottom: solid #dedede 1px;
    padding: 1.5rem 0;
}
@media (min-width: 992px) {
    header .menu-content > ul {
        border-bottom: 0;
        padding: 0;
    }
}

header .menu-content ul:last-child {
    border-bottom: 0;
}

header .menu-content.opened {
    display: flex !important;
    height: calc(100dvh - 60px);
    overflow: auto;
}

header .menu-content .changelangue a {
    padding: 0.5rem 1rem;
    text-transform: capitalize;
}

@media (min-width: 992px) {
    header .menu-content .changelangue a {
        padding: 0;
    }
}

@media (min-width: 992px) {
    header .menu-content .changelangue {
        align-self: flex-end;
    }
}

@media (min-width: 992px) {
    header .menu-content {
        display: flex;
        background-color: transparent;
        border-bottom: 0;
        position: initial;
        margin-left: auto;
    }
    header .menu-content.opened {
        height: auto;
    }
}

header.popup {
    position: initial;
    display: flex;
    align-items: center;
}
