/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*  Base
----------------------------------------------- */
* {
	padding: 0;
	margin: 0;
	list-style: none;
	text-decoration: none;
}

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

a:focus {
	outline: none;
}

a {
	text-decoration: none;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*  Layout
----------------------------------------------- */

body {
	font-family: 'Helvetica Neue Roman', Helvetica, Arial, sans-serif;
	color: #005fc9;
	text-align: center;
}

section {
	background-color: #fff;
}

/*  Font
----------------------------------------------- */

@font-face {
	font-family: 'Helvetica Neue Roman';
	src: url('/web/20140819174820im_/http://leymarie.net/css/helveticaneue-roman.eot');
	src: url('/web/20140819174820im_/http://leymarie.net/css/helveticaneue-roman.eot#iefix') format('embedded-opentype'),
		url('/web/20140819174820im_/http://leymarie.net/css/helveticaneue-roman.woff') format('woff'),
		url('/web/20140819174820im_/http://leymarie.net/css/helveticaneue-roman.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Helvetica Neue Roman';
	src: url('/web/20140819174820im_/http://leymarie.net/css/helveticaneue-italic.eot');
	src: url('/web/20140819174820im_/http://leymarie.net/css/helveticaneue-italic.eot#iefix') format('embedded-opentype'),
		url('/web/20140819174820im_/http://leymarie.net/css/helveticaneue-italic.woff') format('woff'),
		url('/web/20140819174820im_/http://leymarie.net/css/helveticaneue-italic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'icons';
	src: url('/web/20140819174820im_/http://leymarie.net/css/icons.eot');
	src: url('/web/20140819174820im_/http://leymarie.net/css/icons.eot#iefix') format('embedded-opentype'),
		url('/web/20140819174820im_/http://leymarie.net/css/icons.woff') format('woff'),
		url('/web/20140819174820im_/http://leymarie.net/css/icons.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

.icon-mail {
	font-family: 'icons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	margin-right: 0.4em;
	vertical-align: bottom;
}

.icon-mail:before {
	content: "\e600";
}

/*  Navigation
----------------------------------------------- */
/* The side navigation menu */
.sidenav {
	height: 100%;
	/* 100% Full-height */
	width: 0;
	/* 0 width - change this with JavaScript */
	position: fixed;
	/* Stay in place */
	z-index: 2;
	/* Stay on top */
	top: 0;
	/* Stay at the top */
	left: 0;
	background-color: #042331;
	/* Black*/
	overflow-x: hidden;
	/* Disable horizontal scroll */
	padding-top: 60px;
	/* Place content 60px from the top */
	transition: all .5s ease;
	/* 0.5 second transition effect to slide in the sidenav */
	list-style: none;
	text-decoration: none;
	position: fixed;
	opacity: 85%;

}

.openbtn {
	border: 1px solid white;
	background: none;
	width: 50px;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	color: white;
	position: fixed;
	z-index: 1;
	outline: none;
	font-size: 40px;
	/* margin-bottom: 25px; */
	height: 50px;
	left: 0;
	margin: 25px;
	padding: 0;
}

/* The navigation menu links */
.sidenav a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 25px;
	color: #818181;
	display: block;
	transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
	color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}

.sidenav ul a {
	display: block;
	height: 100%;
	width: 100%;
	line-height: 65px;
	font-size: 20px;
	color: white;
	text-align: center;
	box-sizing: border-box;
	border-bottom: 1px solid black;
	border-top: 1px solid rgba(255, 255, 255, .1);
	transition: .4s;
}

.sidenav header {
	font-size: 22px;
	color: white;
	line-height: 70px;
	text-align: center;
	background: #063146;
	user-select: none;
	width: 100%;
	position: absolute;
	top: 0;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
	transition: margin-left .5s;
	padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
	.sidenav {
		padding-top: 15px;
	}

	.sidenav a {
		font-size: 18px;
	}
}


/*  Books
----------------------------------------------- */

.js #accueil,
.js #accueil h1,
.js h2,
.js nav,
.js #bio {
	opacity: 0;
}

.js #accueil h1 {
	transform: translateY(.2em);
	-webkit-transform: translateY(.2em);
	-moz-transform: translateY(.2em);
	-ms-transform: translateY(.2em);
	-o-transform: translateY(.2em);
	animation: slide-in .6s ease forwards;
	-webkit-animation: slide-in .6s ease forwards;
	-moz-animation: slide-in .6s ease forwards;
	-ms-animation: slide-in .6s ease forwards;
	-o-animation: slide-in .6s ease forwards;
	animation-delay: .8s;
	-webkit-animation-delay: .8s;
	-moz-animation-delay: .8s;
	-ms-animation-delay: .8s;
	-o-animation-delay: .8s;
}

.js #accueil h1.loaded {
	transform: translateY(0);
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
}

#accueil {
	height: 7.5em;
	background: url(/static/images/below_decks_banner.png) center bottom no-repeat black;
	background-size: contain;
	z-index: -1;
	font-size: 5em;
	top: 0;
}

