/*
Theme Name: PP
Theme URI: https://paulineperplexe.com
Author: Maxime Bichon
Author URI: https://maximebichon.net
Description: PP
*/

/* @import url('f/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: 'Arial Narrow';
	src: url('f/ArialNarrow-BoldItalic.woff2') format('woff2'),
		url('f/ArialNarrow-BoldItalic.woff') format('woff');
	font-weight: bold;
	font-style: italic;
}

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

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

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

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

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

.cheltenham{
	font-family: 'Cheltenham';
}

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

::selection {
  color: white;
  background-color: #000001;
}

::-moz-selection {
  color: white;
  background-color: #000001;
}

body{
	font-family: 'Arial Narrow';
	font-size: 15px;
	line-height: 1.2em;
	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%;
}

.width30{
	width: 30%;
}

.width33{
	width: 33.33%;
}

.width50{
	width: 50%;
}

.width66{
	width: 66.66%;
}

.width70{
	width: 70%;
}

.width75{
	width: 75%;
}

.width100{
	width: 100%;
}

.height100{
	height: 100%;
}

.pointer{
	cursor: pointer;
}

.marg1em{
	margin-bottom: 1em;
}

.responsive-video{
	width: 100%;
	height: 100%;
}

.responsive-video iframe{
	width: 100%;
	height: 100%;
}

.vignette_first_slide{
	height: 100%;
	display: flex;
}

.vignette_first_slide img{
	object-fit: contain;
}

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

.col2{
	column-count: 2;
}

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

.main_width{
	max-width: 1300px;
	padding-left: 30px;
	padding-right: 30px;
	margin-left: auto;
	margin-right: auto;
}

.layout_fix{
	position: relative;
	top: -150px;
}

.layout_shift{
	margin-top: -100px;
}

.layout_top_block{
	width: 100%;
	max-width: 910px;
	min-height: 100px;
}

main{
	min-height: calc(100vh - 35px);
	margin-bottom: 30px;
}

.marg30{
	margin-bottom: 30px;
}

.marg50{
	margin-bottom: 50px;
}

.marg60{
	margin-bottom: 60px;
}

#search_input,
.size20{
	font-size: 20px;
	line-height: 1.15em;
}

.size40{
	font-size: 40px;
	line-height: 1.15em;
}

.size50{
	font-size: 50px;
	line-height: 1.15em;
}

.size60{
	font-size: 60px;
	line-height: 1.15em;
}

.size120{
	font-size: 120px;
	line-height: 1.15em;
}

.size120.small_title{
	font-size: 60px;
	line-height: 1.15em;
}

.size200{
	font-size: 200px;
	line-height: 1.15em;
}

.paddright30{
	padding-right: 30px;
	box-sizing: border-box;
}

/* ARCHIVES */

.titre_expo{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	padding: 15%;
}

#text-slider_next,
#diapo_single_next{
	width: 75px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
}

#diapo_single_prev{
	width: 75px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
}

.mini_lines{
	max-width: calc(100% - 100px);
}

.text-slider{
	max-width: calc(100% - 100px);
}


@media screen and (min-width: 901px) {

	.diapo_single{
		max-width: calc(100% - 200px);
		margin-left: 100px;
	}
	
	.diapo_single .slick-list,
	.diapo_single .slick-track{
		width: 100%;
		aspect-ratio: 16/9;
		height: 100%;
	}
	
	.slick-initialized .slick-slide.diapo_single_image{
		display: flex;
		flex-direction: column;
	}
	
	.slick-initialized .slick-slide.diapo_single_image.img_landscape img{
		object-fit: contain;
		object-position: center center;
		min-height: 0;
	}
	
	.slick-initialized .slick-slide.diapo_single_image.img_portrait img{
		object-fit: contain;
		object-position: center center;
		min-height: 0;
	}
	
	.legendes_diapo{
		height: 45px;
		padding: 5px;
		box-sizing: border-box;
	}

}

.vignette_placeholder_sgl{
	width: 100%;
	height: 40vh;
}

.year-group{
	width: 33.33%;
}

.grid_archives{
	margin-top: -100px;
}

.grid_archives_block{
	position: absolute;
	background: transparent;
	right: 0;
	top: 0;
	width: 33%;
	height: 200px;
}

.year_margin_right{
	margin-right: 30px;
}

.letter-heading,
.year-heading{
	position: sticky;
	top: 30px;
	z-index: 333;
}

#jambes_gif_list{
	padding: 30px;
	box-sizing: border-box;
}

.grid_edition .item-edition{
	width: calc(33.33%);
}

/* ARTISTES */

.letter-heading img{
	height: 180px;
	width: auto;
}

.grid_letters{
	width: 910px;
	margin-top: -100px;
}

.residents{
	width: 910px;
}

