/* 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;
}
html{background:#D8D5C9; }
/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 80%;
}

/*
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 {
   padding:0px;
   margin: 0 5px 5px 0;
   border: none;
}
/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link,
a:visited,
a:active {
   font-weight:bold;
   text-decoration: none;
/* 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; 
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: white;
}
a:hover noprint{
   background:none;
}
/*****************
basic layout 
*****************/
body {
   background-color: white;
   color: #333;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   max-width: 100%;   /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
}


/*** 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: 121px;    /* adjust according your image size */
   background: #D8D5C9;           
}

div#header h1 a {
/* you can set your own image here */
   background: #D8D5C9 url(images/template/logo.jpg) no-repeat 10px 10px; 
   margin:0 300px 0 0;
   display: block;
   height: 101px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#random{
position:absolute;
right:0px;
top:0px;
text-align:right;
padding: 46px 35px 0 0;
}
/* position for the top menu */
div#top {
   float: right;
   text-align: right;
   padding: 12px 35px 0 0;
   margin: 0;
}
div#top div{
   display:inline;
   border-right:1px solid #ccc;
   padding:0 10px 0 10px;
}
   div#top a, #top a:link, #top a:visited{
   font-weight:normal;
   color:#ccc;
}
   div#top a:hover{
   background:none;
   font-weight:normal;
   color:#333;
}

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" */
   font-weight:normal;
}

div#content {
   margin:15px 0 0 0;   /* some air above and under menu and content */
   min-height:50em;
}

div#main {
   margin: 0 200px 25px 210px;
   padding: 0 0 25px 0;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 190px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
border-right:1px solid black;
}

div#sidebar_right {
	position: absolute;
	top: 170px;
	right: 0px; /* Opera5.02 will show a space 
	at right when there is no scroll bar */
	margin: 0 0 0 0;
padding:0 10px 0 0;
	width: 177px; /* ie5win fudge begins */
        text-align:left;
}
div#sidebar_right{
   text-align:left;
}
div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #666;
   background-color: #D8D5C9; /* same bg color as in header */
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: right;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #666; /* needed because footer link would be same color as background otherwise */
}

/* as we hide 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
*********************/
/* HEADINGS */

div#sidebar_right div h1{
        width:100px;
        font-size:1em;
  	font-weight: bold;
  	text-transform: uppercase;
  	text-align: left;
  	letter-spacing: 1px;
  	color: #FFF;
  	background-color: #DBD5C9;
}
div#content h1 {
width:444px;
  	font-weight: bold;
	font-size: 1.2em;
  	text-transform: uppercase;
  	letter-spacing: 1px;
  	color: #FFF;
  line-height:1.3em;
	/*width: 22em;*/
   padding: 0 50px 0 5px;
	margin-bottom: 25px;
}
div#content h2 {
   text-decoration:underline;
   text-transform:uppercase;
   font-size: 1.0em;
   line-height: 1.5em;
   margin: 0 0 0.9em 0;
}
div#content h3 {
   text-transform:uppercase;
   font-size: 1.0em;
   line-height: 1.0em;
   margin: 0 0 0.5em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

/* END HEADINGS */

/* TEXT */
div#main {
   font-size: 1em;
   line-height: 1.4em;
}

#main p{
   line-height: 1.5em;
}
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#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 {
   list-style:none;
   margin: 0 0 0 5px;
   padding: 0 0 0 15px;
   background:url(images/template/indent2.png) top left no-repeat;
}

/* 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;
}
li .commentlist {
border:1px dotted;
}

/* END LISTS */

/*FORMS*/
textarea{
background:url(images/template/back.gif);
border:1px solid #333;
width:250px;
}
input{
background:url(images/template/back.gif);
border:1px solid #333;
}
#m3author{
width:250px;
}
.submit{
  color            	: #484848;
  border           	: 1px solid #484848;
  background-color 	: #DDDCC3;
}
#m4email,#m5email{width:175px;}
.evenrow{background:#ddd;}
.evenrow:hover{background:#ccc;}
.oddrow:hover{background:#eee;}
/* End of 'Layout: Left sidebar + 1 column' */

