@charset "iso-8859-1";

/* ----------------------------------------------------------------------
	REGLES PAR DEFAUT
------------------------------------------------------------------- */

html, body
{
	 min-height: 100%;
}

body
{
	width:100%;
	position: absolute;
	margin : 0;
	padding : 0;
	background-color:#180900;
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-position: center;
}

body.noScroll
{
	height: 100%;
	overflow: hidden;
}

*
{
	box-sizing: border-box;	
}

#central
{
	width: 100%;
}

#central_accueil,
#central_livres,
#central_contact
{
	padding-top: 20px;
	position:relative;
	max-width:100%;
	width:calc(100vw - 350px);
	margin:auto;
}

#central_contact
{
	max-width:calc(100vw - 350px);
	width:960px;
}

@media screen and (max-width: 900px) 
{
	#central
	{
		margin-top: 50px;
	}
	
	#central_accueil,
	#central_livres,
	#central_contact
	{
		width:calc(100vw - 20px);
		max-width: 100%;
	}

}


#javascript
{
	position:fixed;
	top:0;
	width: 100%;
	background-color: #000;
	color: #fff;
	z-index: 9999;
	padding: 10px;
}

.clearboth
{
	display: block;
	position: relative;
	clear: both;
}

/* ----------------------------------------------------------------------
	                        POLICE
------------------------------------------------------------------- */

@font-face{
  font-family:'exo-regular';
  src:url('/images/fonts/exo-regular.eot'); /* pour IE */
}
@font-face{
  font-family:'exo-regular';
  src:url('/images/fonts/exo-regular.ttf') format('truetype'); /* autres navigateurs */
}

@font-face {
    font-family: "Myriad";
    src: url("/images/fonts/MyriadPro-LightSemiCn.otf");
	font-weight: normal;
	font-style: none;
}
@font-face {
    font-family: "Myriad";
    src: url("/images/fonts/Myriad Pro Semibold SemiCondensed.otf");
    font-weight: bold;
	font-style: none;
}
/*@font-face {
    font-family: "Myriad";
    src: url("/images/fonts/MyriadPro-LightSemiCnIt.otf");
    font-weight: normal;
	font-style: italic, oblique;
}
@font-face {
    font-family: "Myriad";
    src: url("/images/fonts/Myriad Pro Semibold SemiCondensed Italic.otf");
    font-style: italic, oblique;
	font-weight: bold;
}*/

@font-face{
  font-family:'bodonimoda';
  src:url('/images/fonts/BodoniModa_18pt-Bold.ttf') format('truetype'); /* autres navigateurs */
}

body
{
	font-family:arial, sans-serif; 	
	font-size : 9pt;
	color: #e1d9c9;
}

.intro_accueil
{
	font-family:"Myriad", Arial, Helvetica, sans-serif;
	font-size: 18pt;
	margin: 18px 0 0 0;
	line-height: 30px;
}

h1
{
	color: white;
	font-family:"bodonimoda", Georgia, serif;
	text-transform: uppercase;
	margin-top: 80px;
	text-align:center;
	font-size: 24pt;
	color: #FFF;
	font-weight: normal;
	font-size:4em;
}

h1:before,
h1:after
{
	content: " ";
	display: inline-block;
	width: 30px;
	height: 30px;
	background-image: url(/images/etoile.png);
	background-size:contain;
}

h1:before
{
	margin-right: 20px;
}

h1:after
{
	margin-left: 20px;
}

a
{
	color: #ad946f;
}

a:hover
{
	text-decoration: underline;
}


p
{
	margin : 0 0 10px 0;
}

table
{
	border: 0px;
	border-style: none;
}

a
{
	text-decoration: none;
}

/* ----------------------------------------------------------------------
	                        COLONNES
------------------------------------------------------------------- */

.col-container
{
	width: 100%;
}

.col-container:after
{
	width: 100%;
	content: " ";
	display: block;
	clear:both;
}

.col-1,
.col-2,
.col-3,
.col-60,
.col-40
{
	padding: 5px;
	float:left;
}

.col-3
{
	
	width: calc(100%/3);
}

.col-2
{
	width: 50%;
}

.col-1
{
	width: 100%;
}

.col-60
{
	width: 60%;
}

.col-40
{
	width: 40%;
}

@media screen and (max-width: 900px) 
{
	.col-1,
	.col-2,
	.col-3,
	.col-40,
	.col-60
	{
		width: 100%;
	}
}

