/* Start of CMSMS style sheet 'main layout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
/* What was Changed
body - background
header - size, background
header h1 - image, height
pagewrapper - width
footer - image
*/


* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-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: none;
   background-color: inherit; 
   color: #294b5f; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
   color: #294b5f;                /* a different color can be used for visited links */
}

a:hover {
   text-decoration: none;
   color: #4A9ED6;
}

/*****************
basic layout 
*****************/
body {
   background: #0B0B0B url(uploads/images/siteback.jpg) repeat;
}

div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   width: 800px;
}

div#header {
   height: 115px; /* adjust according your image size */
   background: url(uploads/images/top.png) no-repeat;          
}

div#logo h1 a{
   float: left;
   margin: 35px 0px 0px 30px;
   background: url(uploads/images/weblogo.png) no-repeat; 
   display: block;
   width: 239px; 
   height: 62px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#bodywrapper {
   background: url(uploads/images/mid.png) repeat-y;
}

div#nav {
   margin-left: 13px;
   margin-right: 12px;
}

div#footer {
   clear:both;       /* keep footer below content and menu */ 
   background: url(uploads/images/bottom.png) no-repeat;
   height: 25px; 
}

div#copyright { 
   text-align: right;
   color: #7B7B7B;
   font-size: 10px;
   margin-right: 12px;
}

/* 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;
}

/* relational links under content */
div.left49 {
  float: left;
  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;
}

#pgspacer {
   clear: both;
   height: 2px;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#content h3 {
   color: #ffffff;
   background-color: #185E8B; 
   font-size: 1.3em;
   margin-bottom: 5px;
   padding: 7px;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
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;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.8em;
   padding: 0;
}
blockquote {
   margin-left: 10px;
   margin-right: 10px;
   line-height:1.8em;
}
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;
}

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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/*TABLE*/
td {
   padding: 3px;
}


/* 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 */
/* End of 'main layout' */

