@charset "utf-8";
/* CSS Document */

/*@font-face {
    font-family: JaneAusten;
    src: url(../font/JaneAust.ttf);
}
@font-face{
	font-family: GeosansLight;
	src: url(../font/GeosansLight.ttf);
}*/

html {display: flex; flex-direction: column;} /* IE fix */
body {
  display: flex; /* crée un contexte flex pour ses enfants */
  flex-direction: column; /* affichage vertical */
  min-height: 100vh; /* toute la hauteur du viewport (compatible IE9+) */
}
.wrapper {
  display: block; /* IE fix */
  flex: 1; /* occupe la hauteur restante */
  display: flex; /* crée un contexte flex pour ses enfants */
  flex-direction: row; /* affichage horizontal */
}
nav {
  /*width: 15em;*/
}
main {
	display: block; /* IE fix */
  flex: 1; /* occupe la largeur restante */
}

@media (max-width: 640px) {
	.wrapper {
    flex-direction: column;
  }
  nav {
    width: auto;
    order: 1;
  }
}

body {
	background: url(../images/header.jpg) no-repeat 0% 0% #000;
	font-family: 'Alegreya Sans', sans-serif;
	margin: 0;
	padding: 0; /* Remettre à zéro si nécessaire. */
	font-size: 1em; /* À adapter pour la police choisie. (3) */
	line-height: 1.4; /* À adapter au design. (4) */
	/*color: #66998b;*/
	/*color: /*#518F7C*/ /*rgb(62, 146, 150);*/
	color: #33A599;
}
header, footer{
	/*display: block;*/
	/*width: 900px;*/
	margin: 30px auto;
	padding: 0;
}
main{
	padding: 0;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 .5em 0; /* Rapproche le titre du texte. (5) */
  line-height: 1.2;
  /*font-weight: 700; /* Valeur par défaut. (6) */
	font-weight: 500;
  font-style: normal;
}
h1, h2 {text-align:center;}
h1 {
	/*font-family: 'Quattrocento', serif;*/
	font-size: 3em;
}
h2 { font-size: 1.4em;}
h3 { font-size: 1.2em;}
h4 { font-size: 1em;}

/* Listes */
ul, ol {
  margin: .75em 0 .75em 32px;
  padding: 0;
}
li/*, p*/ {
	font-size: 1.05em
}

/* Paragraphes */
p {
	/*font-family: GeosansLight;*/
	font-style: inherit;
	text-align: justify;
	margin: .75em 0; /* Marges plus faibles que par défaut. (7) */
}

a{
	color: #B3D3C9;
    text-decoration: none;
}
a:focus, a:hover{
    text-decoration: underline;
}

address {
	margin: .75em 0;
	font-style: normal;
}



.l-grid{
	margin:0;
	padding:0;
}
.l-block{ display: block;}
.l-inline-block{ display: inline-block;}
.l-left{ float: left;}
.l-right{ float: right;}
.clear{
	clear:both;
}
.is-left{ text-align: left;}
.is-center{ text-align: center;}

.color-blue{
	/*color: #66998b;*/
	color: /*#518F7C*/ rgb(62, 146, 150);
}
.container {
	max-width: 900px;
	margin: auto;
	padding: 0 30px;
}


header{
	margin-top: 0;
    padding: 10px 0 0;
    width: 100%;
}
header div{
	/*max-width: 900px;
    position: relative;
	margin: auto;*/
	display: flex; /* crée un contexte flex pour ses enfants */
  flex-direction: row; /* affichage horizontal */
	flex-wrap: wrap;
	flex-flow: row wrap;
	justify-content: space-between;
}


header h1 {
    /*font-family: JaneAusten;*/
		font-family: 'Parisienne', cursive;
    color: #000000;
    display: inline-block;
    font-size: 2.5em;
    line-height: 0.9;
    margin: 0 0 15px 0;
    text-align: left;
    text-shadow: 2px 0 0.3em rgba(0,0,0,0.8), 0 2px 0.3em rgba(0,0,0,0.8), -2px 2px 0.3em rgba(0,0,0,0.8), 2px -2px 0.3em rgba(0,0,0,0.8);
}

