/*
Theme Name: PABF
Theme URI: https://parisassbookfair.fr
Author: Maxime Bichon
Author URI: https://maximebichon.net
Description: PABF
*/

/* @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}

/* FONTS */

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

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

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

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

@font-face {
	font-family: 'sabon';
	src: url('f/SabonNextLTPro-BlackItalic.woff2') format('woff2'),
		url('f/SabonNextLTPro-BlackItalic.woff') format('woff');
	font-weight: 900;
	font-style: italic;
}

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

body{
	background: #c4272b;
	font-family: 'sabon';
	color: white;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-backface-visibility: hidden;
}

body.page{
	background: #c4272b;
}

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

#menu a{
	color: white;
}

#menu.white_menu a{
	color: #c4272b;
}

.underlinks a{
	color: white;
}

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

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

.cover{
	object-fit: cover;
}

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

.marg2em{
	margin-bottom: 2em;
}

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

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

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

.force_white_links a,
.white_link{
	color: white;
}

.pink a,
.pink{
	background: #c4272b;
	color: white;
}

.druk{
	font-family: 'druk';
}

.black,
.black a{
	color: #c4272b;
}

.hover_links a:hover{
	border-bottom: 2px solid;
}

.underlinks a{
	text-decoration: underline;
}

.white_bg{
	background: white;
}

.size19{
	font-size: 19px;
	line-height: 22px;
}

.size22{
	font-size: 15px;
	line-height: 21px;
}

.size36{
	font-size: 24px;
	line-height: 29px;
}

.size51{
	font-size: 43px;
	line-height: 48px;
}

.size58{
	font-size: 58px;
	line-height: 67px;
}

.size103{
	font-size: 70px;
	line-height: 83px;
}

.size150{
	font-size: 150px;
	line-height: 133px;
}

.ls25{
	letter-spacing: 0.025em;
}

.marg20{
	margin-bottom: 20px;
}

.marg27{
	margin-bottom: 27px;
}

.marg90{
	margin-bottom: 60px;
}

#splash{
	height: 100vh;
	padding: 34px;
	box-sizing: border-box;
}

#splash img{
	max-height: 100%;
	max-width: 93vw;
	height: auto;
	width: auto;
}

#svg_splash{
	max-width: 792px;
	width: 100%;
}

.wrapper{
	padding-left: 114px;
	padding-right: 114px;
	padding-bottom: 80px;
	padding-top: 80px;
}

.wrapper.single{
	padding-top: 40px;
}

.main_content{
	width: 100%;
	max-width: 1075px;
	margin: 0 auto;
}

.side_left{
	box-sizing: border-box;
	padding-right: 34px;
}

.side_right{
	box-sizing: border-box;
	padding-left: 34px;
}

input{
	font-size: inherit;
	font-family: inherit;
}

#mc_embed_signup .mc-field-group input{
	text-indent: 8px!important;
}

#mc_embed_signup .button,
#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error{
	font-size: inherit!important;
	background: #c4272b!important;
	border: none!important;
	margin: 0!important;
	padding: 0!important;
	-webkit-appearance: none;
}

/* SINGLES */

body.single-projets{
	background-color: white;
}

body.single-projets .wrapper,
body.single-projets .wrapper a{
	color: #c4272b;
}

.one_social{
	margin-left: 10px;
	margin-right: 10px;
}

.logos_sgl{
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 30px;
	align-items: center;
}

.logos_sgl img{
	height: 40px;
	width: auto;
	margin-left: 20px;
	margin-right: 20px;
}

.arrow_left{
	font-family: 'sabon';
	font-size: 40px;
	margin-right: 10px;
}

.arrow_right{
	font-family: 'sabon';
	font-size: 40px;
	margin-left: 10px;
}

/* MENU */

#menu{
	position: fixed;
	left: 34px;
	top: 34px;
}

#excla{
	position: fixed;
	right: 34px;
	top: 34px;
	width: 20px;
}

#informations{
	padding: 50px;
	box-sizing: border-box;
	min-height: 100vh;
}

#informations ul{
	margin-top: 1em;
}

#informations ul.size19{
	line-height: 30px;
}

#logos_footer{
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 80px;
	align-items: center;
}

#logos_footer img{
	height: 110px;
	width: auto;
	margin-left: 20px;
	margin-right: 20px;
}

#logos_footer img.petit{
	height: 80px;
}

#qtranslate-chooser li{
	display: inline;
}

#qtranslate-chooser li:after{
	content: ' /';
	color: white;
}

#qtranslate-chooser li:last-of-type:after{
	content: '';
}

#menu.white_menu #qtranslate-chooser li:after{
	color: #c4272b;
}

/*///////*/
/* GAMES */
/*///////*/

body.game_won_2025 #splash_game{
	display: none;
}

#splash_game{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: white;
	z-index: 666;
}

#puzzle{
	position: fixed;
	top: 30px;
	right: 30px;
	cursor: pointer;
	width: 75px;
	z-index: 500;
}

#skip_game{
	position: fixed;
	top: 30px;
	right: 30px;
	cursor: pointer;
	width: 75px;
	z-index: 666666666;
	color: #c4272b;
	font-family: Arial;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 32px;
}

#skip_game img{
	width: 100%;
	height: auto;
}

#play_game{
	z-index: 6666;
	position: fixed;
	top: 24px;
	left: 30px;
	color: #c4272b;
	font-family: Arial;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 32px;
}

/* CONNECT */

