/* Start of CMSMS style sheet 'side style' */
/*****************
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: Arial, Helvetica, sans-serif, Verdana, Geneva;
   font-size: 75.01%;
   line-height: 1.5em;
}

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

/*****************
basic layout 
*****************/
body {
   background: #84A1B6 url(uploads/images/mttom.jpg) repeat 0 0px;
   color: #333;
   margin:1em; /* gives some air for the pagewrapper */
}

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


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

div#header {
   height: 130px; /* adjust according your image size */
   background: #fff  url(uploads/images/g_logo_bg2.jpg) repeat 0 0px; 
  float: left;         
}

div#header h1 a {
   display: block; 
   height: 108px;             /* 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#content {
   margin: 1em auto 1em 0; /* some air above and under menu and content */
}

div#main {
   margin-left: .5cm; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: .5cm; /* and some air on the right */
   width: 480px;
   margin-top: 10px;
}


div#sidebar {
   float: center;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 170px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
   color: #ffffff;
}

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

}

.footer {
   color: #ffffff;
   background-color: #84A1B6;
}

.footer p {
   font-size: 11px;
   text-align: left; 
}

.footer a:link {
   color: #ffffff; /* needed because footer link would be same color as background otherwise */
   text-decoration: none;
}

.footer a:hover {
   text-decoration: underline;
}

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




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	padding-top: 10px;
	color: #134E0C;
	text-align: left;	
	}

div#content h2 {
   font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	padding-top: 10px;
	color: #134E0C;
	text-align: left;	
	}

h3 {
   font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	padding-top: 10px;
	color: #134E0C;
	text-align: left;	
	}


h4 {
   font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	padding-top: 5px;
	color: #134E0C;
	text-align: left;	
        font-weight: bold;
        text-decoration: underline;
	}

div#content h5

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

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


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   background-color: #transparent;
   color: #000000;
}
/* End of 'side style' */

