
.clearb { clear: both; }
/*RAZ*/
html, body {
	font-size: 100%;
    margin: 0;
    padding: 0;
}

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

h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address {
    margin: .5em 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;
    margin: 0;
    padding: 0;
}

/*
 if img is inside "a" it would have
 borders, we don't want that
 */
img {
    border: 0;
	margin-right:10px;
	border:1px solid #fff;
}

/*
 default link styles
 */
/* set all links to have underline and bluish color */
a, a:link, a:active {
    text-decoration: none;
    background-color: inherit;
    color: white;
}

a:visited {
    text-decoration: none;
    background-color: inherit;
    color: #ddd;
}

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

span.accesskey {
    text-decoration: none;
}

/*
 accessibility divs are hidden by default
 text, screenreaders and such will show these
 */ .accessibility, hr {
    position: absolute;
    top: -999em;
    left: -999em;
}

/*
 definition tags are also hidden
 these are also used for menu links
 */
dfn {
    position: absolute;
    left: -1000px;
    top: -1000px;
    width: 0;
    height: 0;
    overflow: hidden;
    display: inline;
}

/* end accessibility */
/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
    position: absolute;
    left: -5000px;
    width: 4000px;
}

/* make some room for the image */
a.external {
    /* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
    padding: 0 12px 0 0;
}

/* colors for external links */
a.external:link {
    color: #18507C;
    background: url(images/cms/external.gif) no-repeat 100% 0;
}

a.external:visited {
    color: #18507C; /* a different color can be used for visited external links */
    background: url(images/cms/external.gif) no-repeat 100% 0;
}

a.external:hover {
    color: #18507C;
    background: url(images/cms/external.gif) no-repeat 100% 0;
    background-color: #C3D4DF;
}

/* end wiki style external links */
/*****************
 basic layout
 *****************/
body {
    background: #a8a9ae url(../images/fondpage.jpg) repeat-x top;
    color: #333;
    /*  margin:1em;  gives some air for the pagewrapper */
}

/* center wrapper, min max width */ #pagewrapper {
    margin: 0 auto; /* this centers wrapper */
    width: 962px;
    color: black;
} #header {
    margin: 0;
    background: transparent url(../images/header.jpg) center top no-repeat;
    height: 188px;
    width: 962px;
} #header h1 {
    margin: 46px 0 0;
    width: 273px;
    height: 86px;
    float: right;
} #header h1 a {
    color: white;
    display: block;
    background: transparent url(../images/logo.png) no-repeat left top;
    width: 273px;
    height: 86px;
} #header h1 a span {
    position: absolute;
    left: 0px;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
} #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;
} 

#search {float: right; margin:5px; font-size:9px; }
#search input[type="text"] { width: 100px; height:12px;color:#fff; background: transparent; border:1px solid #ddd;}
#search input[type="submit"] { background: transparent; color:#000; border:none; padding-left:0; margin-left:2px; margin-right:3px; display:inline;}

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

div#content {
    width: 962px;
    background: #97979F url(../images/fond-content.png) repeat-y left;
    padding: 50px 0 30px;
}

div#topcontent {
    width: 962px;
    padding: 5px 0 10px 0;
    background: transparent url(../images/menu.png) no-repeat left top;
} 
#mainhp {
    margin: 0 10px 0 320px;
    padding: 0;
} 
#main {
    margin: 0 40px 0 320px;
    padding: 0;
	color:white;
} 

div.boite{border-left:5px solid #ddd;}

div.boite ul li{ margin:2px 0;}
div.boite a.on{padding-left:2em;}

.lettrine {
    float: left; /* positionnement de la lettrine dans le conteneur*/
    font-size: 2.5em; /* 3 hauteurs de lignes pour la lettrine*/
    font-weight: bold;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    margin: 1px;
    padding: 1px;
    line-height: 1em;
} 
#main p {
    line-height: 1.5em;
	color:white;
}

/*------------------------HP--------------------------------*/ 
#img1, #img2, #img3 {
    z-index: 1;
    width: 180px;
    height: 284px;
    padding: 0;
    border: 1px solid white;
    float: left;
    margin: 0 0 0 20px;
    display: inline;
} 
#sidebar {
    float: left; /* set sidebar on the left side. Change to right to float it right instead. */
    width: 270px; /* sidebar width, if you change this please also change #main margins */
    display: inline; /* FIX ie doublemargin bug */
    margin: 0 0 0 40px;
} 
#sidebar p {
    line-height: 1.5em;
    text-align: justify;
    color: white;
    margin: .8em 1em;
} 
#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: 962px;
    background: transparent url(../images/footer.png) no-repeat left top;
    padding: 40px 0 0;
	font-size:0.9em;
} 
#footer ul {
    text-align: center; /* centered text */
    margin: 0 0 0 4px;
    list-style: none;
    padding: 0px;
} 
#footer li { 
    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 a {
    text-decoration: underline;
    color: white;
}
div#footer a:hover{
	text-decoration: underline;
    color: white;
}

