/* Start of CMSMS style sheet 'Elendil : template' */
body {
	background-color: #1D2C53;
	background-image:url('images/styles/elendil/bg.jpg');
	background-repeat:no-repeat;
text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 90%;
   line-height: 1em;
padding: 105px 50px 20px 113px !important;
padding: 98px 50px 20px 111px;
}

*+html body {
     padding: 98px 111px !important; /* pour IE7 */
}

div#pagewrapper {
	background-color: #516B92;
	background-image:url('images/styles/elendil/bg2.jpg');
	background-repeat:no-repeat;
	/*margin:113px 111px !important;*/
        /*margin:98px 111px;*/ /* poir IE6 */
	padding:0;
height: auto !important;
height:600px;
min-height:600px;
}

div#content {
position: relative;
	width: 100%;

}

div#top {
  border-bottom: 1px dotted #C4D5FF;
   padding: 10px;

}

div.breadcrumbs {
   color:#C4D5FF;
   font-size: 90%;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#sidebar {
position: absolute; 
   float: left;
   	top: 0;
	left: 0;
	width: 200px;
   display: inline;  /* FIX IE double margin bug */
border-right: 1px dotted #C4D5FF;
padding: 0 3px 0 0;
margin: 5px 10px 0 0;
}


div#sidebar2 {
position: absolute;
top: 0;
right: 0;
padding:10px;
width: 140px;
}

div#main {
margin-left : 215px;
margin-right : 150px;
margin-top : 10px;
padding:10px
}

div#footer {
   color: #fff;
}

div#footer p {
   font-size: 0.8em;
   text-align: center;
   margin: 0;
}


img {
   border: 0;
}


div#main hr {
position: relative;
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted #C4D5FF;
   margin: 1em;
}


/*
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: #C4D5FF; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #A8B7DA;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #B1C1E6;
}

/* 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;
}

/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #C4D6FF; 
	font-size: 1.5em; 
	text-align: left; 
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid #e7ab0b; 
	border-left: 0.5em solid #e7ab0b; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0.5em 0.5em 0;
}
div#content h3 {
   color: #C4D6FF; 
   font-size: 1.3em;
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #C4D6FF; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #C4D6FF; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #C4D6FF; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
#content, p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
   color:#eee;
}

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%;


}

.error_message {
   color:#FF5F5F;
   font-weight:bold;
}

/* 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 */
/* End of 'Elendil : template' */

