/* Start of CMSMS style sheet 'monojo layout css' */
/*****************
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: Georgia, serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
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
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* 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: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   color: #7d7d7d;
   margin:1em; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid lime;
   margin: 0 auto;     /* this centers wrapper */
   width: 806px; /* IE wont understand these, so we will use javascript magick */
background-color: #fff ;;
   color: black;
}

.pagewrapper15 {
background: #fff url(uploads/backgrounds/mainbackground.png) repeat-y;;
}

.pagewrapper52 {
background: #fff url(uploads/backgrounds/mainbackground52.png) repeat-y;;
}

.pagewrapper53 {
background: #fff url(uploads/backgrounds/mainbackground53.png) repeat-y;;
}

.pagewrapper54 {
background: #fff url(uploads/backgrounds/mainbackground54.png) repeat-y;;
}

.pagewrapper55 {
background: #fff url(uploads/backgrounds/mainbackground55.png) repeat-y;;
}

.pagewrapper56 {
background: #fff url(uploads/backgrounds/mainbackground56.png) repeat-y;;
}

.pagewrapper57 {
background: #fff url(uploads/backgrounds/mainbackground57.png) repeat-y;;
}



div#headerwrapper {background-color: #fff; border: 0px solid lime; height: 100px; padding-bottom: 0px;}

.header15 {background: #fff url(uploads/backgrounds/header.png) no-repeat 0 80px;}
.header52 {background: #fff url(uploads/backgrounds/header52.png) no-repeat 0 80px;  }
.header53 {background: #fff url(uploads/backgrounds/header53.png) no-repeat 0 80px;  }
.header54 {background: #fff url(uploads/backgrounds/header54.png) no-repeat 0 80px;  }
.header55 {background: #fff url(uploads/backgrounds/header55.png) no-repeat 0 80px;  }
.header56 {background: #fff url(uploads/backgrounds/header56.png) no-repeat 0 80px;  }
.header57 {background: #fff url(uploads/backgrounds/header57.png) no-repeat 0 80px;  }

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {

   background: #fff; 
width: 149px;          
float: left;
margin-top: 10px;
padding-bottom: 10px;
}

div#header h1 a {
/* you can set your own image here */
   background-color: transparent; 
color: #454545;
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
width: 139px;
   font-family: Georgia, serif;
font-size: 30px;
   line-height: 30px;
font-weight: normal;

}

div#search {
   float: right;
   width: 10em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

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" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 


 ndiv#content {
   margin: 1.5em auto 2em 0; /* some air above and under menu and content */
border: 0px solid lime;
}

div#content {

}

div#main {
   margin-left: 0; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 0px; /* and some air on the right */
float:left;
border: 0px solid lime;
width: 587px;
background-color: transparent;
margin-top: -20px;
padding-right: 0px;
}


div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 212px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0px;
   margin-right: 0px;
margin-top: 8px;
border: 0px solid yellow;
margin-top: -17px;
overflow: visible;

}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 0;
   width: 212px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #888;
   background-color: #fff; /* same bg color as in header */
font-family: georgia, serif;
background-color: #fff;  
border: 0px solid lime;
margin: 0 0;
width: 799px;
}

.footer15 {background: #fff url(uploads/backgrounds/footer.png) no-repeat 0 -5px;  }
.footer52 {background: #fff url(uploads/backgrounds/footer52.png) no-repeat 0 -5px;  }
.footer53 {background: #fff url(uploads/backgrounds/footer53.png) no-repeat 0 -5px;  }
.footer54 {background: #fff url(uploads/backgrounds/footer54.png) no-repeat 0 -5px;  }
.footer55 {background: #fff url(uploads/backgrounds/footer55.png) no-repeat 0 -5px;  }
.footer56 {background: #fff url(uploads/backgrounds/footer56.png) no-repeat 0 -5px;  }
.footer57 {background: #fff url(uploads/backgrounds/footer57.png) no-repeat 0 -5px;  }


div#footer p {
   font-size: 0.8em;
   padding-top: 22px;      /* some air for footer */
   text-align: left; 
   margin: 0 0 0 157px;
}

div#footer p a {
   color: #aaa; /* needed becouse footer link would be same color as background otherwise */

}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
display: none;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
display: none;
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
display: none;
}




/********************
CONTENT STYLING
*********************/


/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #777; 
   font-size: 30px; 
font-weight: normal;
   text-align: left; 
/* some air around the text */
   padding-left: 0em;
   padding-bottom: 1px;
/* set borders around header */
   line-height: 38px;
/* and some air under the border */
   margin: 8px 0 0 0;
font-family: georgia, serif;
margin-left: 157px;

}
div#content h3 {
   color: #838383; 
   font-size: 20px;
   line-height: 22px;
   margin: 0 0 0.5em 0; 
font-family: georgia, serif;

}



div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

p {font-family: georgia, serif; font-size: 13px; line-height: 16px;}


/* START centre content blocks */



div.maincontent {width: 585px; }

div.maincontent p {margin-left: 157px; margin-right: 0px; font-family: georgia, serif; font-size: 13px; line-height: 16px; width: 422px; }

div.maincontenttitle {width: 157px; border: 0px solid blue; float: left;}
div.maincontenttitle h3 {width: 150px; text-align:right; margin-right: 8px; font-weight: normal; }

div.maincontentpicture {width: 251px; border: 0px solid blue; float: left;}

div.maincontentdescription {width: 176px; border:0px solid blue; float: left;}
div.maincontentdescription p{width: 160px;  margin-left: 6px;}

div.maincontenthr {width: 585px; height: 1px; border-top: #d2d1d1 1px solid;  float: left; clear: both; margin: 8px 0px 2px 1px; padding: 0 0px 0px 0;}
/* add a background bitmap here and remove border */

div.sidebarhr {width: 212px; height: 1px; border-bottom: 1px solid #fff;  float: left; clear: both; margin: 0px; }

div.maincontenthr br {clear:both;}

/* END centre content blocks */

/* START right side content blocks */

div#sidebar h3 {width: 202px; margin-left: 8px; margin-top: 8px; font-size: 17px; color: #777; font-weight: normal; float: right; }


div#sidebar p {width: 202px; margin: 8px; font-family: georgia, serif; font-size: 13px; line-height: 16px; }

/* END right side content blocks */

/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
color: #7d7d7d;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}




/* END TEXT */

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

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */


/* CONTACT FORM */

div#monojocontactform {margin: 10px 10px 10px 10px;}

.contactform fieldset {padding: 10px 0 10px 0; background-color: transparent; border: 0;} 
.contactform fieldset legend {font-weight: bold; display: none;} 
.contactform div {width: 100%; padding: 0.25em 0 0.25em 0;} 
.contactform div label {display: block; width: 139px; text-align: right; float: left; margin-right: 8px;} 
.contactform div.required {color: #555;} 
.contactform div.required input, textarea {width: 251px;} 
.contactform div.submit {margin-left: 147px; margin-bottom: 40px;} 

/* End of 'monojo layout css' */

