/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.nav ul { display: none; position: absolute; top: 1.0em; margin-top: 23px;  left: 0; background: #eee;  width: 170px;  background: #fff; border: 1px solid #dfdfdf; border-top: none; }

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.nav li { float: left;  position: relative; margin-right: -1px;}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.nav ul li { float: none; margin: 0; margin-bottom: -1px;    }

.nav ul li a { text-indent: 0; text-decoration: none!important; display: block; border: none!important;  margin: 0; font-size: 12px!important; line-height: normal; padding: 5px 20px!important; }
.nav ul li a:hover { border: none!important; background: #f4f3f3!important; }

.nav li.last-item a { border: none; }

.nav li a.highlighted {  background: #fff url(../images/layout/nav_active.gif) top repeat-x; color: #000; }

.nav ul>li:last-child { margin-bottom: 1px; /* Mozilla fix */ }

/* Only style submenu indicators within submenus. */
.nav a .subind { display: none; }
.nav ul a .subind { display: block; float: right; }


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.nav a { float: left; }
.nav ul a { float: none; }
.nav a { float: none; }

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .nav ul li { float: left; width: 100%; }
* html .nav ul li { float: left; height: 1%; }
* html .nav ul a { height: 1%;}
/* End Hacks */



