.menu {
	font-size:0.85em;
	position:relative;
	z-index:100;
	padding:0;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}
.menu ul ul {
}

/* relative positon so that you can control the dropdown menu positon */
.menu li {
	position:relative;
}

/* style the links for the top level */
.menu a, .menu a:visited {
	height:42px;
	padding:10px 8px 0 16px;
	margin:0 10px 0 14px;
	display:block;
	color:#fff;
	line-height:1em;
	font:12pt Georgia, serif;
	border-bottom:1px solid #696B70;
	background:#373B41 url(http://www.mtemc.com/images/bg_button.gif) no-repeat left center;
	text-decoration:none;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
}


/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background:#7BC8F6 url(../../graphics/drop.gif) bottom right no-repeat;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat;
}
.menu ul ul :hover > a.drop {
	background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background:#e2dfa8;
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background:#b2ab9b;
}


/* 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:0;
	top:0;
	left:239px;
	width:200px;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	left:224px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	left:150px;
	top:0;
	width:200px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left:-150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	height:auto;
	width:200px;
	text-decoration: none;
	color: #fff;
	background: #44484e;
	padding: 3px 5px;
	border: 1px solid #646869;
	border-top: 0;
	font:8pt/14pt Tahoma, sans-serif;
	/* yet another hack for IE5.5 */
}

* html .menu ul ul a{
	width:200px;
}

.menu ul ul a.topsub {
	border-top:1px solid #646869;
}


/* style the top level hover */
.menu a:hover {  /* this affects IE first level */
	color:#fff;
	background:#44484e url(http://www.mtemc.com/images/bg_button_o.gif) no-repeat left center;
}
.menu ul ul a:hover {  /* this affects IE second level */
	color:#fff;
	background:#31353A;
}
.menu :hover > a {  /* this affects FF first level */
	color:#fff;
	background:#44484e url(http://www.mtemc.com/images/bg_button_o.gif) no-repeat left center;
}
.menu ul ul :hover > a {  /* this affects FF second level */
	color:#fff;
	background:#31353A;
}

/* 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;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu 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;
}
