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

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	Layout Blocks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#main { /* Holds the page items in place */
	width: 950px;
	min-height:99%;
	margin: 0 auto 0 auto;
	padding: 0;
	background: #fff url(img/mainbg.gif) repeat-y;
}

#header  { background: #fff url("img/header.jpg") no-repeat 0 2px; height: 130px }


#pageheader  { padding: 30px 120px 0 300px }
#pageheader strong  { background-color: transparent }

#breadcrumbs {
	height:40px;
	padding:10px;
	background: #fff url(img/breadcrumbsbg.gif) repeat-x;
	clear:both;	
}
#breadcrumbs span {
	background: transparent url(img/link.gif) no-repeat; 
	padding: 6px 2px 0px 12px; font-weight: bold; }
	
#breadcrumbs a  { text-decoration: none; border-bottom: 1px dotted #797979 }
#breadcrumbs a:hover  { border-bottom: 1px solid #797979 }
	
#breadcrumbs .menu-current a{
	color: #000000;
}



#infobox     { margin-left: 10px; float: left; border-style: none; outline-style: none }
#innerinfo    { background-color: white; margin-bottom: 20px; padding: 5px 10px 20px; border-style: none; outline-style: none }

#content  { display: inline; margin-left: 20px; width: 640px; float: left }


#rightbox   { display: inline; margin-left: 20px; float: left }

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

#footerbox {margin: -80px auto 0 auto; height:80px; width: 950px; background: url(img/footer.jpg) no-repeat right top;}
#footer  { text-align: center; padding: 30px 200px 0 300px }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* Search Box in header */
#search_box  { text-align: right }
#search_box  { padding: 10px 0 0; float: right; clear: right }

#search_box .searchstring    { border-style: none; outline-style: none }

#prevnext  { color: #fff; font-weight: bold; float: right }
#prevnext a {color: #fff;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
	####	Header Menu #####
	#######################

	Horizontal Drop-Down Menu based off :
	http://www.tanfa.co.uk/css/examples/menu/tutorial-h.asp
	
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  */
#navContainer  { background: #464c5c url("img/navbg.gif") repeat-x; display: block; height: 30px; clear: both }


/* 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;
	position: relative;
	list-style-image: none;
}

/* Root Level Link Formatting */
#nav ul li {float: left; color: #fff; text-align: center; font-weight: normal; list-style-type: none; list-style-image: none;}
#nav ul li a {display: block; background: url(img/navbgl1.gif) no-repeat right 0px; padding: 8px 14px 7px 12px; 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.gif) right 0px; color: #fff;}
#nav a.menu-parent {background: url(img/navbgl0parent.gif) right 0px; color: #fff;}


/*Current page Customisations*/
#nav a.menu-current		{font-weight: bold;} 
#nav .menu .home a {display: block; width:2px; height:30px; background: #7290a7 url(img/home.gif); margin:0; padding:0;}
/* 2nd Child menu */
#nav .menu li ul  { font-size: 100%; background: #7290a7 url("img/ulbg1.jpg") no-repeat right 0; text-transform: none; display: none; margin: -1px 0 0 -1px; position: absolute; width: 11em; border-bottom: 1px solid }
#nav .menu li ul li   { font-weight: normal; line-height: 1.2em; background-color: #464c5c; text-align: left; margin: 0; padding: 0; width: 11em }
#nav .menu li ul li a  { color: #fff; font-weight: normal; background: transparent; padding: 0.3em 0.1em 0.3em 0.4em; width: 10.5em; border-top: 1px solid }

/* 2nd Child link hover */
#nav .menu li ul a:hover,  #nav .menu li ul a.menu-current  { color: #fff; font-weight: bold; background: #464c5c url("img/navbgl1hi.gif") }
#nav .menu li ul a.menu-parent  { color: #fff; background: #464c5c url("img/navbgl1parent.gif") right 0 }

/* 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	 { background: #353535 url("img/ulbg2.jpg") no-repeat right 0; margin: 10px 0 0 -40%; z-index: 9999 }
#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: #808080 url(img/ulbg3.jpg) no-repeat right 0px;}
#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%;
}



/* IE6 only 
*html #nav .menu li ul li ul {margin-left:0 ! important;}*/

/* IE7 only 
*+html #nav .menu li ul li ul {margin-left:0 ! important;}*/

/* ul class="ullev1" , sorry doesnt work
#nav .ullev1  {z-index: 1000 ! important; background: #4b4c4d;}
#nav .ullev2  {z-index: 2000 ! important; background: #4b4c4d;}
#nav .ullev3  {z-index: 3000 ! important; background: #4b4c4d;}
*/

/* Better: */
#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   { padding-top: 5px; border-style: none }
#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 label {clear:left; width: 100px; display:block;
	float:left;}
#login-box input {
	display:block;
	float:left;	
	font-size: 10px;
	margin: 2px auto 1px auto;
	width: 100px;
}
#login-box div {clear:left;}

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





