#popmenu{
	float: left;
	position: relative;
	width: 100%;
	background-color: #F2F2F2;
	border-top-width: 1px;
	border-right-width: 0;
	border-bottom-width: 1px;
	border-left-width: 0;
	border-style: solid;
	border-color: CCCFDD;
	margin-bottom: 20px;
}

#popmenu ul{
	float: left;
	white-space: nowrap;
	margin: 0;  
	padding: 0;  
	background-color: #F2F2F2;
}

/* add more for each extra submenu level*/
#popmenu ul li,
#popmenu ul li ul li,
#popmenu ul li ul li ul li,
#popmenu ul li ul li ul li ul li
{ 
	margin: 0;
	padding: 0;
	float: left;
	list-style-type: none;
	position: relative;  
}

/* add more for each extra submenu level*/
#popmenu ul li ul,
#popmenu ul:hover li ul li ul,
#popmenu ul:hover li ul li ul li ul,
#popmenu ul:hover li ul li ul li ul li ul
{ 
	display: none;
	z-index: 1000;
}

/* First submenu level*/
#popmenu  > ul > li:hover > ul{
	display: block; /*unhide it*/
	float: right;	
	position: absolute; /* It needs to be absolute
	for the effect to work.*/
	left: 0.1em;
	width: 10em;
	top: 1.2em; /* This places the the bottom of the 
	ul 1.1em from the bottom of the enclosing li. This 
	is the important part of the effect.*/
	
}
/* For the remaining submenu levels*/
/* add more for each extra submenu level*/
#popmenu  ul  li  ul  li:hover  ul,
#popmenu  ul  li  ul li ul li:hover  ul,
#popmenu  ul  li  ul li ul li ul li:hover  ul{
	float: right;
	display: block;
	position: absolute;
	
	width: 7em;
	left: 10em;
	top: 0px; /* Required with some value or
	the effect will not work*/
}
#popmenu ul li:hover ul li{ 
	display: block;
 	float: left;   
 	width: 100%;
}

#popmenu ul li a{
	float: left;
	display: block;
	
	text-decoration: none;
	color: #006699;
	padding: 0 .5em 0 .5em;
}
/* The on state for the link when you are on the submenu.
This should be before the hover state for the link itself*/
#popmenu ul li:hover > a{
	background-color: #990000;
	color: #FF9900;
}
#popmenu ul li:hover
{ 
	background-color: #990000; 
	color: #FF9900; 
}
/*#popupmenu ul li a:hover
{ 
	background-color: #990000; 
	color: #FF9900; 
}*/
#popmenu ul li ul li a {
	float: none;
	background-color: F2F2F2;
	color: #006699;
	font-size: 85%;
	white-space: normal;
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-style: solid;
	border-color: CCCFDD;
 }

#popmenu ul li ul li:first-child a{
}
