/*** 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;
	margin-top:0px;
	
}
.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%;
}


/*** DEMO SKIN ***/
.sf-menu {
	display:table;
	margin:0 auto;
}
.sf-menu ul {
	width: 99%;
	margin-top: 0px;
	margin-left:1px;
	z-index:300;
}
.sf-menu a {
	font-family: 'latobold';
	font-size:15px;
	padding:41px 11px 25px;
	text-decoration: none;
	color: #2d3237;
	z-index:100;
	 -webkit-transition: all .4s;
 	-moz-transition: all .4s;
 	-o-transition: all .4s;
 	transition: all .4s;
 	position:relative;
	text-transform: uppercase;
	border-top:4px solid rgba(0,0,0,0);
}


.sf-menu > li {
	margin:0px 0px 0px 1px;
	padding:0;
	border-left:1px solid #ddb732;
}
.sf-menu > li:first-child {
	margin:0px;
	border-left:none;
}

.sf-menu > li > a:hover, .sf-menu > li.sfHover > a,
.sf-menu > li.selected > a, .sf-menu > li.active > a {
	color:#505356;
	border-top:4px solid #fff;
	text-decoration: none;	
}

.sf-menu ul {
	padding:5px 0;
	background-color:#efefef;
	margin:0;
}
.sf-menu ul a {
	font-family: 'latobold';
	font-size:13px;
	color: #2d3237;
	padding: 4px 14px 4px 14px;
	text-align:center;
	-webkit-transition: all .4s;
 -moz-transition: all .4s;
 -o-transition: all .4s;
 transition: all .4s;
 text-decoration:none;
 border:none;
}
.sf-menu ul li > a:hover, .sf-menu ul li.sfHover > a,
.sf-menu ul li.selected > a, .sf-menu ul li.active > a {
	color:#000;
	background-color:#ffd543;
	text-decoration:none;
}


/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top:8%;
	left: 50%;
	margin-left:-2px;
	margin-top: 15px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 4px solid transparent;
	border-top-color: rgba(0,0,0,0.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after,
.sf-arrows > li.selected > .sf-with-ul:after,
.sf-arrows > li.active > .sf-with-ul:after {
	border-top-color: rgba(0,0,0,0.5); /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: rgba(255,255,255,0.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,
.sf-arrows ul li.selected > .sf-with-ul:after,
.sf-arrows ul li.active > .sf-with-ul:after
{
	border-left-color: rgba(255,255,255,0.5);
}
