
/* ENTÊTE ET MENU, PIED DE PAGE */


/* new */


@media screen and (min-width:1920px){
	
	header#header nav a{
		padding: 20px;
		color: white;
		font-size: 30px;
	}

}

header#header div.langue_menu a{
    font-size: 20px;
    text-transform: uppercase;	
}


header#header .socials{
    margin-top: 25px;	
}

header#header a.social{
	width: 0;
}

.secmenu .cta h3 {
    margin: 10px 0;
    text-align: center;
    line-height: 100%;
	
}

.secmenu .cta{
	width: 100%;
	text-align: center;
}

.secmenu .cta a{
	width: 100%;
}

header#header .secmenu a{
	margin: 0;
}

body header#header:not(.menu) {
/*    position: absolute!important;*/
    width: 100%;
   
}

/* Menu hamburger */
.ham-icon{
	display: none;
}
.ham-icon > span:nth-of-type(3) {
    width: 20px;
}
.ham-icon.close > span:nth-of-type(1) {
    transform: rotate(45deg) translate(4px, -5px);
    transform-origin: top left;
}
.ham-icon.close > span:nth-of-type(2) {
    opacity: 0;
}
.ham-icon.close > span:nth-of-type(3) {
    transform: rotate(-45deg) translate(4px, 6px);
    transform-origin: bottom left;
    width: 35px;
}
/* menu hamburger FIN */

header#header {
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
	z-index: 1;
    
}
header#header .logo{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
}
header#header .logo a{
	display: block;
	width: 100%; /* FIREFOX SVG */
}
header#header .menus a{
	display: inline-block;
	white-space: nowrap;
}
header#header ul{
	list-style:none;
	padding:0;
	margin:0;
}
header#header .menus{
}
header#header .menus > .secmenu{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: flex-end;
}
header#header .menus > nav{
	
}
header#header .menus > nav > ul{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}
header#header .menus > nav > ul .sub-menu{
	display: none;
	z-index: 40;
}
 header#header .searchbar, header#header .woo, header#header .secmenu .menu{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
}
header#header .social, header#header .searchbar .recherche{
	width: 40px;
	height: 40px;
	text-indent: -999px;
	overflow: hidden;
	position: relative;
/*	margin: 0 5px;*/
/*	background-color: var(--color3);*/
}
header#header .social img, header#header .searchbar .recherche img{
	position: absolute;
/*	filter: brightness(0);*/
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width:25px;
	height:17px;
	object-fit: contain;
	-ms-align-self: center;
	align-self: center;
	filter: invert(1);
}
header#header .secmenu a{
	padding: 10px;
	margin: 0 5px;
	color: white;
}
header#header nav a{
	padding: 20px 20px 20px 0px;
	color: white;
	font-size: calc(10px + 1vw);
	
}
header#header .searchbar .recherche{
	background-color: white
}
header#header .searchbar .recherche img{
	filter:none;
}
header#header .searchbar .searchform{
	overflow: hidden;
	position: relative;
}
header#header .searchbar .searchform input[type="text"]{
	padding: 10px 10px;
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--color3);
	background-color: transparent;
	width: 150px;
	border-radius:0px;
	font-size:16px;
}
header#header .searchbar .searchform input[type="text"]:focus{
	outline:none;
	background-color: transparent;
}
header#header .searchform input[type="submit"]{
	cursor: pointer;
	position: relative;
	border: none;
    background-color: var(--color3);
    color: var(--color3);
    width: 40px;
    height: 40px;
}
header#header .searchform form:after{
	pointer-events: none;
	cursor: pointer;
	content: "";
    position: absolute;
    top: calc(50% - 4.5px);
    right: 16.5px;
    border: solid black;
    border-width: 0 3px 3px 0;
    padding: 3px;
    transform: rotate(-45deg);
	opacity: 1;
	transition: opacity 0.4s ease-in 0.4s;
}
header#header .searchform:not(.open) form:after{
	opacity: 0;
	transition: none;
}
header#header .searchform form{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}
header#header .searchform form > *{
	display: block;
	transition-property: width, padding, margin;
	transition-duration: 0.4s;
	transition-timing-function: ease-in-out;
}
header#header .searchbar .searchform:not(.open) form > *{
	width: 0;
	padding: 0;
	margin: 0;
}
header#header .woo-cart, header#header .woo-account{
	text-indent:-999px;
	width: 40px;
	height: 40px;
	display: block;
	position: relative;
	color:#fff;
	background-color: var(--color1);
	overflow: hidden;
}
header#header .woo-cart span, header#header .woo-account span{
	display: block;
	position: absolute;
	width: 70%;
	height: 70%;
	top: 15%;
	left: 15%;
	background-image:url(../../faste-child/img/svg/cart.svg);
	background-position: center center;
	background-repeat: no-repeat;
	filter: invert(1);
}
header#header .woo-account span{
	background-image:url(../../faste-child/img/svg/account.svg);
}
body.active header#header.sticky{
	z-index: 40;
	position: fixed;
	top: 0;
	width: 100%;
	background-color: black;
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
}
body.active header#header.sticky:not(.menu) .menus > .secmenu{
	display: none;
}
body.active header#header.sticky:not(.menu) .logo img {
    max-width: 150px;
	transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
	transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */	
}
body.active header#header.sticky:not(.menu) .menus > nav > ul{
	margin-top: 0;
}
body.active header#header.sticky:not(.menu) .menus > nav  li{
	display: block;
}
header#header .menus > nav li.menu-item-has-children{
	position: relative;
}
header#header:not(.menu) .menus > nav li:hover, header#header .menus > nav ul.sub-menu{
	background-color: var(--color4);
}
header#header:not(.menu) .menus > nav ul.sub-menu li:hover{
	background-color: var(--color2);
}
header#header.menu{
	opacity: 1;
	background-color: black
}