/* -------------------------------------------------------------------
							ACCUEIL
------------------------------------------------------------------- */

.presentation
{
	background-image: url("/images/img_accueil.jpg");
	background-size: cover;
	background-position: bottom left;
	background-attachment:fixed;
	min-height: calc(100vh + 150px);
	position: relative;
}

#central_accueil
{
	padding-top: 20px;
	position: absolute;
	max-width: 100%;
	width: calc(100vw - 350px);
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}


@media screen and (max-width: 900px) and (min-width: 501px) 
{
	#central_accueil
	{
		width: calc(100% - 120px);
	}
}

@media screen and (max-width: 500px) 
{
	#central_accueil
	{
		width: calc(100% - 40px);
	}
}


.colonne_accueil
{
	margin-top: 10px;
	text-align: center;	
}

.photo_accueil
{
	width: 350px;
	max-width: calc(100% - 40px);
	text-align: center;
	display: block;
	margin: auto;
	margin-bottom: 40px;
}

@media screen and (max-width: 900px) 
{
	.photo_accueil
	{
		margin-bottom: 20px;
	}
}

.titre_accueil
{
	max-width:calc(100% - 20px);
	width: 600px;
}

.intro_accueil
{
	max-width: 400px;
	margin: auto;
	margin-top: 30px;
}


.intro_accueil a:hover
{
	text-decoration: underline;
}

.reseau
{
	width: 40px;
	height: 40px;
	background-size:35px 35px;
	background-repeat:no-repeat;
	background-position: center;
	cursor:pointer;
	margin:auto;
	margin-top: 20px;
	display: inline-block;
	
	-webkit-transition: all .15s linear;
	-moz-transition: all .15s linear;
	-ms-transition: all .15s linear;
	-o-transition: all .15s linear;
	transition: all .15s linear;
}

.reseau a
{
	width: 100%;
	height: 100%;
	display: block;
}

.reseau:hover
{
	background-size: 40px 40px;
}

.reseau:nth-child(n+1)
{
	margin-left: 15px;
}

/* -------------------------------------------------------------------
							GALERIE
------------------------------------------------------------------- */

.galerie_bloc_image,
#central_livres
{
	-webkit-transition: all .15s linear;
	-moz-transition: all .15s linear;
	-ms-transition: all .15s linear;
	-o-transition: all .15s linear;
	transition: all .15s linear;
}

#tree
{
	width:100%;
	min-height: calc(100vh - 150px);
	position: relative;
}

#tree:before
{
	content: " ";
	display: block;
	position: absolute;
	height: 200px;
	width: 100%;
	background-image: url("/images/bg_transition_top.png");
	background-size: contain;
	background-position: bottom center;
	background-repeat: repeat-x;
	top: -200px;
}



#central_livres
{
	padding-bottom: 150px;
}

#tree:after
{
	content: " ";
	display: block;
	position: absolute;
	height: 200px;
	width: 100%;
	background-image: url("/images/bg_transition_bottom.png");
	background-size: contain;
	background-position: top center;
	background-repeat: repeat-x;
	bottom: -200px;
}

/* PROJETS */
/* ------- */

.projet_couverture
{
	width: 800px;
	max-width: calc(100% - 30px);
	position: relative;
	margin: auto;
	margin-top: 80px;
	margin-bottom: 30px;
}

.projet_image
{
	position: relative;
	float: left;
	width: 50%;
	cursor: pointer;
}

@media screen and (max-width: 550px) 
{
	.projet_image
	{
		float: none;
		width: 100%;
	}
}

.projet_image img
{
	width: 100%;
}

.projet_description
{
	padding: 0 25px;
	text-align: center;
}

.projet_image + .projet_description
{
	position: absolute;
	width: 50%;
	margin-left: 50%;
	text-align: left;
}

@media screen and (max-width: 550px) 
{
	.projet_image + .projet_description
	{
		width: 100%;
		margin-left:0;
		position: relative;
		padding: 0;
		padding-top: 30px;
		text-align:center;
	}
}

.projet_couverture:after
{
	content: " ";
	display: block;
	clear: both;
}

.projet_couverture h2
{
	font-family: "eualonira", Georgia, serif;
	font-size: 1.9em;
	margin-top: 0;
	color: #ad946f;
	text-transform: uppercase;
	font-weight: normal;
	margin-bottom: 5px;
}

.projet_couverture .txt_description
{
	font-family:"Myriad", Arial, Helvetica, sans-serif;
	font-size: 1.5em;
	line-height: 1.6em;
}

