/*---------------------------------------------------------------- 
  Copyright: 
  Copyright (C) 2009 - 2011 danielfajardo web
	Based on:
	* Superfish v1.4.8 - jQuery menu widget
	* Copyright (c) 2008 Joel Birch
	* http://users.tpg.com.au/j_birch/plugins/superfish/
	* Dual licensed under the MIT and GPL licenses:
	* 	http://www.opensource.org/licenses/mit-license.php
	* 	http://www.gnu.org/licenses/gpl.html 
  
  Author: 
  danielfajardo - http: //wwww.danielfajardo.com
---------------------------------------------------------------- */


/*** 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;
}
span.sf-sub-indicator {
	float: right;
	margin-left: 4px;
	padding: 0 8px;
	height: 16px;
	background: transparent url(../images/icons/arrow-r.png) center -1px no-repeat;
}

/*** THE MainMenu ***/

#mainmenu {
}

#menu-header {
	margin-top: -1px;
	margin-left: 0px;
}

#menu-header ul {
	margin: 0;
	padding-left: 1px;
	padding-right: 0;
	height: 47px;
	background: url(../images/menu/mn-background.png) left 0 no-repeat;
	list-style: none;
	font-size: 14px;
}
#menu-header ul li {
	display: inline;
}
#menu-header ul li a {
	padding: 24px 15px 10px;
	font-weight:normal;
	background: url(../images/menu/mn-backgroundR.png) right 0 no-repeat;
	overflow: hidden;
}

#menu-header li.current_page_item > a,
#menu-header li.current-menu-item > a {
	color: black;
}

#menu-header ul li.page_item:hover > a,
#menu-header ul li.menu-item:hover > a {
	background: url(../images/menu/mn-backgroundR.png) right -60px no-repeat;
}
#menu-header ul ul li.menu-item span.sf-sub-indicator {
	background: transparent url(../images/icons/arrow-r.png) center -1px no-repeat !important;
}
#menu-header ul li.page_item:active > a,
#menu-header ul li.menu-item:active > a {
	background: url(../images/menu/mn-backgroundR.png) right -120px no-repeat;
}
#menu-header ul li.current_page_item > a,
#menu-header ul li.current-menu-item > a,
#menu-header ul li.current-page-ancestor > a,
#menu-header ul li.current-menu-ancestor > a {
	background: url(../images/menu/mn-backgroundR.png) right -180px no-repeat;
	color: black;
}

	#menu-header ul ul {
		margin-top: 1.5em;
		margin-left: 20px;
		padding: 7px 0 7px 0;
		height: auto;
		font-size: 12px;
		border: 1px solid #cdd;
		background: url(../images/sys/white-opacity90.png) repeat;
		-webkit-border-radius: 7px;
		-webkit-border-top-left-radius: 0;
		-moz-border-radius: 7px;
		-moz-border-radius-topleft: 0;
		border-radius: 7px;
		border-top-left-radius: 0;
		-moz-box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
		-webkit-box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
		box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
		}
		#menu-header ul ul ul {
			margin-top: .3em;
			margin-left: -2em;
		} 
		#menu-header ul ul li {
			height: 2em;
		}
		#menu-header ul ul li a,
		#menu-header ul ul li.menu-item a,
		#menu-header ul ul li.page_item a,
		#menu-header ul ul li.page_item:hover a,
		#menu-header ul ul li.page_item:active a,
		#menu-header ul ul li.current_page_item a,
		#menu-header ul ul li.current-menu-item a {
			margin: 0;
			padding: .5em 1em .5em;
			background: none !important; 
			line-height: 1em;
		}
		#menu-header ul ul li.menu-item:hover > a,
		#menu-header ul ul li.page_item:hover > a {
			background: url(../images/sys/grey-opacity50.png) repeat !important;
		}

/*** THE UserMenu ***/

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

#usermenu div.caption {
	float: right;
	display: none;
	padding: .75em 1em;
	background: url(../images/sys/black-opacity50.png) repeat;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
		-moz-box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
		-webkit-box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
		box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
}
#usermenu div.tab {
	float: right;
	padding: 0 7px;
	height: 15px;
	background: url(../images/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;
		-moz-box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
		-webkit-box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
		box-shadow: 0px 2px 4px 0 rgba(0,0,0,.2);
}

#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;
		}