@charset 'utf-8'; 

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ G E N E R A L.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.pre-header{
	transition: all .5s
}
.pre-header .logo-small{
	max-width: 70px;
}
.pre-header .toggle-sites{
	position: relative;
	padding-right: 1.5rem;
}
.pre-header .toggle-sites::after{
	font-family: sacem;
	content: "\e901";
	position: absolute;
	top: 0;
	right: 0;
	font-size: 1rem;
	transition: transform .3s;
}
.pre-header .toggle-sites.active::after{
	transform: rotate(180deg);
	transition: transform .3s;
}
.pre-header .toggle-sites:hover{
	text-decoration: none;
}
.header-list-sites{
	height: 0;
	overflow: hidden;
	opacity: 0;
	transition-property: opacity, height;
	transition-duration: .3s
}
.header-list-sites.active{
	height: 5em;
	opacity: 1;
	transition-property: opacity, height;
	transition-duration: .5s
}
.pre-header .header-list-sites ul {
	justify-content: flex-start;
	flex-wrap: wrap;
	padding-left: 1em;
}
.header-list-sites ul li {
	padding-right: 3em;
}
.header-list-sites ul li::before{
	font-size: 0.8rem; 
}
.header-list-sites ul li a:hover{
	text-decoration: none;
	color: var(--color-rouge);
}

