/*  
  Theme Name: 24 heures
  Theme Author: Romaric Drigon
  Theme URI: http://www.24heures.org
  Description: Theme du site des "24 heures"
  Version: 1.618
*/

body {
  background: #0C0C0C url(images/bg.png) repeat;
  margin: 0;
  padding: 0;
  text-align: center;
}
html {
  font-size: 12px;
  font-family: tahoma, arial;
}
h1 {
  font-size: 17pt;
  font-weight: 400;
  line-height: 1.01em;
  margin-top: 25px;
  margin-bottom: 20px;
  font-weight: bold;
}
h2 {
  margin:0;
  margin-left:20px;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 14pt;
}
h3 {
  font-size: 12pt;
  margin:0;
  padding:0;
}
h4 {
  margin:0;
  padding:0;
}

/* Fond de page */
#background {
  width: 900px;
  max-width: 900px;
  height: 100%;
  margin: auto;
  top: 0;
  padding: 0;
  border: 2px #fff solid;
  text-align: left;
  clear: both;
}

/* Header */
#title {
  float: left;
  width : 190px;
  height: 130px;
  margin-left: 25px;
  margin-top: 20px;
}
#name {
  float: left;
  position: relative;
  top: 20px;
  left: 20px;
  width: 195px;
  height: 145px;
  z-index: 900;
}
#name a {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

/* Bloc de tete */
#topright {
  float: right;
  margin-top: 30px;
  text-align: center;
  position: relative;
  z-index: 300;
}
#description {
  display: none;
}
.exposant {
  font-size: 0.7em;
  vertical-align: super;
}
*>#titre_page {
  float: left;
  position: relative;
  z-index: 250;
  font-family: 'Arial Black', Gadget, sans-serif;
  font-size : 32px;
}
* html #titre_page {
  float: left;
  position: relative;
  z-index: 250;
  font-family: 'Arial Black', Gadget, sans-serif;
  font-size : 32px;
  margin-left: 105px;
  margin-top: -10px;
}

/* Menu du haut */
#navtop {
  margin: 0;
  padding: 0;
  margin-top: 60px;
  margin-right: 50px;
}
/* Menu deroulant */
#nav, #nav ul {
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	list-style: none;
	text-align: left;
}
#nav a {
	display: block;
  height: 36px;
  line-height: 36px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  color: #000;
  background: url(images/bg_blc.png) top left repeat;
  width: 100%;
}
#nav a:hover {
  color: #fff;
  background: url(images/bg_bleu.png) top left repeat;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
 #nav a:hover {
  color: #fff;
  background: #428CC5;
}
}
#nav li {
	float: left;
	height: 24px;
	list-style: none;
	width: 100%;
}
#nav li ul {
	position: relative;
	left: -999em;
	width: 100%;
  z-index: 300;
}
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
  position: static;
}
#nav li:hover ul a, #nav li.sfhover ul a {
  text-align: left;
}
#nav li ul li a {
  width: 100%;
	height: 24px;
	line-height: 24px;
}
/* Pour que Challenge Entreprise ne chie pas */
#chalen {
  letter-spacing: -1px;
}

/* Bloc avec marge */
* html #margetop {
  position: relative;
  z-index: 200;
  margin-top: 370px;
}
*+html #margetop {
  position: relative;
  z-index: 200;
  padding-top: 420px;
}
*>#margetop {
  position: relative;
  z-index: 200;
  padding-top: 550px;
}

/* Post de index.php */
.post {
  margin: 40px;
  margin-top: 0;
}
.postcontent {
  text-align: justify;
  width: 100%;
  display: inline;
}

/* Sidebar */
#sidebar {
  float: right;
  display: inline;
  width: 200px;
  text-align: center;
  margin: 0;
}
.easypermgals img {
  margin: 8px;
  border: 1px #778899 solid;
}

/* Menu du bas */
#navbas {
  width: 100%;
  margin-top: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
}
#navbas ul {
	margin: 0;
	padding: 0;
}
#navbas ul li {
  display: inline;
}
#navbas li a:link, #navbas li a:visited {
  display: block;
  float: left;
  height: 30px;
  line-height: 30px;
  text-decoration: none;
  padding: 0;
  width: 180px;  /* 150 avec page orga */
  color: #000;
  font-weight: bold;
  text-align: center;
  background: url(images/bg_blc.png) top left repeat;
}
#navbas li a:hover, #navbas li a:active {
  height: 30px;
  line-height: 30px;
  color: #fff;
  padding: 0;
  background: url(images/bg_bleu.png) top left repeat;
  width: 180px;
  text-align: center;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
#navbas li a:hover, #navbas li a:active {
  background: #428CC5;
}
}

/* Petits liens en gris en extreme bas de page */
#mentions {
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  min-height: 140px;
  color: #222;
  width: 500px;
}
#mentions a {
  color: #222;
  text-decoration: none;
  border: none;
}
#mentions a img {
  border: none;
}
#insa {
  float: left;
  position: relative;
  top: 0;
  left: 0;
  height: 60px;
  width: 112px;
}
#fonda {
  float: right;
  position: relative;
  top: 0;
  right: 0;
  height: 125px;
  width: 200px;
}

/* Renvois */
#renvoi_haut {
  right: 10px;
  position: fixed;
  bottom: 35px;
}
#renvoi_bas {
  right: 10px;
  position: fixed;
  bottom: 10px;
}

/* Classes pour les images et les legendes de WordPress - ne pas toucher */
/* Begin Images */
p img {
  padding: 0;
  max-width: 100%;
}
img.centered, img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}
img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}
.alignright {
  float: right;
}
.alignleft {
  float: left;
}
/* End Images */
/* Captions */
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
}
.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
/* End captions */
.par {
  clear: left;
  margin-bottom: 30px;
}

/* Archivage */
.archive {
  display: block;
  padding: 30px 50px;
  text-align: center;
  background: url(images/bg_blc.png) top left repeat;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333;
}

/* Volet déroulant réseaux sociaux */
#socialside {
  position: fixed;
  top: 60px;
  right: 0;
  list-style: none;
  margin: 0;
}
#socialside a img {
  border: none;
}


#facebook {
  visibility: hidden;
  float: right;
  position: absolute;
  top: 100px;
  right: 0;
  color: #fff;
  position: fixed;
  z-index: 2000;
}
#facebook a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

#twitter {
  visibility: hidden;
  float: right;
  position: absolute;
  top: 100px;
  right: 0;
  color: #fff;
  position: fixed;
  z-index: 2000;
}
#twitter  a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

#flickr {
  visibility: hidden;
  float: right;
  position: absolute;
  top: 100px;
  right: 0;
  color: #fff;
  position: fixed;
  max-width: 180px;
  background: url(images/bg_blc.png) top left repeat;
  z-index: 2000;
}
#flickr ul {
  padding: 0;
  margin: 0;
  margin-top: 3px;
  margin-bottom: 10px;  
  width: 100%;
}
#flickr ul li {
  display: inline;
  padding: 15px 1px;
  list-style: none;
  margin: 0;
}
#flickr a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
#flickr a img {
  border: none;
}