#slider_connect{
	opacity: 0;
	pointer-events: none;
}

#slider_connect.slick-initialized{
	opacity: 1;
	pointer-events: all;
}

#slider_connect,
#slider_connect .slick-track,
#slider_connect .slick-list,
.one_slide_connect{
	height: 66vh;
	width: 100vw;
	text-align: center;
}

#slider_connect_wrap{
	display: flex;
	flex-direction: column;
}

.one_slide_connect img{
	width: auto;
	max-height: 100%;
	max-height: 100vh;
	padding: 30px 100px;
	box-sizing: border-box;
	display: inline-block;
}

.one_slide_connect {
	position: relative;
}

img[usemap] {
	width: auto;
	max-height: 100%;
	max-width: 100%;
}

area {
	display: block;
	cursor: pointer;
	position: absolute;
	cursor: pointer;
}

map{
	position: relative;
}

/* WORDS */

#words_wrap{
	width: 100%;
	height: 100%;
	text-align: center;
	padding: 10px 100px;
	box-sizing: border-box;
}

#words_wrap img{
	height: auto;
}

#slider_connect_footer img,
#slider_connect_header img{
	opacity: 0;
}

#puzzle_img_red{
	display: none;
}

#puzzle.white_menu #puzzle_img_red{
	display: block;
}

#puzzle.white_menu #puzzle_img_white{
	display: none;
}

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

.mobile{
	display: none;
}

@media screen and (max-width: 1000px) {
	
	.mobile{
		display: block;
	}
	
	.desktop{
		display: none;
	}
	
	#menu{
		left: 20px;
		top: 20px;
	}
	
	#excla{
		right: 20px;
		top: 20px;
	}
	
	#splash{
		padding: 20px;
	}
	
	.wrapper{
		padding-left: 20px;
		padding-right: 20px;
		padding-bottom: 30px;
		padding-top: 30px;
	}
	
	#informations{
		padding: 30px 20px;
	}
	
	.main_content{
		display: block;
	}
	
	.side_left,
	.side_right{
		padding: 0;
		width: 100%;
		margin-bottom: 45px;
	}
	
	.marg90{
		margin-bottom: 30px;
	}
	
	.size36{
		font-size: 19px;
		line-height: 25px;
	}
	
	.size51{
		font-size: 30px;
		line-height: 35px;
	}
	
	.size58{
		font-size: 35px;
		line-height: 43px;
	}
	
	.size103{
		font-size: 42px;
		line-height: 50px;
	}
	
	.size150{
		font-size: 50px;
		line-height: 45px;
	}
	
	#logos_footer{
		justify-content: center;
		flex-direction: column;
	}
	
	#logos_footer img{
		margin-bottom: 20px;
		height: 100px;
	}
	
	.wrapper.single{
		padding-top: 13px;
	}
	
	.arrow_right,
	.arrow_left{
		font-size: 30px;
	}
	
	/* MENU */
	
	#menu{
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: white;
		z-index: 10000000;
		mix-blend-mode: normal;
		color: #c4272b;
		box-sizing: border-box;
		padding: 40px 20px 20px 20px;
		display: none;
	}
	
	#menu a{
		color: #c4272b;
	}
	
	#menu.open{
		display: block;
	}
	
	body.single-projets #menu{
		background-color: #c4272b;
		color: white;
	}
	
	body.single-projets #menu a{
		color: white;
	}
	
	#hamburger{
		display: block;
		height: 14px;
		width: 40px;
		border-top: 2px solid white;
		border-bottom: 2px solid white;
		position: fixed;
		cursor: pointer;
		top: 20px;
		left: 20px;
	}
	
	#hamburger .line{
		padding: 0;
		margin: 0;
		margin-top: 2px;
		position: absolute;
		top: 0;
		border-bottom: 2px solid white;
		padding-bottom: 4px;
		margin-bottom: 5px;
		width: 100%;
		height: 0px;
	}
	
	#hamburger.white_hamburger{
		border-top: 2px solid #c4272b;
		border-bottom: 2px solid #c4272b;
	}
	
	#hamburger.white_hamburger .line{
		border-bottom: 2px solid #c4272b;
	}
	
	#cross{
		width: 30px;
		height: 30px;
		overflow: hidden;
		cursor: pointer;
		position: fixed;
		z-index: 100;
		top: 20px;
		right: 20px;
	}
	
	.cross::before, 
	.cross::after{
		content: '';
		position: absolute;
		height: 1px;
		width: 100%;
		top: 50%;
		right: 0;
		margin-top: -1px;
		background: #c4272b;
	}
	
	body.single-projets .cross::before, 
	body.single-projets .cross::after{
		background: white;
	}
	
	.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);
	}
	
	/* GAMES */
	
	#play_game{
		font-size: 16px;
		top: 15px;
		left: 15px;
	}
	
	#skip_game{
		font-size: 16px;
		top: 10px;
		right: 15px;
		width: 40px;
	}
	
	#puzzle{
		top: 10px;
		right: 15px;
		width: 40px;
	}
	
	#words_wrap{
		padding: 70px 0 0 0;
	}
	
	#splash {
		padding: 87px 30px 0 30px;
		align-content: flex-start;
		justify-content: flex-start;
		flex-direction: column;
	}
	
	#splash img{
		max-width: 100%;
	}
	
	.one_slide_connect img{
		padding: 80px 20px 0 20px;
	}
	
	#slider_connect_header{
		position: relative;
		top: 50px;
	}
	
}