/* All <ul> tags in the menu including the first level */
.main, .main  ul { margin: 0; padding: 0; list-style: none; }

.main	{ width: 849px; }

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.main ul { 
	display: none; 
	position: absolute;
	top: 20px; margin-top: 8px; /* I'm using ems and px to allow people to zoom their font */
	left: -1px;
}

/* Second and third etc. level submenus - position across from parent instead */
.main ul ul { top: 0px; margin-top: 0; left: 148px; }

/*
 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 li { float: left; display: block; position: relative; text-align: center; }

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.main ul li				{  margin: 0; margin-top: 10x; }
.main ul>li:last-child	{ margin-bottom: 1px; /* Mozilla fix */ }

/* Only style submenu indicators within submenus. */
.main a .subind		{ display: none; }
.main ul a .subind	{ display: block; float: right; }

/*
 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 ul li	{ float: left; width: 100%; }
* html .main ul li				{ float: left; height: 1%; }
* html .main ul a				{ height: 1%; }
/* End Hacks */
