/* ==============================================
   FEUILLE DE STYLES DES GABARITS HTML/CSS --- 03
   © Elephorm & Alsacreations.com
   Conditions d'utilisation:
   http://creativecommons.org/licenses/by/2.0/fr/
   ============================================== */


/* --- COULEURS --- */

/* Note: vous pouvez modifier simplement l'aspect de ce gabarit en modifiant
   uniquement les couleurs de fond (propriétés background) et les couleurs
   du texte (propriété color).
   Pour modifier la disposition des blocs, voir plus bas dans la feuille de
   styles la partie «positionnement». */

/* Général */
body {
	background:url(images/fond_haut.png) top center repeat-x;
	/*background-attachment: fixed;*/
}
a {
	color: #0073ca;
}
a:hover, a:focus {
	color: #005da4;
	text-decoration:underline;
}
a:active {
	color: #005da4;
}
strong {
	color: #005da4;
}

/* Page */
#global {
  position: relative; /* on positionne le conteneur */
  margin-left: auto;
  margin-right: auto;
  width: 1080px;
}

#demo {
	display: block;
	float: left;
	position:absolute;
	height: 100px;
	width: 300px;
	margin-left:180px;
	margin-top:390px;
}

#acheter {
	display: block;
	float: left;
	position:absolute;
	height: 70px;
	width: 70px;
	margin-left:500px;
	margin-top:405px;
}

#promo {
	display: block;
	float: left;
	position:absolute;
	height: 180px;
	width: 480px;
	margin-left:140px;
	margin-top:180px;
	text-align:justify;
	padding:5px;
}

#box01 {
	background-image:url(images/encart_visiteurs.png);
	display: block;
	float: left;
	height: 300px;
	width: 300px;
	margin-left:80px;;
}

.box01_content {
	padding-top:60px;
	margin-left:20px;
}

#box02 {
	background-image:url(images/encart_hotesses.png);
	display: block;
	float: left;
	height: 300px;
	width: 300px;
}

#box03 {
	background-image:url(images/encart_admin.png);
	display: block;
	float: left;
	height: 300px;
	width: 300px;
}

#table_marquee {
	top:315px;
	width: 580px;
	margin-left: 55px;
	float:left;
	display:block;
	position:absolute;
}
#menu {
	margin-left:370px;
	margin-top:130px;
	width:540px;
	height:30px;
	float:left;
	display:block;
	position:absolute;
	z-index:65000;
}

#icones {
	margin-left:785px;
	margin-top:35px;
	width:280px;
	height:70px;
	float:left;
	display:block;
	position:absolute;
	z-index:65000;
}

/*MENU DEROULANT*/

/* Elements de premier niveau
--------------------------------------*/
#menuDeroulant
{
	background: transparent;
	width: 540px;
	height: 25px;
	list-style-type: none;
	margin: 0;
	padding: 0;
	border: 0;
	position: inherit;
}
#menuDeroulant li
{
	float: left;
	width: 90px;
	margin: 0;
	padding: 0;
	border: 0;
	text-align:center;
}
#menuDeroulant li a:link, #menuDeroulant li a:visited
{
	display: block;
	height: 1%;
	color: #1e1e1e;
	margin: 0;
	padding: 4px 8px;
	border-right: 1px solid #0091ff;
	text-decoration: none;
	font-size:14px;
}
#menuDeroulant li a:hover { background-color: #0091ff; color: #fff; }
#menuDeroulant li a:active { background-color: #0091ff; color: #fff; }

#menuDeroulant .sousMenu
{
	display: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
	border: 0;
}
#menuDeroulant .sousMenu li
{
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	width: 90px;
	border-top: 1px solid transparent;
	border-right: 1px solid transparent;
	/*z-index:7;*/
}
#menuDeroulant .sousMenu li a:link, #menuDeroulant .sousMenu li a:visited
{
	display: block;
	color: #FFFFFF;
	margin: 0;
	border: 0;
	text-decoration: none;
	/*background: transparent url("images/fondTR.png") repeat;*/
	background-color:#0091ff;
	/*z-index:8;*/
}
#menuDeroulant .sousMenu li a:hover
{
	background-image: none;
	background-color: #7bc6ff;
	color: #FFFFFF;
	/*z-index:9;*/
}

#menuDeroulant li:hover > .sousMenu { 
	display: block;
	/*z-index:10;*/
}

/* Pied de page */
#pied {
	display:block;
	position:relative;
	float:left;
	width:1080px;
	min-height:30px;
	text-align:center;
	margin-top:30px;
}


/* --- POSITIONNEMENT --- */

