

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



@font-face {
	font-family: 'NewRegular';
	src: local('NewRegular'), local('HittheRoad'), url('fonts/HITROAD.ttf') format('truetype');
}


/* Page */
html {
  font-size: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Century Gothic", "Lucida Grande", "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
  font-size: 0.8em;
  line-height: 1.4;
  color: white;
  background: #86C2E0 url(img/background.jpg) left top repeat-x ;
}

/* Liens */
a {
  text-decoration: none;
}
a:link {
  color: #fff;
}
a:visited {
  color: #ddd;
}
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: 50px;
  text-align: right;
  line-height: 0.8;
  color: white;
  text-shadow: 0px 0px 5px #fff;
}
h1 span {
  display: block;
  font-weight: normal;
  font-size: 30px;
  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.5em;
}

/* 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 {
  min-height: 600px;
  background: url(img/background2.jpg) center top no-repeat;
}

/* Header */

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

header nav {
  position: absolute;
  right: 0;
  bottom: 15px;
  font: 1.3em "NewRegular", "Lucida Grande",Tahoma, "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
}
header nav a {
  position: relative;
  color: white;
  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;
  text-shadow: 0px 0px 5px #656565;
}

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

}

/* Content */

#content {
  width: 90%;
  /*height: 670px;*/
  /*height : 80%;*/
  margin: 0 auto;
  padding-top: 20px;
  min-height: 100%;
  padding-bottom: 30px;
}

#content p#presentation {
  clear: both;
  font-size: 1.0em;
}


#content section {
/* taille de la partie contenant les images du centre*/
  width: 95%;
  margin-top: 30px;
  text-align: center;
}
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;
}


#content figure {
  display: inline-block;
  vertical-align: top;
  horizontal-align: middle;
  /* taille de l'image (pour laisser la place au texte) */
  width: 210px;
  /*height: 168px;*/
  height: 200px;
  overflow: hidden;
  margin: 0 40px 40px 0;
  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;
}
#content figure a {
  text-decoration: none;
  padding: 0;
}
#content figure a[href^="http:"]:after {
content: "";
}
#content figure h2 {
  display: block;
  margin:-55px 0 0 0;
  padding: 5px 10px 10px 10px;
  opacity: 0.7;
  font-size: 1.1em;
  color:#fff;
  background-color:#000;
 background-image: url(img/arrow-text.png);
  background-position: 95% center;
  background-repeat: no-repeat;
}


#content figure:hover, #content figure:focus {
  border: 12px solid rgba(255,255,255,0.4);
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1 );
}
#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;
}

/* Footer */

footer {
  width: 100%;
  margin:  auto;
  padding-right: 0px;
  margin-right : 20px;
   background: #4071C4;
   position: relative;
   height : 70px;
   position: relative;
   bottom: 0;
}
footer nav {
  float: right;
  margin-bottom: 10px;
  margin-top: 5px;
}
footer nav a {
  display: inline-block;
  line-height: 40px;
  margin-top :  5px;
  margin-right : 5px;
  padding: 0 10px;
  background: rgba(255,255,255,0.2);
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
footer nav a img {
  vertical-align: middle;
}

footer nav a:hover, footer nav a:focus {
  -moz-transform: rotate(8deg);
  -webkit-transform: rotate(8deg);
}

footer h6 {
   float : left;
   font-size : 0.8em;
}

/* ----------------------------- */
/*  =     Flickr Badge           */
/* ----------------------------- */

/*
      Les images sont emballÃ©es dans des classes divs "flickr_badge_image" avec des ids "flickr_badge_imageX" oÃ¹ "X" est un integer spÃ©cifiant une position ordinale. Pour commencer, des styles vous sont proposÃ©s!
      */
#flickr_badge_uber_wrapper {
  position: relative;
  left: -20px;
  width:350px;
  margin-left: 0px;
}
.flickr_badge_image {display: inline;line-height: 1;}

#flickr_badge_uber_wrapper img {
  display: inline-block;
  background:#555;
  padding:2px;
  margin: 0 15px 15px 15px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 1px 1px 9px #999;
  -webkit-box-shadow: 1px 1px 9px #999;
  box-shadow: 1px 1px 9px #999;
}

#flickr_badge_uber_wrapper a:hover img, #flickr_badge_uber_wrapper a:focus img {
  background:#fff;
  -moz-transform: scale(1.15);
  -webkit-transform: scale(1.15);
  transform: scale(1.15);

}