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

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


/*** DEMO SKIN ***/
.sfp-menu {
	float: left;
	margin-bottom: 1em;
	
}
.sfp-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}


.sfp-menu a {
	border-bottom: 1px solid #E5E5E5;
	padding: 10px 5px 10px 10px;
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.sfp-menu a {
	color: #393838;
	font-size:12px;
}
.sfp-menu a:hover {
	color: #FFFFFF;
	font-size:12px;
	font-weight:bold;
}

.sfp-menu li {
	background: #FFFFFF;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
	color:#393838;
	
}
.sfp-menu ul li {
	padding-right:15px;
	color:#FFFFFF;
}
.sfp-menu ul ul li {

	color:#FFFFFF;
}

.sfp-menu li.sfHover {
	background: #000;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
	color:#FFF;
}

.sfp-menu li:hover{
	background: #435171;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
	color:#FFFFFF;
}

.sfp-menu li.sfHover:hover {
	background: #CCCCCC;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
	color:#393838;
}

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

/* adding sfp-vertical class in addition to sfp-menu creates a vertical menu */
/* eg. <ul class="sfp-menu sfp-vertical"> ... */
.sfp-vertical {
  width: 100%;
  margin:0;
  /* 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;
  */
}
.sfp-vertical ul {
	left: 100%;
	top: 0;
}
.sfp-vertical > li {
  float: none;
  
}
.sfp-vertical li {
  width: 100%;
  
}

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

}
.sfp-vertical.sfp-arrows li > .sfp-with-ul:focus:after,
.sfp-vertical.sfp-arrows li:hover > .sfp-with-ul:after,
.sfp-vertical.sfp-arrows .sfHover > .sfp-with-ul:after {
  border-left-color: #FC631E;
}
