/* Start of CMSMS style sheet 'babette' */
/*****************
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: "Trebuchet MS",Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
   font-size: 12px;
   line-height: 1.5em;
   color:#2b2b2b;
}

p {
 color:#2b2b2b;
}
/*
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 {
   border: 0;
}

/*
default link styles
*/

a,
a:link 
a:active {
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; 
   color: #777; 
}

a:visited {
   background-color: inherit;
  color: #777;                /* a different color can be used for visited links */
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #fff;
}

/*****************
basic layout 
*****************/
body {
   color: #0b0300;
   margin-bottom:0.5em;
}

/* center wrapper, width / height / background */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width: 850px;   /* IE wont understand these, so we will use javascript magick */
   background: url(uploads/images/back.jpg) no-repeat 0 0 #c1c1c1;
position:relative;  
}


div#logo {
   position:absolute;
   top:52px;
   left: 37px;
}

div#header { display:none;}
div#header h1 { display:none;}
div#header h1 a { display:none;}

/* position for the search box */
div#search {
  float:right;
  width: 28em;    /* enough width for the search input box */
  text-align: right;
}

div.breadcrumbs {
   font-size: 90%;  
   color:#fff;
   margin: 0.5em 2em 0 0; 
   float:right;
   text-align:right;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#content {
   clear:both;
   min-height:300px;
   margin-top: 120px;
   background: url(uploads/images/content.jpg) no-repeat 0 0 #c1c1c1; 
 }

div#main {
   margin-left: 3em;
   margin-right: 400px;
}

div#media {
   margin-left: 3em;
   margin-right: 3em;
}

div#media h3 {
   margin-top:2em;
}

div#main2 {
   margin-left: 3em;
   margin-right: 3em;
   
}

div#sidebar {
   float: right;       /*  set sidebar on the left side. Change to right to float it right instead. */
   width: 315px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left:2em;
   margin-right: 3em;
   margin-top:0;
}

div#docent {
display:block;
height:auto;
margin:2em 0;
}

div#docent img {
margin-right:2em;
float:left;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   height:100px;
   background: url(uploads/images/footer.jpg) no-repeat 0 0;    
}

div#footer p {
   font-size: 0.8em;
   padding: 3.5em 0 0 0;       /* some air for footer */
   text-align: center;  /* centered text */
   margin-top: 0;
   color: #fff;
}

div#footer p#footermenu {
   margin-top:-3em;
   font-size: 0.9em;
}

div#footer a {
   color: #999; /* needed because footer link would be same color as background otherwise */
  text-decoration: none;
  margin:0 0.5em;
}

div#footer a:hover{
   color: #fff; /* needed because footer link would be same color as background otherwise */
  text-decoration: none;
  background-color: transparent;
}

hr#clear {
   height:1%;
   width:1%;
   visibility: hidden;
   display:none;
   clear:both;
}

/* 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;
}

/********************
CONTENT STYLING
*********************/

/* HEADINGS */
div#content h1 {
   display:none;
}
div#content h2 {

}

div#content h3 {
 
}
div#content h4 {
   
}
div#content h5 {
  
}
h6 {
 
}

/* END HEADINGS */
/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 0.5em 0; /* some air around p elements */
   line-height: 1.5em;
   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;
}

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: 1em;
   line-height: 1.5em;
   margin: 0 0 1em 2em;
   padding:0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 0;
   color: #2b2b2b;
}


div#docent ul,
div#docent ol,
div#docent dl {
   font-size: 1em;
   line-height: 1.5em;
   margin: 0 0 1em 1em;
   padding:0;
}

div#docent ul li,
div#docent ol li {
   margin: 0 0 0.25em 0;
   color: #2b2b2b;
}

/* 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 'babette' */

