/* Basic */

*
{
	margin: 0em;
	padding: 0em;
}

body
{
	font-family: Verdana, Arial, sans-serif;
	font-size: 11pt;
	color: #666666;
	background-color: #ffffff;
}


a
{
	color: #003366;
	text-decoration: none;
}

a:visited
{
	color: #009999;
}
a:hover
{
	color: #009999;
}
a:active
{
	color: #009999;
}

/* Images */

.framedimage img
{
border: 0.6em ridge #009999;
margin-left: 1.4em;
}

.framedimage p
{
margin-left: 1.4em; font-size: 1em; font-style: italic; font-weight: bold;
}


/* Banner */

#banner
{
	padding: 0em;
	margin: 0em;
	width: 100%;
}

/* Header */

#header

{
	position: relative;
	background: #003366;
	background: url('logos/logo-repeat.gif') top right repeat-x;
	height: 150px;
}

#header h1
{
	position: absolute;
	top: 40px;
	right: 8px;
	font-size: 2.2em;
	letter-spacing: -0.05em;
}

#header h1 a
{
	color: #ffffff;
	text-decoration: none;
}

#header h2
{
	position: absolute;
	top: 100px;	right: 8px;
	font-size: 1em;
	color: #E0E8EF;
}

/* Bar */

#bar

{
	margin: 0;
	padding: 0;
	width: 100%;
}

#search

{
	position: relative;
	float: left;
	display: inline;
	font-size: 0.9em;
	padding: 0.5em 0 0 0.5em;
}


/* Menu */

/* =========================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html is available at http://www.cssplay.co.uk/menus/final_drop3.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any way to fit your requirements.
============================================ */

.menu {z-index: 3; position: relative; float: right; display: inline; font-size: 0.9em;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none; height: 3em; background:#ffffff;}

/* style the sub-level lists */
.menu ul ul {width:15em;}

/* float the top list items to make it horizontal and a relative position so that you can control the dropdown menu positon */
.menu ul li {float:left;height:3em;line-height:3em;}

/* style the sub level list items */
.menu ul ul li{display:block;width:12em;height:auto;position:relative;line-height:3em;}

/* style the links for the top level */
.menu a, .menu a:visited {display:block;float:left;height:100%;font-size:1em;text-decoration:none;color:#003366;background:#ffffff;padding:0 1em 0 1em;}

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited {display:block;background:#ffffff;color:#003366; width:12em;height:100%;line-height:1em; padding:0.5em 1em;}
.menu ul table ul a, .menu ul table ul a:visited  {width:14em; width:12em;}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; left:0; top:0; font-size:1em; z-index:-1;}
.menu ul ul table {left:-1px;}
.menu ul ul table ul.left {margin-left:2px;}

.menu li:hover {position:relative;}
* html .menu a:hover {position:relative;}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#ffffff;}
/* style the fourth level background */
.menu ul ul ul ul a, .menu ul ul ul ul a:visited {background:#ffffff;}
/* style the sub level 1 background */
.menu ul :hover a.sub1 {background:#d8d8d8;}
/* style the sub level 2 background */
.menu ul ul :hover a.sub2 {background:#d8d8d8;}

/* style the level hovers */
/* first */
.menu a:hover {color:#009999;background:#e0e8ef;}
.menu :hover > a {color:#009999;background:#e0e8ef;}
/* second */
.menu ul ul a:hover{color:#009999;background:#d8d8d8;}
.menu ul ul :hover > a {color:#009999;background:#d8d8d8;}
/* third */
.menu ul ul ul a:hover {background:#eee;}
.menu ul ul ul :hover > a {background:#eee;}
/* fourth */
.menu ul ul ul ul a:hover {background:#eee;}

/* hide the sub levels and give them a position absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:3em;left:0;width:14em;}

/* position the third level flyout menu */
.menu ul ul ul{left:14em;top:0;width:14em;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-14em;}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul {visibility:visible; height:auto; padding-bottom:1em; background:#ffffff;}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{visibility:visible;}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {visibility:visible;}


/* Content */

#content
{
	clear: both;
	position: absolute;
	top: 181px;
	line-height: 1.5em;
}


#content p
{
	margin-bottom: 1em;
}

#content h2,h3,h4,h5,h6
{
	color: #545454;
	padding-bottom: 0.3em;
}

#content h2
{
	font-size: 1.4em;
}

#content h3
{
	font-size: 1.1em;
}

#content ul
{
	list-style-type: disc;
	list-style-position: inside;
}


/* Main Content */

#maincontent
{
	float:left;
	width: 42em;
	margin: 2em 1em 1em 2em;
	background-color: #ffffff;
}



/* SideBar */

#sidebar
{
	margin: 2em 1em 1em 47em;
	border: 0.2em #003366 solid;
	background-color: #E0E8EF; max-width: 18em;	padding: 1em; padding-left: 2em;}

/* Footer */

#footer
{
	clear: both;
	padding: 1em;
	border-top: dashed 1px #dfdfdf;
	text-align: center;
}