/* Start of CMSMS style sheet 'Layout: ELEA left sidebar + 1 column' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin:0px;
padding:0px;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Geneva, Arial, Helvetica, sans-serif;
   font-size: 95%;
   line-height: 120%;
}

/*
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;
/* 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: none;
   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: #acbff3;
   margin:0em;    /* gives some air for the pagewrapper */
}

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


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/

div#header {
   height: 181px;    /* adjust according your image size */
   /*background: url(rotate.php) top center no-repeat;  */
}


div#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 151px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: url(uploads/images/logobottom.gif) no-repeat 0px; /* the background color will be displayed for the length of the content in the column, but no further */
       background-position: top left;
	padding: 0px 0px 0px 0px;
}

div#sidebar2 { 
	margin: 0 0 0 151px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 0 00px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
      background: url(uploads/images/bg-whiteblue-maincontent.gif);
}

div#bottomheader {
right: 0px;
height: 62px;
    background: url(uploads/images/bannerbottom.gif) no-repeat 0px 0px; 
}


div#navigationtopspace {
margin-top: 35px;
padding-left: 5px;
}


div#main {
   margin-left: 0px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   padding-left: 20px;
   margin-right: 40px; /* and some air on the right */
   background: url(uploads/images/bg-whiteblue-maincontent.gif);
}

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

div#quicklinkbox {
	padding: 10px;
	width: 225px;
	border: thin solid #000000;
	background-color: #acbff3;
	margin-right: 1px;
        margin-left: 10px;
	float: right;
}



div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   width: 800px;
   margin: 0 auto;
   background: #16285b;  /* same bg color as in header */
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
   color: #ffffff;
}

div#footer p a {
   color: #fff; /* 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;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}


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




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

h1 {
font-family: Geneva, Arial, Helvetica, sans-serif;   
font-size: 2em; /* font size for h1 */
   line-height: 1em;
   color: #961005;
   margin: 0;
   padding-bottom: .25em;
border-bottom: 1px solid #961005; 
/* and some air under the border */
        margin: 0 0 0.5em 0;
}




div#content {
}

/* HEADINGS */
div#content h1 {
font-family: Geneva, Arial, Helvetica, sans-serif;   
font-size: 2em; /* font size for h1 */
   line-height: 1em;
   color: #961005;
   margin: 0;
border-bottom: 1px solid #e7ab0b; 
/* and some air under the border */
        margin: 0 0 0.5em 0;
}

h2 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 185%;
	font-weight: bold;
	color: #FFFFFF;
	margin-bottom: .5em;
	padding: 0px;
}

h3 {
font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 135%;
       line-height:120%;
	font-weight: bold;
	color: #16285B;   
margin-top: 0;
margin-bottom: .25em;

}
h4 {
   color: #16285b; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h5 {
   color: #16285b; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #ffffff; 
   font-size: 90%;
   line-height: 130%;
   margin: 0 0 2em 0;
   border-bottom: 1px solid white;
}

/* END HEADINGS */

/* TEXT */


p {
   font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 90%;
	line-height: 130%;
	color: #333333;
	margin: 0 0 1em 0;
	padding: 0px;
}


.quicklinktext {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 80%;
	line-height: 120%;
	color: #000000;
	margin: 0px;
	padding: 0px;
	list-style-type: square;
}


/*TABLES*/
table.elealinkbox {
        font: 100% Geneva, Arial, Helvetica, sans-serif;
        margin: 0 auto;
        width: 90%;
	border-width: 0px 0px 0px 0px;
	border-spacing: 2px;
	border-style: solid solid solid solid;
	border-color: #000000;
	border-collapse: collapse;
	background-color: transparent;
}
table.elealinkbox th {
	padding: 5px 5px 5px 5px;
	border-style: none none solid none;
        border-color: #ffffff;
        border-width: 0px 0px 1px 0px;
        vertical-align: top; 
	background-color: none;
	-moz-border-radius: 0px 0px 0px 0px;
}
table.elealinkbox td {
	padding: 15px 0px 2px 0px;
        border-style: solid none none none;
        border-color: #ffffff;
        border-width: 1px 0px 0px 0px;
        vertical-align:  top;
        background-color: none;
	-moz-border-radius: 0px 0px 0px 0px;
}

table.elealinkbox p a {
font-size: 90%;
margin: 0;
line-height: 1.4em;
text-decoration: none;
}





hr {
margin-top: .5em;
margin-bottom: .5em;
color: #16285b; 
}

a:link { 
font-size: 100%;
font-family: Arial, Helvetica, sans-serif; 
color: #000066; 
text-decoration: none;}



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

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

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: 100%;
   line-height: 130%;
   margin: 0 0 1.5em 0;
   color: #333333;
}

div#main ul li,
div#main ol li {
font-size: 100%;
	line-height: 130%;

margin: 0 0 0.25em 1em;
   color: #333333;
}

/* definition lists topics on bold */
div#main dl dt {

   margin: 0 0 0 0em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


ul,
ol,
dl {
   font-size: 100%;
   line-height: 130%;
   margin: 0 0 1.5em 0;
   color: #333333;
}

ul li,
ol li {
font-size: 100%;
	line-height: 130%;

margin: 0 0 0.25em 1em;
   color: #333333;
}

/* definition lists topics on bold */
dl dt {

   margin: 0 0 0 0em;
}
dl dd {
   margin: 0 0 1em 1em;
}

dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'Layout: ELEA left sidebar + 1 column' */

