/*
Theme Name: False
Theme URI: https://eleonorefalse.com
Author: Maxime Bichon
Author URI: https://maximebichon.net
Description: Eleonore False's Theme
*/

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

/* GENERAL */

html{
	height: 100%;
	width: 100%;
}

body{
	font-family: 'Helvetica Neue', sans-serif;
	color: #444444;
	text-shadow: 0 0 2px #424242;
	letter-spacing: 1px;
	font-size: 14px;
	line-height: 1.3em;
}

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

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

h2{
	font-style: italic;
}

.small{
	font-size: 12px;
}

.left{
	float: left;
	width: 45%;
}

.right{
	float: right;
	width: 45%;
}

.clear{
	clear: both;
}

strong{
	text-shadow: 0 0 2px #424242;
}

.noitalic{
	font-style: normal;
}

.hidden{
	display: none;
}

.show{
	display: block;
}

.center{
	text-align: center;
}

em{
	font-style: italic
}

/* DESIGN */

/*
.blur{
	-webkit-filter: blur(1px);
	filter:blur(1px);
	padding: 3px;
}

.blur:hover, .blur img{
	-webkit-filter: blur(0px); 
	filter:blur(0px);
}

.hover:hover .blur{
	-webkit-filter: blur(0px); 
	filter:blur(0px);
}

.hover2:hover .blur{
	-webkit-filter: blur(0px); 
	filter:blur(0px);
}
*/

.grey{
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.hover:hover .grey{
	-webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.light{
	text-shadow: 0px 0px 2px #aeaeae;
}

#wrapper{
	max-width: 800px; 
	margin-left: auto; 
	margin-right: auto; 
	margin-top: 27px; 
}

#footer{
	width: 100%;
	height: 30px;
}

/* MENU */

#menu{
	top: 27px;
	left: 30px; 
	position: fixed; 
	z-index: 100
}
	
#menu ul li{
	display: inline-block;
	margin-right: 15px;
}

#menu ul{
	margin-top: 15px;
}

/* GRID */

.box{
	float: left;
	margin-right: 3.75%;
	width: 28%;
	height: 200px;
	margin-bottom: 30px;
}

.text .box h2{
	margin-bottom: 30px;
}

.news .box{
	width: 50%;
	height: auto;
	margin-bottom: 60px;
}

.news .box img{
	margin-top: 30px;
}

.works .box{
	opacity: 0;
}

.works .box{
	height: 400px;
}

.works .box .top img{
	position: absolute;
	bottom:0;
}

.works .box .top{
	position: relative;
	height: 160px; 
	width: 100%;
}

.works .box .bottom{
	margin-top: 60px;
}

/* INDEX */

#expos{
	text-align: right;
	margin-top: 130px;
}

#splash{
	margin-top: 15vh;
}

#splash img{
	max-height: 80vh;
	width: auto;
	max-width: 90%;
}

#expos li{
	margin-bottom: 1.2em;
}

body.home #footer{
	display: none;
}

/* EXPOS */

#infos{
	overflow: auto;
	margin-bottom: 60px;
}

#infos .right{
	text-align: right;
}

#images img{
	margin-bottom: 30px
}

#images img.portrait, #expo img.square{
	max-height: 80vh;
	width: auto;
}

#images{
	opacity: 0;
}

#credits{
	text-align: right;
}

.nav{
	margin-bottom: 5px;
}


/* TEXTES */

#texte #single{
	width: 75%;
}

#wrapper.about{
	max-width: 900px;
}

#back{
	position: fixed;
	top:72px;
	left:30px;
}

#texte p{
	margin-bottom: 1em;
}

#wrapper.text{
	padding-top: 20px;
}

.text .box{
	height: 200px;
}

.text .box .top h2{
	position: absolute;
	bottom:0;
	margin-bottom: 0;
}

.text .box .top{
	position: relative;
	height: auto; 
	width: 100%;
}

.text .box .bottom{
	margin-top: 30px;
}

/* WORKS */

.works .box img.landscape{
	width: 150px;
	height: auto;
}

.works .box img.portrait, .works .box img.square{
	height: 160px;
	width: auto;
}

#big-image{
	position: fixed;
	top:0px;
	left:0px;
	right: 0px;
	bottom:0px;
	padding:30px;
	z-index: 10000;
	text-align: center;
	cursor: pointer;
}

#big-image img{
	height: auto;
	max-height: 100%;
	max-width: 100%;
	position:relative;
}


/* RESPONSIVE */

.mobile{
	display: none
}

@media screen and (max-width: 1250px) {
	
	#wrapper.about{
		margin-left: 200px;
		max-width: 90%;
	}
		
}

@media screen and (max-width: 1150px) {
	
	#menu{
		position: absolute;
	}

	#wrapper{
		margin-top: 90px;
		margin-left: 31px;
		margin-right: 30px;
	}
	
	#wrapper.about{
		margin-left: 31px;
	}

	#main{
		margin-top: 0px;
		margin-left: 31px;
		margin-right: 30px;
	}
	
	#back{
		right:30px;
		top:30px;
		bottom:auto;
		left:auto;
	}
	
	#expos{
		text-align: left;
		float: none;
		width: 100%;
	}
	
	#splash{
		float: none;
		width: 100%;
		text-align: right;
	}
	
	body.home #footer{
	display: block;
	}
	

}

@media screen and (max-width: 666px) {

	.works .box, .news .box, .box{
		float: none;
		width: 100%;
		height: auto;
		position: relative;
		margin-bottom: 60px;
	}
	
	#infos{
		overflow: inherit;
	}
	
	.text .box{
		height: auto;
	}
	
	h2{
		margin-bottom: 30px;
	}
	
	#infos .right{
		text-align: left;
	}
	
	.blur{
		-webkit-filter: blur(0px); 
		filter:blur(0px);
	}
	
	.greyblur{
		-webkit-filter: blur(0px) grayscale(0%);
	    filter: blur(0px) grayscale(0%);
	}
	
	.mobile{
		display: block;
	}
	
	.nomobile{
		display: none;
	}
	
	.left, .right{
		float: none;
		width: 100%;
	}
	
	.works .box img.portrait, .works .box img.square, .works .box img.landscape, .box img{
		width: 100%;
		height: auto;
		position: relative;
	}
	
	.mobile img{
		margin-bottom: 30px;
	}

	#texte_g{
		margin-bottom: 60px;
	}

	}