/* All <ul> tags in the menu including the first level */
#nav {
	display:inline-block;
}
.nav, .nav  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.nav ul {
	display: none;
	background: url(http://www.ritzjacksonville.com/themes/ritz/images/bg_dropdown.png) no-repeat left bottom;
	position: absolute;
	top: 3.5em; margin-top: 13px; /* I'm using ems and px to allow people to zoom their font */
	left: -1px;
	width: 218px;
	margin: -5px 0 0 3px;
	padding: 10px 7px 15px 10px;
	z-index:999;
}

/* Second and third etc. level submenus - position across from parent instead */
.nav ul ul {
 top: -1px; 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.
*/
.nav li {
 float: left;
 display: block;
 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 li ul li {
	margin: 0;
	padding: 0;
	background: none !important;
}

.nav ul li a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold !important;
	text-transform: none;
	background: none !important;
	width: 196px; 
	border-top: #ffcc00 solid 2px;
	padding: 10px 2px 0px 2px;
	margin: 0;
}
.nav li ul li:first-child a { border-top: none !important; padding-left: 2px; }


.nav ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
#nav li a {
	text-align:left;
}
.nav a {
	display: block;
	text-decoration: none;
	color: #666666 !important;
	font-family: Arial Black, Arial, Helvetica, sans-serif;
	font-size: 16px;
	text-transform: uppercase;
	background-image: url(http://www.ritzjacksonville.com/themes/ritz/images/bg_topnav.png);
	background-repeat: no-repeat;
	background-position: top left;
	background-color: none;
	padding: 10px 7px 0 13px;
	height: 28px;
	font-weight:normal !important;
}

.nav li:first-child a { background-position: top right; padding-left: 8px; }


/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.nav a:hover, .nav a.highlighted:hover, .nav a:focus {
 color: #cc0000 !important;
}

.nav a.highlighted {
 color: #FFF;
 background-color: #C86;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .nav a#xyz {
      background-image: url(http://www.ritzjacksonville.com/themes/ritz/out.gif);
    }
    .nav a#xyz:hover, .nav a.highlighted#xyz, .nav a:focus {
     background-image: url(http://www.ritzjacksonville.com/themes/ritz/over.gif);
    }
*/

/* 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 */