/* 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;
    line-height: 1em;
    margin: 0;
} 
#content h2 {
    font-size: 1.5em;
    text-align: left;
    line-height: 1.5em;
    margin: 0 0 1em 0;
	color:#efefef;
	font-family:Geneva, Arial, Helvetica, sans-serif;
} 


#content h3 {
    font-size: 1.3em;
    line-height: 1.3em;
    margin: 0 0 0.5em 0;
}

div#content h4 {
    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         */
/* 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;
}

/*----------------------------------------------------------------------------------*/ 
#menu_vert {
    width:850px;
	margin:0 auto;
}

#navigation, #menuwrapper {
    height: 30px;
    width: 100%;
    background: transparent;
    z-index: 3;
}

#primary-nav ul {
    list-style-type: none;
    border: 0;
    margin: 0;
   background:#706D73;
   margin:4px 0px 0 0;
}

#primary-nav li a {
	display: block;
	width: 163px;
	margin: 0;
	padding:5px 0;
	text-decoration: none; 
	color: #ccc;
	text-align:center;
	font-weight:bold;	
} 

#primary-nav {
    padding: 0 0 0 0px;
} 

#primary-nav li {
    display: block;
    width: 163px;
	padding:4px 0;
	background: transparent url(../images/onglet.png) left top no-repeat;
	margin:0;
}

#primary-nav li li {
    border-bottom: 1px #aaa solid;
	background: transparent url();
	
} 
#primary-nav li li a {
    display: block;
	color:white;
	text-transform:none;
	text-align:left;
	font-weight:normal;
	padding:4px 0; 
	margin:0 4px;
	text-indent:.5em;
	width:159px;
} 
#primary-nav li li a:hover {
/*
    background-color: #4f4f4f;
*/
    text-decoration: none;
    display: block;
}

#primary-nav li {
    position: relative;
    float: left;
}

#primary-nav li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0px;
    padding: 0;
    margin: 0;
	background:#706D73 url();
}

#primary-nav ul li {
    display: inline;
}

 li > ul {
    top: auto;
    left: auto;
}

#primary-nav li li {
    display: block;
    float: none;
    background-color: transparent;
    margin: 0;
    padding: 0;
}

#primary-nav li li:hover, #primary-nav li li.over {
    background-color:#4f4f4f;
}

#primary-nav li:hover ul, #primary-nav li.over ul {
    display: block;
}
#primary-nav li.menuactive a { 
 color:white;
 }
table {
	padding: 0;
	line-height: 20px;
}
table td {
	padding: 5px;
	border:1px solid #ccc;
	/*text-align:center;*/
}
/* ----------------------------------------------------------------- Formulaire de contact --------------- */

.contactform fieldset{padding: 1em;} 
.contactform fieldset legend{font-weight: bold; padding:4px 1em;} 
.contactform div{width: 100%; padding: 0.25em 0 0.25em 0;}
.contactform label{display: inline;  float: left;  width: 150px;}
.contactform input[type="text"]{width: 150px;}
.contactform textarea{width: 400px; height: 150px;}
.submit{text-align:right;}
div.type div{margin-left:300px;width:340px;}
div.type label{width:20em;}
div.type div label{float:none;display:inline;width:20em;}
div.type input[type="radio"]{float:none;}
div.annotation {font-size: 10px;}
div.annotation div{margin-left:300px;width:340px;}
div.annotation label{width:20em;}
div.annotation div label{float:none;display:inline;width:20em;}
div.annotation input[type="radio"]{float:none;}

/* ----------------------------------------------------------------- Formulaire de chiffrage --------------- */
.chiffrageform fieldset{padding: 1em;} 
.chiffrageform fieldset legend{font-weight: bold; padding:4px 1em;} 
.chiffrageform div{width: 100%; padding: 0.25em 0 0.25em 0;}
.chiffrageform label{display: inline;  float: left;  width: 150px;}
.chiffrageform input[type="text"]{width: 150px;}
.chiffrageform textarea{width: 400px; height: 150px;}
.submit{text-align:right;}

/* ********************************************************************* NEWSLETTER **************** */
#sidenewsletter label{width:180px;display:block;}
#sidenewsletter input[type="text"]{width: 120px; margin-left:15px; display:block;}
#sidenewsletter label{margin-left:15px;}