.grid_letters_side{
	width: 30%;
	padding-left: 60px;
	box-sizing: border-box;
}

.grid_letters_side .item-vignette_titre.size40{
	font-size: 28px;
}

.letter-group{
	width: calc(50% - 20px);
	margin-right: 20px;
}

.grid_letters_side .item-vignette_wrap{
	display: none;
}

.sticky_grid_letters_side_wrap{
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: scroll;
}

.sticky_grid_letters_side_wrap{
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.sticky_grid_letters_side_wrap::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.sticky_grid_letters_side_wrap .item-vignette{
	min-height: 200px;
}

.grid_letters_side .marg60{
	margin-bottom: 30px;
}

.artist-item.active{
	text-decoration: line-through;
}

#side_line_artists_1{
	width: 30px;
	position: absolute;
	left: 0;
	top: 38px;
}

#side_line_artists_2{
	position: absolute;
	width: 18px;
	top: 30px;
	left: calc(50% - 60px);
}

#side_line_artists_3{
	position: absolute;
	width: 60px;
	top: 0;
	left: calc(50% - 70px);
	z-index: -1;
}

#side_line_artists_4{
	position: absolute;
	top: 100px;
	left: 910px;
	width: 55px;
	z-index: -1;
}

#two_lines_artists{
	z-index: -2;
	position: relative;
	width: 90%;
	margin-bottom: 30px;
}

/* SEARCH */

#search_input_mob,
#search_input{
	font-family: 'Arial Narrow';
	width: 100%;
	border: none;
	-webkit-appearance: none;
	border-bottom: 2px solid black;
	padding: 5px 10px;
	margin-left: 15px;
	color: black;
	border-radius: 0;
}

#search_mob,
#search{
	position: relative;
	z-index: 666;
}

input::placeholder {
	color: black;
}

#grid_search .item-search{
	width: calc(50% - 40px);
	margin-left: 20px;
	margin-right: 20px;
}

/* VIGNETTES */

.item-vignette{
	width: 100%;
	min-height: 250px;
}

.item-vignette_noimg{
	padding: 25px;
	box-sizing: border-box;
}

.item-vignette_titre{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
	padding: 15%;
}

.year-image{
	height: 140px;
	width: auto;
}

/* ACTU */

#actu_main .item-vignette{
	margin-left: 60px;
	margin-right: 60px;
	width: auto;
}

#actu_main{
	box-sizing: border-box;
	padding-right: 100px;
}

#actu_side_img{
	position: absolute;
	width: 80px;
	right: 30px;
	top: 17%;
	z-index: 10;
}

#actu_side{
	box-sizing: border-box;
	padding: 60px 0 30px 15px;
}

/* HOME */

#splash_home img{
	width: auto;
	max-width: 100%;
}

/* MENU */

#right_menu{
	max-width: 30%;
}

#logo img{
	padding-top: 40px;
	padding-bottom: 25px;
	border-bottom: 2px solid black;
	padding-right: 40px;
	margin-left: 15px;
}

#menu{
	margin-top: 5px;
}

#main_menu{
	width: 910px;
}

#menu_bg{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	pointer-events: none;
}

.menu_items{
	font-size: clamp(0px, 1vw, 15px);
	min-height: 0vw;
}

#menu_actus{
	top: 39%;
	left: 5%;
}

#menu_actus.active{
	top: 11%;
}

#menu_events{
	top: 39%;
	left: 29%;
}

#menu_events.active{
	top: 10%;
}

#menu_editions{
	top: 39%;
	left: 50%;
}

#menu_editions.active{
	top: 18%;
}

#menu_artistes{
	top: 39%;
	left: 70%;
}

#menu_artistes.active{
	top: 7%;
}

#menu_apropos{
	top: 39%;
	left: 90%;
}

#menu_apropos.active{
	top: 12%;
}

/* MISC */

.diapo_single_wrap{
	z-index: 1000000;
}

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

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

@media screen and (max-width: 1250px) {
	
	.menu_items{
		margin-top: -10px;
		margin-left: -3px;
		font-size: 13px;
	}
	
}

