/* ================================================================ 
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/final_drop.html
Copyright (c) 1805-1807 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */


/****** NOTE: Requires Doctype AND html xmlns for it to work in IE7 *****/
.menu {
	margin: 0 0 0 0;
	width:764px;
	font-size:11px;
	font-weight: 100;
	display: inline;
	float: left;
	position:relative;
	z-index:2;
	padding: 0;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}

.menu ul ul {
	width: 180px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float: left;
	position: relative;
	width: 180px;
}

.menu li#MHome { width: 47px; height: 32px; }
.menu li#MProducts { width: 68px; height: 32px; }
.menu li#MServices { width: 64px; height: 32px; }
.menu li#MPeople { width: 78px; height: 32px; }
.menu li#MContact { width: 76px; height: 32px; }
.menu li#MFiller { width: 431px; height: 32px; }

/* style the links for the top level */
.menu a, .menu a:visited {
	font-size:11px;
	text-decoration:none; 
	color:#fff; 
	height:32px; 
	background:#758279;  
	line-height:5px; 
	display:block;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width: 180px;
	w\idth: 180px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background: #18548f;
	
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background: #fe6600;
	
}
.menu ul ul :hover > a.drop {
	background: #fe6600;
	
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background: #18548f;
	
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background: #fe6600;
	
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	margin-top: 27px;
	width: 180px;
	height: 0;
	visibility: hidden;
	position: absolute;
	top: 5px;
	left: 0;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top: 5px;
	t\op: 5px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	margin: 0;
	width: 180px;
	left: 180px; 
	position: absolute;
	top: 0;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left: -180px;
}

/* 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 {
	padding: 8px 10px; 
	width: 180px;
	height: auto;
	line-height: 1em;
	color: #ffffff;
	background: #18548f;
	
}

/* yet another hack for IE5.5 */
* html .menu ul ul a{
	width: 180px;
	w\idth: 180px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color: #ffffff; 
	background: #fe6600;
}
.menu :hover > a, .menu ul ul :hover > a {
	color: #ffffff;
	background: #fe6600;
}

/* 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;
}

.menu ul ul li {
	margin: 0;
	padding: 0;
	background: #18548f;
}