/*
Theme Name: Justin
Theme URI: https://justinmeekel.com
Author: Maxime Bichon
Author URI: https://maximebichon.net
Description: Justin 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}

/* FONTS */

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

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

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

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

/* GENERAL */

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

a:hover .shadows{
	text-shadow: 0 0 10px grey;
}

body{
	font-family: 'apercu';
	line-height: 1.4em;
	font-size: 14px;
}

h1{
	font-size: 20px;
	margin-bottom: 2em;
	line-height: 1.2em;
}

h1,h3,h4{
	font-weight: bold;
}

h5{
	font-weight: normal;
}

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

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

.clear{
	clear: both;
}

.divider{
	width: 100%;
	height: 4em;
}

.italic{
	font-style: italic;
}

.dash{
	font-size: 12px;
}

.hidden{
	display: none;
}

.times{
	font-family: Times, serif;
	letter-spacing: 0.03em;
}

/* LAYOUT */

#wrapper{
	margin: 4em;
	overflow: auto;
}

#infos{
	margin-bottom: 4em;
}

#gallery{
	text-align: right;
}

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

p.legendes{
	margin-bottom: 2em;
}

img.portrait{
	width: 50%;
	height: auto;
}

.border{
	display: inline-block;
	margin-bottom: 1em;
}

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

	#header{
		width: 100%;
	}
	
	.left,.right{
		float: none;
		width: 100%;
	}
	
	#wrapper{
		margin: 2em;
	}

	img.portrait{
	width: 100%;
	height: auto;
	}
	
	#header{
		margin-bottom: 2em;
	}
	
	}