/* Start of CMSMS style sheet 'Layout: Main Template' */
/*********************** Margins ************************/
* {
	margin: 0px;
	padding: 0px;	
}
body {
	margin: 0px; 
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 75.01%;
	text-align: left;
	/*line-height: 2em;*/
}
div {
	font-size: 1em;
}
img {
   border: 0;
}
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}
/* links */
a, a:link, a:active {
	text-decoration: none;
	background-color: inherit;
	color: #303030;
	font-weight:bold; 
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
   text-decoration: underline;
   color: #000000;
}
/*********************** Layout ************************/

div#pagecontainer {
	background: transparent url('images/site/bottom_shadow.jpg');
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom: 15px;
}
div#pagewrapper {
	margin: 0 auto;       /* this centers wrapper */
	max-width: 900px;   /* IE wont understand these, so we will use javascript magick */
	min-width: 700px;
	color: black;
	border: solid 1px #333333;
	background: #FFFFFF;
}
/* header */
div#header {
	background: #FFFFFF url('images/site/header_image.jpg') no-repeat;
	background-position: right top;
}
div#header h1 a {
	display: block;
	height: 125px;
	text-indent: -999em;
	text-decoration: none;
	background: transparent url('images/site/logo.png') no-repeat;
}
div#header .tagline {
	float: right;
	margin: 100px 10px 10px 0px;
	height: 100%;
	color: #AAAAAA;
}
div#search {
	float: right;
	width: 250px;    /* enough width for the search input box */
	height: 100%;
	text-align: right;
	padding: 3px;
	margin: 0px;
	color: #CCCDCC;
}
div#search .search_input {
	color: #333333;
	width: 150px;
}
div#search .search_submit {
	width: 22px;
	height: 22px;
	margin: 0px 4px -3px 4px;
}
div.breadcrumbs {
	padding: 10px;
	font-size: 90%;        
	margin: 0px;  
	background: #000000 url('images/site/crumbs_background.gif');
	display: block;
	color: White;
}
div.breadcrumbs a {
	color: White; 
	background-color: Transparent;
}
div.breadcrumbs span.lastitem { 
	font-weight:bold; 
}
div#content {
	margin: 0 auto 2em 0;   /* some air above and under menu and content */
}
div#main {
	margin-left: 24%; 
	padding-right: 2%;
	padding-left: 2%;
}
div#mainContent {
	min-height: 300px;
}
div#sidebar {
	float: left;   
	width: 24%;
	display: inline;
	min-height: 300px;
	padding-right: 10px;
	height: 100%;
	background: transparent url('images/site/nav_vertical_seperator.jpg') no-repeat;
	background-position: top right;
}
div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #AABBAA;
   background-color: #424643; /* same bg color as in header */
}
div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}
div#footer p a {
   color: #000000; /* needed becouse footer link would be same color as background otherwise */
}
div#footer p a:hover {
   background-color: #8597af;
   color: #FFFFFF;
}
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}
/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}
div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}
/************************ Style ***************************/
body {
	background-image: url('images/site/background.gif');
	background-position: center;
}
div#pagewrapperleft, div#pagewrapperright {
	height: 400px;
	position: absolute;
}
div#pagewrapperleft {
	background-image: url('images/site/backgroundMarginLeft.png');
	background-repeat: no-repeat;
	background-position: right top;
	left: 0px;
	right: 50%;
	margin-right:451px;
}
div#pagewrapperright {
	background-image: url('images/site/backgroundMarginRight.png');
	background-repeat: no-repeat;
	background-position: left top;
	left: 50%;
	right: 0px;
	margin-left:451px;
}
div#content {
	
}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #4e5c50; 
	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 #4e5c50; 
    line-height: 1.5em;
/* and some air under the border */
    margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #4e5c50; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #4e5c50; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #4e5c50; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #4e5c50; 
   font-size: 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.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 'Layout: Left sidebar + 1 column' */

/* End of 'Layout: Main Template' */

