/*** ESSENTIAL STYLES ***/
#mainNav, #mainNav * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
#mainNav {
	display:block;
	line-height:1;
	padding-left:294px;
	width:445px;
}
#mainNav ul {
	position:		absolute;
	top:			-999em;
	width:			120px; /* left offset of submenus need to match (see below) */
}
#mainNav ul li {
	width:			100%;
}
#mainNav li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
#mainNav li {
	float:left;
	height:15px;
	margin-top:5px;
	padding-top:5px;
	position:relative;
}
#mainNav a {
	display:block;
	position:relative;
}
#mainNav li:hover ul,
#mainNav li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
	z-index:		99;
}
ul#mainNav li:hover li ul,
ul#mainNav li.sfHover li ul {
	top:			-999em;
}
ul#mainNav li li:hover ul,
ul#mainNav li li.sfHover ul {
	left:			140px; /* match ul width */
	top:			0;
}
ul#mainNav li li:hover li ul,
ul#mainNav li li.sfHover li ul {
	top:			-999em;
}
ul#mainNav li li li:hover ul,
ul#mainNav li li li.sfHover ul {
	left:			140px; /* match ul width */
	top:			0;
}
#mainNav li ul {
	margin-top:-10px;
}
#mainNav li ul ul{
	margin-top:0px;
}
#mainNav li li {
	background:		#b7cef3;
	background:		white;
	margin-top:0px;
	text-align:left;
	overflow:visible;
	height:auto;
	padding-bottom:10px;
	border:0;
    border-bottom: solid 1px gray;
    border-left: solid 1px gray;
    border-right: solid 1px gray;
}
#mainNav li li.first { 
	padding-top:10px;
}
#mainNav li li li {
	background:		#b7cef3;
	background:		white;
	margin-top:0px;
    border-bottom: solid 1px gray;
    border-left: solid 1px gray;
    border-right: solid 1px gray;
}
#mainNav li:hover, #mainNav li.sfHover,
#mainNav a:focus, #mainNav a:hover, #mainNav a:active {
	background:		#b7cef3;
	background:		white;
	outline:		0;
}
/*** shadows for all but IE6 ***/
.sf-shadow ul {
	/* background:	url('https://www.shop4erp.com/includes/templates/shop4erp/images/shadow.png') no-repeat bottom right; */
	background:	url('../images/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;
}