/* Page */
html, body {
	height: 100%; /* Voir -> Note 1 ci-dessous */
}
body {
	padding: 0px;
	margin:0px;
}
/* En-tête */
#entete {
	padding: 0px;
	background-image:url(images/header.png);
	background-repeat:no-repeat;
	width:1080px;
	height:531px;
	margin-right:auto;
	margin-left:-100px;
	position:inherit;
	/*margin-bottom:0px;
	margin-left:-100px;
	margin-right:auto;
	margin-top:0px;
	display:block;
	position:relative;
	float:left;*/
}
#entete h1 {
	margin: 0;
}
#entete h1 img {
	float: left;
	margin: 7px 20px 10px 0;
}
#entete .sous-titre {
	margin: 4px 0 15px 0;
}
.entete_contenu {
	padding-top: 40px;
	margin-left:450px;
	margin-right:50px;
	text-align:right;
}

/* Contenu */
#contenu {
	margin-left: auto;
	margin-right:auto;
	top:20px;
	width:1080px;
	display:block;
	position:relative;
	height: 100%;
	text-align:justify;
}

.contenu_ctt {
	margin-left: auto;
	margin-right:auto;
	text-align:justify;
	width:980px;
}

#main {
	width:990px;
	font-family:Arial;
	font-size:12px;
	display:block;
	position: relative; /* on positionne le conteneur */
	margin-left: auto;
	margin-right: auto;
}
#contenu > :first-child {
	margin-top: 0px;
}
#contenu p, #contenu li {
	line-height: 1.5;
}
#menu_haut {
	margin-left:37px;
	margin-right:25px;
	text-align:center;
	padding:5px;
	width:821px;
	height:25px;
	background-color:#1E1E1E;
	line-height:25px;
	vertical-align:middle;
	float:inherit;
	background-image:url(images/bg_menu.png);
	background-repeat:repeat-x;
}
#block_visiteurs {
	padding: 0px;
	background-image:url(images/encart.png);
	background-repeat:no-repeat;
	width:320px;
	min-height:500px;
	/*float:left;*/
	margin-left:auto;
	display:block;
	position:absolute;
	margin-top:40px;
}
.content_block {
	padding-top: 55px;
	padding-left:25px;
	max-width:270px;
	display:block;
	position:absolute;
	text-align:justify;
}
#block_hotesses {
	padding: 0px;
	background-image:url(images/encart02.png);
	background-repeat:no-repeat;
	width:320px;
	min-height:500px;
	/*float:left;*/
	margin-left:310px;
	display:block;
	position:absolute;
	margin-top:40px;
}
#block_admin {
	padding: 0px;
	background-image:url(images/encart03.png);
	background-repeat:no-repeat;
	width:320px;
	min-height:500px;
	/*float:left;*/
	margin-left:620px;
	display:block;
	position:absolute;
	margin-top:40px;
}
#block_cb {
	background-image:url(images/onglet_paiement.png);
	background-repeat:no-repeat;
	padding: 0px;
	width:900px;
	height:160px;
	margin-left:auto;
	margin-right:auto;
	display:block;
	position:relative;
	top:540px;
}
.content_block_promo {
	padding-top: 45px;
	padding-left:165px;
	max-width:700px;
	display:block;
	position:absolute;
	text-align:justify;
}
#block_install {
	background-image:url(images/onglet_install.png);
	background-repeat:no-repeat;
	padding: 0px;
	width:900px;
	height:175px;
	margin-left:auto;
	margin-right:auto;
	display:block;
	position:relative;
	top:540px;
}
#block_fonction {
	background-image:url(images/onglet_fonctions.png);
	background-repeat:no-repeat;
	padding: 0px;
	width:900px;
	height:300px;
	margin-left:auto;
	margin-right:auto;
	display:block;
	position:relative;
	top:540px;
}
#block_image {
	padding: 0px;
	width:130px;
	height:130px;
	display:block;
	position:absolute;
	margin-left:300px;
}
#block_php {
	padding: 0px;
	width:250px;
	height:130px;
	display:block;
	position:absolute;
	margin-left:450px;
}
.Listing {
  width : 375px; 
  height: 410px;
  overflow: auto;
  vertical-align:top;
  padding: 5px;
  margin-top:20px;
  text-align:justify;
  vertical-align:top;
  float:left;
  display:block;
  position:static;
  margin-left:10px;
}

/* Pied de page */
#pied {
	padding: 10px;
	font-size: 1em;
	text-align:center;
}
#pied p {
	margin: .5em 0;
}
#copyright {
	text-align: left;
	font-size: 1em;
}

#clear{
clear: left;
}
#tab1 { 
	margin-left:435px;
	margin-top:-18px;
}
.float {
	display: block;
	width:250px;
	float:left;
	text-align:left;
}
.boldred {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-align: left;
	color: #FF0000;
	font-weight: bold;
}
.impair {
	background-color: #F4F4F4;
}
#ip {
	background-color:#666666;
	width:90%;
	text-align:center;
	color:#FFFFFF;
	padding:2px;
	line-height:25px;
	vertical-align:middle;
	margin-left:10px;
}
legend {
	color:#FF7400;
	font-weight:bold;
}
.form {
	margin: 0px;
}

