/* ================================================================ 
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/flyoutt.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/* common styling */
.menu {position:relative; margin:0; z-index:1; /*I have added a "z-index" property, otherwise the first level displays on top of the second level. IN ORDER FOR "z-index" to work, the position property MUST be set to relative.*/}
.menu ul li a, .menu ul li a:visited {display:block; text-decoration:none; color:#5388a9; width:335px; height:26px; text-align:left; border:1px solid #5388a9;
border-width:0 0 1px 0; background:#d1e1e2; line-height:25px; text-indent:15px;}
.menu ul {padding:0; margin:0; list-style-type: none;}
.menu ul li {float:left; margin-right:1px; position:relative;}
.menu ul li ul {display: none;}

/* specific to non IE browsers */
.menu ul li:hover a {color:#666666; background:#C0CDCF;}
.menu ul li:hover ul {display:block; position:relative; top:0px; left:0px; width:335px; z-index:2; /*I have added a "z-index" property, otherwise the first level displays on top of the second level. IN ORDER FOR "z-index" to work, the position property MUST be set to relative.*/}
.menu ul li:hover ul li a.hide {background:#C0CDCF; color:#666;}
.menu ul li:hover ul li:hover a.hide {width:150px;}
.menu ul li:hover ul li ul {display: none;}
.menu ul li:hover ul li a {display:block; background:#E3E5C3; color:#666666; width: 335px;}
.menu ul li:hover ul li a:hover {background:#C0CDCF; color:#666;}
.menu ul li:hover ul li:hover ul {display:block; position:relative; left:151px; top:0; color:#666;}
.menu ul li:hover ul li:hover ul li a {display:block; width:200px; background:#E3E5C3; color:#666;}
.menu ul li:hover ul li:hover ul li a:hover {background:#bd8d5e; color:#fff;}