header#header{
	background-color: transparent;
	
}

body header#header:not(.menu) .menus > nav li.menu-item-has-children:hover > ul{
	display: block;
	position: absolute;
	top:100%;
	right: 0;
	opacity:0;
	-webkit-animation: fadein-bot 0.4s 1 ALTERNATE cubic-bezier(.2,.65,.3,1) forwards;
	-o-animation:      fadein-bot 0.4s 1 ALTERNATE cubic-bezier(.2,.65,.3,1) forwards;
	animation:         fadein-bot 0.4s 1 ALTERNATE cubic-bezier(.2,.65,.3,1) forwards;
}
/* MENU MOBILE */
@media screen and (max-width:9999px){
	header#header{
		padding: 25px 5vw;
	        position: absolute;
        width: 100%;	
	}
	header#header .logo{
		padding:0 20px;
		grid-column:2
	}
	header#header .ham-icon{
		grid-column: 1;
		grid-row: 1;
		display: block;
		align-self: center;
		justify-self: left;
		z-index: 30;
        right: 0;		
	}
	header#header .menus{
		padding: 0;
        position: fixed;
        height: 100%;
        width: 30%;
        background-color: var(--color2);
        top: 0;
        right:0;
        transform: translateX(calc(100% + 20px));
        transition: transform 0.4s ease-in-out;
        flex-direction: column-reverse;
        display: flex;
	}
	header#header.menu .menus{
		transform:translateX(0);
        display: flex;
        flex-direction: column-reverse;	
		overflow: hidden;
		overflow-y: auto;		
	}
    header#header .menus > nav {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        position: relative;
        /* overflow: scroll hidden; */
        height: 100%;
        width: 100%;
        justify-content: space-around;
        flex-direction: column;
		padding: 25px 6vw 25px 3vw;
    }
	header#header .menus > nav > ul{
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	    border-top: 1px solid white;	
	}
	header#header .menus > .secmenu{
		justify-content: center;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
		align-content: center;
		background-color: var(--color1);
/*		padding-top: 65px;*/
/*		display: none;*/
	}
	header#header .secmenu ul.menu li{
		-webkit-writing-mode: vertical-lr;
		-ms-writing-mode: vertical-lr;
		writing-mode: vertical-lr;
		transform: rotate(-180deg);
	}
	header#header .socials, header#header .searchbar, header#header .woo, header#header .secmenu ul.menu{
		-webkit-flex-direction: row;
		-moz-flex-direction: row;
		-ms-flex-direction: row;
		-o-flex-direction: row;
		flex-direction: row;
		margin-top: 25px;
		display: flex;
		gap: 3%;		
	}
	header#header .menus > nav > ul > li{
		flex-basis: 100%;
        border-bottom: 1px solid white;		
/*		text-align: center;*/
		font-weight: bold;
	}
	header#header .menus > nav li.menu-item-has-children{
		position: static;
	}
	body header#header .menus > nav li.menu-item-has-children.open > ul{
		transform:translateX(0);
        opacity: 1;	
        padding: 25px 6vw 25px 3vw;		
		
	}	
	body header#header .menus > nav li.menu-item-has-children > ul{
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		-ms-align-items: center;
		align-items: center;
		align-content: center;
		transform:translateX(100%);
		transition:transform 0.4s ease-in-out;
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		right: 0;
		background-color: var(--color2);
		box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
		opacity: 0;
	}
	
