/*
Theme Name: formaloca
Theme URI: https://formaloca.com
Author: Maxime Bichon
Author URI: https://mbcode.pro
Description: formaloca
*/

/* @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: 'Btp';
	src: url('f/Btp-Normal.woff2') format('woff2'),
		url('f/Btp-Normal.woff') format('woff');
	font-weight: bold;
	font-style: normal;
}

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

@font-face {
	font-family: 'Btp';
	src: url('f/Btp-Rotated.woff2') format('woff2'),
		url('f/Btp-Rotated.woff') format('woff');
	font-weight: bold;
	font-style: italic;
}

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

@font-face {
	font-family: 'Glyphter';
	src: url('f/Glyphter.eot');
	src: url('f/Glyphter.eot?#iefix') format('embedded-opentype'),
		 url('f/Glyphter.woff') format('woff'),
		 url('f/Glyphter.ttf') format('truetype'),
		 url('f/Glyphter.svg#Glyphter') format('svg');
	font-weight: normal;
	font-style: normal;
}

.glyphter{
	font-family: 'Glyphter';
}

/* [class*='icon-']:before{
	display: inline-block;
   font-family: 'Glyphter';
   font-style: normal;
   font-weight: normal;
   line-height: 1;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale
}

.icon-surface:before{content:'\0041';}
.icon-grue:before{content:'\0042';} */

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

body{
	font-family: 'Btp';
	font-size: 18px;
	line-height: 1.5em;
	overflow-x: hidden;
	color: #0000FF;
	background: yellow;
}

a{
	text-decoration: none;
	color: #0000FF;
}

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{
	text-transform: capitalize;
}

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

.inline{
	display: inline;
}

.inline-block{
	display: inline-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;
}

.align-center{
	align-items: center;
}

.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%;
}

.width40{
	width: 40%;
}

.width50{
	width: 50%;
}

.width60{
	width: 60%;
}

.width66{
	width: 66.66%;
}

.width75{
	width: 75%;
}

.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 */
/*////////*/

.max_width{
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 30px;
	padding-right: 30px;
	box-sizing: border-box;
}

.wrapper{
	margin-top: 60px;
	margin-bottom: 60px;
}

body.page-id-35 .wrapper{
	margin-bottom: 30px;
}

.intro{
	margin-top: 90px;
}

.marg5{
	margin-bottom: 5px;
}

.marg30{
	margin-bottom: 30px;
}

.marg60{
	margin-bottom: 60px;
}

/* PROJETS */

.dot_fix{
	position: relative;
	top: -2px;
}

.projets_infos{
	position: fixed;
	height: 90px;
	left: 0;
	right: 0;
	bottom: 0;
	padding-top: 30px;
	padding-bottom: 30px;
	z-index: 100;
	box-sizing: border-box;
}

.paddright_15{
	padding-right: 15px;
	box-sizing: border-box;
}

.paddleft_15{
	padding-left: 15px;
	box-sizing: border-box;
}


/* .projets_infos{
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	padding-bottom: 30px;
	background: white;
	z-index: 100;
	box-sizing: border-box;
	top: calc(100vh - 90px);
	transition: top 500ms ease;
} */

.projets_infos_header{
	height: 90px;
	margin-bottom: 0;
}

.icons{
	display: inline-block;
	width: 25px;
	text-align: center;
	margin-right: 10px;
}

/* SLIDER */

.slider_projets,
.slider_projets .slick-track,
.slider_projets .slick-list{
	height: calc(100vh - 180px);
}

.prev_img,
.next_img{
	padding: 5px;
	box-sizing: border-box;
	display: inline-block;
}

.one_slide_projet_img{
	display: flex;
	padding: 60px;
	box-sizing: border-box;
}

.one_slide_projet_img img{
	object-fit: contain;
}

.block{
	display: block;
}

#projet_txt{
	position: fixed;
	top: 90px;
	bottom: 90px;
	left: 0;
	right: 0;
	background: rgba(255,255,255, 0.9);
	display: none;
}

body.projet_txt_open #projet_txt_toggle span{
	transform: rotate(45deg);
}

body.projet_txt_open #projet_txt{
	display: block;
}

/* GRID */

.item:hover .item_titles_cat,
.item:hover .item_titles_title,
.item:hover .item_titles{
	visibility: visible;
	color: blue;
}

.past_events img,
.item:hover img{
	opacity: .3;
	filter: grayscale(100%);
}

/* GDSB IMPORT */

.fouc{
	visibility: hidden;
}

.grid-ratio {
	display: flex;
	flex-wrap: wrap;
	margin-left: -60px;
	margin-right: -60px;
}
.grid-item {
	width: calc(50% - 120px);
	margin-left: 60px;
	margin-right: 60px;
	margin-bottom: 60px;
	position: relative;
}
.grid-item-height {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
}
.grid-item img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.item_titles {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	font-size: 40px;
	line-height: 1.33em;
	color: yellow;
	padding: 15px;
	width: 100%;
	box-sizing: border-box;
}

.item_titles.blue{
	color: blue
}

.item_titles_cat{
	padding-top: 5px;
}

.item_titles_dates{
	padding-bottom: 5px;
}

/* MENU */

#menu{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding-top: 30px;
	padding-bottom: 30px;
	z-index: 100;
}

.sub_menu{
	margin-left: 30px;
}

.sub_menu_about.sub_menu{
	margin-left: 30px;
}

.italic_links a{
	font-style: italic;
}

.italic_links a:hover,
.italic a:hover{
	font-style: normal;
}

/* ABOUT */

.acf-map{
	width: 100%;
	height: 90vh;
}

.acf-map img{
   max-width: inherit !important;
}

.marker_content{
	font-family: 'Btp';
	font-size: 18px;
	line-height: 1.3em;
	padding-top: 40px;
}

