/* Start of CMSMS style sheet 'Apsie : Main' */
* {
  margin:0;
  padding:0;
}

body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 11px;
}

div {
   font-size: 11px;
}

img {
   border: 0;
}

a,
a:link 
a:active {
   text-decoration: none;
   background-color: inherit; 
   color: #ff6600;
}

a:visited {
   text-decoration: none;
   background-color: inherit;
   color: #ff6600;
}

a:hover {
   text-decoration: none;
   background-color: #f3f3f3;
   color: #ff6600;
}

body {
   background-color: #bbbdc0;
   color: #666666;
   margin: 0em;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;
   width: 990px;
   background-color: #fff;
}

div#header {   
   font-size: 24px;
   margin-bottom:0px;
   padding-top: 0px;
   padding-left: 10px;
   height: 177px;
   width: 990px;
   background-image: url(images/banniere.jpg);
   background-repeat: no-repeat;
}

div#header h1 {
   font-size: 32px;
   color: #ff6600;
   line-height:1em;
   margin:0;
   text-align:left;
   font-family: Arial, Helvetica, sans-serif;
   letter-spacing: 6px;
}

div#slogan {
   padding-left: 30px;
   font-size: 11px;
   color: #cccccc;
   font-family: Arial, Helvetica, sans-serif;
   letter-spacing: 6px;
}

div#search {
   width: 20px;  
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em 1.5em 1em;
   color: #666666;
}

div#search input {
   margin: 4px 0 0 0;
   color: #666666;
}

div#content {
   color: #666666;
   margin-top: 40px;
   margin-left: 220px;
   margin-right: 210px;
   width: 500px; /* minus 6px due to ie6 */
}

div#leftsidebar {
   float: left;
   width: 156px;
   //height: 150em;
   display: inline;  /* FIX IE double margin bug */
   background-image: url(images/fond_menu.png); 
   background-repeat: repeat-y;   
}

div#logos {
   margin-top: 40px;
   width: 100%;  
   text-align: center;
}

div#logos img {
   padding-top: 20px;
   padding-bottom: 20px;
}


div#rightsidebar {
   float: right;
   width: 210px;
   padding: 0em 0em 0em 0em;   
}

div#footer {
   clear: both;
   background-image: url(images/footer.png); 
   background-color: #bbbdc0;
   color: #89817f;
   width: 990px;
   height: 16px;
}

div#footer p {
   font-size: 0.8em;
   padding: 0em;
   text-align: center;
   margin: 0;
}

div#footer p a {
   color: #89817f;
   /* border-bottom:1px dotted #89817F; */
   border-bottom:1px dotted #564931;
   text-decoration: none;
}

div#footer p a:hover {
   color: #000000;
   /* background-color: #575352; */
   background-color: #3a3429;
   text-decoration: none;
   border-bottom:1px dotted #fff;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   /*padding-bottom: 1em;*/
   border-bottom: 1px dotted #c0c0c0;
   margin-top: 15px;
   margin-bottom: 15px;
}

h1 {
   color: #666666; 
   font-size: 15px; 
   text-align: left; 
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}

h2 {
   color: #666666; 
   font-size: 14px; 
   text-align: left; 
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}

h3 {
   color: #e8511f; 
   line-height: 1.3em;
   margin: 0 0 0.5em 1em;
   font-size: 12px;
}

h4 {
   color: #666666; 
   font-size: 12px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

h5 {
   color: #666666; 
   font-size: 11px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   /*font-size: 1em;*/
   margin: 0 0 0.8em 0; /* some air around p elements */
   line-height: 1.6em;
   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 */
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%;
}

/* 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#content ul,
div#content ol,
div#content dl {
   font-size: 11px;
   line-height: 1.6em;
   margin: 0 0 1.5em 0em;
}

div#content ul li,
div#content ol li {
  margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#content dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#content dl dd {
   margin: 0 0 1em 1em;
}

div#content dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'Apsie : Main' */

/* Start of CMSMS style sheet 'APSIE : News' */
.NewsSummary {
    padding: 0em 0em 0em 0em;
    margin: 0em 0em 0em 0em;   
    color: #12345e;
}

.NewsSummaryPostdate {
   font-size: 10px;
   font-style: italic;
   padding-top: 6px;
   padding-bottom: 4px;
}

.NewsSummaryLink {
   background-image: url(images/news_haut.png);
   background-repeat: no-repeat;
   padding: 1.5em 0em 1.1em 5em;
   color: #12345e;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
}

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
   line-height: 1.6em; 
   background-image: url(images/fond_news.png);
   padding: 0px 0px 0px 10px;
   width: 174px;
   height: 60px;
}

.NewsSummaryMorelink {
  padding-top: 0.5em;
}

#NewsPostDetailDate {
   font-size: 10px;
   font-style: italic;
   padding-top: 4px;
   padding-bottom: 4px;
}

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {  
  line-height: 150%; 
}

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */

/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/
/* End of 'APSIE : News' */

/* Start of CMSMS style sheet 'APSIE : Navigation' */
#menu {
   margin: 0; 
   padding: 0; 
}

#menu li {
   list-style: none;
   margin: 0;
}

#menu ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu li a { height: 1%; } 
* html #menu li hr { height: 1%; }
/** end fix **/

/* 1er niveau */
div#menu a {
   text-decoration:none;
   display: block;
   padding: 0.8em 0.5em 0.8em 20px;
   color: #ffffff;
   min-height:1em;
}

/* 2eme niveau */
div#menu ul ul a {
   padding: 0.2em 0.5em 0.5em 30px; 
   color: #5d7fa9; 
   font-size: 9px;   
}

div#menu ul ul a:active {
   color: #e8511f;  
}


/* hover 1er niveau */
div#menu ul a:hover {
   background-image: url(images/menu_hover.png);
   background-size: 10px 10px;
}

div#menu ul li:hover ul {
  display: block;
}

/* hover 2eme niveau */
div#menu ul ul a:hover {
  
}


/* section header */
div#menu li.sectionheader {
   border-right: none;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}

/* separator */
div#menu li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}
/* End of 'APSIE : Navigation' */

