/*RAZ*/

html, body{
   margin: 0;
   padding: 0;
 }
form, fieldset {
   margin: 0;
   padding: 0;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address {
   margin: 1em 0;
   padding: 0;
 }

li, dd, blockquote {
   margin-left: 1em;
 }

form label {
   cursor: pointer;
}
fieldset {
   border: none;
}
input, select, textarea {
   font-size: 100%;
   font-family: inherit;
}

/*
Set initial font styles
*/
body {font: 75.01%/1.4em verdana, Arial, Helvetica, sans-serif;}

/*
set font size for all divs,
this overrides some body rules
*/
div {font-size: 1em;}

/*
if img is inside "a" it would have
borders, we don't want that
*/
img {border: 0;}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a, a:link, a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit;
   color: black;
}

a:visited {
	text-decoration: none;
	background-color: inherit;
	color: #333;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration:underline ;
   color: #222;
}

/*****************
basic layout 
*****************/
body {
   background-color: white;
   color: #333;
 /*  margin:1em;  gives some air for the pagewrapper */
}

/* center wrapper, min max width */
#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
    margin-top: 10px;
   background-color: #fff;;
   width:1000px;
   color: black;
}

#header {
   background:transparent url(../images/top.png) center top no-repeat;
   height:194px;
   width: 1000px;
}

#populartags{width:244px;display:inline;float:left;margin:0 0 0 10px;}


#populartags p{background-color:#eee;border:1px solid #999;margin:2px 0 0 0;padding:5px 1em;text-align:justify;}
#populartags a,#login a{color:#E30062;text-decoration:none;}

#populartags a.tag-S{font-size:1.1em;color:black;}
#populartags a.tag-M{font-size:1.3em;color:#333;}
#populartags a.tag-L{font-size:1.4em;}

#home{width:244px;padding:90px 0 0 15px;;}
#topblock{width:244px;float:right;background-color:white;margin: 0 7px 0 0;display:inline;}
#topblock h2,#home h1{padding: 5px 10px;color: white; margin:0;text-align:center;background:transparent url(../images/onglet-bk.gif) left top no-repeat;text-decoration: none;font-size:1em;}
#topblock .detail{background:white;border:1px solid #ccc;margin:2px 0 0 0;padding:2px .5em;}

#header h1 a{color:white;display:block;}

#header h3{padding: 5px 10px;color: white; margin:0;text-align:center;background:transparent url(../images/onglet-bk.png) left top no-repeat;text-decoration: none; 
	text-transform:uppercase;
	text-align:center;
	font-weight:bold;font-size:1em;}

#login{margin:0 10px 0 0px;width:240px;display:inline;float:right;}
#login ul{list-style-type:none;background:white;border:1px solid #ccc;margin:2px 0 0 0;}
#login li{padding:3px 0;}
#login label{color:#E30062;display:block;}
#login input{border:1px solid #E30062;}
#login .go{color:white;background-color:#E30062;margin-left:100px;}
#search {
   float: right;
   width: 27em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

.breadcrumbs {
   padding: 2px 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
}

.breadcrumbs span.lastitem {font-weight:bold;}

#content {
    width:1000px;
	margin:5px 0;
	border-top:1px solid #eee;
	border-left:1px solid #eee;
	border-right:1px solid #eee;
}

#main {
width:700px;
margin:0 10px 0 280px;
padding:0;
border-left:1px solid #eee;
}
#mainhp{
  margin:0 0 0 4px;
   padding:10px 0;
}
#main p, #mainhp p{line-height:1.5em;}
#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width:235px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 10px;
}

#sidebar li{list-style-type:none;margin:4px 0;padding:2px 2px 2px 17px;border-bottom:1px solid #999;background:transparent url(../images/puce.png) 2px 4px no-repeat;}
#sidebar li a.on{font-weight:bold;}

#footer {clear:both;width:1000px;}

#footer ul{
   text-align: center; /* centered text */
   margin:0 0 0 4px;
   list-style: none;  
   padding: 0px;
}
#footer li{/*float:left;background:transparent url(../images/onglet-bk.png) left top no-repeat;margin:0 7px 0 0;padding:0;list-style-type:none;*/
/*   margin-left: -1px;   */
   float: left;
   display: inline;
   width: 244px;
   margin:0 4px 0 0;
   padding:0;
   background: transparent url(../images/onglet-bk.png) left top no-repeat;
}
div#footer li a {
   	display: block; 
	margin: 0px; 
	padding: 5px 0px;
	text-decoration: none;
	color: white;
	text-transform:uppercase;
	text-align:center;
	font-weight:bold;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/********************
CONTENT STYLING
*********************/

/* HEADINGS */
#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
#content h2 {
   font-size: 1.5em;
   text-align: left;
/* set borders around header */
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
#content h3 {
   color: #294B5F;
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F;
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 1em 1.5em;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
   color:#333;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}
/* END TEXT */
/*          POPULAR TAGS         */

/*HP*/
#col1, #col2, #col3,#col4{float:left;width: 244px;  margin:0 4px 0 0;display:inline;}
#col1 p, #col2 p, #col3 p,#col4 p{margin:0 .5em;padding:1em 0;text-align:justify;}
#img1, #img2, #mg3,#img4{width: 240px;margin:0;padding:0;}
/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_vert {
  width:1000px;
	margin: 0 1px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper {
   /* Fix for Opera 8 */ 
   overflow: hidden;
   /*width: 100%; */
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 244px;
}

/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul {
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav {margin:0 0 0 4px;}
#primary-nav ul { 
   position: absolute;
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px;
}
	
#primary-nav li { 
/*   margin-left: -1px;*/
   float: left; 
   width: 244px;
   margin:0 4px 0 0;
   display:inline;
   background: transparent url(../images/onglet.png) left top no-repeat;
   padding:0;
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative;
   background: #E30062 url(); 
   border: 1px solid #C0C0C0;
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
	display: block;
    width: 244px;
	margin: 0;
	padding: 5px 0;
	text-decoration: none; 
	color: white;
	text-transform:uppercase;
	text-align:center;
	font-weight:bold;
}
#primary-nav li a { 
/*   border-right: 1px solid #C0C0C0;
   border-left: 1px solid #C0C0C0;*/
}
#primary-nav li li a { 
   
   text-transform:none;
   text-align:left;
   padding:2px 0; 
   margin:0 0 0 4px;
   width: 240px;
}	
#primary-nav li, #primary-nav li.menuparent { 
/*   background-color: #E30062; 
   background: transparent url(../images/onglet.png) left top no-repeat;*/
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background: transparent url(../images/onglet-bk.png) left top no-repeat;
}
#primary-nav li li.menuactive { 
   background: black;
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(../images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   /*background-color: #AD0053; */
   background-position:bottom;
  /* background: transparent url(../images/onglet.png) left top no-repeat;*/
}
#primary-nav li li:hover, 
#primary-nav li li.menuh, 
#primary-nav li li.menuparenth, 
#primary-nav li li.menuactiveh { 
   background-color: #AD0053;
}

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul,
#primary-nav li:hover ul,
#primary-nav li:hover ul ul,
#primary-nav li.menuparenth ul,
#primary-nav li.menuparenth ul ul {
   display: none;
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}
