/* padding: top right bottom left; */

body {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	background-color: #FFFFFF;
	margin: 5px;
	line-height: 1.1em;	
	text-align: center;
}

/* The main wrapper div, position relative. All other div's are absolute within this div. */
#wrapper {
	position: relative;
	width:950px;
	background-image: url(../images/wrapper-back.jpg);
	background-repeat: repeat-y;
	border: 3px solid #000066;
}
#content {
	font-size: 0.75em;
	position: static;
	padding: 20px 20px 20px 210px;
	margin : 0px auto;
	text-align: left;
	border: 1px none #0066CC;
}
/* Fix for IE */
* html #content   /* this selector recognized by IE only */
{width: 100%;}


/* Site header (Top banner of the site) */
#header {
	position: relative;
	left: 0px;
	top: 0px;
	height: 122px;
	background-image: url(../images/header-back.jpg);
	background-repeat: no-repeat;
	border: 1px none #0066CC;
}
/* The outer div for the navigation (to position it) */
#menu {
	left: 8px;
	top: 132px;
	position: absolute;
	width: 168px;
	padding: 0px;
	background-image: url();
	background-repeat: no-repeat;
	background-position: left top;
	height: 216px;
}

/* Style Information */
h1 {
	color: #000066;
	font-weight: bold;
	padding: 2px 2px 2px 2px;
	font-size: 1.8em;
	line-height: 1.1em;
	margin: 0px;
	border: 3px none #000066;

}
h2 {
	font-size: 1.4em;
	color: #000066;
	font-weight: bold;
}
h3 {
	font-size: 1.2em;
	color: #000000;
	font-weight: bold;
}
h4 {font-size: 1.4em; color:#FFFFFF; font-weight: normal; background-color:#003399; padding: 3px 3px 3px 10px;}

/* Document footer */
#footer {
	height: 120px;
	padding: 3px 0px 0px 0px;
	bottom: 0px;
	position: relative;
	text-align: center;
	background-color: #000066;
	border: 1px none #0066CC;
	font-size: 0.8em;
	color: #FFFFFF;
	background-image: url(../images/footer-back.gif);
	background-repeat: repeat-x;
	clear: both;
}
* html #footer { height: 90px; text-align: center;} 

#footer td {font-size: 0.8em; color:#D9D9FF; vertical-align:bottom;}
#footer a, #footer a:hover {color:#D9D9FF; text-decoration:underline;}
#footer img { margin: 0px 10px 0px 10px;}
#footer p { padding-left: 10px;}

/* Image Styles */
img.right {
	background: #FFFFFF;
	margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
	float: right;
	border: 1px solid #000000;
}

img.rightnoborder {
	background: #FFFFFF;
	margin-left: 10px;
	margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
	float: right;
	border: none;
}

img.left {
	background: #FFFFFF;
	margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
	float: left;
    border: 1px solid #000000;
}

img.leftnoborder{
	background: #FFFFFF;
	margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
	float: left;
    border: none;
}

img.headright {
	margin: 0px;
	float: right;
}

img.headleft {
	margin: 0px 0px 0px -3px;
	float: left;
}

/* Style for the input boxes */
input {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #222222;
	border: 1px solid #111111;
}

/* Basic links */
a {
	color: #000066;
	text-decoration: underline;
	background-color: none;
    font-weight: bold;
}
a:hover {
	color: #FF9900;
	text-decoration: underline;
	background-color: none;
}

/* following code sets menu position, basic display and sub menu pop ups */
/* remove menu indents */
#navpanel {
	padding-left:0px;
	margin-left:0px;
	position: absolute;
	left: 2px;
	top: 25px;
	font-weight:bold;
  }
  
#navpanel a, #navpanel a:hover { color: #000066;}

/* remove list bullets */
#navpanel li {
  list-style-type:none;
  }

/* remove sub-list indents */
#navpanel ul {
  padding-left:0px;
  margin-left:0px;
  width: 165px;
}

/* fix position of menu list */
#navpanel li {position: relative;}

/* fix position of sub-menus */
#navpanel ul ul {
position: absolute;
top: -0.7em;
left: 100%;
width: 155px;}

/* hide sub menus by default */
#navpanel ul ul {display: none;}
#navpanel ul ul ul {display: none; width: 145px;}
#navpanel ul li:hover ul ul {display: none;}

/* show submenus on rollover */
#navpanel ul li:hover ul {display: block;}
#navpanel ul ul li:hover ul {display: block;}

/* following code controls colour of menu options */
/* set menu link display default*/
/* set menu link font colour on hover*/
#navpanel ul a:hover, #navpanel ul a:active {
	display: block;
	color: #000000;
	font-size: 1.0em;
	background-color: #FF9900;
	background-image: url(main.css);
	background-repeat: no-repeat;
	background-position: 5px center;
	}
	
#navpanel ul a, #navpanel ul a:visited {
	display: block;
	font-weight: bold;
	  font-size: 1.0em;
	color: #FFFFFF;
	padding: 4px 4px 4px 10px;
	border: 1px solid #999999;
	background-color: #666666;
	background-image: url();
	background-repeat: no-repeat;
	background-position: 5px center;
	margin:0px 0px 0px;
}
#navpanel ul a:hover  {
	font-size: 1.0em;
	display: block;
	color: #000000;
	background-color: #FF9900;
	background-image: url(main.css);
	background-repeat: no-repeat;
	background-position: 5px center;
	}
	




/* set sub-menu display properties default*/
#navpanel ul ul a, #navpanel ul ul a:visited {
	font-size: 1.0em;
	display: block;
	color: #000000;
	font-weight: normal;
	padding: 4px;
    background-color: #FFC875;
	font-weight: bold;
	background-image: none;}
	
/* set sub-menu 1 font colour on hover*/
#navpanel ul ul a:hover, #navpanel ul ul a:active {
	color: #000000;
	background-color: #FFFFFF;
	background-image: none;
	font-weight: bold;
}

/* set sub-menu 2 font colour default*/
#navpanel ul ul ul a, #navpanel ul ul ul a:visited { font-weight: normal; font-size: 1.0em; color: #000000; background-color: #D9D9FF;}

/* set sub-menu 2 font colour on hover*/
#navpanel ul ul ul a:hover, #navpanel ul ul ul a:active {font-weight: normal; color: #000000; background-color: #FFFFFF; background-image: none;}
img {
	background-position: center;
	vertical-align: middle;

}
p {
	text-align: left;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;

}
td {background-color:#CCCCCC;
font-size: 0.8em; padding: 10px; valign: top;}

#footer td {background-color: #000066;}

td.whitebackground {background-color:#FFFFFF; text-align: center; padding: 3px 3px 3px 3px; }