h1 {
	margin: 0;
}

section h1 {
	position: absolute;
	left: 0;
	right: 0;
	z-index: -1;
}

#logo {
	margin-top: 0.25em;
	margin-bottom: 2.5em;
	width: 80%;
	max-width: 4.8em;
}

h2 {
	font-size: 24px;
	color: #fff;
	font-weight: normal;
	font-style: normal;
	letter-spacing: 0.2em;
	margin-top: -2em;
}

h2.bookheader {
	font-size: 32px;
	color: rgb(0, 95, 201);
	font-weight: bold;
	font-style: normal;
	letter-spacing: 0.2em;
	margin-top: 0em;
}

a.linkbutton {
	border: 1px solid #005fc9;
	background: none;
	padding: 0.5em 1em;
	width: 18em;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	color: #005fc9;
	position: relative;
	z-index: 1;
	outline: none;
	font-size: 1.2em;
	margin-bottom: 25px;
}

/*  Bio
----------------------------------------------- */

#bio,
#biblio,
#presse,
#contact {
	padding-top: 3.8em;
}

#bio p,
#contact p {
	font-size: 1.5em;
	width: 80%;
	max-width: 35em;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
}

#shortbio,
#books {
	margin-bottom: 1.7em;
}

button,
.button {
	border: 1px solid #005fc9;
	background: none;
	padding: 0.5em 1em;
	width: 18em;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	color: #005fc9;
	position: relative;
	z-index: 1;
	outline: none;
	font-size: 1.2em;
	margin-bottom: 25px;
}

.no-touch button:hover {
	color: #fff;
}

.no-touch button:after {
	content: '';
	position: absolute;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	width: 100%;
	height: 0;
	top: 0;
	left: 0;
	background: #005fc9;
	color: #dedec9;
	z-index: -1;
}

#showpress {
	border: 1px solid #cfb447;
	color: #cfb447;
}

.no-touch #showpress:hover {
	color: #fff;
}

.no-touch #showpress:after {
	background: #cfb447;
	color: #dedec9;
}

.no-touch button.flip:after {
	top: inherit;
	bottom: 0;
}

.no-touch button:hover:after,
.no-touch button:active:after {
	height: 100%;
}

.no-js button {
	display: none;
}

.no-js #fullbio,
.no-js #fullbiblio,
.no-js #fullpress {
	background-color: #eaeced;
	padding: 3em 0 3.8em;
	display: block;
}

#fullbio,
#fullbiblio,
#fullpress {
	background-color: #eaeced;
	padding: 3em 0 3.8em;
	display: none;
}

.no-js #fullpress,
#fullpress {
	background-color: #fff;
	padding: 3em 0 0;
}

#showpress {
	margin-top: 1.5em;
}

/*  Biblio
----------------------------------------------- */

figure {
	display: inline-block;
	vertical-align: middle;
	margin: 0.95em;
}

#biblio a,
#biblio a:hover,
#biblio a:active,
#biblio a:visited {
	color: #005fc9;
}

.no-touch #biblio a figure:before {
	content: '';
	background: url(/web/20140819174820im_/http://leymarie.net/img/assets/buy.svg) center center no-repeat rgba(12, 98, 198, 0.9);
	background-size: 2em;
	width: 100%;
	height: 100%;
	opacity: 0;
	position: absolute;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
}

.no-svg #biblio a figure:before {
	background: url(/web/20140819174820im_/http://leymarie.net/img/assets/buy.png) center center no-repeat rgba(12, 98, 198, 0.9);
}

.no-touch #biblio a:hover figure:before {
	background-size: 5em;
	opacity: 1;
}

figcaption {
	font-size: 0.9em;
}

