/***************
HEADER
***************/

menu.header{
    height: 7vh;
    /*background-color: #3c3c3c;*/
    background-color: var(--primary-darker);
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 11;
}

menu.header .navPadding {
    width: 20vw;
}

@media all and (min-width: 1200px)
{
    menu.header .navPadding {
        width: 30vw;
    }
}

@media all and (min-width: 1500px)
{
    menu.header .navPadding {
        width: 40vw;
    }
}

@media all and (min-width: 2000px)
{
    menu.header .navPadding {
        width: 50vw;
    }
}

menu.header .navPadding .pageTitle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    margin-left: 3vw;
}

menu.header .navPadding .pageTitle p {
    color: white;
    font-size: 0.8vw;
    margin: 0;
    max-width: 35vw;
}

menu.header {
    padding-inline-start: 0;
    padding-left: 1.2vw;
}

menu.header a.home-link {
    text-decoration: none;
    color: var(--txt-color-white);
    padding: 5px;
}

menu.header a.home-link {
    display: flex;
    max-height: 4vh;
    justify-content: left;
    align-items: center;
}

menu.header a.home-link p {
    font-family: 'Courgette', serif;
    font-size: 1.5vw;
    font-weight: 500;
    margin: 0;
}

.home-logo {
    width: max-content;
    font-size: 1.3vw;
}
.home-logo img {
    margin-right: 0.5vw;
    max-height: 5vh;
}

menu.header span{
    color: var(--txt-color-white);
    margin: auto;
}
menu.header nav{
    display: flex;
    align-items: center;
    flex: 1;
    margin-right: 4rem;
    height: 100%;
}

menu.header nav span {
    display: block;
    font-size: max(0.5vw, 1rem);
    margin: 0 1vw;
}

nav .ckt-button {
    width: max-content !important;
    font-weight: unset;
    padding: 0.5vw;
}

nav .ckt-button i {
    font-size: max(0.5vw, 1rem);
    margin-right: 0.7vw;
}

nav .ckt-button span {
    display: flex;
    align-items: center;
    width: max-content !important;
    font-size: max(0.5vw, 1rem);
}

/***************
LEFT MENU
***************/
.sidenav:hover a, .sidenav:hover h3{
    display: block;
    text-decoration: none;
    color: var(--txt-color-white);
}

.sidenav {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: var(--primary-lighter);
    display: flex;
}

/* The navigation menu links */
.sidenav a, .sidenav h3 {
    padding: 8px 4px 8px 4px;
    text-decoration: none;
    font-size: 15px;
    color: var(--txt-color-white);
    display: none;
    transition: 0.3s;
    margin: 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    background-color: #ffffff59;
    border-radius: 10px;
}

.sidenav:hover > menu {
    width: 18rem;
    max-width: unset;
}

.sidenav menu {
    flex: 1;
    max-width: 0;
    padding: 0;
    margin: 0;
    width: 0;
    transition: width 0.3s;
    overflow: hidden;
}

.sidenav .sideNaveToggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    writing-mode: vertical-lr;
    background-color: var(--primary);
    color: var(--txt-color-white);
    font-weight: bold;
    /*padding: 0 0.5rem;*/
    text-orientation: upright;
    box-sizing: content-box;
    text-align: center;
}

/* PASTILLE */

.pastille[data-unread-notif-number='0'] {
    display: none;
}

.pastille {
    display: inline-flex;
    margin-left: 0.5rem;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    color: white;
    border-radius: 10px;
    width: 15px;
    height: 15px;
    font-size: 0.7rem
}

.sidenav menu h3 {
    color: var(--txt-color-white);
}

/* SEARCH INPUT */

menu.header .searchChantiersInput {
    width: 100%;
    height: 100%;
    margin: auto;
    border-radius: 5px;
    padding: 0.3rem 1rem;
}

.searchChantiersInputContainer {
    display: flex;
    position: relative;
    height: 4vh;
    max-width: 20vw;
}

.searchChantiersInputContainer > img{
    position: absolute;
    right: 2%;
    top: 0;
    bottom: 0;
    filter: contrast(0);
    margin: auto;
    width: max(1.2rem, 0.7vw);
}

.searchChantiers_root {
    position: relative;
    border-radius: 5px;
    width: 50%;
    max-width: 20vw;
    margin-right: 2rem;
}

.searchChantiers_root > select {
    display: none;
}

.searchChantiers_root > .buttonContainer {
    width: 100%;
    display: flex;
}

.searchChantiers_root > .buttonContainer img {
    cursor: pointer;
    padding: 5px;
}

.searchChantiers_root > .buttonContainer .transfoButton {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline;
}

.transfoDropdownMenu{
    height: 0;
}

.inner{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leftMenuOperation {
    color: #3c3c3c;
}

.option{
    background-color: white;
    border: 1px solid #c3b9b9;
    height: 30px;
    display: flex;
    max-height: 0;
    visibility: hidden;
    justify-content: center;
    border-top: 0;
    position: relative;
    width: 95%;
}

.option a{
    width: 80% !important
}

.option:hover{
    background-color: #c47f77;
}

.option:first-child{
    border-top: 1px solid #c3b9b9;
}

.option:hover a {
    color: white !important
}

.option > a{
    font-size: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.option.transition{
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
    transition: .5s max-height ease;
    max-height: 70px;
}


.info-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.info-wrapper i {
    color: white;
    cursor: pointer;
}

.info-wrapper span {
    color: var(--text-background) !important;
}