a:active, a:focus {
	outline: 0;
}

/* position the menu to the right - the width is wider than the total with margin for IE6 bugs in borders */
.menuposition {
	width: 450px;
	float: right;
	margin-right: 15px;
}

/* menu div  - set the global settings */
.menu {
	width:465px;
	font-size:9px;
	position:relative;
	z-index:1000;
	float: right;
	font-weight: bold;
}

/* remove all the bullets, defaul list settings */
.menu ul {
	padding:0px;
	margin:0px;
	list-style-type:none;
}
/* float the list to make it horizontal */
.menu ul li {
	float:right;
	width:72px;
	margin-left:2px;
	margin-right:2px;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	text-decoration:none;
	color:#FFFFFF;
	width:62px;
	height:55px;
	background-color:#4d4d4f;
	padding-top: 15px;
	padding-left: 5px;
	font-weight: bold;
	padding-right: 3px;
	border: 1px solid #4d4d4f;
}

.menu ul {
		margin: 0px;
	padding: 0px;
}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
/*	height:0px;*/
	/*top: -1px;*/
		margin-left: -2px;
	padding: 0px;
	z-index: -1;  /* to ensure overlap of the first level over the dropdown */
}
/* IE6 hack */
*html .menu ul ul {\right:4px; r\ight:4px;}

/* reset defaults for links in the second level */
.menu ul ul a, .menu ul ul a:visited {
	display:inline;
	text-decoration:none;
	color:#4d4d4f;
	width:auto;
	/*height:auto;*/
	border:0px;
	background-color:#FFFFFF;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
}
/* style the dropdown settings */
.menu ul ul li {
	float:left;
	width:136px;
	margin-left:2px;
	margin-right:0px;
	background-color: #FFFFFF;
	font-size: 12px;
	line-height: 20px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #4d4d4f;
	border-right-color: #4d4d4f;
	border-bottom-color: #4d4d4f;
	border-left-color: #4d4d4f;
}

/* style the top level hover */
.menu a:hover {
	color:#4d4d4f;
	background-color:#FFFFFF;
	border-bottom-color: #FFFFFF;
	text-decoration:none;
}
.menu :hover > a {
	color:#4d4d4f;
	background-color:#FFFFFF;
	border-bottom-color: #FFFFFF;
	text-decoration:none;
}
.menu ul ul :hover > a {
	color:#4d4d4f;
	text-decoration:none;
}
.menu ul ul :hover > a:hover {
	color:#b4975a;
}
/* style to turn border white for first level to create flow over effect (define 1st level as having a drop) */
.nodropdown a:hover {
	border-bottom-color: #4d4d4f;
	text-decoration:none;
}
/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul{
	visibility:visible;
}
#submenu a {
	background-color: #4d4d4f;
	height: 24px;
	width: 126px;
	font-size: 9px;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
	border: 1px solid #4d4d4f;
	text-align: left;
	line-height: 12px;
	padding-top: 4px;
	padding-right: 3px;
	padding-bottom: 5px;
	margin-bottom: 1px;
	padding-left: 5px;
}
#submenu a:hover {
	color: #4d4d4f;
	background-color: #FFFFFF;
}
.submenufloatleft {
	float: left;
}
.submenufloatright {
	float: right;
}
