@charset "utf-8";
/* CSS Document */

/* style the outer div to give it width */
.menu {
	font: bold 12px Arial, Helvetica, sans-serif;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
	height: 29px;
	background: #5c2945;
	border-bottom: 1px solid #f3efe7;
	z-index: 1;
}

/* style the sub-level lists */
.menu ul ul {
	width: 125px;
	border: 0;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {
	float: left;
	height: 29px;
	line-height: 30px;
}

/* style the sub level list items */
.menu ul ul li {
	display: block;
	width: 125px;
	height: auto;
	line-height: 31px;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	display: block;
	float: left;
	height: 100%;
	font-size: 12px;
	text-decoration: none;
	color: #dad4cc;
	background: #5c2945;
	padding: 0px 10px;
	border-right: 1px solid #f3efe7;
}

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited {
	display: block;
	background: #776e65;
	color: #dad4cc;
	width: 125px;
	height: 100%;
	line-height: 15px;
	padding: 8px 10px;
	border-bottom: 1px solid #f3efe7;
	border-right: none;
}

* html .menu ul ul a, * html .menu ul ul a:visited  {
	width: 14em; 
	w\idth: 12em;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
	position: absolute;
	left: 1px;
	top: 0px;
	width: 0px;
	height: 0px;
	font-size: 12px;
	z-index: -1;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background: #554e46;
}

/* style the second level fly out
.menu ul :hover a.sub1  {
	background: #635a52;
} */
.menu ul ul a.sub1, .menu ul ul a.sub1:visited {
	background: #776e65;
}

/* style the level hovers */
/* first */
* html .menu a:hover {
	color: #ffffff;
	background: #776e65;
	position: relative;
	z-index: 100;
}

.menu li:hover {
	position:relative;
}

.menu :hover > a {
	color: #ffffff;
	background: #776e65;
}

/* second */
* html .menu ul ul a:hover{
	color: #ffffff;
	background: #de791c;
	position: relative;
	z-index: 110;
}

.menu ul ul li:hover {
	position: relative;
}

.menu ul ul :hover > a {
	color: #ffffff;
	background: #de791c;
}

/* second Flyout */
* html .menu ul ul a.sub1:hover{
	color: #ffffff;
	background: #554e46;
	position: relative;
	z-index: 110;
}

.menu ul ul :hover > a.sub1 {
	color: #ffffff;
	background: #554e46;
}

/* third */
* html .menu ul ul ul a:hover {
	background: #de791c;
	position: relative;
	z-index: 120;
	color: #ffffff;
}

.menu ul ul ul :hover > a {
	background: #de791c;
}

/* 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: 29px;
	left: 0px;
	width: 125px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	left: 145px;
	top: 0px;
	width: 125px;
}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{
	visibility: visible;
	height: auto;
	padding-bottom: 3em;
	background: transparent;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility: hidden;
}

/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
	visibility: hidden;
}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
	visibility: visible;
}

/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
	visibility: visible;
}