/* Start of CMSMS style sheet 'ANEXv2 : Layout' */
/*****************
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: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 0.9em;
   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,
a:visited {
   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: #75C240;
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #75C240;
}

/*****************
basic layout 
*****************/
body {
   background:#f3f3f3;
   color:#505050;
   margin: 1em 5em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   padding-top: 1%;
   margin: 0 auto;       /* this centers wrapper */
   max-width: 80em;   /* IE wont understand these, so we will use javascript magick */
   background-color: #fff;
   color: #505050;
}



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


div#main {
   margin-left: 35%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 30%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;

}

div#footer {
   clear: both;       /* keep footer below content and menu */
   background: #75C240;
   color: #fff;

}
div#footer td {
  width: 200px;
}

div#footer p {

   font-size: 0.7em;
   padding: 0 1.5em;       /* some air for footer */
   text-align: right;  /* centered text */
   margin: 0.7em 0 1em 0;
   font-weight: bold;
}


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

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

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#content h2 {
	color: #75C240;
	font-size: 1.5em; 
        text-align: left;
/* some air around the text */
	padding-right: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px solid  #75C240;
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #75C240;
   font-size: 1.3em;
text-align: left;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #75C240;
   font-size: 1.2em;
text-align: left;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #75C240;
text-align: left;
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #75C240;
text-align: left;
   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.4em;
   padding: 0;

}

strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* END TEXT */


/* END LISTS */
/* End of 'ANEXv2 : Layout' */

