/*
Theme Name: bernier
Theme URI: https://hallebernier.fr
Author: Maxime Bichon
Author URI: https://maximebichon.net
Description: bernier
*/

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

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

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

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

.alt{
	font-family: 'Purple-Alt'
}

.light{
	font-weight: 300;
}

.main_bg_color{
	background-color: #13ff9b;
}

.main_color{
	color: #13ff9b;
}

.main_border_color{
	border-color: #13ff9b;
}

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

body{
	font-family: 'Purple';
	color: black;
	overflow-x: hidden;
}

a{
	color: black;
	text-decoration: none;
}

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

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

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

.size25{
	font-size: 1.30vw;
	line-height: 1.36em;
}

.size81{
	font-size: 4.22vw;
	line-height: 1.12em;
}

.ls10{
	letter-spacing: -.027em
}

.ls20{
	letter-spacing: -.055em
}

.marg18{
	margin-bottom: 0.93vw;
}

.marg26{
	margin-bottom: 1.35vw;
}

.dots_border{
	border-bottom: 3px dotted transparent;
	background-image: radial-gradient(circle, black 2px, transparent 2px);
	background-size: 8px 8px;
	background-position: bottom;
	background-repeat: repeat-x;
}

.dots_border_fix{
	margin-top: -5px;
}

.button,
.header{
	padding: 0 0.8vw;
	height: 2.39vw;
	text-align: center;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	display: inline-block;
	line-height: 2.39vw;
}

.header{
	border: 2px dotted #13ff9b;
	line-height: 1.7em;
}

.main_lr_padding{
	padding-left: 1.2vw;
	padding-right: 1.2vw;
	box-sizing: border-box;
}

.wrapper{
	margin-top: 9.5vw;
}

.icons{
	height: 2.39vw;
	width: 2.39vw;
}

.picto_fix{
	position: relative;
	z-index: -1;
}

/* FRONT PAGE */

#splash{
	/* height: calc(100vh - 9.48vw); */
	overflow: hidden;
}

#splash_pictos img{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	z-index: 1;
}

#splash_txt{
	padding-top: 1.2vw;
	padding-bottom: 1.2vw;
	box-sizing: border-box;
}

#marquee{
	background: black;
	color: white;
	height: 5.57vw;
	width: 100vw;
}

#splash_pictos_wrap{
	min-height: 120px;
}

.collectif_margin{
	margin-bottom: 4.5vw;
}

#collectif{
	align-items: stretch;
}

#inner_collectif_txt{
	padding-top: 1.2vw;
	padding-bottom: 1.5vw;
}

#splash_pictos .picto_bernier{
	width: 1.9vw;
	height: 1.9vw;
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
}

/* MENU */

#menu{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 4;
}

#top_menu{
	box-sizing: border-box;
	padding: 0.4vw 1.2vw 0.45vw 1.2vw;
	z-index: 5;
	position: relative;
}

#secondary_menu{
	box-sizing: border-box;
	padding: 0 1.2vw 0.55vw 1.2vw;
	height: 4.17vw;
	align-items: center;
	z-index: 5;
	position: relative;
}

#menu_bg{
	background: white;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 9.5vw;
	z-index: 1;
}

#menu_social img{
	margin-left: 0.2vw;
}

/* FOOTER */

#footer_social{
	margin-right: 2.86vw;
}

#footer_bottom{
	height: 5.72vw;
	box-sizing: border-box;
	padding-bottom: 1.56vw;
	align-items: flex-end;
}

#footer_bottom_left{
	align-items: flex-end;
}

#logo_full_footer{
	width: 12vw;
}

#footer_social img{
	margin-right: 0.2vw;
}

#newsletter_block{
	padding-top: 1.2vw;
}

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

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

@media screen and (max-width: 1000px) {
	
	.mobile{
		display: block;
	}
	
	.mobile_flex{
		display: flex;
	}
	
	.mobile_inline{
		display: inline;
	}
	
	.desktop{
		display: none;
	}
	
	.no_dots_mob{
		border-bottom: none;
		background-image: none;
	}
	
	.dots_border_mob{
		border-bottom: 2px dotted transparent;
		background-image: radial-gradient(circle, black 1px, transparent 1px);
		background-size: 4px 3px;
		background-position: bottom;
		background-repeat: repeat-x;
	}
	
	.size16_mob{
		font-size: 16px;
	}
	
	.size27_mob{
		font-size: 27px;
		line-height: 1.18em;
	}
	
	.size38_mob{
		font-size: 38px;
		line-height: 1.2em;
	}
	
	.size42_mob{
		font-size: 40px;
		line-height: 40px;
	}
	
	.header,
	.button{
		padding: 0 7px;
		height: 27px;
		line-height: 27px;
	}
	
	.header{
		height: 30px;
	}
	
	.wrapper{
		margin-top: 200px;
	}
	
	.main_lr_padding{
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.width100_mob{
		width: 100%;
	}
	
	.marg10_mob{
		margin-bottom: 10px;
	}
	
	.marg20_mob{
		margin-bottom: 20px;
	}
	
	/* HOME */
	
	#splash{
		height: auto;
	}
	
	#splash_txt{
		padding: 12px 15px 35px;
	}
	
	#splash_pictos_wrap{
		height: 120px!important;
	}
	
	#marquee{
		height: 50px;
		line-height: 50px;
	}
	
	#collectif_img{
		height: 80vw!important;
		max-height: 80vw!important;
	}
	
	#inner_collectif_txt{
		padding-top: 20px;
		padding-bottom: 20px;
	}
	
	/* FOOTER */
	
	#footer_bottom{
		height: auto;
		padding: 18px 15px;
		align-items: flex-start;
	}
	
	#footer_bottom_left{
		align-items: flex-start;
		flex-direction: column;
	}
	
	#logo_full_footer{
		width: 165px;
	}
	
	/* MENU */
	
	#top_menu{
		padding: 0;
		display: block;
	}
	
	.menu_division_mob{
		width: 100%;
		padding: 5px 15px 12px;
		position: relative;
		z-index: 666;
	}
	
	.menu_division_mob h1{
		position: relative;
		top: 3px;
	}
	
	#secondary_menu{
		height: auto;
		padding: 5px 15px 11px;
	}
	
	#menu_bg{
		height: 200px;
	}
	
	.icons{
		height: 27px;
		width: 27px;
	}
	
	#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);
	}
	
}