
/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	list-style: none;
}
.sf-menu {
	line-height: 1.0;
}
.sf-menu ul {
	position: absolute;
	top: -999em;
	width: 16em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width: 100%;
}
.sf-menu li:hover {
	visibility: inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float: left;
	position: relative;
}
.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left: 0;
	top: 2.5em; /* match top ul list item height */
	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 {
	left: 16em; /* match ul width */
	top: 0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top: -999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left: 16em; /* match ul width */
	top: 0;
}

/*** THE MainMenu ***/

#mainmenu {
	margin-top: -1px;
}

#mainmenu ul {
	margin: 0;
	padding-left: 0;
	padding-right: 0;
	list-style: none;
	}
#mainmenu ul li {
	display: inline;
	margin-left: -1px;
	height: 60px;
 }
 #mainmenu ul li a {
	padding-top: 19px;
	padding-bottom: 24px;
	font-weight:normal;
 }
 #mainmenu ul li.page_item {
	background: url(/image/skin/mn-background.png) 0 0 no-repeat;
 }
 #mainmenu ul li.page_item:hover {
	background: url(/image/skin/mn-background.png) 0 -60px no-repeat;
 }
 #mainmenu ul li.page_item:active {
	background: url(/image/skin/mn-background.png) 0 -120px no-repeat;
 }
 #mainmenu ul li.current_page_item {
	background: url(/image/skin/mn-background.png) 0 -180px no-repeat;
	font-weight:bold;
 }
 #mainmenu ul li.page_last {
 background: url(/image/skin/mn-background.png) 0 0 no-repeat; width: 1px;
 }

	#mainmenu ul ul {
 margin-top: 1em;
 margin-left: 1em;
 padding: 7px 0 7px 0;
 font-size: .95em;
 border: 1px solid #cdd;
 -moz-border-radius-topright: 7px;
 -webkit-border-top-right-radius: 7px;
 -moz-border-radius-bottomleft: 7px;
 -webkit-border-bottom-left-radius: 7px;
 -moz-border-radius-bottomright: 7px;
 -webkit-border-bottom-right-radius: 7px;
 background: url(/image/skin/sys/white-opacity90.png) repeat;
 }
 
 #mainmenu ul ul ul {
	margin-top: .3em;
	margin-left: -1em;
 }
 
 #mainmenu ul ul li,
 #mainmenu ul ul li.page_item,
 #mainmenu ul ul li.page_item:hover,
 #mainmenu ul ul li.page_item:active,
 #mainmenu ul ul li.current_page_item {
	background: none;
	height: 2.1em;
	margin-left: 0;
 }
 
 #mainmenu ul ul li.page_item:hover {
	background: url(/image/skin/sys/grey-opacity50.png) repeat;
 }
 
 #mainmenu ul ul a { 
	height: 1em;
	padding: .62em 1em .08em;
 }

.menu-shadow {
	background:	url('/image/skin/sys/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;
}

/*** THE UserMenu ***/

#usermenu {
	font-size: 1.2em;
	color: #aaa;
}

#usermenu div.caption {
	float: right;
	display: none;
	padding: .75em 1em;
	background: url(/image/skin/sys/black-opacity50.png) repeat;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

#usermenu div.tab {
	float: right;
	padding: 0 7px;
	height: 15px;
	background: url(/image/skin/sys/black-opacity50.png) repeat;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

#usermenu ul {
	margin: 0;
	list-style: none;
	}
	#usermenu ul li {
 display: inline;
 padding-left: 1em;
 padding-right: 1em;
 border-right: 1px solid #999;
 }
	#usermenu ul li.last {
 border-right: none;
 }
 #usermenu a, #usermenu a:link, #usermenu a:hover, #usermenu a:active, #usermenu a:visited {
 color: #ccc;
 }
