/*
Theme Name: Jardin
Theme URI: https://lesjardiniers.org
Author: Maxime Bichon
Author URI: https://mbcode.pro
Description: Jardin
*/

/* @import url('main.css'); */

/* RESET */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

:focus:not([data-focusvisible-polyfill]){outline: none;}

/* FONTS */

@font-face {
	font-family: 'Bery';
	src: url('f/BeryRoman-Normal.woff2') format('woff2'),
		url('f/BeryRoman-Normal.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'BeryScript';
	src: url('f/BeryScript-Normal.woff2') format('woff2'),
		url('f/BeryScript-Normal.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Herold';
	src: url('f/HeroldCondensed.woff2') format('woff2'),
		url('f/HeroldCondensed.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

.bery_script{
	font-family: 'BeryScript';
}

.herold{
	font-family: 'Herold';
}

/*/////////*/
/* GENERAL */
/*/////////*/

body{
	font-family: 'Bery';
	font-size: 1.56vw;
	line-height: 1.16em;
	font-size: clamp(15px, 1.56vw, 1.56vw);
	min-height: 0vw;
	color: #fd3a20;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-backface-visibility: hidden;
}

a{
	text-decoration: none;
	color: #fd3a20;
}

.gris_bg{
	background: #a7abae;
}

.gris{
	color: #626668;
}

.gris_2{
	color: #a7abae;
}

.red{
	color: #fd3a20;
}

.red_bg{
	background: #fd3a20
}

.brown{
	color: #501e1a;
}

.brown_bg{
	background: #501e1a;
}

.white{
	color: white;
}

p{
	margin-bottom: 1em;
}

p:last-of-type{
	margin-bottom: 0;
}

img{
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.left{
	float: left;
}

.right{
	float: right;
}

.clear{
	clear: both;
}

.alignright{
	text-align: right;
}

.center{
	text-align: center;
}

.upper{
	text-transform: uppercase;
}

.lower{
	text-transform: lowercase
}

.capi_first::first-letter,
.capi{
	text-transform: capitalize;
}

.borderbox{
	box-sizing: border-box;
}

.inline{
	display: inline;
}

.inline-block{
	display: inline-block;
}

.block{
	display: block;
}

.relative{
	position: relative;
}

.absolute{
	position: absolute;
}

.fixed{
	position: fixed;
}

.flex{
	display: flex;
}

.flex-wrap{
	flex-wrap: wrap;
}

.flex-column{
	flex-direction: column;
}

.space-between{
	justify-content: space-between;
}

.flex-center{
	align-items: center;
	justify-content: center;
}

.flex-end{
	justify-content: flex-end;
}

.cover{
	object-fit: cover;
}

.contain{
	object-fit: contain;
}

i,
em,
.italic{
	font-style: italic;
}

.bold,
strong{
	font-weight: bold;
}

.hyphens{
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.overflow{
	overflow: auto;
}

.width20{
	width: 20%;
}

.width25{
	width: 25%;
}

.width33{
	width: 33.33%;
}

.width50{
	width: 50%;
}

.width66{
	width: 66.66%;
}

.width75{
	width: 75%;
}

.width85{
	width: 85%;
}

.width100{
	width: 100%;
}

.height100{
	height: 100%;
}

.pointer{
	cursor: pointer;
}

.marg1em{
	margin-bottom: 1em;
}

.responsive-video{
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	width: 100%;
}

.responsive-video iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*////////*/
/* LAYOUT */
/*////////*/

.wrapper{
	margin-top: 4.27vw;
	min-height: calc(100vh -  4.27vw);
}

.marg15{
	margin-bottom: 0.78vw;
}

.marg20{
	margin-bottom: 1.04vw;
}

.marg30{
	margin-bottom: 1.56vw;
}

.marg60{
	margin-bottom: 3.12vw;
}

.marg100{
	margin-bottom: 5.2vw;
}

.marg160{
	margin-bottom: 8.33vw;
}

.padd30{
	box-sizing: border-box;
	padding: 1.56vw;
}

.border{
	border-bottom: 2px solid;
}

.padd30_bis{
	padding: 1.56vw 1.56vw 0 1.56vw;
}

.padd_lr30{
	padding-left: 1.56vw;
	padding-right: 1.56vw;
}

.size150{
	font-size: 7.81vw;
	line-height: 0.76em;
	letter-spacing: -0.015em;
	word-spacing: -0.75vw;
}

.size300{
	font-size: 15.62vw;
	line-height: 0.76em;
	word-spacing: -1vw;
	letter-spacing: -0.3vw;
}

.diapo_ratio{
	aspect-ratio: 24/10;
	width: 100%;
	position: relative;
}

.diapo_max_height .diapo_ratio{
	max-height: calc(50vh - 1.56vw);
}

.ratio{
	aspect-ratio: 16/10;
	width: 100%;
	position: relative;
}

.ratio_wrap{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	z-index: 1;
}

.grid{
	margin-left: -0.78vw;
	margin-right: -0.78vw;
	display: flex;
	flex-wrap: wrap;
}

.grid_4 .item{
	width: calc(25% - 1.56vw);
	margin-left: 0.78vw;
	margin-right: 0.78vw;
	padding-bottom: 3.125vw;
	box-sizing: border-box;
}

.grid_2 .item{
	width: calc(50% - 1.56vw);
	margin-left: 0.78vw;
	margin-right: 0.78vw;
	box-sizing: border-box;
}

.button{
	padding: 0.5vw 0.78vw 0.3vw 0.78vw;
}

.button_border{
	border: 2px solid;
}

.grayscale{
	filter: grayscale(100%);
}

/* MARQUEES */

#marquee_home{
	position: fixed;
	top: 0;
	line-height: 4.27vw;
	left: 0;
	right: 0;
	z-index: 50;
	height: 4.27vw;
	background: linear-gradient(200deg,rgba(167, 171, 174, 1) 0%, rgba(255, 255, 255, 1) 12%, rgba(167, 171, 174, 1) 60%, rgba(255, 255, 255, 1) 80%);
}

#marquee_privatisation{
	position: fixed;
	top: 4.27vw;
	line-height: 4.27vw;
	left: 0;
	right: 0;
	z-index: 50;
	height: 4.27vw;
	background: linear-gradient(200deg,rgba(167, 171, 174, 1) 0%, rgba(255, 255, 255, 1) 12%, rgba(167, 171, 174, 1) 60%, rgba(255, 255, 255, 1) 80%);
}

main.has_marquee_home{
	padding-top: 4.27vw;
}

main.has_marquee_home #menu,
main.has_marquee_home #bienvenue{
	top: 4.27vw;
}

main.has_marquee_home #logo{
	top: calc(1.14vw + 4.27vw);	
}

main.has_marquee_home #events_home_header,
main.has_marquee_home #home_link{
	top: calc(4.27vw + 4.27vw);	
}

/* SINGLES */

.side_left_content{
	padding-top: 3.125vw;
	padding-right: 1.56vw;
	box-sizing: border-box;
}

.side_left_content_bis{
	padding-top: 0;
}

.slick-dots{
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
  position: absolute;
  bottom: 1.56vw;
  left: 1.56vw;
}

.slick-dots li{
  margin-right: 0.36vw;
}

.slick-dots button{
  display: block;
  width: 1.04vw;
  height: 1.04vw;
  padding: 0;
  border: none;
  border-radius: 100%;
  background-color: transparent;
  text-indent: -9999px;
  border: 0.104vw #501e1a solid;
}

.slick-dots li.slick-active button {
  background-color: #501e1a;
}

.sticky_dates{
	position: sticky;
}

/* EVENTS */

.filters_events{
	max-width: 50vw;
	margin-left: auto;
	margin-right: auto;
}

.filters_events a{
	display: inline-block;
	margin-left: 0.55vw;
	margin-right: 0.55vw;
}

.filters_events .plus_sign_2{
	position: relative;
	top: -0.12vw;
}

/* HOME */

#splash_home{
	width: 100%;
	margin-top: 4.27vw;
	height: calc(100vh - 4.2vw - 4.2vw);
}

