@charset "utf-8";
/* CSS Document */

#popupmenu{
	float: right; /* to keep the other floating objects contained*/
	position: relative; /* This can also be fixed or absolute*/
	width: 612px;
}

#popupmenu ul{
	float: right;
	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;
	clear: left;
	position: absolute; /* It needs to be absolute for the effect to work.*/
	padding-bottom:1px;
	width: 7em;
	bottom: 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: 6em;
	bottom: 3px; /* Required with some value or
	the effect will not work*/
}
#popupmenu ul li:hover ul li{ 
	display: block;
 	float: left;   
 	width: 300%;
}
#popupmenu ul li a{
	float: left;
	display: block;
	text-decoration: none;
	text-transform:uppercase;
	color: #807979;
	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: white; 
	color: #505050; 
}
#popupmenu ul li a:hover
{ 
	background-color: white; 
	color: #505050; 
}

#popupmenu ul li ul li a{ 
	float: none;
	background-color: white; 
	color: #c0c0c0; 
 	white-space: normal;
 }

#popupmenu ul li ul li:first-child a{
	border-width: 1px 1px 1px 1px;
}