.square_vignette{
	width: 100%;
	height: 0;
	position: relative;
	overflow: hidden;
	padding-bottom: 100%;
}

.square_vignette_wrap{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
}

.gm-style .gm-style-iw-c{
	border-radius: 0!important;
	width: 350px!important;
	height: 410px!important;
	max-width: none!important;
	max-height: none!important;
	padding-left: 16px;
	box-sizing: border-box;
}

.gm-style-iw-chr{
	position: absolute;
	z-index: 100;
	top: -5px;
	right: -5px;
}

/* MISC */

.padd_left_30{
	padding-left: 30px;
	box-sizing: border-box;
}

.padd_left_60{
	padding-left: 60px;
	box-sizing: border-box;
}

input,
button{
	-webkit-appearance: none;
	border: none;
	font-family: inherit;
	background: transparent;
	color: inherit;
	font-size: inherit;
}

button{
	margin-top: 20px;
	padding: 0;
	cursor: pointer;
}

button:hover{
	font-style: italic;
}

input{
	border-bottom: 1px solid;
	width: 100%;
	max-width: 300px;
}

#form-adhesion{
	display: flex;
	flex-direction: column;
}

.bleu{
	color: blue;
}

.jaune{
	color: yellow;
}

.cyan{
	color: cyan;
}

.rouge{
	color: red;
}

.magenta{
	color: magenta;
}

.vert{
	color: #00FF00;
}

.noir{
	color: black;
}

.blanc{
	color: white;
}

/* A PROPOS */

.slide_img_apropos{
	height: 0;
	padding-bottom: 75%;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.slide_img_apropos_wrap{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
}

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

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

@media screen and (max-width: 1200px) {
	
	.item-evenements{
		width: 100%;
	}	
	
}

@media screen and (max-width: 1000px) {
	
	.mobile_block,
	.mobile{
		display: block;
	}
	
	.mobile_flex{
		display: flex;
	}
	
	.mobile_inline{
		display: inline;
	}
	
	.desktop{
		display: none;
	}
	
	.max_width{
		padding-left: 15px;
		padding-right: 15px;
	}
	
	body {
		font-size: 16px;
	}
	
	/* PROJETS */
	
	.grid-item {
		width: 100%;
		margin-bottom: 90px;
		margin-left: 10px;
		margin-right: 10px;
	}
	
	.grid-ratio{
		margin-top: 0;
		margin-left: 0;
		margin-right: 0;
	}
	
	.one_slide_projet_img{
		padding: 0;
	}
	
	.max_width.projets{
		height: calc(100svh - 120px);
		margin-top: 50px;
		margin-bottom: 70px;
	}
	
	.slider_projets, .slider_projets .slick-track, .slider_projets .slick-list {
	  height: calc(100svh - 120px);
	}
	
	.projets_infos{
		padding-top: 15px;
		padding-bottom: 15px;
		height: 70px;
	}
	
	.projets_infos .align-center{
		align-items: flex-end;
	}
	
	.width66_mob{
		width: 66.66%;
	}
	
	#projet_txt_toggle{
		text-align: right;
	}
	
	.width100_true_mob{
		width: 100%;
	}

	.width100_mob{
		width: auto;
	}
	
	.padd15_mob{
		padding: 15px;
	}
	
	.padd_left_60{
		padding: 0;
	}
	
	.marg30_mob,
	.marg60{
		margin-bottom: 30px;
	}
	
	.acf-map{
		height: calc(100vw - 30px);
	}
	
	#projet_txt {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background: white;
		z-index: 6666;
		overflow-y: scroll;
		overflow-x: hidden;
	}
	
	#inner_projet_txt{
		padding-top: 60px;
		box-sizing: border-box;
	}
	
	.paddright_15{
		padding-right: 0;
	}
	
	.cross_mob_projet{
		position: absolute;
		top: 15px;
		right: 5px;
	}
	
	.isotope_img,
	.grid-item{
		width: 100%;
		padding: 0;
	}
	
	.paddright_15,
	.paddleft_15{
		padding: 0;
	}
	
	.isotope_img{
		margin-bottom: 20px;
	}
	
	.isotope{
		margin: 0;
	}
	
	/* MENU */
	
	#menu{
		padding-top: 15px;
		padding-bottom: 15px;
		z-index: 1000;
	}
	
	#main_menu{
		position: fixed;
		background: white;
		top: 50px;
		left: 0;
		right: 0;
		bottom: 0;
		text-align: right;
		box-sizing: border-box;
		padding: 15px;
		display: none;
		line-height: 1.5em;
	}
	
	#fermer_menu{
		display: none;
	}
	
	body.mobile_menu_open #main_menu{
		display: block;
	}
	
	body.mobile_menu_open #menu_mob{
		display: none;
	}
	
	body.mobile_menu_open #fermer_menu{
		display: block;
	}
	
	.sub_menu,
	.sub_menu_about.sub_menu{
		margin-left: 0;
	}
	
	.sub_menu_about.sub_menu{
		margin-top: 15px;	
	}
	
	#fermer_menu{
		position: fixed;
		top: 15px;
		right: 15px;
	}
	
	#hamburger{
		display: block;
		height: 14px;
		width: 30px;
		border-top: 2px solid #0000FF;
		border-bottom: 2px solid #0000FF;
		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: #0000FF;
	}
	
	.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);
	}
	
	/* MISC */
	
	.gm-style .gm-style-iw-d{
		max-height: 100%!important;
	}
	
	.gm-style .gm-style-iw-c{
		width: 250px!important;
		height: 250px!important;
	}
	
	.marker_content .square_vignette{
		padding-bottom: 68%;
	}
	
	.item_titles{
		font-size: 25px;
		padding: 8px;
	}
	
}