header h1 span{
    font-family: 'Alegreya Sans',sans-serif;
    font-size: 45%;
    font-weight: 400;
    margin-top: 5px;
    text-shadow: 2px 0 0.2em rgba(0,0,0,0.8), 0 2px 0.2em rgba(0,0,0,0.8), -2px 2px 0.2em rgba(0,0,0,0.8), 2px -2px 0.2em rgba(0,0,0,0.8);
}
header h1 a, header h1 a:hover, header h1 a:focus{
	text-decoration: none;
	color: #ffffff;
	/*color: #66998b;*/
	font-weight:700;
}

article h1{ font-size: 1.8em;}

/*MENU*/
nav{
	/*border-top: solid 1px rgba(221, 92, 17, 0.2);
	border-bottom: solid 1px rgba(221, 92, 17, 0.2);*/
	/*display: inline-block;*/
    padding: 5px 5px 0;
    /*position: absolute;*/
    /*right: 0;*/
}
nav ul{
	font-size: 1.3em;
	margin: 0 auto;
	/*width: 540px;*/
}
nav ul ul{ width: 100%;}
nav ul li{
    font-family: 'Alegreya Sans',sans-serif;
	font-size: 1em;
	display: inline-block;
	margin: 0 10px;
	vertical-align: top;
	text-align: center;
}
nav ul li a{
	text-decoration: none;
	/*color: #66998b;*/
	/*color: /*#518F7C*/ /*rgb(62, 146, 150);*/
	color: #33A599;
	text-shadow: 2px 0 0.3em rgba(0,0,0,0.8), 0 2px 0.3em rgba(0,0,0,0.8), -2px 2px 0.3em rgba(0,0,0,0.8), 2px -2px 0.3em rgba(0,0,0,0.8);
}
nav ul li li{
	/*display:block;*/
	display:none;
	font-size: 0.7em;
}
nav ul li:hover li, nav ul li:focus li{
	display: block;
}
nav ul li a:hover, nav ul li a:focus{
	color: #B3D3C9;
	cursor: pointer;
	text-decoration: none;
}

.portrait {margin: 0px 10px 5px;}

footer{
	clear:both;
}
footer p{
	font-size: 0.7em;
	text-align: center;
	color: rgba(102, 153, 139, 0.5);
}

.plus{ font-size: 0.8em;}

/* galerie */
#oeuvres section ul{
	display: block;
	/*width: 30%;
	/*float: left;*/
	/*background: #222;
	border: solid 1px #fff;*/
	margin:0;
}
/*#oeuvres ul li{
	display: inline-block;
    height: 265px;
    margin: 0 20px 20px 0;
    width: 258px;
	text-align: center;

}*/
#oeuvres section li{
	display: inline-block;
    height: 150px;
    margin: 0 -2px -6px;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 150px;
}
#oeuvres section li a {
	display: block;
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	left: 0;
  margin: -75%;
  position: absolute;
  top: 0;
	color: #FFF;
	text-decoration: none;
	opacity: 0;
	transition: opacity 0.4s ease;
}
#oeuvres section li a:hover, #oeuvres section li a:focus, #oeuvres section li a:active {
	opacity: 1;
}
#oeuvres section li a img{
	display: block;
	margin: auto;
	width: 260px;
	height: auto;
}
#oeuvres section {
	display: flex; /* crée un contexte flex pour ses enfants */
  flex-direction: row; /* affichage horizontal */
	flex-wrap: wrap;
	flex-flow: row wrap;
}
#oeuvres article {
	/*display: inline-block;*/
    height: 181px;
    /*margin: 0 -4px -6px 0;*/
    overflow: hidden;
    position: relative;
    text-align: center;
    /*width: 181px;*/
		width: 20%;
}
#oeuvres article img {
	/*left: 50%;*/
    margin: -75%;
    /*position: absolute;*/
    /*top: 50%;*/
	/*width: 320px;*/
	width: 150%;
	height:auto;
}
#oeuvres article div{
	background-color: rgba(62, 146, 150, 0.8);
	display:block;
	left: 0;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
	opacity:0;
	-webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}
#oeuvres article div:hover, #oeuvres article div:focus, #oeuvres article div:active {
	opacity: 1;
}
#oeuvres article div h2{ font-size: 1em;}
#oeuvres article a{
	display: block;
	padding: 10px;
	color: #ffffff;
}
#oeuvres article a:hover, #oeuvres article a:focus{ text-decoration: none;}

#oeuvres article div:hover, #oeuvres article div:focus{
	opacity:1
}
