@charset "UTF-8";


	#nav {	
		background: url(../images/bg_submenu.png) bottom no-repeat;
		position: relative;
		top: 0px;
		height:46px;
	}
	#nav ul{
		display:block;
	}

	#nav li ul, #nav li ul {
		margin: 0;
		padding: 0;
	}

	#nav a {
		text-decoration: none;
	}

	#nav li { /*float the main list items*/
		margin: 0;
		float: left;
		display: block;
		padding-right: 2px;
	}

	#nav li ul {
		display: none;
	}

	#nav li.off ul, #nav li.on ul  { /*put the subnav below*/
		position: absolute;
		top: 27px;
		left: 0px;
		padding-top: 2px;
		background: none;
		height: 17px;
		width: auto;
		padding-left: 0px;
	}
	

	#nav li.off ul.ulAbout, #nav li.on ul.ulAbout  { /*put the subnav below*/
		position: absolute;
		top: 27px;
		left: 0px;
		padding-top: 2px;
		margin-left:230px;
		background: none;
		height: 17px;
		width: 100%;
		padding-left: 0px;
	}
	
	#nav li.off ul.ulServices, #nav li.on ul.ulServices  { /*put the subnav below*/
		position: absolute;
		top: 27px;
		left: 0px;
		padding-top: 2px;
		margin-left:75px;
		background: none;
		height: 17px;
		width: auto;
		padding-left: 0px;
	}
	
	

	#nav li.on ul {
		background: none;
	}

	#nav li.on:hover ul, #nav li.over ul { /*for ie*/
	
		background: none;
	}

	#nav li a {
		color: #666666;
		font-weight: bold;
		display: block;
		width: 90px;
		padding: 0;
	}

	#nav li.on a {
		color: #666666;
	}

	#nav li.on ul a, #nav li.off ul a {
		border: 0;
		float: left; /*ie doesn't inherit the float*/
		color: #666666;
		width: auto;
		margin-right: 15px;
	}

	#nav li.on:hover ul a, #nav li.over ul li a { /*for ie - the specificity is necessary*/
		
		background: none;
	}

	#nav li.on ul {
		display: block;
	}

	#nav li.off:hover ul, #nav li.over ul {
		display: block;
		z-index: 6000;
	}

	#nav li.off a:hover, #nav li.on a:hover { 
		color: #99c93c;
	}

	/*do the image replacement*/

	#nav li span {
		position: absolute;
		left: -9384px;
	}

	#liServices a, #liGift a, #liAbout a, #liHome a, #liContact a, #liBook a {
		display: block;
		position: relative;
		height: 27px;
		background: url(../images/menu_map.png) no-repeat; /*contains all hover states*/
	}

	#liBook a {
		display: block;
		position: relative;
		height: 27px;
		background: url(../images/menu_book.png) no-repeat; /*contains all hover states*/
	}

	#liHome a {
		display: block;
		position: relative;
		height: 27px;
		background: url(../images/menu_home.png) no-repeat; /*contains all hover states*/
	}

	#liBook a:hover, #liBook a:focus{
		background: url(../images/menu_book_over.png) no-repeat; /*contains all hover states*/
	}

	#liHome a:hover, #liHome a:focus{
		background: url(../images/menu_home_over.png) no-repeat; /*contains all hover states*/
	}

#liSubMenu a {
		display: block;
		position: relative;
		height: 17px;
	}


/*first, put the initial states in place*/

#liServices a {
	background-position: 0 0;
}

#liGift a {
	background-position: -90px 0;
}

#liAbout a {
	background-position: -180px 0;
}

#liContact a {
	background-position: -270px 0;
}

/*active area - for this demo - the code could be based on a body class, and probably work better.*/

 #liServices.on a {
 	background-position: -0px -37px;
 } /*add selectors for the other li's and background-positions*/
 #liAbout.on a {
 	background-position: -90px -37px;
 } /*add selectors for the other li's and background-positions*/
 #liGift.on a {
 	background-position: -180px -37px;
 } /*add selectors for the other li's and background-positions*/
 #liContact.on a {
 	background-position: -270px -37px;
 } /*add selectors for the other li's and background-positions*/


/*hover states*/

#liServices a:hover, #liServices:hover a, #liServices.over a {
	background-position: 0 -73px;
}

#liGift a:hover, #liGift:hover a, #liGift.over a {
	background-position: -90px -73px;
}

#liAbout a:hover, #liAbout:hover a, #liAbout.over a {
	background-position: -180px -73px;
}

#liContact a:hover, #liContact:hover a, #liContact.over a {
	background-position: -270px -73px;
}

#liBook a:hover, #liBook:hover a, #liBook.over a {
	background-position: 0px 0px;
}

/*subnav formatting*/

#nav li.off ul a, #nav li.on ul a {
	display: block;
	background: none;
	color: #666;
}		

#nav li.on ul a {
		background: none;
}
	
