/* Start of CMSMS style sheet 'Layout: olson' */
/*****************
 DEFAULTS
*****************/

* { margin:0; padding:0; }

body { text-align: left; font-family: Arial, Helvetica, sans-serif; font-size: 85%;
   line-height: 1em; }

div { font-size: 1em; }

img { border: 0; }

a, a:link, a:active, a:visited { text-decoration: underline; background-color: inherit; color: #3B5E2B;}
a:hover { text-decoration: none; color: #c22021;}

/*****************
 LAYOUT
*****************/

body { margin: 1em; background-color: #fff; color: #333; }

div#pagewrapper {
   margin: 0 auto;      
   max-width: 900px;   /* IE wont understand these, so we will use javascript */
   min-width: 750px;
   width: auto;
   background-color: #fff;
   color: #333;
}

/*** header ***/

div#header { height: 180px; background: #fff; }

div#header h1 a {
   background: #fff url(uploads/images/header.jpg) no-repeat; 
   display: block;
   height: 180px;
   text-indent: -999em;  /* this hides the text */
   text-decoration: none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/*** content***/

div#content { margin: 1.5em auto 2em 0;   /* some air above and under menu and content */ }

div#main { margin-left: 29%; margin-right: 2%; }

div#sidebar { float: left; width: 26%; margin-left: 2%
   display: inline;  /* FIX IE double margin bug */  }

/*** footer ***/

div#footer { clear: both; padding: 1em 1em 0 29%; border-top: 1px solid #c22021; font-size: 0.9em; text-align: left; }
div#footer p { margin-bottom: 0.5em; }
div#footer .tiny { font-size: 0.8em; }

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr { margin: 1em; padding: 1em; height: 1px; border-bottom: 1px solid #c22021; }

/* 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;}

/********************
 STYLING
*********************/

/*** headings ***/
div#content h1 { margin: 0; font-size: 2em; line-height: 1em; }
div#content h2 { margin-bottom: 1em; color: #c22021; font-size: 1.5em; font-weight: normal; text-align: left; line-height: 1.25em; }
div#content h3 { margin-bottom: 1em; border-bottom: 1px solid #999; color: #333; font-size: 1.25em; font-weight: bold; line-height: 1.25em; }

/*** text ***/
p { margin-bottom: 1.25em; padding: 0; line-height: 1.4em; font-size: 1em; }

strong, b { font-weight: bold; }
em, i { font-style:italic; }

blockquote { margin-left: 10px; border-left: 10px solid #ddd;}

/* 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;}

/*** lists ***/
div#main ul, div#main ol, div#main dl { margin: 0 0 1.5em 0; font-size: 1.0em; line-height: 1.4em; }

div#main ul li, div#main ol li { margin: 0 0 0.25em 3em;}

/* definition lists topics on bold */
div#main dl dt { margin: 0 0 0 1em; font-weight: bold; }
div#main dl dd { margin: 0 0 1em 1em; }
div#main dl { margin-bottom: 2em; padding-bottom: 1em; border-bottom: 1px solid #c0c0c0; }
/* End of 'Layout: olson' */

