
/*** ESSENTIAL STYLES ***/
#nav, #nav * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
#nav {
	line-height:	1.0;
}
#nav ul {
	position:		absolute;
	top:			-999em;
	width:			200px; /* left offset of submenus need to match (see below) */
}
#nav ul li {
	width:			100%;
}
#nav li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
#nav li {
	float:			left;
	display: 		inline;
	position:		relative;
}
#nav a {
	display:		block;
	position:		relative;
}
#nav li:hover ul,
#nav li.sfHover ul {
	left:			0;
	top:			25px; /* match top ul list item height */
	z-index:		99;
}
ul#nav li:hover li ul,
ul#nav li.sfHover li ul {
	top:			-999em;
}
ul#nav li li:hover ul,
ul#nav li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul#nav li li:hover li ul,
ul#nav li li.sfHover li ul {
	top:			-999em;
}
ul#nav li li li:hover ul,
ul#nav li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
#nav {
	position: absolute;
	top: 0;
	left: 255px;
	margin: 0;
	padding: 0;
	z-index: 1000;
}
ul#nav li {

}
ul#nav li a {
	display: block;
	float: left;
	margin: 0;
	padding: 0 8px 0 15px;
	height: 25px;
	line-height: 25px;
	color: #fff;
	font-weight: normal;
	font-size: 12px;
	text-decoration: none;
	background: transparent url("../layout/sipky.png") 5px 8px no-repeat;
}

#nav li:hover, #nav li.sfHover,
#nav a:focus, #nav a:hover, #nav a:active {
	text-decoration: none;
	background: #f2c040 url("../layout/sipky-red.png") 5px 8px no-repeat;
}

/*submenu*/
#nav li ul {
	background-color: #f2c040;
	/* margin-top: -1px; */ /* IE6 bug*/
}
ul#nav li {

	/* margin-top: -1px; */ /* IE6 bug*/
}

#nav li ul li a {
	float: left;
	display: block;
	margin: 0;
	padding: 0 10px 0 20px;
	width: 170px;
	height: 25px;
	line-height: 25px;
	text-decoration: none;
	background: transparent url("../layout/sipky-red.png") 5px 11px no-repeat;
	border-bottom: 1px solid #F5D276;
}

#nav li ul li:hover, #nav li ul li.sfHover,
#nav li ul a:focus, #nav li ul a:hover, #nav li ul a:active {
	color: #fff;
	text-decoration: none;
	background: #002870 url("../layout/sipky.png") 5px 11px no-repeat;
}

/*** arrows **/
#nav a.sf-with-ul {
	/*padding-right: 	2.25em;
	min-width:		1px;*/ /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
	display: none;
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* 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*/
}

#nav ul.sf-shadow-off {
	background: transparent;
}
