#header {
    background: #3B4346 url("images/bg01.jpg");
    border-bottom: solid 1px #272d30;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.75);
    height: 155px;
}

#header_container {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

#header h1 {
    font-size: 2.75em;
    margin: auto 0;
}

#header h1 a {
    color: #fff;
    text-decoration: none;
}

#header nav {
    font-weight: 200;
    margin: auto 0;
}

#header nav a {
    color: #c6c8c8;
    text-decoration: none;
    font-size: 1.4em;
    margin-left: 60px;
    outline: 0;
}

#header nav a:hover {
    color: #f6f8f8;
}

.user-container {
    display: flex;
    position: absolute; /*150px*/
    top: 43px;
    left: 20px;
}

.user-menu {
    position: relative;
    display: inline-block;
    margin: auto;
}

.user-button {
    background-color: transparent;
    color: white;
    padding: 10px 0;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.user-icon {
    height: 40px;
    width: 40px;
    fill: white;
}

.logout-button {
    all: unset !important;
}

.user-button:hover {
    background-color: rgba(10, 10, 10, 0.2);
}

.user-menu:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    text-shadow: none;
    left: unset;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}


.logout {
    margin: auto 0;
}

/* Bouton Menu */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
}

/* Cacher le menu par défaut sur mobile */
@media (max-width: 1070px) {
    #menu-toggle {
        display: block;
    }

    #header {
        display: none;
    }

    .user-container {
        display: flex;
        position: absolute;
        left: auto;
        right: 0;
        top: 0;
        z-index: 100000;
    }

    .user-button {
        padding: 10px 16px 0 16px;
    }

    .user-icon {
        height: 25px;
        width: 25px;
    }

    .dropdown-content {
        right: 0;
    }

    /* Nav */
    #page-wrapper {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        padding-bottom: 1px;
        padding-top: 44px;
    }

    #titleBar {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        height: 44px;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10001;
        color: #fff;
        background: url("images/bg04.jpg");
        box-shadow: inset 0px -20px 70px 0px rgba(200, 220, 245, 0.1), inset 0px -1px 0px 0px rgba(255, 255, 255, 0.1), 0px 1px 7px 0px rgba(0, 0, 0, 0.6);
        text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.75);
    }

    #titleBar .title {
        display: block;
        text-align: center;
        font-size: 1.2em;
        font-weight: 400;
        line-height: 48px;
    }

    #titleBar .title a {
        color: white;
        text-decoration: none;
    }

    #titleBar .toggle {
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 60px;
    }

    #titleBar .toggle:after {
        content: '';
        display: block;
        position: absolute;
        top: 6px;
        left: 6px;
        color: #fff;
        background: rgba(255, 255, 255, 0.025);
        box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05), inset 0px -8px 10px 0px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.25);
        text-shadow: -1px -1px 1px black;
        width: 49px;
        height: 31px;
        border-radius: 8px;
    }

    #titleBar .toggle:before {
        content: '';
        position: absolute;
        width: 20px;
        height: 30px;
        background: url("images/mobileUI-site-nav-opener-bg.svg");
        top: 15px;
        left: 20px;
        z-index: 1;
        opacity: 0.25;
    }

    #titleBar .toggle:active:after {
        background: rgba(255, 255, 255, 0.05);
    }

    #navPanel {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transform: translateX(-275px);
        -webkit-transform: translateX(-275px);
        -ms-transform: translateX(-275px);
        transform: translateX(-275px);
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        display: block;
        height: 100%;
        left: 0;
        overflow-y: auto;
        position: fixed;
        top: 0;
        width: 275px;
        z-index: 10002;
        background: url("images/bg04.jpg");
        box-shadow: inset -1px 0px 0px 0px rgba(255, 255, 255, 0.25), inset -2px 0px 25px 0px rgba(0, 0, 0, 0.5);
        text-shadow: -1px -1px 1px black;
    }

    #navPanel .link {
        display: block;
        color: #fff;
        text-decoration: none;
        font-size: 1.25em;
        line-height: 2em;
        padding: 0.625em 1.5em 0.325em 1.5em;
        border-top: solid 1px #373d40;
        border-bottom: solid 1px rgba(0, 0, 0, 0.4);
    }

    #navPanel .link:first-child {
        border-top: 0;
    }

    #navPanel .link:last-child {
        border-bottom: 0;
    }

    body.navPanel-visible #page-wrapper {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }

    body.navPanel-visible #titleBar {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }

    body.navPanel-visible #navPanel {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}
