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

/* 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 20px;
	display:grid;
	grid-template-columns: minmax(120px, 300px) minmax( 50%, 1fr);
}
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 .socials, 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;
}
header#header .secmenu a{
	padding: 10px;
	margin: 0 5px;
	color: var(--color1);
}
header#header nav a{
	padding: 5px 20px;
	color: var(--color1);
}
header#header .searchbar .recherche{
	background-color: var(--color1);
}
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: #fff;
	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;
}
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);
}
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 */
.ham-icon > span{
    background-color:white
}


@media screen and (min-width:760px){
	.lien_menu_mobile{
		display: none!important;
	}
}


@media screen and (max-width:1024px){
	
		ul.sub-menu {
  
    background: rgb(255 255 255);
	}
	
	header#header .menus .secmenu{
		    flex-direction: row-reverse;
	}
	
	
	body header#header {
		display: flex;
		justify-content: space-between;
	padding-right: 5vw;
		
	}	
	
	header#header{
		padding: 0;
	}
	header#header .logo{
		padding:0 20px;
		grid-column:2
	}
	header#header .ham-icon{
        grid-column: 1;
        grid-row: 1;
        display: block;
        align-self: auto;
        justify-self: left;
        z-index: 30;
        padding-top: 75px;
	}
	.active header#header .ham-icon{
		padding-top: 25px;
	}
	
	
	.active header#header.menu .ham-icon{
		padding-top: 75px;
	}
	
	header#header .menus{
		padding:0;
		position: fixed;
		height: 100%;
		width: 100%;
		background-color: var(--color3);
		top:0;
		left: 0;
		transform:translateX(calc(-100% - 20px));
		transition: transform 0.4s ease-in-out;
		display: grid;
    	grid-template-columns: 65px 1fr;
	}
	header#header.menu .menus{
		transform:translateX(0);
		        flex-direction: column-reverse;
		        width: 50%;
	}
	header#header .menus > nav{
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-ms-align-items: center;
		align-items: center;
		position: relative;
		overflow: scroll hidden;
	    flex-direction: column;
    justify-content: center!important;	
	}
	header#header .menus > nav > ul{
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	header#header .menus > .secmenu{
		justify-content: flex-end;
		-webkit-flex-wrap: wrap;
		-moz-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-flex-direction: row;
		-moz-flex-direction: row;
		-ms-flex-direction: row;
		-o-flex-direction: row;
		flex-direction: row;
		align-content: center;
		background-color: var(--color4);
		 width: 100%;
		padding: 0;
   		
	}
	header#header .secmenu ul.menu li{
-webkit-writing-mode: vertical-lr;
        -ms-writing-mode: vertical-lr;
        writing-mode: unset;
        transform: none;
	}
	header#header .socials, header#header .searchbar, header#header .woo, header#header .secmenu ul.menu{
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		-ms-flex-direction: column;
		-o-flex-direction: column;
		flex-direction: column;
	}
	header#header .menus > nav > ul > li{
		flex-basis: 100%;
		text-align: center;
		margin-bottom: 10px;
	}
	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);
	}	
	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(calc(-100% - 10px));
		transition:transform 0.4s ease-in-out;
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: var(--color3);
		box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);
	}
	body header#header .menus > nav li.menu-item-has-children > ul > li{
		flex-basis: 100%;
	}
	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;
	}
}

@media screen and (max-width:760px){
	header#header > nav{
		display: none!important;
	}
	
	header#header {
		padding-top: 0px!important;

	}
	


}

@media screen and (max-width:640px){
 header#header.menu .menus {

        width: 65%;
    }
}

@media screen and (max-width:500px){
 header#header.menu .menus {

        width: 80%;
    }
}

@-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: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
	}
}
@-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;
	}
}
	
	