.projet_couverture .txt_details
{
	font-family:"Myriad", Arial, Helvetica, sans-serif;
	text-transform: italic;
	opacity:0.8;
	margin-bottom: 20px;
}

.projet_couverture .txt_bouton
{
	font-family:"Myriad", Arial, Helvetica, sans-serif;
	background-color: #ad946f;
	color: white;
	padding: 7px 20px;
	margin-top: 10px;
	display: inline-block;
	text-transform: uppercase;
}

.projet_couverture .txt_bouton:hover
{
	text-decoration: none;
	background-color: #dbbe94;
}

/* GALERIE */
/* ------- */

.image_cliquable img
{
	pointer-events: none;
}

.galerie_bloc_image
{
	display: inline-block;
	margin: 10px;
	cursor: pointer;
	position: relative;
}

@media screen and (min-width: 1301px) 
{
	/*.galerie_bloc_image:first-child
	{
		margin-left:30px;
	}

	.galerie_bloc_image:last-child
	{
		margin-right:30px;
	}*/
}

.galerie_image
{
	height: 260px;
	display: block;
}

@media screen and (max-width: 1300px) 
{
	.galerie_image
	{
		height: 180px;
		max-width: 100%;
	}
}

@media screen and (max-width: 300px) 
{
	.galerie_bloc_image
	{
		max-width: calc(100% - 20px);
	}
	
	.galerie_image
	{
		max-width: 100%;
		height: auto;
	}
	
	.galerie_bloc_image:first-child,
	.galerie_bloc_image:last-child
	{
		margin: 10px 0;
	}
}

@media screen and (min-width: 901px) 
{
	.galerie_bloc_image:hover
	{
		transform: scale(1.06,1.06);
		/*margin:10px 30px;*/
		z-index: 200;
	}

	#central_livres:has(.galerie_bloc_image:hover)
	{
		/*width:calc(100vw - 310px);*/
	}

}

.bloc_galerie
{
	width:100%;
	height: 100%;
	position: relative;
	text-align:center;
}

.bloc_galerie:last-child
{
	margin-bottom:0;
}

.bloc_galerie .modale_image
{
	width: calc(100vw - 60px);
	height: calc(100vh - 60px);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}



/* -------------------------------------------------------------------
							MENUS
------------------------------------------------------------------- */

#menu
{
	position:fixed;
	left:0;
	top: 50px;
	width:120px;
	text-align: left;
	z-index: 200;
}

#menu .logo
{
	width: 100px;
	margin-bottom: 0;
	max-width: 100%;
}

.menu
{
	margin-top: 10px;
	padding:5px;
	padding-left: 25px;
	font-family:"Myriad", Arial, Helvetica, sans-serif;
	font-size: 13pt;
	color: #ad946f;
}

.menu:hover
{
	color: white;
}

.menu_actif
{
	color:#FFF;
	background-color: #ad946f;
}

@media screen and (max-width: 900px) 
{
	#menu
	{
		right:0;
		top: 0;
		width:100%;
		text-align: center;
		z-index: 9999;
		position: fixed;
		background-color: #ad946f;
		padding: 10px;
		box-shadow: 0px 0px 4px #384a3f;
		
		white-space: nowrap;
		overflow-y: scroll;		
	}
	
	#menu .menu,
	#menu .menu_logo
	{
		display: inline-block;
		position: relative;
		vertical-align: middle;
		width: auto;
	}
	
	#menu .logo
	{
		height: calc(1em + 15px);
		width: auto;
		margin-bottom:0;
	}
	
	#menu .menu_logo
	{
		margin-right: 5px;
	}
	
	.menu
	{
		margin: 0 5px;
		padding: 5px 15px;
		background-color: #ad946f;
		color: black;
	}
}

@media screen and (max-width: 550px) 
{
	.menu
	{
		font-size: 1.3em;
		padding: 3px 7px;
		margin: 0 3px;
	}
}

@media screen and (max-width: 400px) 
{
	.menu
	{
		font-size: 1em;
		padding: 3px 4px;
		margin: 0 3px;
	}
}

/* -------------------------------------------------------------------
							CONTACT
------------------------------------------------------------------- */

#racines
{
	width:100%;
	background-position: top center;
	background-image: url("/images/img_accueil.jpg");
	padding-top: 250px;
	box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
}

#racines h1
{
	margin-bottom: 30px;
}

@media screen and (max-width: 1080px) 
{
	#racines h1
	{
		margin-top: 0;
	}
}

