html, body {background: #004080 url(img/bodybg.jpg) repeat-x;margin: 0;height:100%;}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Layout Blocks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#main {width: 980px;min-height:99%;margin: 0 auto 0 auto;padding: 0;}

#header {height:200px;background-image: url(img/header.jpg);background-repeat: no-repeat;background-position: 0px 0px;}

#infobox { /* Currently holds the login box */float: left;width: 280px;	}
#content { margin: 0px 0 0 290px;clear: right;padding: 5px 5px 5px 5px;}

#contentbox {min-height:190px;background: url(img/mainbg.gif) repeat-y;padding: 8px 8px 8px 8px;}


#mainbgtop {height:20px;padding:0px;background: #fff url(img/main-bg-top.gif) no-repeat;clear:both;margin-left: 0px;}
#mainbgbottom {height:20px;padding:0px;background: #fff url(img/main-bg-bottom.gif) no-repeat;clear:both;margin-left: 0px;}

* html #header {clear:both;height:120px;} /* ie6 misbehaves again */
#pageheader {margin:0px 139px 0 580px;}
#pageheader strong {font-size: 16px;}

#breadcrumbs {font-family:Arial, Helvetica, sans-serif;color: #fff;padding:15px;background: url(img/breadcrumbsbg.jpg) repeat-x;clear:both;}
#breadcrumbs span {font-family:Arial, Helvetica, sans-serif;color: #fff;font-size: 11px;background: transparent url(img/link.gif) no-repeat; padding: 6px 2px 0px 12px; font-weight: bold; }
#breadcrumbs a {font-family:Arial, Helvetica, sans-serif;color: #fff;font-size: 11px;border-bottom: 1px dotted #ffffff;text-decoration: none;}
#breadcrumbs a:hover {font-family:Arial, Helvetica, sans-serif;color: #A2CDDD;font-size: 11px;border-bottom: 1px solid #ffffff;}
#breadcrumbs .menu-current a{color: #fff;}

* html #contentbox #content {text-align:left;} /* ie6 misbehaves */
* html #contentbox #content table {width: 90%;} /* ie6 fix to stop tables being pushed below floats */

.clearcontent {height:60px; clear:both}

#footerbox {margin: -60px auto 0 auto; height:60px; width: 850px; }
#footer {font-size: 90%;color: #666;	margin: 10px 5px 10px 5px;}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Search Box in header */
#search_box {text-align: center;}
#search_box {float: left;clear: left;width: 250px;padding:10px 10px 10px 10px;}
#search_box .searchstring { width:190px;}

#prevnext {float:right;margin-top:0px;margin-right:5px;color: #fff;font-weight: bold;}
#prevnext a {color: #fff;}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
####	Header Menu #####
#######################

Horizontal Drop-Down Menu based off :
http://www.tanfa.co.uk/css/examples/menu/tutorial-h.asp

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  */
#navContainer {height:30px; display:block;clear:both; background: #c7cad3 url(img/navbg.jpg) repeat-x;}


/* Remove List Formattings
~~~~~~~~~~~~~~~~~~~~  */
ul.menu, li.menu {
list-style-type: none;
margin: 0px;
padding: 0px;
}

/* Header menu */	 
#header_menu {position: absolute; margin-left: 20px;}
#header_menu li {line-height: normal;}
ul#header_menu  {z-index: 10; clear: both;}

#nav {
float:left;	
height: 30px;	
border: 0;	
padding:0;
}
#nav ul {
list-style-type: none; 
margin: 0; 
padding: 0;	
width: auto;
/*
(Disappearing List-Background)
http://www.positioniseverything.net/explorer/ie-listbug.html
*/
position: relative; /* Fix the Stupid IE6 Bug */
}

/* Root Level Link Formatting */
#nav ul li {float: left; color: #fff; text-align: center; font-weight: normal; }
#nav ul li a {display: block; background: url(img/navbgl1.jpg) no-repeat; padding: 8px 10px 7px 10px; color: #fff; text-decoration: none; font-weight: bold; }
/* Root Level link hover */
#nav ul li a:hover, #nav li a:focus, #nav li a:active, #nav ul li a.active, #nav a.menu-current {background: url(img/navbgl1hi.jpg); color: #fff;}
#nav a.menu-parent {background: url(img/navbgl0parent.jpg); color: #fff;}


/*Current page Customisations*/
#nav a.menu-current		{font-weight: bold;} 

/* 2nd Child menu */
#nav .menu li ul {position: absolute; width: 11em; margin: 0; display: none; text-transform: none; border-bottom: 1px solid #3b4750; border-left: 1px solid #3b4750; border-right: 1px solid #3b4750; font-size: 100%; background: #8aa3b7;}
#nav .menu li ul li {width: 11em; text-align: left; font-weight: normal; margin: 0; padding: 0; line-height: 1.2em;}
#nav .menu li ul li a {width: 10.5em; padding: .3em .1em .3em .4em; color: #fff; border-top: 1px solid #3b4750; font-weight: normal;  background: none;}

/* 2nd Child link hover */
#nav .menu li ul a:hover,  #nav .menu li ul a.menu-current { background: #7290a7 url(img/navbgl1hi.jpg); color:#fff;}
#nav .menu li ul a.menu-parent {background:#B4B5B8 ; color:#fff;}

/* Show and hide */
#nav .menu li:hover ul, #nav .menu li a:focus ul, #nav .menu li.subMenu ul {display: block;}
#nav .menu li ul ul { display: none;}
#nav .menu li:hover ul ul, #nav .menu li.subMenu ul ul {display: none;}
#nav .menu li:hover>ul, #nav .menu li li:hover>ul, #nav .menu li.subMenu>ul, #nav .menu li li.subMenu>ul {display: block;  z-index: 1000;}


/* 3rd Child Menu Appreances */
#nav .menu li ul li ul	{ margin: 5px 0 0 -40%; z-index: 9999;  background: #B4B5B8 ;}
#nav .menu li ul li ul li	{width: 11em;}
#nav .menu li ul li ul li a 	{ width: 10.5em;}

/* 4rd Child Menu Appreances */
#nav .menu li ul li ul li ul	{  width: 9em; background:#B4B5B8 ;}
#nav .menu li ul li ul li ul li	{  width: 9em; }
#nav .menu li ul li ul li ul li a 	{ width: 8.5em;}

/* Positioning the Pop-out Drops */
#nav li {position: relative;}

#nav ul ul ul {
position: absolute;
top: 1px;
left: 100%;
}

#nav li:hover {
z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

/* end menu */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */


/* Customise the Login Box */


#login-box {text-align: center;	line-height: 120%; margin: 1em 5px 0.3em 5px;}
#login-box fieldset {border:0; text-align:center;}
#login-box legend		{
font-size: 90%;	
color: #333;
}
.username {color: #009;} /* Color of name when logged in*/
.topboxbody {font-size:0.8em;padding:2px;}

#login-box input {
display:block;	
font-size: 10px;
margin: 2px auto 1px auto;
width: 100px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Custom Classes (Re-useables)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/*  Float containers fix: */
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
/*  \*/
* html #clearfix {
height: 1%;
}
/*  */

.stealth {visibility:hidden; display:none;} /* hides from normal css enabled browsers */





