/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 100%;
	right: 50%;
	margin-top: -10px;
	margin-right: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 4px solid transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	/*border-top-color: white;*/ /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	top: 50%;
	right: 1em;
	margin-top: -3px;
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	/*border-left-color: white;*/
}

/******** VERTICAL ********/
/* adding sf-vertical class in addition to sf-menu creates a vertical menu */
/* eg. <ul class="sf-menu sf-vertical"> ... */
.sf-vertical {
  width: 12em;
  /* If you want the width of the closed menu to expand to its
  widest top-level menu item (like its "Supersubs" submenus do),
  replace the width rule above with the following two rules. */

  /*
  min-width: 12em;
  *width: 12em;
  */
}
.sf-vertical ul {
	left:	100%;
	top: 0;
}
.sf-vertical > li {
  float: none;
}
.sf-vertical li {
  width: 100%;
}

/*** alter arrow directions ***/
.sf-vertical.sf-arrows > li > .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
  border-left-color: rgba(255,255,255,.5);

}
.sf-vertical.sf-arrows li > .sf-with-ul:focus:after,
.sf-vertical.sf-arrows li > .sf-with-ul:after,
.sf-vertical.sf-arrows > .sf-with-ul:after {
  border-left-color: #B7BBBF;
  border-width: 3px;
  right: 0px;
  margin-right: 30px;
  top: 60%;
}

/* 3, 4 ... level */ 
ul.sf-vertical > li ul {
    float: left !important;
    position: absolute !important;
	z-index: 99999 !important;
    overflow: visible !important;
    width: 200px !important;
    opacity: 1 !important;
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
}

ul.sf-vertical > li > ul { float: left !important; }
ul.sf-vertical > li ul li ul { left: 200px !important; top: -1px !important; }
ul.sf-vertical > li ul li { overflow: visible; position: relative; display: block; float: left !important; height: auto !important; width: 100% !important; }
ul.sf-vertical > li ul li a { position: relative; display: block; float: left !important; width: 100% !important; height: auto !important; padding: 0 !important; vertical-align: top; }
ul.sf-vertical > li ul li.sfHover > a, ul.sf-vertical > li ul li a:hover { display: block; float: left; width: 100%; }
.no_hover:hover { text-decoration: none; }
.sf-shadow ul { background: transparent !important; }
.sf-vertical a, .sf-vertical a:visited { position: relative; }
.sf-vertical li, .sf-vertical li:hover, 
.sf-vertical li.sfHover, 
.sf-vertical a:active, .sf-vertical a:focus { background: transparent; }
