/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
font styles initiaux du site
*/
body {
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 0.69em;
}                              

/*
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: underline;
   background-color: inherit; 
   color: #00579e; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #000;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #00579e;
}

/*****************
basic layout 
*****************/
body {
   background : #6a4222 url(images/cms/site_fond.jpg) top left repeat;
   margin: 0;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;      
   max-width: 1010px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   width: 1010px;
   background-color: #f1e4b8;
   color: #000;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 225px;    /* adjust according your image size */
   width: 1010px;
   background: #f1e4b8 url(images/cms/header_fond.jpg) no-repeat top left;         
}

#headerText {
    margin: 0;
    padding: 8px 0 0 110px;
}

div#header p {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 1.64em;
   font-weight: bold;
   color: #fff;
}

/* position for the search box */
div#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;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 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" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
   /* margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
   width: 1010px;
   margin: 0;
   padding: 0;
}


div#main {
   min-height: 700px;
   margin-left: 190px; 
   padding: 0 0 30px 0;
   background: transparent url(images/cms/content_fond.jpg) top left repeat-y;
}

div#mainText {
   width: 655px;
   margin-left: 80px; 
   padding: 0;
   background: #fff;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 188px;
   background: #f1eab8;
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
   margin: 0;
   padding: 0;
}

/* Logo Equifun en haut de colonne gauche */
div#logo {
   background: url(images/cms/logo_equifun.jpg) top left no-repeat; 
   width: 190px; 
   height:172px;
}
/* Bas de menu en colonne gauche */
div#colGaucheBas {
   background: url(images/cms/bas_menu.jpg) top left no-repeat;
   width: 190px; 
   height:80px;

}


div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   height: 128px;
   background: #f1e4b8 url(images/cms/footer_fond.jpg) top left no-repeat; 
}

#footerText {
    margin: 0;
    padding: 45px 0 0 197px;
}

div#footer p {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 1.28em;
   font-weight: bold;
   text-align: left;  /* centered text */
}

#footerText a, #footerText a:visited {
   color: #fff;
   text-decoration: none;
}

#footerText a:hover {
   color: #ffd200; /* needed becouse footer link would be same color as background otherwise */
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black; 
   margin: 1em;
}

/* relational links under content */
/*
div.left49 {
  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
*********************/
div#content {

}

/* HEADINGS */
/* div#content h1 { */
h1 {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 1.64em; 
   line-height: 35px;
   margin: 0;
   padding: 0 0 20px 0;
   color: #00579e;
   text-indent: 39px;
   height: 35px;
   background: #fff url(images/cms/h1_fond.jpg) top left no-repeat;
}

/*div#content h2 {*/
h2 {
	color: #00579e; 
	font-size: 1.28em; 
	text-align: left; 
}

/*div#content h3 {*/
h3 {
   color: #6a4222; 
   font-size: 1.18em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}

/*div#content h4 {*/
h4 {
   color: #6a4222; 
   font-size: 1.12em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/*div#content h5 {*/
h5{
   color: #6a4222; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #6a4222; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
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 */

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%;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
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;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */

/* styles perso */

.intro {
   color: #6a4222;
   font-weight: bold;
   font-size: 1.15em;
   text-align: justify;
}

.marron {
   color: #6a4222;
}

.encadre {
   /*display: block;*/
   background: #efe8e0;
   padding: 15px;
   border: 1px solid #6a4222;
}

/* Style de l'iframe pour la page enfants */
#myFrame { 
width:495px;
height: 464px; 
}

/* Les Tableaux ----------------------*/
table td {
min-height: 25px;
padding-top: 3px;
padding-bottom: 3px;
}
	/* tableau Design&eacute; */
	.tableauDesign{
	border: 1px solid #6a4222;
	}
	
	.tableauDesign td {
	min-height: 25px;
	vertical-align: middle;
	border-bottom: 1px solid #6a4222;
	border-left: 1px solid #6a4222;
	}
	
	.ligneTableau {
	background: #efe8e0;
	}
	.teteTableau {
	font-weight: bold;
	background : #cabcb1;
	font-weight: bold;
	}
		

/* Fin des Tableaux ----------------------*/


/* formulaires ------------------------------ */

input{
  color: #00579e;
  margin: 0 0 0 3px;
}

select{
  color: #00579e;
  margin: 0 0 0 3px;
}


/* End of 'Layout: Left sidebar + 1 column' */

