#popupmenu{
	float: left; /* to keep the other floating objects contained*/
	display: block;
	margin: 0px auto;
	margin-top: 10px;
	margin-bottom: 10px;
	width: 700px;
	font-size: 11pt;


	/* position: absolute; /* This can also be fixed or absolute*/
	/* top: 130px;
	left: 0px;
	width: 720px; */
	
	/*Format */
	background-color: #ffffff;
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-style: solid;
	border-width: 1px 0px 1px 0px;
	z-index: 100;
}

#popupmenu ul{
	
	float: left;
	white-space: nowrap;
	margin: 0;  
	padding: 0;  
}



/* add more for each extra submenu level*/
#popupmenu ul li,
#popupmenu ul li ul li,
#popupmenu ul li ul li ul li,
#popupmenu 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*/
#popupmenu ul li ul,
#popupmenu ul:hover li ul li ul,
#popupmenu ul:hover li ul li ul li ul,
#popupmenu ul:hover li ul li ul li ul li ul
{ 
	display: none;
	z-index: 1000;
}



/* First submenu level*/
#popupmenu  > ul > li:hover > ul{
	display: block; /*unhide it*/
	
	float: right;	
	position: absolute; /* It needs to be absolute
	for the effect to work.*/
	
	/*width: 7em; */
	top: 1.1em; /* 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*/
#popupmenu  ul  li  ul  li:hover  ul,
#popupmenu  ul  li  ul li ul li:hover  ul,
#popupmenu  ul  li  ul li ul li ul li:hover  ul{
	float: right;
	display: block;
	position: absolute;
	
	width: 7em;
	left: 10em;
	top: 3px; /* Required with some value or
	the effect will not work*/
}
#popupmenu ul li:hover ul li{ 
	display: block;
 	float: left;   
 	width: 100%;
}



#popupmenu ul li a{
	float: left;
	display: block;
	background-color: inherit;
	text-decoration: none;
	font-weight: normal;
	color: #000000;
	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*/
#popupmenu ul li:hover > a{
	background-color: #000000;
	color: #ffffff;
}
#popupmenu ul li a:hover
{ 
	background-color: #000000; 
	color: #ffffff;
}

#popupmenu ul li ul li a{ 
	float: none;
	
/*	border-color: inherit; */
	border-style: none; 
/* 	border-width: 0px 0px 0px 0px;  */
	
 	background-color: #ffffff;
 	color: #000000;
	
 	font-size: 100%;
 	white-space: normal;
 }

#popupmenu ul li ul li:first-child a{
	border-width: 1px 1px 1px 1px;
}