#title_splash{
	padding-left: 5vw;
	padding-right: 5vw;
}

.headers{
	height: 4.2vw;
	display: flex;
	align-items: center;
	position: sticky;
	top: 4.2vw;
	z-index: 2;
}

/* MISC */

#privatisation{
	margin-top: 6.09vw;
}

#privatisation.has_marquee{
	margin-top: 10.36vw;
}

#cantine{
	position: sticky;
	bottom: 0;
	margin-bottom: -1.15vw;
}

sup{
	font-size: 1vw;
	position: relative;
	top: -0.5vw;
}

.header_privatisation .button{
	margin-right: 0.78vw;
}

.item-espace:hover .grayscale{
	filter: grayscale(0);
}

/* DROPDOWNS */

.dropdowns .dropdown:first-of-type{
	border-top: 2px solid;
}

.dropdown_link{
	box-sizing: border-box;
	padding-top: 1.35vw;
	padding-bottom: 1.04vw;
}

.dropdown_content{
	display: none;
}

.dl_sign,
.plus_sign{
	width: 1.3vw;
}

.plus_sign_2{
	width: 0.7vw;
}

/* ARCHIVES */

#splash_expo{
	display: block;	
}

#splash_expo h1{
	padding-top: 1vw;
}

/* FANCY */