/*	li.current-menu-ancestor > a*/
	
	li.open > a{
		z-index: 9999999999999999999999 !important;
		position: relative;
	}
	
	body header#header .menus > nav li.menu-item-has-children > ul > li{
		flex-basis: 100%;
		border-bottom: 1px solid white;
	}
	body header#header .menus > nav li.menu-item-has-children > ul > li:first-child{
		border-top: 1px solid white;
	}
	header#header .searchbar{
		position: relative;
	}
	header#header .secmenu a, header#header .searchbar .recherche{
		margin:5px 0;
	}
	header#header .searchbar .searchform{
		position: absolute;
		left: 100%;
		top: 5px;
		z-index: 2;
		box-shadow: 0 0 10px 0 rgba(0,0,0,0.7);
	}
	header#header .searchbar .searchform input[type="text"]{
		background-color: var(--color4);
	}
	header#header .searchbar .searchform input[type="text"]:focus{
		background-color: var(--color4);
	}
	body header#header .menus > nav li.menu-item-has-children.open > a{
		-webkit-animation: delayed-menutitle 1.4s linear ALTERNATE  forwards;
		-o-animation:      delayed-menutitle 1.4s linear ALTERNATE  forwards;
		animation:         delayed-menutitle 1.4s  linear ALTERNATE  forwards;
		
	}
	
	body header#header .menus > nav li.menu-item-has-children.open > a:before{
		content:"\2190\00a0";
		-webkit-animation: delayed-appear 1.4s linear ALTERNATE  forwards;
		-o-animation:      delayed-appear 1.4s linear ALTERNATE  forwards;
		animation:         delayed-appear 1.4s linear ALTERNATE  forwards;
	}
}
@-webkit-keyframes delayed-menutitle {
	 0% {
		position: relative;
		z-index:auto;
		top: auto;
		width: auto;
		left: auto;
		font-size: 100%;
		font-weight: inherit;
		padding: 20px;
		opacity:1;
	}
	40% {
		position: relative;
		z-index:auto;
		top: auto;
		width: auto;
		left: auto;
		font-size: 100%;
		font-weight: inherit;
		padding: 20px;
		opacity:1;
	}
	49.9% {
		position: relative;
		z-index:auto;
		top: auto;
		width: auto;
		left: auto;
		font-size: 100%;
		font-weight: inherit;
		padding: 20px;
		opacity:0;
	}
	50%{
		position: absolute;
		z-index: 1;
		top: 65px;
		width: 100%;
		left: 0;
		font-size: 140%;
		font-weight: bold;
		padding: 10px;
		opacity:0;
	}
	100% {
		position: absolute;
		z-index: 1;
		top: 65px;
		width: 100%;
		left: 0;
		font-size: 140%;
		font-weight: bold;
		padding: 10px;
		opacity:1
	}
}
@keyframes delayed-menutitle {
	 0% {
		position: relative;
		z-index:auto;
		top: auto;
		width: auto;
		left: auto;
		font-size: 100%;
		font-weight: inherit;
		padding: 20px;
		opacity:0;
	}
	40% {
		position: relative;
		z-index:auto;
		top: auto;
		width: auto;
		left: auto;
		font-size: 100%;
		font-weight: inherit;
		padding: 20px;
		opacity:0;
	}
	49.9% {
		position: relative;
		z-index:auto;
		top: auto;
		width: auto;
		left: auto;
		font-size: 100%;
		font-weight: inherit;
		padding: 20px;
		opacity:0;
	}
	50%{
		position: absolute;
		z-index: 1;
		top: 65px;
		width: 100%;
		left: 0;
		font-size: 140%;
		font-weight: bold;
		padding: 10px;
		opacity:0;
	}
	100% {
		position: absolute;
		z-index: 1;
		top: 65px;
		width: 100%;
		left: 0;
		font-size: 140%;
		font-weight: bold;
		padding: 10px;
		opacity:1
	}
}
@-webkit-keyframes delayed-appear {
	0% {
		content:"";
		opacity: 0;
	}
	49% {
		content:"";
		opacity: 0;
	}
	50% {
		content:"\2190\00a0";
		opacity: 0;
	}
	100% {
		content:"\2190\00a0";
		opacity: 1;
	}
}
@keyframes delayed-appear{
	0% {
		content:"";
		opacity: 0;
	}
	49% {
		content:"";
		opacity: 0;
	}
	50% {
		content:"\2190\00a0";
		opacity: 0;
	}
	100% {
		content:"\2190\00a0";
		opacity: 1;
	}
}
	
	