/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.main-nav ul { display: none; position: absolute; top: 1.0em!important; margin-top: 18px;  left: 7px; background:  url(images/layout/dropdown_ul.gif) top right no-repeat!important;  width: 155px!important; height: auto!important; padding: 9px; z-index: 1000; }



/*
 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; margin-bottom: -1px; background: none!important; padding: 0!important; }

.main-nav ul li a { padding: 6px 10px 6px 0!important; text-indent: 10px!important; color: #5a5a5a!important;  margin: 0 0 2px 0!important; font-size: 12px!important; float: none!important; background-image: none!important; text-transform: none!important; background: #fff!important; width: 145px; }
.main-nav ul li a:hover { color: #aedb46!important; background-image: none!important; padding-bottom: 6px!important; background: #ffe01b!important; color: #5a5a5a!important; }

.main-nav 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 */