.fancybox-bg{
	background: white!important;
	opacity: 1!important;
}

.fancybox-navigation{
	display: none!important;
}

/* MENU */

#menu{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 4.27vw;
	z-index: 100;
}

#main_menu{
	padding-left: 1.56vw;
	box-sizing: border-box;
	height: 100%;
	align-items: center;
}

#social_menu{
	padding-right: 1.56vw;
	box-sizing: border-box;
	height: 100%;
	align-items: center;
}

#main_menu .menu_item{
	margin-right: 1.56vw;
}

.menu_item.active a,
.menu_item a:hover{
	text-decoration: underline;
	text-underline-offset: 0.2vw;
}

.button_menu{
	padding-left: 1.56vw;
	padding-right: 1.56vw;
	box-sizing: border-box;
	display: flex;
	align-items: center;
}

#social_menu svg{
	height: 1.35vw;
	width: auto;
	margin-left: 0.83vw;
}

#social_menu a{
	display: flex;
	align-items: center;
}

#logo{
	position: fixed;
	top: 1.14vw;
	left: 1.04vw;
	pointer-events: none;
}

#logo img{
	width: 26.04vw;
	height: auto;
}

#home_link{
	position: fixed;
	top: 4.27vw;
	left: 1.04vw;
	width: 26.04vw;
	height: 11.3vw;
	z-index: 110;
}

#bienvenue{
	position: fixed;
	top: 0;
	right: 0;
	width: 25vw;
	background: linear-gradient(200deg,rgba(255, 255, 255, 1) 0%, rgba(167, 171, 174, 1) 12%, rgba(255, 255, 255, 1) 60%, rgba(167, 171, 174, 1) 80%);
	background-size: 25vw 100vh;
	z-index: 90;
	height: 4.27vw;
	overflow: hidden;
}

body.bienvenue_open #bienvenue{
	height: auto;
	bottom: 0;
	overflow-y: scroll;
	padding-top: 5.83vw;
}

#plus{
	position: relative;
	height: 1.56vw;
	width: 1.56vw;
	transition: transform ease 250ms;
}

#plus .line_1{
	height: 3px;
	width: 100%;
	position: absolute;
	background: #626668;
	top: calc(50% - 1px);
}

#plus .line_2{
	height: 100%;
	width: 3px;
	position: absolute;
	background: #626668;
	left: calc(50% - 1px);
}

body.bienvenue_open #plus{
	transform: rotate(45deg);
}

/*////////////*/
/* RESPONSIVE */
/*////////////*/

.mobile,
.mobile_flex,
.mobile_inline{
	display: none;
}

@media screen and (max-width: XXXpx) {
	
	.mobile{
		display: block;
	}
	
	.mobile_flex{
		display: flex;
	}
	
	.mobile_inline{
		display: inline;
	}
	
	.desktop{
		display: none;
	}
	
	#hamburger{
		display: block;
		height: 14px;
		width: 30px;
		border-top: 2px solid black;
		border-bottom: 2px solid black;
		position: absolute;
		cursor: pointer;
		top: 7px;
		right: 20px;
	}
	
	#hamburger .line{
		padding: 0;
		margin: 0;
		margin-top: 2px;
		position: absolute;
		top: 0;
		border-bottom: 2px solid;
		padding-bottom: 4px;
		margin-bottom: 5px;
		width: 100%;
		height: 0px;
	}
	
	.cross{
		width: 30px;
		height: 30px;
		overflow: hidden;
		cursor: pointer;
		position: relative;
		z-index: 100;
	}
	
	.cross::before, 
	.cross::after {
		content: '';
		position: absolute;
		height: 1px;
		width: 100%;
		top: 50%;
		right: 0;
		margin-top: -1px;
		background: black;
	}
	
	.cross::before {
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	
	.cross::after {
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	
}