/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	list-style:		none;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
	text-decoration:none;
	height:18px;
	overflow:hidden;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}

/*** DEMO SKIN ***/
.sf-menu {
	float:			left;
}
.sf-menu ul.sf-with-ul {
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
	left:	150px; /* match ul width */
	top:	3px;
	_border-bottom:2px solid #ddd;
}
.sf-menu ul.sf-with-ul li{
	width:10em;
	margin-left:-1em !important;
}
.sf-menu ul.sf-with-ul li a{
	border-top:1px solid #ddd;
	border-left:1px solid #ddd;
	_border-right:2px solid #ddd;
	padding:.3em .5em;
	parring-right:12px;
	font-family:"meiryo","ヒラギノ角ゴ Pro W3","HGGothicE";
	font-size:14px;
	text-decoration:none;
	background-color:#fff;
}
.sf-menu ul.sf-with-ul li a:hover{
	background:url(../img/gray.jpg) repeat-y right top;
	color:#fff;
	opacity:1 !important;
	filter:alpha(opacity=100) !important;
}
/* 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*/
	height:16px;width:100px;
	overflow:hidden;
}

/* point right for anchors in subs */
/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:url(../img/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;
}

/*** adding sf-vertical in addition to sf-menu creates a vertical menu ***/
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */

/*** alter arrow directions ***/
.sf-vertical .sf-sub-indicator { background-position: -10px 0; } /* IE6 gets solid image only */
.sf-vertical a > .sf-sub-indicator { background-position: 0 0; } /* use translucent arrow for modern browsers*/

/* hover arrow direction for modern browsers*/
.sf-vertical a:focus > .sf-sub-indicator,
.sf-vertical a:hover > .sf-sub-indicator,
.sf-vertical a:active > .sf-sub-indicator,
.sf-vertical li:hover > a > .sf-sub-indicator,
.sf-vertical li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}
