/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.main-nav ul { display: none; position: absolute; top: 1.0em; margin-top: 17px;  left: 1px;   margin-bottom: 10px;background: url('../images/dropdown_link.png') top left repeat-y!important; border: 1px solid #787878; border-left: 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.
*/
.main-nav li { /*float: left;*/  position: relative; margin-right: -1px;}

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

.main-nav ul li a { display: block; color: #b0b0b0!important; font: 11px Tahoma, Arial, sans-serif!important; line-height: normal; padding: 5px 11px 5px 20px!important; width: 129px; border-bottom: 1px solid #787878;margin: 0!important; background: url('../images/dropdown_arrow.gif') left no-repeat; }
.main-nav ul li a:hover { background: url('../images/dropdown_arrow_hover.gif') left no-repeat!important; color: #fff!important; }
.main-nav ul li.last-item a { border: none; }

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

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


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.main-nav a { float: left; }
.main-nav ul a { float: none; }
.main-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 .main-nav ul li { float: left; width: 100%; }
* html .main-nav ul li { float: left; height: 1%; }
* html .main-nav ul a { height: 1%;}
/* End Hacks */


