/* Frame description of the body */

body {
	margin:0;
	padding:0;
	border:0;
	height: 100%;
	background-color:#423128;
} 

div#corps {
	width:900px;
	height: 100%;
	/* overflow: hidden; pb with IE6 */
	background-color:#423128;
	text-align:left;
	margin-left: auto;
	margin-right: auto; 
	padding:0;
	border:0;
	}


/************************************/

/* Frame description of the corps */
div#bandeau {
	height:200px;
	background-color:#423128;
	text-align:left;
	margin:0;
	padding:0;
	border:0;
	color : white;
	}

div#contenu {
	min-height:100%;
	background-color:#423128;
	text-align:left;
	margin:0;
	padding:0;
	border:0;
	}

div#bas_de_page {
	clear:both;
	height:50px;
	background-color:#423128;
	text-align:left;
	margin:20px;
	padding:0;
	border:0;
	text-align:center;
	font-size:0.9em;
	border-top: 1px dashed #D9D9D9;
	}
/************************************/

/* Frame description of the bandeau */
	/* logo odimo 137 x 187 */
div#logo_odimo {
	float:left;
	width:150px;
	height:187px;
	background-color:#423128;
	background-image: url("../pictures/BrainBox_Logo.png");
	background-repeat:no-repeat;
	margin:0;
	padding:0;
	border:0;
	}

div#menu_margesup {
	height:165px;
	background-color:#423128;
	text-align:right;
	font-size: 0.7em; 
	margin-right:10px;
	margin-top:10px;
	padding:0;
	border:0;
	}

div#menu {
	height:55px;
	background-color:#423128;
	text-align:left;
	margin:0;
	padding:0;
	border:0;
	text-align:left;
	font-weight:500;
	}	

/************************************/

/* Frame description of the bas de page */
	/* logo odimo 250 x 60 */
div#logo_brainbox {
	float:right;
	width:250px;
	height:60px;
	background-color:#423128;
	color : white;
	margin:0;
	padding-top:10px;
	border:0;
	font-size:0.7em;
	}

div#menu_basdepage {
	background-color:#423128;
	text-align:center;
	color: #333333; 
	margin:0;
	padding-top:10px;
	border:0;
	}
/************************************/

/* Frame description of the contenu */
div#side_bar {
	float:right;
	min-height: 100%;
	width:250px;
	background-color:#423128;
	margin:0;
	padding:0;
	border:0;
	}
div#main {
	float:left;
	min-height: 100%;
	width:70%;
	background-color:#423128;
	color : white;
	margin:0;
	padding:0;
	border:0;
	font-size: 1em; 
	text-align : justify;
	}

div#pictures {
	margin: auto;
	}
	
div#blocgrey {
	width:100%;
	background-color:#D9D9D9;
	color:#333333;
	margin:0;
	padding:0;
	border:0;
	font-size:0.9em;
	}

div#blocblue {
	width:100%;
	background-color:#3399FF;
	color:white;
	margin:0;
	padding:0;
	border:0;
	font-size:0.9em;
	}
	
div#edge_grey {
	width:100%;
	height:25px;
	background-color:#D9D9D9;
	position : bottom;
	background-image: url("../pictures/bottom_grey.png");
	}

div#edge_blue {
	width:100%;
	height:25px;
	background-color:#3399FF;
	position : bottom;
	background-image: url("../pictures/bottom_blue.png");
	}
	
/************************************/
/***********    MENU    **************/
#menu, #menu ul /* Liste */     
{
        padding : 0; /* pas de marge intérieure */
        margin : 0; /* ni extérieure */
        list-style : none; /* on supprime le style par défaut de la liste */
        line-height : 21px; /* on définit une hauteur pour chaque élément */
        text-align : center; /* on centre le texte qui se trouve dans la liste */
}

#menu /* Ensemble du menu */
{
        font-family : Arial; 
        font-size : 16px; 
}

#menu a /* Contenu des listes */
{
        display : block; /* on change le type d'élément, les liens deviennent des balises de type block */
        padding : 0; /* aucune marge intérieure */
       /*  background : white; couleur de fond */        
        color : white; /* couleur du texte */
        text-decoration : none; /* on supprime le style par défaut des liens (la plupart du temps = souligné) */
        width : 120px;
}

#menu li /* Éléments des listes */      
{ 
        float : left; 
        /* pour IE qui ne reconnaît pas "transparent" */
        border-left : 5px solid #423128; /* on met une bordure blanche à droite de chaque élément */
}

/* IE ne reconnaissant pas le sélecteur ">" */
html>body #menu li
{
        border-left: 5px solid transparent ; /* on met une bordure transparente à droite de chaque élément */
}

#menu li ul /* Sous-listes */
{ 
        position: absolute; /* Position absolue */
        width: 115px; /* Largeur des sous-listes */
        left: -999em; /* Hop, on envoie loin du champ de vision */
		text-align : left; /* on centre le texte qui se trouve dans la liste */
		background-image : url("../pictures/menu_border_right.png");
}


#menu li ul li /* Eléments de sous-listes */
{
        /* pour ie qui ne reconnaît pas "transparent" (comme précédemment) */
        border-top : 1px solid #423128; /* on met une bordure blanche en haut de chaque élément d'une sous-liste */
        border-left : 5px solid #423128; /* on met une bordure blanche à droite de chaque élément */

}

/* http://www.siteduzero.com/tutoriel-3-37795-creer-un-menu-horizontal-deroulant-en-css.html */

/* IE ne reconnaissant pas le sélecteur ">" ... je me répète ;-) */
html>body #menu li ul ul                
{
        border-left     : 1px solid transparent ; /* on met une bordure transparente sur la gauche de chaque élément */
}

#menu li:hover ul ul, #menu li.sfhover ul ul /* Sous-sous-listes lorsque la souris passe sur un élément de liste */
{
        left: -999em; /* On expédie les sous-sous-listes hors du champ de vision */
}

#menu li:hover ul, #menu li li:hover ul, #menu li.sfhover ul, #menu li li.sfhover ul  /* Sous-listes lorsque la souris passe sur un élément de liste ET sous-sous-lites lorsque la souris passe sur un élément de sous-liste */
{
        left: auto; /* Repositionnement normal */
        min-height: 0; /* Corrige un bug sous IE */
}

/************************************/
/***********    CLASS    **************/
/* description propriétés des balises */
	/* balise lien <a> */
a {
	text-decoration: none;
	}

#menu a:hover {
	color: #3399FF;
	}


a.menubt:link {
	color: white;
	}
a.menubt:visited {
	color: white;
	}
a.menubt:hover {
	color: #3399FF;
	}	
	
a.blocblue:link {
	color: white;
	}
a.blocblue:visited {
	color: white;
	}
a.blocblue:hover {
	color: #D9D9D9;
	}

a.blocgrey:link {
	color: #3399FF;
	}
a.blocgrey:visited {
	color: #3399FF;
	}
a.blocgrey:hover {
	color: #FFFFFF;
	}	
	
p	{
	padding-right:10px;
	padding-left:10px;
	padding-top:10px;
	padding-bottom:0px;
	margin:0px;
	}

td, th {
	width : 350px;
	text-align: center;
	vertical-align: middle;
	border: 20px solid #423128;
}
/************************************/	