/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/dd_valid.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

/* common styling */

.menu {
	width:460px; 
	height:30px; 
	position:relative; 
	font-size:16px; 
	z-index:100;
	float: right;
	padding-right: 10px;
	padding-top: 6px;
}

.menu ul li a, .menu ul li a:visited {
	display:block; 
	text-decoration:none; 
	color:#fff;
	width: 7em; 
	height:24px; 
	text-align:center;
	color:#ccc; 
	border-left: 1px solid rgba(255,255,255,0.35);
	border-right: 1px solid rgba(255,255,255,0.35);
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	background:#000; 
	line-height:20px; 
	font-size:16px; 
	overflow:hidden;
}

.menu ul {
	padding:0; 
	margin:0; 
	list-style: none;
}


.menu ul li {
	float:left; 
	position:relative;
}

.menu ul li ul {
	display: none;
}

/* specific to non IE browsers */

.menu ul li:hover a {
	color:#fff; 
	background:#5b5746;
}

.menu ul li:hover ul {
	display:block; 
	position:absolute; 
	top:21px;
	padding-top: 4px; 
	left:0; 
	width: 10em;
}

.menu ul li:hover ul li a.hide {
	background:#000; 
	color:#ccc;
}

.menu ul li:hover ul li:hover a.hide {
	background:#000; 
	color:#000;
}

.menu ul li:hover ul li ul {
	display: none;
}

.menu ul li:hover ul li a {
	display:block; 
	background: rgba(0,0,0,0.75);
	border: 1px solid rgba(255,255,255,0.35); 
	padding-top: 5px;
	padding-bottom: 5px;
	color:#ccc;
	height: auto;
}

.menu ul li:hover ul li a:hover {
	background: #5b5746;
	border: 1px solid rgba(255,255,255,0.35); 
	color:#ccc;
	}
	
	
/*This section edits the submenu*/	
.menu ul li:hover ul li:hover ul {
	display:block; 
	position:absolute;
	left:114px;
	top:0;
}

.menu ul li:hover ul li:hover ul.left {
	left:-105px;
}
