.popupmenu{
	float: left; /* to keep the other floating objects contained*/
	position: relative; /* This can also be fixed or absolute*/
	width: 175px;

	
	
	/*Format */
	background-color: #D7D5D3;
	color: #CB331C;
	font-family: Trebuchet, Trebuchet MS, Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.25em;
}

.popupmenu ul{
	float: left;
	white-space: nowrap;
	margin: 0px 0px 0px -5px;  
	padding: 0;  
	list-style-type: none;

}



/* 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: 2;
	padding: 0;
	float: left;
	list-style-type: none;
	position: relative;  
	width: 175px;
}
/* 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: 9999;
}



/* First submenu level*/
.popupmenu  > ul > li:hover > ul{
	display: block; /*unhide it*/
	
	float: left;	
	position: absolute; /* It needs to be absolute
	for the effect to work.*/
	
	width: 11em;
	left: 3.6em; /* 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: 100%;
}



.popupmenu ul li a{
	float: left;
	display: block;
	font-size: 11px;
	text-decoration: none;
	color: #CB331C;
	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: #CB331C;
	color: #fff;
}
.popupmenu ul li a:hover
{ 
	background-color: #CB331C; 
	color: #fff; 
}

.popupmenu ul li ul li a{ 
	float: none;
	
	border-color: #ccc;  
	border-style: solid; 
 	border-width: 0 1px 1px 1px;  
	
 	background-color: #eee;
 	color: #CB331C;
	
 	font-size: 85%;
 	white-space: normal;
 	padding: 2px;
 }

.popupmenu ul li ul li:first-child a{
	border-width: 1px 1px 1px 1px;
}