@media screen and (max-width: 900px) {
	
	.block_mob,
	.mobile{
		display: block;
	}
	
	.mobile_flex{
		display: flex;
	}
	
	.mobile_inline{
		display: inline;
	}
	
	.desktop{
		display: none;
	}
	
	.main_width{
		padding-left: 20px;
		padding-right: 20px;
		margin-top: 100px;
	}
	
	.size20{
		font-size: 16px;
	}
	
	.size20_mob{
		font-size: 20px;
		line-height: 1.2em;
	}
	
	.titre_expo.size120,
	.size40{
		font-size: 25px;
	}
	
	.size60,
	.size50{
		font-size: 30px;
	}
	
	.size120{
		font-size: 45px;
	}
	
	.marg30_mob,
	.marg60{
		margin-bottom: 30px;
	}
	
	/* RESP. */
	
	.alignleft_mob{
		text-align: left;
	}
	
	.width_auto_mob{
		width: auto;
	}
	
	.col2{
		column-count: 1;
	}
	
	#actu_main{
		padding-right: 0;
	}
	
	.layout_fix{
		top: auto;
	}
	
	#actu_main .item-vignette{
		margin-left: 0;
		margin-right: 0;
	}
	
	.item-vignette{
		height: auto;
		width: auto;
		overflow: hidden;
		padding-bottom: 0;
		min-height: 0;
	}
	
	.item-vignette_titre{
		padding: 20px 40px;
	}

	.letter-heading, .year-heading{
		top: 70px;
	}
	
	.year-image{
		height: 90px;
	}
	
	body.single-editions .year-image,
	body.single-evenements .year-image{
		height: 40px;
	}
	
	#text-slider_prev, #diapo_single_prev,
	#text-slider_next, #diapo_single_next{
		width: 20px;
		padding: 70px 20px;
		top: calc(100% + 25px);
	}
	
	#diapo_single_prev{
		left: 0px;
	}
	
	#diapo_single_next{
		right: 0px;
	}
	
	.diapo_single .slick-list, .diapo_single .slick-track{
		aspect-ratio: auto;
	}
	
	.slick-initialized .slick-slide.diapo_single_image{
		
	}
	
	/* .diapo_single{
		max-width: 100%!important;
		margin-left: 0;
	}
	
	.diapo_single .slick-list,
	.diapo_single .slick-track{
		height: auto!important;
	} */
	
	.diapo_single_wrap{
		margin-left: -20px;
		margin-right: -20px;
		margin-bottom: 80px;
	}
	
	/* SEARCH */
	
	#grid_search .item-search{
		width: 100%;
	}
	
	.width100_mob{
		width: 100%;
	}
	
	/* A PROPOS */
	
	#about_layout #actu_side{
		padding: 0;
		order: 1;
	}
	
	#about_layout #actu_main{
		order: 2;
	}
	
	#residents_about_mobile{
		order: 3;
	}
	
	input[type="submit"]{
		background: white;
		border-radius: 0;
		color: black;
		color: black;
		margin: 0;
		padding: 0;
		margin-top: 10px;
	}
	
	/* ARTISTES */
	
	.grid_letters{
		width: 100%;
		margin-top: 0;
	}
	
	.letter-heading img{
		height: 50px;
		top: 61px;
	}
	
	.letter-group{
		width: 100%;
	}
	
	.letter-heading{
		font-size: 50px;
		margin-bottom: 20px;
	}
	
	#side_panel_expo{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: white;
		width: auto;
		height: auto;
		z-index: 666666666666;
		padding: 20px;
		box-sizing: border-box;
		display: none;
	}
	
	#side_panel_toggle_mob{
		position: fixed;
		top: 0;
		right: 0;
		padding: 20px;
		z-index: 100000;
	}
	
	body.open_side_mob #side_panel_expo{
		display: block;
	}
	
	/* EDITIONS */
	
	.grid_edition .item-edition{
		width: 100%;
	}
	
	/* HOME */
	
	#splash_home{
		margin-top: 200px;
		
	}
	
	/* MENU */
	
	#logo{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		background: white;
		height: 50px;
		padding: 10px 20px;
		z-index: 666666;
	}
	
	#logo img{
		padding: 0;
		margin: 0;
		border: none;
		max-height: 100%;
		width: auto;
	}
	
	#menu{
		margin-top: 5px;
		z-index: 66666666666;
		position: fixed;
	}
	
	#menu_mob{
		position: absolute;
		top: 0;
		right: 0;
		padding: 20px;
	}
	
	#main_menu{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: white;
		width: auto;
		z-index: 666666666;
		padding: 20px;
		box-sizing: border-box;
		display: none;
	}
	
	body.open #main_menu{
		display: block;
	}
	
	#logo_mob{
		width: 200px;
		position: absolute;
		bottom: 20px;
		right: 20px;
	}
	
	#fermer_mob{
		position: absolute;
		top: 0;
		right: 0;
		padding: 20px;
	}
	
	#search_input_mob{
		width: 100px;
		font-size: 15px;
		padding-left: 0;
		margin: 0;
	}
	
	.menu_items{
		position: relative;
		top: auto!important;
		left: auto!important;
		font-size: 20px;
		line-height: 1.2em;
		margin-bottom: 1em;
		margin-top: 0;
	}
	
	.menu_items.active{
		margin-left: 60px;
	}
	
	#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: 39%;
		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);
	}
	
}