/*** 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%;
}

/*** DEMO SKIN ***/
.sf-menu{
	background: transparent;
  display: inline-block;
  float: none;

  margin: 0 auto -5px;
  overflow: visible;
  text-rendering: optimizelegibility;
  width: auto;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em;
	*width: 12em;
}
.sf-menu a{
	padding: 8px 25px 6px;
	text-decoration: none;
	zoom: 1; /* IE7 */
	color: #344475;
	font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
  font-weight: 600;
}
  .sf-menu > li{
    padding: 0 0 0;
    margin: 0 0 0;
  }
.sf-menu li {
/*	background: #a5a5a5; */
	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;
}

.sf-menu li > a{
	color: #344475;
  margin: 0 0;
  padding: 13px 25px;
  display: block;
  text-transform: uppercase;
}
.sf-menu li:hover > a{
  color: #fff;
}

.sf-menu li:hover a{
}

.sf-menu li:hover ul li a{
  background: #3b97be;
  border: none;
}

/* IF HAS CHILDREN */
.sf-menu li.menu-item-has-children > a{
  background-color: transparent;
  padding-right: 30px;
}
  .sf-menu > li.menu-item-has-children > a:after{
    content: '';
  	position: absolute;
  	top: 50%;
  	/*right: 10px;*/
  	margin-left: 10px;
  	margin-top: -3px;
  	height: 0;
  	width: 0;
  	/* order of following 3 rules important for fallbacks to work */
  	border: 5px solid transparent;
  	border-top-color: #fff;
  	transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out;
  }
    .sf-menu > li.menu-item-has-children:hover > a:after{
    	border-top-color: #fff;
    }
    .sf-menu > li.current-menu-item > a:after, .sf-menu > li.current-menu-parent > a:after,
    .sf-menu > li.current-menu-item > a:after, .sf-menu > li.current_page_item > a:after{
    	border-top-color: #fff;
    }

/* ACTIVES */
.sf-menu li.current-menu-ancestor > a, .sf-menu li.current-menu-parent > a,
.sf-menu li.current-menu-item > a, .sf-menu li.current_page_item > a{
  color: #fff;
}

.sf-menu ul{
	background: #1364a3 !important;
	border-bottom-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px;
	font-size: .8em !important;
	padding: 5px;
	width: 220px;
}

.sf-menu ul li a{
	background: transparent !important;
	border-bottom: 1px solid #fff !important;
  border-radius: 0;
  color: #fff !important;
  font-size: .9em;
  padding: 10px 10px;
  text-align: left;
  text-transform: uppercase;
}
  .sf-menu ul li:last-child a{
  	border-bottom-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px;
  	border-bottom-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px;
  	border-bottom: none !important;
  }
  .sf-menu ul li a:hover{
    background: rgba(95, 95, 97, 0.7) !important;
    border-bottom: 0px;
    color: #FFFFFF !important;
  }

/* ACTIVES UL LI UL */
.sf-menu ul li.current-menu-ancestor > a, .sf-menu ul li.current-menu-parent > a,
.sf-menu ul li.current-menu-item > a, .sf-menu ul li.current_page_item > a{
  background: rgba(95, 95, 97, 0.9) !important;
  border-bottom: 0px;
  color: #fff !important;
}

/* LI HOME */
.sf-menu li.home a{
  background-image: url("../images/ico-home.png");
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-left-radius: 4px;
  padding: 13px 20px 9px;
  text-indent: -9999em;
  width: 18px;
}

/*** 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: 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: #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 {
	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;
}