/*** ESSENTIAL STYLES ***/
.sfml-menu, .sfml-menu * {
	margin:		0;
	padding:	0;
	list-style:	none;
	background:	#f0f0f0; 
}
.sfml-menu a.ok {
    background: #88ff88;
}

.sfml-menu a.warn {
    background: #ffff88;
}

.sfml-menu a.error {
    background: #ff8888;
}
.sfml-menu {
	line-height:	1.0;
	width :100%;
}
.sfml-menu ul {
	position:	absolute;
	top:		-999em;
	width:		30em;  /*left offset of submenus need to match (see below) */
}
.sfml-menu ul li {
	width:		100%;
}
.sfml-menu li:hover {
	visibility:	inherit; /* fixes IE7 'sticky bug' */
}
.sfml-menu li {
	float:		left;
	position:	relative;
}
.sfml-menu a {
	display:	block;
	position:	relative;
	color:		#CCCCCC;
}
.sfml-menu li:hover ul,
.sfml-menu li.sfHover ul {
	left:			0;
	top:			2.2em; /* match top ul list item height */
	z-index:		99;
}
ul.sfml-menu li:hover li ul,
ul.sfml-menu li.sfHover li ul {
	top:			-999em;
}
ul.sfml-menu li li:hover ul,
ul.sfml-menu li li.sfHover ul {
	left:			30em; /* match ul width */
	top:			0;
}
ul.sfml-menu li li:hover li ul,
ul.sfml-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sfml-menu li li li:hover ul,
ul.sfml-menu li li li.sfHover ul {
	left:			28em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.sfml-menu {
	float:		left;
	margin-bottom:	0em;
}
.sfml-menu a {
	border-right:	1px solid #CCCCCC;
	padding: 	0.6em 1em;
	text-decoration:none;
	font-weight:	bold;
	cursor: pointer;
	cursor: hand; /* for IE 5.x */
}
.sfml-menu a, .sfml-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	font-size:	12px; 
        font-weight:	bold; 
	color:		#666666;
	text-decoration:none;
}
.sfml-menu li {
	background:	#444444;
}
.sfml-menu li li {
	background:	#444444;
}
.sfml-menu li:hover, .sfml-menu li.sfHover,
.sfml-menu a:focus, .sfml-menu a:hover, .sfml-menu a:active {
	background:	#d9d9d9;
	outline:	0;
	color:		#555555;
}

.sfml-menu LI UL LI {
	float: left;
	width: 100%;
	border-right: none;
	height: auto;
}

.sfml-menu LI UL LI A {
	text-decoration: none;
	color: #CCCCCC !important;
	display: block;
	padding: 6px;
	border-bottom: 1px dotted #666666;
}


.sfml-menu LI UL LI, 
.sfml-menu LI UL LI A, .sfml-menu LI UL LI A:visited  {
	background:	#555555;
	outline:	0;
	color:		#CCCCCC;
}

.sfml-menu LI UL LI:hover, .sfml-menu LI UL LI.sfHover,
.sfml-menu LI UL LI A:focus, .sfml-menu LI UL LI A:hover, .sfml-menu LI UL LI A:active {
	background:	#666666;
	outline:	0;
	color:		#DDDDDD;
}

/*** arrows **/
.sfml-menu 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:		0.95em; /* IE6 only */
	width:		10px;
	height:		10px;
	text-indent: 	-999em;
	overflow:	hidden;
	background:	url('./arrows.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.6em;
	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 */
.sfml-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sfml-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sfml-menu ul a:focus > .sf-sub-indicator,
.sfml-menu ul a:hover > .sf-sub-indicator,
.sfml-menu ul a:active > .sf-sub-indicator,
.sfml-menu ul li:hover > a > .sf-sub-indicator,
.sfml-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('./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;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

.sfml-menu LI UL LI.disabled,
.sfml-menu LI.disabled, .sfml-menu LI.disabled A, .sfml-menu LI.disabled A:visited, 
.sfml-menu LI.disabled A:focus, .sfml-menu LI.disabled A:hover, .sfml-menu LI.disabled A:active {
	background-color: #666666;
	font-weight:normal;
	color: #DDDDDD;
	cursor: text;
}