.no-touch .visible {
	transform: translateY(150px);
	-webkit-transform: translateY(150px);
	-moz-transform: translateY(150px);
	-ms-transform: translateY(150px);
	-o-transform: translateY(150px);
	animation: slide-in 0.8s ease forwards;
	-webkit-animation: slide-in 0.8s ease forwards;
	-moz-animation: slide-in 0.8s ease forwards;
	-ms-animation: slide-in 0.8s ease forwards;
	-o-animation: slide-in 0.8s ease forwards;
}

.no-touch .visible:nth-child(odd) {
	animation-duration: 0.6s;
	-webkit-animation-duration: 0.6s;
	-moz-animation-duration: 0.6s;
	-ms-animation-duration: 0.6s;
	-o-animation-duration: 0.6s;
}

.no-touch .already-visible,
.touch figure {
	transform: translateY(0);
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	animation: none;
	-webkit-animation: none;
	-moz-animation: none;
	-ms-animation: none;
	-o-animation: none;
	opacity: 1;
}

@keyframes slide-in {
	to {
		transform: translateY(0);
	}
}

@-webkit-keyframes slide-in {
	to {
		-webkit-transform: translateY(0);
	}
}

@-moz-keyframes slide-in {
	to {
		-moz-transform: translateY(0);
	}
}

@-o-keyframes slide-in {
	to {
		-o-transform: translateY(0);
	}
}

#fullbiblio ul {
	list-style: none;
	padding: 0;
}

#fullbiblio li,
#fullbiblio p {
	font-size: 1.5em;
}

/*  Presse
----------------------------------------------- */

#presse {
	padding-bottom: 3.8em;
}

blockquote {
	color: #cfb447;
	background-image: url(/web/20140819174820im_/http://leymarie.net/img/assets/laurierLeft.svg), url(/web/20140819174820im_/http://leymarie.net/img/assets/laurierRight.svg);
	background-position: left center, right center;
	background-repeat: no-repeat;
	background-size: contain;
	padding-right: 3em;
	padding-left: 3em;
	font-style: italic;
	margin-right: 1em;
	margin-left: 1em;
	min-height: 5.7em;
	display: inline-block;
	vertical-align: middle;
}

.no-svg blockquote {
	background-image: url(/web/20140819174820im_/http://leymarie.net/img/assets/laurierLeft.png), url(/web/20140819174820im_/http://leymarie.net/img/assets/laurierRight.png);
}

blockquote p {
	font-size: 1.5em;
	margin: 0.25em 0;
	line-height: 1.2em;
}

.onelinequote p {
	margin-top: 0.4em;
}

.longquote {
	max-width: 60%;
	background-position: left top, right bottom;
	background-size: auto 6em;
	text-align: justify;
}

small {
	font-size: 1em;
}

cite {
	font-style: normal;
}

/*  Contact
----------------------------------------------- */

.no-js #contact {
	padding: 20em 0;
}

#contact {
	background: url(/web/20140819174820im_/http://leymarie.net/img/assets/musiciens.jpg) no-repeat #005fc9;
	background-size: cover;
	color: #fff;
}

#contact .button {
	border-color: #fff;
	color: #fff;
	font-size: 1.5em;
	text-decoration: none;
	width: inherit;
	margin: 0.5em;
}

.no-touch #contact .button:hover {
	color: #005fc9;
}

.no-touch .button:after {
	content: '';
	position: absolute;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	width: 0;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	background: #fff;
	color: #fff;
	z-index: -6;
}

.no-touch .button:hover:after,
.no-touch .button:active:after {
	width: 100%;
}

footer,
footer a {
	width: 100%;
	background-color: #043f84;
	z-index: 1;
	position: relative;
	color: #5e90c9;
	padding-top: 2em;
	padding-bottom: 2em;
}

footer a:hover {
	text-decoration: underline;
}

/*  Media Queries
----------------------------------------------- */

@media only screen and (max-width: 48em) {
	body {
		font-size: 14px;
	}

	#accueil {
		height: 6.5em;
	}

	h2 {
		margin-top: -3em;
	}

	#logo {
		margin-top: 0.74em;
	}

	.longquote {
		max-width: 80%;
	}
}

@media only screen and (max-width: 38em) {
	body {
		font-size: 13px;
	}

	#accueil {
		height: 5.5em;
	}

	#logo {
		margin-top: 0.62em;
	}
}

@media only screen and (max-width: 28em) {
	body {
		font-size: 10px;
	}

	nav {
		font-size: 12px;
	}

	#accueil {
		height: 4.5em;
	}

	#logo {
		margin-top: 0.54em;
	}

	figure img {
		width: 80%;
		height: auto;
	}
}