body.nav-open {
	overflow: hidden;
}
.header {
	position: sticky;
	top: 0;
	z-index: 20;
	width: 100%;
	padding: 0;
	background-color: var(--color-grisc);
}
.header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: column wrap;
	align-items: flex-start;
	align-content: center;
	justify-content: space-around;
}
.device {
	z-index: -1000;
	display: block;
	visibility: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LOGO */
.logo {
	align-self: flex-start;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ N A V I G A T I O N.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.nav {
	z-index : 99;
	position: fixed;
	overflow: hidden;
	overflow-y: auto;
	width: 100%;
	height: 100%;
	left: 0;
	top: 3em;
	padding: 0 1em;
	background: var(--color-grisc);
	transform: translateX(-100%); 
	will-change: transform;
	pointer-events: none;
	-webkit-overflow-scrolling: touch;
}
.nav, .wpml-ls {
	color: hsla(0, 0%, 100%, 1);
}
.nav-open .nav {
	transform: none;
	pointer-events: auto;
}
.nav-animate .nav {
	transition: transform 130ms ease-in;
}
.nav-open.nav-animate .nav {
	transition: transform 330ms ease-out;
}
.nav > ul > li {
	margin-bottom: 1.5rem;
} 
.nav a, .wpml-ls a {
	display: inline-block;
	/*padding: .35rem 1rem;*/
	font-size: .85em;
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: .02em;
	color: var(--color-noir);
	cursor: pointer !important;
}
.nav .current-menu-ancestor > a,
.wpml-ls .wpml-ls-current-language a {
	color: var(--color-rouge);
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SUB-MENUS */
.nav .sub-menu {
	overflow: hidden;
	/*max-height: 0;*/
	max-height: 100vh;
	transition: max-height 500ms ease;
}
.nav .sub-menu.collapsed {
	max-height: 100vh;
	transition: max-height 1.25s ease;
}
.nav .sub-menu a {
	font-size: var(--font-s);
	text-transform:none;
	white-space: nowrap;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~ BURGER BUTTON */
.burger {
	z-index: 101;
	position: absolute;
	right: 20px;
	top: 10px;
}
.burger button {
	position: relative;
	display: block;
	width: 3em;
	height: 3rem;
	margin: 0;
	padding: 0;
	outline: none;
	border: none;
	cursor: pointer;
	background: none;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
	pointer-events: auto;
}
.burger span {
	display: block;
	position: absolute;
	height: 2px;
	width: 50%;
	top: 50%;
	left: 30%;
	border-radius: 1px;
	background: #000;
	transform: rotate(0deg);
	transition: all .25s ease-in-out;
}
html:not(.no-touchevents) .burger span:not(:nth-child(3)) {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
}
.burger span:nth-child(1) {
	margin-top: -7px;
}
.burger span:nth-child(4) {
	margin-top: 7px;
}
.nav li.link-ext a{
	position: relative;
}
.nav li.link-ext a::after{
	font-family: 'sacem';
	content: "\e903";
	position: absolute;
	right: -20px;
	top: 0;
	font-size: 1.5rem;
}
/* Opened */
.nav-open .burger span {
	background: #000;
	width: 50%;
}
.nav-open .burger span:nth-child(1), .nav-open .burger span:nth-child(4)  {
	width: 0;
	margin-top: 0;
	left: 50%;
	transition: all .25s ease-in-out;
}
.nav-open .burger span:nth-child(2) {
	transform: rotate(45deg);
	transition: all .25s ease-in-out;
}
.nav-open .burger span:nth-child(3) {
	transform: rotate(-45deg);
	transition: all .25s ease-in-out;
}
.nav .current-post-ancestor > a,
.nav .current-category-ancestor > a,
.nav .current-menu-parent > a,
.nav .current-menu-ancestor > a,
.nav .current-menu-item > a{
	color: var(--color-rouge)!important;
}
/*~~~~~~~~~~~~~~~~~~~~~~ L A N G U A G E */
.wpml-ls {
	z-index: 100;
	position: absolute;
	right: 15px;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-.5em);
	transition: transform .1s ease-in, opacity .1s ease-in;
}
.nav-open .wpml-ls {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
	transition: transform .3s ease-in, opacity .1s ease-in;
}
.wpml-ls ul {
	flex-direction: row;
}
.wpml-ls li::before {
	content: '';
	display: inline-block;
	width: 1px;
	height: .65em;
	margin-right: -.25em;
}
.wpml-ls li:first-child::before {
	display: none;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RECHERCHE */
.search-wrapper{
	position: relative;
	width: 100px;
	transform: translateY(-105%);
	opacity: 1;
	transition: all .3s ease-in;
}
body.search-open .search-wrapper{
	background-color: var(--color-grisc);
	transform: translateY(0);
	transition: all .1s ease-out;
	width: 100%;
}
.headerSearchFrame {
	z-index: 100;
	width: auto;
	margin: 0;
}
.search-open .headerSearchFrame {
	z-index: 99;
	transform: none;
}
.search-animate .headerSearchFrame,
.search-open .headerSearchFrame,
.search-open.search-animate .headerSearchFrame {
	transition: opacity .3s ease-out;
}
body.search-open .headerSearchButton{
	background-color: var(--color-grisc);
}
.icon-close,
body.search-open .icon-loupe{
	display: none;
}
.icon-loupe,
body.search-open .icon-close{
	display: block;
}
.headerSearchButton{
	position: relative;
	display: block;
	padding: 0 15px;
	border: none;
	text-decoration: none;
	outline: none!important;
	border-radius: 0;
	cursor: pointer;
	background: none;
	transition: none!important;
}
.headerSearchField{
	padding: 5px 15px;
	background: none;
	border: none;
}
.headerSearchFieldset{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.headerSearchFormSubmit{
	padding: 0 15px;
	text-transform: uppercase;
	cursor: pointer;
	background: none;
	outline: none;
	border: none;
	border-radius: 0;
}
.headerSearchForm .headerSearchField::placeholder{
	font-weight: 400;
	color: var(--color-gris);
	font-size: var(--font-xs);
	text-transform: uppercase;
}
.headerSearchForm .headerSearchField:focus{
	border: none!important;
}
/*~~~~~~~~~~~~~ SMALL DEVICES  ⟾  DESKTOP.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media only screen and (min-width: 340px) and (max-width: 991px){
	.pre-header-mobil{
		overflow: hidden;
		background-color: var(--color-blanc);
		position: relative;
		width: 100vw;
		margin: 0 0 15px -15px;
		padding: 0 17px 0 15px;
	}
	.pre-header-mobil .header-right{
		position: absolute;
		top: 0;
		right: 0;
		width: 100px;
		height: 100%;
		transition: transform .3s ease-in;
	}
	body.search-open .header-right{
		width: 100%;
	}
	body.search-open .pre-header-mobil{
		background-color: var(--color-grisc);
		mix-blend-mode: multiply;
	}
	.pre-header-mobil .headerSearchField {
		padding-left: 0;
	}
	.pre-header .header-list-sites ul {
		flex-wrap: nowrap;
	}
	.header-list-sites.active {
		height: 10em;
	}
	.header-list-sites-btn{
		margin-left: 2rem;
	}
	.nav{
		overflow: hidden;
		padding-top: 0.5em;
		background-color: var(--color-grisc);
		/*background: linear-gradient(180deg, var(--color-grisc) 65%, rgb(240, 237, 237) 65%);*/
	}
	.nav .menu{
		padding-top: 1em;
		line-height: 3rem;
	}
	.nav ul.sub-menu{
		flex-wrap: nowrap;
	}
	.nav a, .wpml-ls a {
		font-weight: 600;
		letter-spacing: 0.05rem;
		transition: all .2s ease-in;
	}
	.nav > ul > li {
		margin-bottom: 3rem;
	}
	.nav a:hover,
	.nav .current-menu-ancestor > a,
	.touchevents .nav .current-menu-item a,
	.no-touchevents .nav > ul > li:hover a {
		color: var(--color-rouge)!important;
	}
	.no-touchevents .nav > .sub-menu > li a {
		letter-spacing: normal;
	}
	.no-touchevents .nav .sub-menu a:hover,
	.no-touchevents .wpml-ls a:hover {

	}
	.touchevents .menu-item-has-children > a,
	.touchevents .nav .sub-menu .current-menu-item a,
	.touchevents .nav .sub-menu li a:hover,
	.wpml-ls .wpml-ls-current-language a,
	.touchevents .wpml-ls a:hover {
		color: var(--color-rouge)!important;
	}
	.menu-item-55{
		margin: 2rem 0 1rem 0!important;
	}
	.menu-item-55::before{
		content: "";
		background-color: var(--color-grisc);
		height: 100%;
		width: 100%;
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		mix-blend-mode: multiply;
		margin-top: -1.5em;
	}
	.menu-item-55 a,
	.menu-item-56 a{
		font-weight: 500;
	}
}
/*~~~~~~~~~~~~~ P H O N E  —  P O R T R A I T  |  1  ⟾  7 3 6.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media only screen and (max-width: 736px) {
	.device {
		content: 'phone-portrait';
	}
	.logo {
		max-width: 145px;
	}
}


/*~~~~~~~ P H O N E  —  L A N D S C A P E  |  4 3 3  ⟾  7 3 6.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media only screen and (min-width: 433px) {
	.device {
		content: 'phone-landscape';
	}
	.header{
		/*box-shadow: 0px 3px 20px hsla(0, 0%, 0%, 0.16);*/
	}
}


/*~~~~~~~ T A B L E T  —  P O R T R A I T  |  7 3 7  ⟾  8 0 0.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media only screen and (min-width: 737px) {
	.device {
		content: 'tablet-portrait';
	}
	.logo {
		max-width: 200px;
	}
	.header-list-sites.active{
		height: 3em;
	}
}


/*~~~ T A B L E T  —  L A N D S C A P E  |  8 0 0  ⟾  1 0 2 4.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media only screen and (min-width: 801px) {
	.device {
		content: 'tablet-landscape';
	}
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~ M O N I T O R  |  1 0 2 5  ⟾  ∞.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MONITOR */
@media only screen and (min-width: 992px) {
	.search-wrapper{
		width: 100%;
		opacity: 0;
	}
	body.search-open .search-wrapper{
		opacity: 1;
	}
	.header-list-sites ul li {
		padding-right: 3em;
	}
	.header-list-sites ul li:last-child {
		padding-right: 0;
	}
	.pre-header .toggle-sites::after{
		top: -2px;
	}
	.device {
		content: 'monitor';
	}
	body.nav-open {
		overflow-y: visible;
	}
	.topbar {
		justify-content: space-between;
	}
	.header {
		background: linear-gradient(90deg, var(--color-grisc) 60%, rgba(240,237,237,1) 60%);
	}
	.header .nav > ul {
		background: linear-gradient(90deg, var(--color-grisc) 54%, rgb(240, 237, 237) 54%);
		/*margin: 15px 0 2px 0;*/
	}
	.header::before {
		display: none;
	}
	.header ul {
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.header .logo{
		padding: 0.5rem 0 0.5rem 0;
	}
	.nav {
		display: flex;
		z-index: auto;
		overflow: visible;
		position: relative;
		width: auto;
		left: auto;
		top: auto;
		flex-grow: 1;
		padding: 0;
		margin: 0;
		color: var(--color-noir);
		background: none;
		transform: none;
		will-change: auto;
		pointer-events: auto;
	}
	.nav.main-nav{
		margin-left: 3.3em;
	}
	.nav li {
		position: relative;
	}
	.nav > ul > li {
		margin-bottom: 0;
	}
	.nav > ul > li {
		margin-bottom: 0;
	}
	.nav a, .wpml-ls a {
		font-size: var(--font-xs);
		line-height: var(--lineh-xs);
		font-weight: 500;
		letter-spacing: 0.05rem;
		transition: all .2s ease-in;
	}
	.no-touchevents .nav > ul > li:hover a {
		color: var(--color-rouge)!important;
	}
	.no-touchevents .nav > ul > li:hover ul li a {
		color: var(--color-noir)!important;
	}
	.no-touchevents .nav > .sub-menu > li a {
		color: var(--color-noir)!important;
	}
	.no-touchevents .nav .sub-menu a:hover,
	.no-touchevents .wpml-ls a:hover {
		color: var(--color-rouge)!important;
	}
	.no-touchevents .nav .sub-menu li a:hover,
	.wpml-ls .wpml-ls-current-language a,
	.no-touchevents .wpml-ls a:hover {
		color: var(--color-rouge)!important;
	}
	.nav .sub-menu li a {
		padding-bottom: 7px;
		color: var(--color-gris);
	}
	.nav ul li a.active,
	.nav ul li a:hover{
		opacity: 1;
	}
	.nav .sub-menu li a{
		border:none!important;
	}
	.nav .current-page-ancestor a,
	.nav .current-menu-ancestor ul li.current-menu-item a,
	.nav .current-menu-item ul li.current-menu-item a,
	.wpml-ls .wpml-ls-current-language a {
		text-decoration: underline !important;
		color: var(--color-rouge);
	}
	#menu-menu-principal > li:last-child{
		position: relative;
		left: -5px;
	}
	/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SUB-MENUS */
	.nav .sub-menu {
		overflow: visible;
		flex-direction: column;
		align-items: flex-start;
		position: absolute;
		width: auto;
		max-height: none;
		left: 0;
		padding: 2.5em 1em 1em 0;
		pointer-events: none;
		transition: none;
	}
	.nav .sub-menu.collapsed {
		max-height: none;
	}
	.nav .sub-menu::before {
		content: '';
		z-index: -1;
		position: absolute;
		display: block;
		width: 200vw;
		height: 0%;
		left: -100vw;
		top: 1.7em;
		background-color: var(--color-grisc);
		pointer-events: none;
		transition: all .25s ease-in;
		box-shadow: 0 15px 15px -15px rgba(0,0,0,0.15) inset;
	}
	.nav .sub-menu li {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-.5em);
		transition: transform .1s ease-in 0s, opacity .1s ease-in 0s;
	}
	/* Opened */
	.nav-open .nav .sub-menu {
		pointer-events: auto;
		padding-top: 3em;
	}
	.nav-open .nav .sub-menu li {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		transition: transform .2s ease-in .2s, opacity .2s ease-in .2s;
	}
	.nav-open .nav .sub-menu::before {
		height: 90%;
		transition: height .35s ease-out;
	}
	.burger {
		display: none;
	}

	/*~~~~~~~~~~~~~~~~~~~~~~ L A N G U A G E */
	.wpml-ls, .nav-open .wpml-ls {
		z-index: auto;
		position: relative;
		right: auto;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		transition: none;
	}
	.wpml-ls li::before {
		background-color: hsla(11, 37%, 20%, 1);
	}
}

/*~~~~~~~~~~~~~~~~~~~~~~~ MONITOR LAPTOP */

@media only screen and (min-width: 1240px) {
	.device {
		content: 'monitor-laptop-narrow';
	}

}
@media only screen and (min-width: 1340px) {
	.device {
		content: 'monitor-laptop';
	}
}

/*~~~~~~~~~~~~~~~~~~~~~~~~ MONITOR LARGE */
@media only screen and (min-width: 1540px) {
	.device {
		content: 'monitor-large';
	}
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~ MONITOR WIDE */
@media only screen and (min-width: 1860px) {
	.device {
		content: 'monitor-wide';
	}
}

/*~~~~~~~~~~~~~~~~~~~~~~~~ MONITOR GIANT */
@media only screen and (min-width: 2440px) {
	.device {
		content: 'monitor-giant';
	}
}
