/* HORIZONTAL FREESTYLE MENU LAYOUT */

#nav {  z-index:80; }

#nav_main { float:left; width:100%; height: 26px; background: url(../images/nav_main_hg.jpg) right top }
#nav-1, #nav-2, #nav-3, #nav-4, #nav-5, #nav-6 { height: 26px; width: 111px; text-indent: -900em; display: block; background: url(../images/tabs-sprites.gif);	}

#nav-1 { background-position: 0 0;	}
#nav-2 { background-position: 0 -50px; }
#nav-3 { background-position: 0 -100px; }
#nav-4 { background-position: 0 -150px; }
#nav-5 { background-position: 0 -200px; }
#nav-6 { background-position: 0 -250px; }
#nav-1:hover, #nav-1.current-1 { background-position: 150px 0; 	}
#nav-2:hover, #nav-2.current-2 { background-position: 150px -50px; 	}
#nav-3:hover, #nav-3.current-3 { background-position: 150px -100px; 	}
#nav-4:hover, #nav-4.current-4 { background-position: 150px -150px;  	}
#nav-5:hover, #nav-5.current-5 { background-position: 150px -200px; 	}
#nav-6:hover, #nav-6.current-6 { background-position: 150px -250px; 	}

/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 1000;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
	display: none;
	position: absolute;
	width: 220px;
	-moz-opacity: 0.95; /* Mozilla Browser */
	opacity: 0.95; /* Opera */
	border-top: 1px solid white;
	margin-top: -1px;
	z-index: 10;
}

.menulist ul li {
	background-color: #9c0000 !important 
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul { 
	left: 220px; 
	top: 0;
	margin-top: -1px;
	-moz-opacity: 1; /* Mozilla Browser */
	opacity: 1; /* Opera */
}

/*
 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.
*/
.menulist li {
	 float: left;
	 display: block;
	 position: relative;
}

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

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

/* Submenue Items-Links */
.menulist ul li a, .menulist ul li a:visited {
    display:block; 
	height:auto; 
	padding:2px 8px;  
	padding-right: 4px;
	text-decoration:none; 
	color: white;
	border: 1px solid white;
	border-top: none;
}

/* Set special width-Value for IE6 */
* html .menulist ul li a, * html .menulist ul li a:visited { width: 206px }


/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
	 color: #FFF;
	 background-color: #173242;
}
.menulist a.highlighted {
	 color: #FFF;
	 background-color: #20465E;
}

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


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist 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 .menulist ul li {
 float: left;
 width: 100%;
}
* html .menulist ul {
	margin-top: 0;
	border-top: 1px solid white;
}
* html .menulist ul li {
 float: left;
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}
/* End Hacks */

/*** arrows **/
ul li ul .sf-with-ul {
	 background:     url('/wp-content/themes/fooma_v2/images/arrow-submenu.gif') no-repeat 205px 2px; /* 8-bit indexed alpha png. IE6 gets solid image only */ 
}
.sf-sub-indicator { display: none; }
	

/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
    background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
    background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
    background: url('/wp-content/themes/fooma_v2/images/shadow.png') no-repeat bottom right;
    padding: 0 8px 9px 0;
    -moz-border-radius-bottomleft: 17px;
    -moz-border-radius-topright: 17px;
    -webkit-border-top-right-radius: 17px;
    -webkit-border-bottom-left-radius: 17px;
}


.menulist li:hover>ul {
 display: block;
}