header{
	background-color: white;
	font-family: var(--font-main);
    height: var(--header-height);
    border-bottom: 1px solid var(--col-red);
}
#header-mobile{
    display: none;
}
#header-content{
    width: 100%;
    max-width: var(--header-max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-end;
}
#header-top{
    height: 40%;
    width: 70%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}
    
    #header-top-search{
        width: 15em;
        color: var(--col-grey-cc);
        padding-left: 1em;
    }
        #header-search-container{
            border-bottom: 1px solid;
            padding: 0;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-content: center;
            justify-content: center;
            align-items: center;
            padding-bottom: .1em;
        }
        #header-search-container form{
            display: inline;
            width: 100%;
        }
        #header-search{
            border: none;
            background-color: transparent;
            padding: 0;
            padding-left: .5em; 
        }
        #header-search-container i{
            margin-left: .2em;
            margin-right: .4em;
            transform: scale(1.1);
            cursor: pointer;
        }
        #header-search:hover,
        #header-search:active,
        #header-search:focus
        {
            border: none;
            box-shadow: none;
            background: white;
        }
        #header-search::placeholder{
            opacity: 1;
            font-style: italic;
            color: var(--col-grey-cc);
        }
nav{
	width: 70%;
	height: 60%;
    max-width: var(--header-max-width);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
    #menu-ul{
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: space-evenly;
        align-items: center;
        position: relative;
        padding: 0 1.5em 1.5em 1.5em;
    }
    .menu-li{
        height: 100%;
        list-style-type: none;
        list-style-position: inside;
        margin: 0 .8em;
    }
    #menu-ul-haut{
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-end;
        align-items: center;
        position: relative;
        padding-top: 1em;
        margin-right: 5%;
    }
    #menu-ul-haut .menu-li{
        margin: 0 1em;
    }
    #menu-ul-haut .menu-li>a{
        text-transform: uppercase;
        font-weight: 700;
        font-size: 70%;
    }
    nav a{
        text-transform: uppercase;
        font-weight: 700;
        font-size: var(--menu-font-size);
        padding: 0 .5em;
        height: 100%;
        display: flex;
        align-items: flex-end;
        letter-spacing: .05em;
        line-height: 1.1;
    }
    nav a:hover,
    #menu-ul-haut a:hover{
        color: var(--col-red);
        /*background-color: rgba(173, 173, 173);*/
    }
    nav a.active,
    #menu-ul-haut a.active{
        color: var(--col-red);
        /*background-color: white;*/
    }
#header-logo,
#header-top-agences{
    width: 15%;
    height: 100%;
    display: block;
    background-image: url(../img/logo_header_rouge_2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size:  contain;
    transition: var(--transition-all);
}
#header-logo{
    background-color: var(--col-red);
}
#header-top-agences{
    background-image: url(../img/header_agences.png?date=19-12-24);
    background-position: top center;
}
#header-logo>a,
#header-top-agences>a{
    width: 100%;
    height: 100%;
    display: block;
}


/* HEADER SMALL */
@media (min-width: 1080px) {
    body.header-small{
		margin-top: 220px;
	}
	.header-small header{
		position:fixed;
        height: var(--header-small-height);
		top: 0;
		left: 0;
		width: 100%;
		z-index: 1000;
		box-shadow: var(--box-shadow);
	}
	.header-small #header-top,
    .header-small #header-top-agences{
		display: none;
	}
	.header-small nav{
		height: 100%;
	}
	.header-small #menu-ul{
        padding: 0;
	}
    .header-small nav a{
        align-items: center; 
    }
}