/* Start of CMSMS style sheet 'Constanceprod std' */
/*****************
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;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
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;
/* 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: #940f75; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #940f75;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: transparent;
   color: #999;
}

/*****************
basic layout 
*****************/
body {
   background: #000;
   color: #fff;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 1200px; /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   height: 900px;
   background: transparent url(images/css/FondSite2.jpg) no-repeat center top;
   color: #fff;
}


/*** header ***/

div#header {
   height: 172px;
   background: transparent;
   margin: 0 auto;      
}

div#header h1 a {
   background: transparent url(images/css/Header2.jpg) no-repeat 10px 0;
   height: 172px;
   display: block;
   text-indent: -999em;  /* this hides the text */
   text-decoration: none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#search {
   width: 18em;
   text-align: right;
   float: right;
   margin: 50px 50px 0 0;
}

div#center {
   width: 840px;
   margin: 0 auto;
}

div.breadcrumbs {
   padding: .6em 0;
   font-size: 90%;
   color: #666;
   margin: 1em 1.3em 0 4em;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
   margin: 1em 20px;
   height: 510px;
   overflow: auto;
}

div#main {
   margin-left: 31%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 4%;
   text-align: justify;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 30%;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 2%;
   width: 26%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear: both; 
   color: transparent;
   background: transparent;
   text-align: right;
   height: 20px;
}

div#footer p {
   font-size: 0.8em;
   padding: .2em 1.5em;
   margin:0;
}

div#footer p a {
   text-decoration: none;
   color: #555;
   padding: 0 1em;
}

div#footer p a:hover {
   background-color: transparent;
   text-decoration: underline;
   color: #8a0069;
}

/* relational links under content */
.left49 {
  width: 49%;
  float: left;
  clear: both;
}

div#main .left49 p {
  text-indent: none;
}


/* 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;
}

/********************
CONTENT STYLING
*********************/

/* HEADINGS */

div#content h2, div#content_ssmenu h2 {
   color: #b00; 
   font-size: 1.5em;
   text-align: left; 
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}

div#content h2 span, div#content_ssmenu h2 span {
   display: block;
   text-indent: -999em;
   height: 0px;
}

div#content h3, div#content_ssmenu h3 {
   color: #555; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4, div#content_ssmenu h4 {
   color: #b00; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5, div#content_ssmenu h5 {
   font-size: 1.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.5em;
   padding: 0;
}

div#main p { text-indent: 1em; }

div#main p.field { text-indent: 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;
}

/* END TEXT */

/* 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 */

/* form styling */
fieldset {
  display : block;
  margin : 0;
  padding : 0 .5em;
  border: 1px solid #666;
  }

p.field { margin: 1em 0 .5em 1em; }

p.field label {
  clear: left;
  display: block;
  float: left;
  font-size: 1em;
  width: 10em;
}

p.field input { width: 12em; }

input, textarea {
  border: 1px solid #e46850;
  font: 1em verdana, arial, sans-serif;
}

input[type], textarea[name] { background: #ccc; color: #000; }

input[type=submit], input[type=reset] {  background: #a90003; color: #fff; }

input[type=submit]:hover { background: #fff; color: #a90003; }

textarea { width: 100%; height: 5em; }

.captchapict { float: right; margin-left: 1%; }

p.submit { clear: both; margin-left: 1em; }

.formError { color: #f00; }

/* end form styling */

/**********
Positionnement
***********/

.floatleft { float: left; margin: .2em .7em 0 0; }

.floatright { float: right; margin: 0 0 .2em .7em; }

/* fin positionnement */

/**********
Autres
***********/
div#content_ssmenu {
   margin: 1em 20px;
   height: 496px;
   overflow: auto;
}

/* fin autres */

/***********
sub-submenu 
************/
div#main ul.imgmenu {
       background: transparent;
       list-style-type: none;
       margin: 0;
       padding: 0;
}

div#main ul.imgmenu li { margin: 0; padding: 0; }

div#main ul.imgmenu li a:link, div#main ul.imgmenu li a:visited {
	background: transparent;
	color: #555;
	font-size: 1.1em;
        float: left;
        display: block;
	height: 140px;
	margin: 5px;
	padding: 0 ;
	text-decoration: none;
        text-align: center;
	width: 160px;
}

div#main ul.imgmenu li a:hover, div#main ul.imgmenu li a:active {
	background: #222;
	color: #bbb;
}

ul.imgmenu img {
       padding: 5px 0;
}
/* end sub-sub menu */

/*************
full content width
*************/

div#main-full {
   margin: 0 3%;
   text-align: justify;
}
/* End of 'Constanceprod std' */