/*--------- Lightbox -----------*/
#lightbox{
    background-color:#eee;
    padding: 10px;
    border-bottom: 2px solid #666;
    border-right: 2px solid #666;
}

#lightboxDetails{
    font-size: 0.9em;
    color: #555;
    padding-top: 0.5em;
} 

#closeButton{ top: 5px; right: 5px; }

#lightboxCaption{ float: left; }

#keyboardMsg{ float: right; }

#lightbox img{ border: none; } 

#overlay img{ border: none; }

#overlay{ background-image: url(lightbox/overlay.png); }

* html #overlay{ /*Hack IE */
    background-color: #000;
    background-color: transparent;
    background-image: url(blank.gif);
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="lightbox/overlay.png", sizingMethod="scale");
}
/*-------- fin lightbox -------*/

/*------- Pour le plugin carousel ------------*/
div.carousel{
    /* margin:12px; */
    border:0;
}

div.carousel div{
    margin:0;
    padding:0;
    border:0;
}

div.carousel div.carousel-wrap{
/* adapter à la taille de l'image ! */
    width:900px;
    float:left;
    margin-top:30px;
    border:1px solid #d3d3d3;
    background:#ffffff;
	margin-left:30px;
	/*margin-right:350px;*/
}

div.carousel ul{
    margin:0;
    padding:0;
}

div.carousel ul li{
    display:inline;
    float:left;
    padding:20px 0; 
/* adapter à la taille de l'image ! */
    width:900px;
	height:300px;
    text-align:center;
}

div.carousel span.carousel-control{
    display:inline;
    float:left;
    margin:15px 0 0;
    padding:5px 10px;
    font-weight:bold;
    font-size:11px;
    cursor:pointer;
    background:#ddd;
}

div.carousel span.disabled{
    color:#ddd;
    cursor:default;
    background:#f4f4f4;
}
/* Pour la construction de la page web */


div#car3 {
    clear:both;
}

/* Pour cacher les boutons du modèle 3
 */
div#car3 span {
    display:none;
}
/*je n'ai pas besoin de cette partie elle est donc commentée  
div#page {
    clear:both;
    width:600px;
    height:400px;
    border:1px solid red;
    margin:12px;
    padding:6px;
} */



/*------- Fin du plugin carousel ------------*/

.buttondiv {
margin-top: 10px;
}
.messagebox{
	position:absolute;
	width:100px;
	margin-left:30px;
	border:1px solid #c93;
	background:#ffc;
	padding:3px;
}
.messageboxok{
	position:absolute;
	width:auto;
	margin-left:30px;
	border:1px solid #349534;
	background:#C9FFCA;
	padding:3px;
	font-weight:bold;
	color:#008000;
	
}
.messageboxerror{
	position:absolute;
	width:auto;
	margin-left:30px;
	border:1px solid #CC0000;
	background:#1E1E1E;
	padding:5px;
	font-weight:bold;
	color:#CC0000;
}
.Style1 {
	font-size: large;
	font-weight: bold;
}

#passwdout {
  width:120px;
  border:1px solid #ccc;
  padding:1px;
  background-color:#eee;
  float:left;
}

#passwd_lv {
  height:13px;
  width:0%;
  overflow:hidden;
}

#passwd_lv_txt {
  float:left;
  padding: 2px 0 0 5px;
  font-weight:bold;
}

/* --- NOTES ---

1.	Pour pouvoir utiliser une hauteur (height) ou une hauteur minimale
	(min-height) sur un bloc, il faut que sont parent direct ait lui-même une
	hauteur déterminée (donc toute valeur de height sauf "auto": hauteur en
	pixels, em, autres unités...).
	Si la hauteur du parent est en pourcentage, elle se réfère alors à la
	hauteur du «grand-père», et ainsi de suite.
	Ainsi, pour pouvoir utiliser un "min-height: 100%" sur div#contenu, il nous
	faut:
	- un parent (body) en "height: 100%";
	- le parent de body également en "height: 100%".

2.	Il faut éviter que les marges des enfants de div#global ne se transmettent
	à leur parent. Notamment, le margin-top du premier enfant (ici, div#entete),
	et le margin-bottom du dernier enfant (ici, div#pied).
	On évite ce problème grâce à la propriété CSS overflow, qui bloque la
	fusion des marges. En savoir plus sur la fusion des marges:
	http://web.covertprestige.info/test
		04-blocs-imbriques-et-fusion-des-marges.html

3.	Les marges automatiques à gauche et à droite permettent de centrer notre
	bloc div#global, et donc tout le site.
	Pour aligner div#global à gauche, on fera:
		margin-left: 0;
		margin-rigth: auto;
	Pour aligner div#global à droite, on fera:
		margin-left: auto;
		margin-right: 0;
	Pour aligner div#global à droite avec un retrait (à droite) de 100px:
		margin-left: auto;
		margin-right: 100px;

*/
