@charset 'utf-8'; 

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ G E N E R A L.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
body.nav-open {
	overflow: hidden;
}
.nav-content{
	display: flex;
	align-items: center;
}
.header {
	position: sticky;
	top: 0;
	z-index: 20;
	width: 100%;
	padding: 0;
	background-color: var(--color-blanc);
	transition: background 300ms ease-in!important;
	box-shadow: rgba(0,0,0,.10) 0 4px 4px;
}
.header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: column wrap;
	/*align-items: flex-start;*/
	align-content: flex-end;
	justify-content: space-between;
}
.device {
	z-index: -1000;
	display: block;
	visibility: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LOGO */
.logo {
	align-self: flex-start;
	margin-right: 3vw;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ N A V I G A T I O N.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TOP NAV */
.header .header-right{
	position: absolute;
	z-index: -1;
}
.search-open .search-wrapper{
	z-index: 1!important;
}
.header .item-adherent a{
	position: relative;
	display: inline-block;
	padding-left: 15px;
}
.header .item-adherent a::before{
	position: absolute;
	left: -5px;
	top: -2px;
	font-family: 'carpv';
	content: "\e906";
	color: var(--color-blanc);
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RECHERCHE */
.item-search{
	cursor: pointer;
}
.search-wrapper{
	position: relative;
	z-index: -1;
	width: 100%;
	transform: translateY(-105%);
	opacity: 0;
	transition: all .3s ease-in;
}
.search-open .search-wrapper{
	background-color: var(--color-bleu);
	transform: translateY(100%);
	transition: all .1s ease-out;
	width: 100%;
	opacity: 1;
	z-index: 5;
}
.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-beige);*/
}
.icon-close,
body.search-open .icon-loupe{
	display: none;
}
.icon-loupe,
body.search-open .icon-close{
	display: block;
}
.item-search a{
	display: none;
}
.item-search::before{
	font-family: 'carpv';
	content: "\e90d";
	font-size: 1.7rem;
}
body.search-open .item-search::before{
	font-family: 'carpv';
	content: "\e90e";
	font-size: 1.7rem;
}
.headerSearchButton{
	position: absolute;
	right: 0;
	z-index: 5;
	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: 7px 15px;
	background: none;
	border: none;
	color: var(--color-blanc);
}
.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;
	background-color: var(--color-vert);
	color: var(--color-blanc);
}
.headerSearchForm .headerSearchField::placeholder{
	font-weight: 400;
	color: var(--color-blanc);
	font-size: var(--font-xs);
}
.headerSearchForm .headerSearchField:focus{
	border: none!important;
	color: var(--color-blanc);
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MAIN NAV */
.nav {
	z-index : -1;
	opacity: 0;
	position: fixed;
	overflow: hidden;
	overflow-y: auto;
	width: 100%;
	/*height: 100%;*/
	left: 0;
	top: 5em;
	padding: 0 1em;
	/*transform: translateX(-100%); */
	/*will-change: transform;*/
	pointer-events: none;
	-webkit-overflow-scrolling: touch;
}
.nav-open .nav {
	transform: none;
	pointer-events: auto;
	opacity: 1;
	z-index: 99;
}
.nav-animate .nav {
	transition: all 300ms ease-in;
}
.nav-open.nav-animate .nav {
	transition: all 300ms ease-out;
}
.nav-open .header{
	transition: background 300ms ease-in;
}
.nav > ul > li {
	margin-bottom: 1.5rem;
} 
.nav a{
	position: relative;
	display: inline-block;
	/*padding: .35rem 1rem;*/
	font-weight: 400;
	text-decoration: none;
	color: var(--color-bleu);
	cursor: pointer !important;
}
.nav .current-menu-ancestor > a {
	color: var(--color-vert);
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SUB-MENUS */
.nav .sub-menu {
	overflow: hidden;
	max-height: 0;
	/*max-height: 100vh;*/
	transition: max-height 500ms ease;
}
.nav .sub-menu.collapsed,
.nav .hovered .sub-menu.collapsed {
	max-height: 100vh;
	transition: max-height 1.25s ease;
}
.nav .sub-menu a {
	font-size: var(--font-xs);
	text-transform:none;
	/*white-space: nowrap;*/
}
.nav .sub-menu.collapsed .sub-menu {
	transition: max-height 500ms ease;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~ BURGER BUTTON */
.burger {
	z-index: 101;
	position: absolute;
	right: 20px;
	top: 15px;
}
.burger button {
	position: relative;
	display: block;
	width: 2.5em;
	height: 5rem;
	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: 100%;
	top: 50%;
	right: 0;
	border-radius: 1px;
	background: var(--color-bleu);
	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;
}
/* Opened */
.nav-open .burger span {
}
.nav-open .burger span:nth-child(1), .nav-open .burger span:nth-child(4)  {
	width: 0;
	margin-top: 0;
	left: 0;
	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-vert);
}

.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-vert);
}
/*
.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-vert);
}
*/
.menu-item-has-children > a::after{
	content: "\e907";
	position: absolute;
	right: -5px;
	font-family: 'carpv';
	color: var(--color-vert);
	font-size: 0.8rem;
}

