/* Start of CMSMS style sheet 'Main Site Stylesheet' */
/* 
hides the numbers next to the menu items
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}

/*****************
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: 10pt;
/*   line-height: 1em;*/
}
.small  {
	font-size:7pt;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

img {
   border: 0;
}

a {
	color:#333399;
}
a:active {
	color:red;
}
a:hover {
	color:gray;
}
a:visited {
	color:#333399;
}
a:visited:hover {
	color:gray;
}

/*****************
basic layout 
*****************/
body {
   background-color: white;
   color: #333;
   margin: 1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   max-width: 80em;   /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   background-color: #fff;;
   color: black;
}


/*** header ***
div#header {
   height: 129px;    /* adjust according your image size */
   background: white;           
}

div#content {
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
}


div#main {
   margin-left: 23%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 20%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
}



/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
	font-family:"arial","verdana";
	font-size:18pt;
	color:#000066;
	font-weight:bold;
	text-decoration:none;
}
div#content h2 {
	font-family:"verdana","arial";
	font-size:16pt;
	color:#000066;
	font-weight:normal;
	text-decoration:none;
}
div#content h3 {
	font-family:"arial";
	font-size:15pt;
	color:red;
	font-weight:bold;
	text-decoration:none;
}
div#content h4 {
	font-family:"Verdana","arial";
	font-size:10pt;
	font-weight:bold;
}
div#content h5 {
	font-family:"Verdana","arial";
	font-size:10pt;
	font-weight:bold;
}
h6 {
	font-family:"Verdana","arial";
	font-size:10pt;
	font-weight:bold;
}
/* END HEADINGS */

/* TEXT */
p {
   margin: 0 0 1.5em 0; /* some air around p elements */
   font-size: 1em;
   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 */
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 {
   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 'Main Site Stylesheet' */

