﻿/* ----------------------------- */
/*  =     Styles de base         */
/* ----------------------------- */

/* Page */ 
html { 
  font-size: 100%;
} 
body { 
  margin: 0; 
  padding: 0; 
  font-family: Arial, Helvetica, FreeSans, sans-serif;
  font-size: 0.8em;
  line-height: 1.4;
  background: #CC9; 
} 

/* Liens */ 
a { 
  text-decoration: none; 
} 
a:link { 
  color: #fff; 
} 
a:visited { 
  color: #046380; 
} 
a:hover, a:focus, a:active { 
  text-decoration: underline;
} 

/* Pas de bordure pointillée ou halo lors du clic sur un lien */ 
a:focus, a:active { 
  outline: none; 
} 

/* Pas de bordure autour des images dans les liens */ 
a img { 
  border: none; 
} 
 
/* Titres */ 
h1 { 
  display: inline-block;
  margin-top: 0;
  font-family: "NewRegular", "Lucida Grande",Tahoma, "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
  font-weight: normal;
  font-size: 80px; 
  text-align: right;
  line-height: 0.8;
  color: white;
  text-shadow: 0px 0px 5px #fff; 
} 
h1 span { 
  display: block;
  font-weight: normal;
  font-size: 50px; 
  color: black;
  text-shadow: 0px 0px 5px #666; 
} 
h1 a, h1 a:visited {
  color: white;
  text-decoration: none;
}
h1 a:hover, h1 a:focus {
  text-decoration: none;
  outline: none;
  text-shadow: 0px 0px 15px #fff; 
}

h2 { 
  font-size: 1.2em; 
} 
 
/* Listes */ 
ul, ol { 
  margin: .75em 0 .75em 10px; 
  padding: 0; 
  list-style-type: none;
} 
li {
  padding-left: 20px;
  background: url(img/puce.png) left center no-repeat;
  margin-bottom: 5px;
}
 
/* Paragraphes */ 
p { 
  margin: .75em 0;
} 
 

 
/* Divers éléments de type en-ligne (8) */ 
em { 
  font-style: italic; 
} 
strong { 
  font-weight: bold; 
} 

/* ----------------------------- */
/*  =     Blocs                  */
/* ----------------------------- */

header, nav, footer, figure, section {
  display: block;
}

#wrapper {  


}

/* Header */ 

header {
  position: relative;
  border-bottom: 1px solid #7394A0;
}

header nav {
  position: absolute;
  right: 0;
  bottom: 15px;
  font: 1.6em "NewRegular", "Lucida Grande",Tahoma, "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
}
header nav a {
  position: relative;
  color: black;
  text-decoration: none;
  padding: 6px 12px;
}
header nav a:hover, header nav a:focus {
  text-decoration: none;
  background-color: rgba(255,255,255,0.1);
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

header nav a[href^="http:"]:hover {
  background-image: url(img/arrow.png);
  background-position: 95% 3px;
  background-repeat: no-repeat;

}

/* Content */ 

#content {
  width: 960px;
  margin: 0 auto;
  padding-top: 20px;
}

#content p#presentation {
  clear: both;
  font-size: 1.2em;
}
#content section {
  width: 600px;
  margin-top: 30px;
}
section a {
  padding: 1px 5px;
  background-color: #3B6C7E;
}
section a:hover, section a:focus {
  text-decoration: none;
  background-color: #2a5b6d;
}
section a[href^="http:"] { 
  padding-right: 12px;
  background-image: url(img/arrow-text.png);
  background-position: right center;
  background-repeat: no-repeat; 
}

#content section.presentation, #content section.contact {
  padding: 5px 15px;
}
#content section h2 {
  margin: 10px 0 5px 0;
  padding: 0;
}

#content section.presentation h2, #content section.contact h2 {
  display: inline-block;
  font-family: "NewRegular", "Lucida Grande",Tahoma, "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
  padding: 5px 15px;
  background: rgba(255,255,255,0.2);
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px; 
}

#titre {
    color       : #990000;
    font-size   : 14px;
    font-family : Verdana, Arial, Helvetica;
    font-weight : bold;
    font-align  : center
}

