/* This section transforms a standard HTML unordered list (UL) into a horizontal nav bar with 3 level
   dropdown menus. 
	 The outer UL needs to be tagged thus - id="nav" 
	 The A tag in any LI tag that has a sub menu should have a class name of 'daddy'
	 */
#nav, #nav ul { /*Characteristics of top level navigation ul*/
	float: left;
	width: 735px; /* the width of the whole nav bar */
	list-style: none; /* remove list decoration */
	line-height: 1;
	/* background: #c8d7e3; */
	background: #ffffff;
	/* font-size:20px; */
	font-weight: bold;
	padding: 0;
	border: solid #99afc4;
	/* border-width: 2px 0 1px 0; */
	border-width: 0 0 1px 0; 
	margin: 0 0 4px 0; /*Space around the outside of the nav bar*/
}

#nav a {
	font-family:verdana,arial,sans-serif; font-weight:bold; font-size:12px;
	display: block;
	color: #293d6b; /*Text colour of links*/
	text-decoration: none;
	padding: 2px 2px 2px 2px; /*Space around the text inside of the links*/
}

#nav a.daddy {
	background: url(images/fw.gif) center right no-repeat; /* used in dropdowns that have a child */
}

#nav li { /*Characteristics of top level navigation li*/
	float: left;
	padding: 0;
	width: 103px;
	border-top: solid #cef;
	border-right: solid #99afc4;
	border-left: solid #cef;
	border-bottom: solid #99afc4;
	border-width: 1px 1px 1px 1px; 
	border-radius: 7px 7px 0px 0px;
	background: #c8d7e3;
}

#nav li ul { /*Characteristics of drop down navigation box (ul)*/
	position: absolute;
	left: -999px;
	height: auto;
	width: 160px; /*Sets width of drop down box*/
	font-weight: bold;
	border-width: 1px; /*Sets width of border of drop down box*/
	margin: 0;
}

#nav li li { /*Characteristics of drop down navigation item (li)*/
	padding-right: 0;
	width: 160px  /*Sets width of the 'li' in drop down box*/
}

#nav li ul a { /*Characteristics of drop down navigation link ul*/
	padding-right: 0;
	width: 156px; /*Sets width of 'a' in drop down box (make less than li by amount of horizontal padding)*/
	padding: 2px 0em 2px 4px; /*Space around the text inside of the links*/
}

#nav li ul ul { /*Characteristics of second level drop down navigation ul*/
	margin: -15px 0 0 158px;  /*Shifts drop down up and right(<= to parent box width) */
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul { /*First and Second level dropdown mouseout position*/
	left: -999px;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /*Top level item position*/
	left: auto;
}

#nav li:hover, #nav li.sfhover { /*Mouseover colour*/
	background: #99afc4;
}

/*
This section defines the rendering of the child navigation links
*/
#childnav, #childnav ul { /*Characteristics of top level navigation ul*/
	float: left;
  list-style: none; /* remove list decoration */
	line-height: 1;
	padding: 0 0 0 0;
	border: solid #99afc4;
	border-width: 2px 0 1px 0; 
	margin: 0 0 4px 0; /*Space around the outside of the nav bar*/
}

#childnav a {
	font-family:verdana,arial,sans-serif; font-weight:bold; font-size:11px;
	display: block;
	color: #293d6b; /*Text colour of links*/
	text-decoration: none;
	padding: 2px 0em 2px 4px; /*Space around the text inside of the links*/
}

#childnav li { /*Characteristics of li*/
	float: left;
  padding: 0;
	width: 150px;
	background: #c8d7e3;
	border-top: solid #cef;
	border-right: solid #99afc4;
	border-left: solid #cef;
	border-bottom: solid #99afc4;
	border-width: 1px 1px 1px 1px; 
}

#childnav li:hover, #childnav li.sfhover { /*Mouseover colour*/
	background: #99afc4;
}

/*
This section defines the rendering of the 'related' navigation links
*/
#rnav, rnav ul {
	float: left;
  list-style: none;
	line-height: 1;
	padding: 0 0 0 0;
	margin: 0 0 4px 8px; /*Space around the outside of the nav bar*/
	width: 140px;
}

#rnav a {
	font-family:verdana,arial,sans-serif; font-weight:bold; font-size:10px;
	display: block;
	color: #666; /*Text colour of links*/
	text-decoration: none;
	padding: 0px 0px 2px 4px; /*Space around the text inside of the links*/
}

#rnav li { /*Characteristics of li*/
	float: left;
  padding: 0;
	width: 140px;
	background: url(images/bl-bullet.gif) 0% 0% no-repeat;
}

#rnav a:hover, #rnav a.sfhover { /*Mouseover effect*/
	text-decoration: underline;
}