#footer
{
	color: white;
	font-size: 8pt;
	padding-top: 20px;
	padding-bottom: 15px;
	text-align: center;
	margin-top: 60px;
}

#footer a
{
	color: #ad946f;
	font-weight: bold;
}

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

#footer p
{
	margin-bottom: 3px;
}


#resultat
{
	color: #fff;
	text-align: center;
	font-family:"Myriad", Arial, Helvetica, sans-serif;
	font-size: 13pt;
}

input, textarea, .mail_wait, select, .btn_supprimer
{
	font-size: 11pt;
	border: none;
	font-family: arial,geneva,helvetica,sans-serif;
}

input[type=text], input[type=password], textarea
{
	padding: 10px;
	width: 100%;
	background-color: #c7bba5;
	color: #180900;
	font-style: italic;
}

textarea
{
	min-height: 200px;
	font-style: italic;
}

.padding35
{
	background-repeat: no-repeat;
	background-position: 8px 8px;
	padding-left: 35px;
}

input[type=text]:focus, textarea:focus
{
	background-color: #dfd3bd;
}

input[type=submit],
.mail_wait,
.btn_supprimer
{
	padding: 7px;
	color:#FFF;
	background-color: #a38456;
	font-family:"Myriad", Arial, Helvetica, sans-serif;
	font-size: 13pt;
	cursor: pointer;
	border: none;
	float: right;
	min-width: 150px;
}

@media screen and (max-width: 900px) 
{
	#formulaire .col-2
	{
		text-align: center;
	}
	
	input[type=submit],
	.mail_wait
	{
		float: none;
	}
}

select
{
	padding: 5px;
	margin-right: 5px;
}

.mail_wait
{
	background-image:url("/images/bg_encartslight.jpg");
	cursor: wait;
	display: inline-block;
}

input[type=submit]:hover,
.btn_supprimer:hover
{
	background-color: #dbbe94;
}

::-webkit-input-placeholder {
   color: #ebe0cd;
   opacity: 1;
}

:-moz-placeholder { /* Firefox 18- */
   color: #ebe0cd;
   opacity: 1; 
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #ebe0cd;
   opacity: 1;
}

:-ms-input-placeholder {  
   color: #ebe0cd;
   opacity: 1; 
}

label
{
	color: #ebe0cd;
	display: inline-block;
}

#nospam
{
	display: inline-block;
	max-width: 100px;
	margin-left: 15px;
}

.btn_supprimer
{
	margin-left:10px;
	text-align: center;
}



/* -------------------------------------------------------------------
							EDITION
------------------------------------------------------------------- */

.sombre
{
	margin: auto;
	margin-top: 40px;
	color: #fff;
	font-size: 13pt;
	max-width: 900px;
}

.small
{
	color: #fff;
	font-size:8pt;
}

.edition_livre
{
	width: 200px;
	text-align: right;
	padding-right: 10px;
	padding-top: 10px;
	vertical-align: top;
}



/* -------------------------------------------------------------------
							MODALES
------------------------------------------------------------------- */

#modale_fond
{
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: rgba(0,0,0,0.7);
	top: 0;
	left: 0;
	z-index:300;
	opacity:0;
	pointer-events:none;
	
	-webkit-transition: all .25s linear;
	-moz-transition: all .25s linear;
	-ms-transition: all .25s linear;
	-o-transition: all .25s linear;
	transition: all .25s linear;
}

#modale_fond.visible
{
	opacity:1;
	pointer-events:all;
}

.modale_projet
{
	position: absolute;
	width: calc(100vw - 60px);
	height: calc(100vh - 60px);
	/*background-color: white;*/
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius : 12px;
	display: none;
}

.modale_projet.visible
{
	display: block;	
}

.modale_projet .close
{
	display: block;
	width: 30px;
	height: 30px;
	position: fixed;
	background-image: url("/images/croix.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	right: 0;
	top: 0;
	cursor: pointer;
	border-radius: 30px;
}
@media screen and (max-width: 900px) 
{
	.modale_projet .close
	{
		width: 20px;
		height: 20px;
		right: 30px;
		top: 80px;
	}
}

.modale_projet .close:hover
{
	background-color: #675b48;
}

@media screen and (max-width: 900px) 
{
	.modale_projet
	{
		width: calc(100vw - 40px);
		height: calc(100vh - 90px);
		max-height: none;
		top: 70px;
		left: 20px;
		transform: none;
	}
}