#content figure {
	display:inline-block;
	position: relative;
	vertical-align:top;
	width:210px;
	height:168px;
	background:rgba(255,255,255,0.2);
	border:12px solid rgba(255,255,255,0.2);
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	-moz-box-shadow:1px 1px 13px #999;
	-webkit-box-shadow:1px 1px 13px #999;
	box-shadow:1px 1px 13px #999;
	margin:0 40px 40px 0
}
#content figure a {
  text-decoration: none;
  padding: 0;
}
#content figure a[href^="http:"]:after { 
content: ""; 
}
#content figure h2 {
	position: absolute;
	top: -27px;
	display:block;
	margin:0;
	padding:0;
	font-size:19px;
	color:#fff;
	font-family:"NewRegular", "Lucida Grande",Tahoma, "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
	text-shadow:0 0 10px #000;
	opacity:0.7;
}
#content figure:hover, #content figure:focus {
  border: 12px solid rgba(255,255,255,0.4);
}
#content figure:hover h2, #content figure:focus h2 {
  opacity: 0.9;
}

#content p.contact {
  margin-top: 20px;
}
#content p.contact img {
  float: left;
  margin-right: 20px;
}
#content p.livres img {
  float: right;
  margin-left: 20px;
}


div#description
{
	margin-top: 20px;	
	float:right;
	width:405px;
	height:400px;
}



/* Footer */ 

footer {
  clear: both;
  width: 925px;
  margin: 20px auto;
  padding-right: 0px;
}
footer nav {
  float: right;
  margin-bottom: 70px;
}
footer nav a {
  display: inline-block;
  vertical-align: top;
  height: 65px;
  line-height: 65px;
  margin-left: 5px;
  padding: 0 10px;
  background: rgba(255,255,255,0.1);
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}
footer nav a img {
  vertical-align: middle;
}

footer nav a:hover, footer nav a:focus {
  -moz-transform: rotate(8deg); 
  -webkit-transform: rotate(8deg);
}
footer #alsacreations {
  clear: both;
  float: right;
}
footer #alsacreations a {
  display: block;
  margin-bottom: 15px;
}
footer #alsacreations img {
	-moz-transform: rotate(0deg); 
  -webkit-transform: rotate(0deg);
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  transition: all .5s;
}
footer #alsacreations img:hover, footer #alsacreations img:focus {
  -moz-transform: rotate(5deg); 
  -webkit-transform: rotate(5deg);
}

/* ----------------------------- */
/*  =     Web mobile             */
/* ----------------------------- */

@media only screen and (max-device-width:480px) {
    html {-webkit-text-size-adjust: 150% !important;}
    #wrapper { background: black !important; }
    body {font-size:1em !important;}
    h1 span {color:#fff!important;}
    header nav {position:static!important; font-size:2em!important;}
    header nav a {padding:10px 20px!important;}
    #content {height: auto!important;width: auto!important;}
    #content section {width:auto!important;margin: 70px 0!important;}
    #content figure {margin:0 10px 10px 0!important; border: 0!important;}
}

@media only screen and (max-device-width:640px), only screen and (max-width:640px) {
	#wrapper, #content, #content section, #content figure, footer {
  	width: auto !important;
	}
	img,table,td,blockquote,object,embed,video,input,code,pre,textarea {
	max-width:80% !important
	}	
	code,pre,textarea {
	word-wrap:break-word!important;
	white-space: pre-wrap!important;
	}
	body {
		background:none!important;
		background-color:#CC9!important;
		padding: 0 10px;
		font-size: 80%!important;
	}
	#wrapper {
		background:none!important;
		background-color:#CC9!important;
	}
	#content {
		height: auto!important;
	}
	#content section {
		margin-top: 30px!important;
	}
	#content p#presentation {font-size: 1em!important; margin-bottom:0;}
	#content section h2 {margin:0!important;}
	#content section a {background:none!important;background-color:#000!important;}
	h1 {font-size: 2em!important;}
	h1 span {color:#fff!important;text-shadow:0 0 15px #FFFFFF;}
    header nav {position:static!important; font-size:1em!important;}
    header nav a {display:inline-block;padding:10px!important; margin-bottom: 2px!important;}
    #content {height: auto!important;width: auto!important;}
    #content section {width:auto!important;}
    #content figure {margin:0 10px 10px 0!important; border: 0!important; width:130px!important; height:auto!important; -moz-box-shadow:1px 1px 13px #fff;-webkit-box-shadow:1px 1px 13px #fff;}
	#content figure h2 {position: static!important;font-size: 1em!important; margin-left: 4px!important; color: #fff!important}
	#content figure a {color: #fff!important}
}
@media only screen and (max-device-width:640px) and (orientation:landscape)  {
	body {
	-webkit-text-size-adjust: 90% !important;
	}
}