/*~~~~~~~~~~~~~ SMALL DEVICES  ⟾  DESKTOP.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media only screen and (min-width: 340px) and (max-width: 991px){
	.header{
		/*overflow: hidden;*/
		transition: all .3s ease-out;
	}
	.logo {
		position: relative;
		z-index: 99;
	}
	.header-right{
		width: 100%;
		opacity: 1;
		transition: all 200ms ease-in;
	}
	.nav-open .nav{
		height: 95vh;
	}
	.nav-open .header-right {
		/*opacity: 0;*/
		transition: all 200ms ease-out;
	}
	.search-open .top-menu .search-wrapper {
		transform: translateY(0px);
	}
	.search-open .header{
		overflow: visible;
	}
	.search-wrapper{
		position: relative;
		z-index: -1;
		width: 100%;
		transform: translateY(-50%);
		opacity: 0;
		transition: all .3s ease-in;
	}
	.search-open .search-wrapper{
		opacity: 1;
		transform: translateY(70px);
		transition: all .3s ease-out;
	}
	.top-menu .headerSearchButton {
		right: 75px;
		top: 11px;
	}
	.top-menu .headerSearchButton i{
		font-size: 1.2em;
		color: var(--color-gris);
	}
	.nav-content{
		padding: 10px 0 15px 0;
	}
	.nav{
		z-index: 99;
		overflow: scroll;
		padding-top: 0.5em;
		background-color: var(--color-vertc);
		height: calc(90vh - 85px);
		text-align: left;
		padding: 1em 0;
	}
	.nav .menu{
		padding: 2rem 2rem 0 5rem;
		line-height: 3rem;
	}
	.nav .menu ul.sub-menu li{
		line-height: 2rem;
		margin-bottom: 10px;
	}
	.header ul{
		align-content: flex-start;
	}
	.nav ul.sub-menu{
		flex-wrap: nowrap;
		margin-top: 15px;
	}
	.nav a, .wpml-ls a {
		display: inline;
		font-weight: 400;
		letter-spacing: 0;
		transition: all .2s ease-in;
		color: var(--color-bleu);
		text-transform: none;
		font-size: var(--font-m);
	}
	.wpml-ls a {
		font-size: var(--font-s);
	}
	.nav > ul > li {
		margin-bottom: 3rem;
		width: 100%;
	}
	.nav a:hover,
	.nav .current-menu-ancestor > a,
	.touchevents .nav .current-menu-item a,
	.no-touchevents .nav > ul > li:hover a {
		color: var(--color-bleu);
	}
	.nav .top-menu .current-menu-item a{
		color: var(--color-blanc);
	}
	.no-touchevents .nav > .sub-menu > li a {
		letter-spacing: normal;
	}
	.nav > ul > li > .sub-menu > li > a{
		font-size: var(--font-s);
	}
	.nav .menu-item-has-children > a::after {
		right: -25px;
		top: 0;
		font-size: 1.5rem;
	}
	/*
	.top-menu{
		position: absolute;
		bottom: 0;
		width: 100%;
	}
	*/
	.nav .top-menu a:focus,
	.nav .top-menu a:hover{
		color: var(--color-blanc)!important;
	}
	.top-menu li{
		margin-bottom: 10px;
	}
	.top-menu a{
		font-size: var(--font-s);
	}
	.top-menu .item-adherent a {
		padding-left: 0;
	}
	.top-menu .item-adherent a::before {
		left: -25px;
		top: -2px;
	}
	.top-menu .item-search{
		position: relative;
	}
	.top-menu .item-search::before {
		position: absolute;
		left: -25px;
	}
}
/*~~~~~~~~~~~~~ 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: 100px;
	}
}


/*~~~~~~~ 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: 150px;
	}
}


/*~~~ 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) {
	.device {
		content: 'monitor';
	}
	.top-menu{
		position: relative;
		z-index: 5;
	}
	.top-menu-items{
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
	}
	.search-wrapper{
		opacity: 0;
		z-index: 5;
		width: 25vw;
	}
	body.search-open .search-wrapper{
		opacity: 1;
		width: 25vw;
	}
	.headerSearchButton{
		position: relative;
		z-index: 10;
		opacity: 1;
	}
	.top-menu .top-menu-items ul{
		display: flex;
		justify-content: flex-end;
		gap: 30px;
		padding: 0.6rem 0;
	}
	body.nav-open {
		overflow-y: visible;
	}
	.topbar {
		justify-content: space-between;
	}
	.header ul {
		width: 100%;
		flex-direction: row;
		justify-content: space-between;
	}
	.header .logo{
		padding: 1rem 1rem 1.5rem 1rem;
	}
	.nav {
		opacity: 1;
		z-index: 99;
		display: flex;
		overflow: visible;
		position: relative;
		width: auto;
		left: auto;
		top: auto;
		flex-grow: 1;
		padding: 0;
		margin: 0;
		color: var(--color-bleu);
		background: none;
		transform: none;
		will-change: auto;
		pointer-events: auto;
	}
	.nav > ul > li {
		position: relative;
		padding-right: 1vw;
	}
	.nav li:last-child {
		padding-right: 0;
	}
	.nav > ul > li {
		margin-bottom: 0;
	}
	.nav > ul > li {
		margin-bottom: 0;
	}
	.nav a {
		font-size: var(--font-xs);
		line-height: var(--lineh-xs);
		font-weight: 500;
		transition: all .2s ease-in;
	}
	.nav .menu > li > a {
		padding: 1rem;
	}
	/*
	.no-touchevents .nav > ul > li.hovered:hover > a {
		color: var(--color-orange)!important;
	}
	*/
	.no-touchevents .nav > ul > li:hover ul li a {
		color: var(--color-bleu)!important;
	}
	.no-touchevents .nav > .sub-menu > li a {
		color: var(--color-bleu)!important;
	}
	.no-touchevents .nav .sub-menu a:hover {
		color: var(--color-bleu)!important;
	}
	.no-touchevents .nav .sub-menu li a:hover {
		color: var(--color-bleu)!important;
		text-decoration: underline!important;
	}
	.nav .sub-menu li a {
		padding-bottom: 1rem;
		color: var(--color-bleu);
	}
	.nav ul li a.active,
	.nav ul li a:hover{
		opacity: 1;
	}
	.nav .sub-menu li a{
		border:none!important;
		/*line-height: 1.6rem;*/
	}
	.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 {
		/*text-decoration: underline !important;*/
		/*color: var(--color-bleu);*/
	}
	/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SUB-MENUS */
	.nav .sub-menu {
		overflow: visible;
		flex-direction: column;
		align-items: flex-start;
		align-content: flex-start!important;
		position: absolute;
		width: auto;
		min-width: 250px;
		max-height: none;
		left: 0;
		top: 75px;
		padding: 1em 0.5em 1em 1rem;
		margin: 0;
		pointer-events: none;
		transition: none;
	}
	.nav li.menu-item-45 .sub-menu{
		display: block;
		columns: 2;
		-webkit-columns: 2;
		-moz-columns: 2;
	}
	.nav li.menu-item-45 .sub-menu{
		min-width: 380px;
	}
	.nav li.menu-item-45 .sub-menu li{
		min-width: 250px;
	}
	.nav .sub-menu .sub-menu{
		position: relative;
		z-index: 5;
		width: auto;
		left: auto;
		padding: 0 0 1em 0;
		margin-left: 0;
	}
	.nav .hovered .sub-menu li,
	.nav .hovered .sub-menu .sub-menu{
		position: relative;
		z-index: 15;
	}
	.nav .sub-menu.collapsed {
		max-height: none;
	}
	.nav .menu  > li > ul.sub-menu::before {
		content: '';
		z-index: -1;
		position: absolute;
		display: block;
		width: 200vw;
		height: 0;
		top: -5px;
		left: -100vw;
		background-color: var(--color-vertc);
		pointer-events: none;
		transition: all .25s ease-in;
	}
	.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;
	}
	.nav-open .nav .hovered .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 .menu  li > ul.sub-menu::before {
		height: 100%;
		transition: height .35s ease-out;
	}
	.burger {
		display: none;
	}
}

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

@media only screen and (min-width: 1340px) {
	.device {
		content: 'monitor-laptop-narrow';
	}
	.nav > ul > li {
		/*padding-right: 3vw;*/
	}
}

/*~~~~~~~~~~~~~~~~~~~~~~~~ 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';
	}
}
