

/* ================================================================ 
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) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
	display:block;
	height: 28px;
	width: 850px;
	margin: 0 auto;
	}
	
/* hack to correct IE5.5 faulty box model */
* html .menu {width:850px; w\idth:850px;}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding-left: 255px;
	margin:0 auto;
	list-style-type:none;
	text-align: center;
	}
	
.menu ul ul {
	padding-left: 0px;
	width:100px;
	}
	
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	display: block;
	float:left;
	position:relative;
	width: 88px;
	height: 28px;
	border-right: 1px solid #CBEBFA;
	}
	
li.home {
border-left: none;
width: 55px;
}

li.products {
width: 94px;
}

li.locations {
width: 100px;
}

li.gallery {
width: 78px;
}

li.contact {
border-right: none;
width: 82px;
}

	
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:14px;
	text-align: center;
	text-decoration:none; 
	color:#666; 
	height:28px; 
	line-height:28px;
	 }
	 
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:; w\idth:;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background: #4E4E4E;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
background: #0099FF;
}
.menu ul ul :hover > a.drop {
background: #0099FF;
}
/* 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:auto;
top:28px;
left:-20px; 
width: 130px;
}

.menu ul ul li {
border-bottom: 2px solid #0199FF;
border-left: 2px solid #0199FF;
border-right: 2px solid #0199FF;
width: 130px;
height: auto;
}

/* another hack for IE5.5 */
* html .menu ul ul {top:28px;t\op:29px;}

/* position the third level flyout menu */
.menu ul ul ul{
left:150px; 
top:-1px; 
width:150px;
}

/* 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; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
color: #333;
background: #DFF2FC;
opacity:.85;
filter: alpha(opacity=85); 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:110px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:130px;w\idth:129px;}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
background: #E8F5FD;
}
.menu ul ul :hover > a {
background: #4E4E4E; 
color:#fff;
}

/* 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;}

