/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Tahoma, Geneva, Verdana, Arial, Helvetica sans-serif;

}
.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 {
	float: left;
	margin-bottom: 1em;
}
.sf-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 */
}
.sf-menu a {
	color: white; /*** was #13a; ***/
	border-left: 1px solid #fff;
	border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand */
	border-top: 1px solid rgba(255,255,255,.5);
	padding: .75em 1em;
	text-decoration: none;
	zoom: 1; /* IE7 */
}

.sf-menu a:hover {color: #13a; text-decoration: none;}

.sf-menu li {
	background: #BDD2FF;
	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 ul li {
	background: #AABDE6;
}
.sf-menu ul ul li {
	background: #9AAEDB;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	background: #CFDEFF;
	text-shadow: 1px 1px 1px gray;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

/*** 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;
}

/*** End Superfish core styles ***/
/*** Start Navbar styles ***/

/* adding the class sf-navbar in addition to sf-menu creates an all-horizontal nav-bar menu */
.sf-navbar {
	background-color: #336; /*** was #CFDEFF ***/
	position: relative;
	margin-bottom: 3em;
	width: 100%;
}
/* show second level menu for current top level menu */
.sf-menu li.current > ul {
	display: block;
}

/* make current top level menu and submenu color bright blue #03F, #00C; or #33F */
.sf-menu .sfHover a {
 color:#03F;
}

/* provide background colour for submenu strip */
/* you should just set the menu's container bg colour rather than use pseudo-elements */
.sf-navbar:before {
	content: '';
	position: absolute;
	left: 0;
	z-index: -1;
	background-color: #BDD2FF;
	height: 200%;
	width: 100%;
}
.sf-navbar ul {
	box-shadow: none;
}
.sf-navbar li {
	background: #336; /*** was #AABDE6; ***/
	position: static;
}
.sf-menu a {
	padding: .75em .5em .75em 1em;
}
.sf-navbar > li > a, .sf-navbar > li > ul > li > a {
	border: none;
}
.sf-navbar > li > ul {
	width: 100%; /* set this to whatever suits your design */
	background: #BDD2FF;
}
.sf-navbar ul li {
	background: #BDD2FF;
	position: relative;
}

/*** indent and make font size smaller for third-order and greater menu items ***/
.sf-navbar > li > ul > li > ul { font-size:0.875em; text-indent:0.25em;}


/*** 3th order menus drop straight down ***/
.sf-navbar > li > ul > li > ul {
	left: 0;
	top: 100%;
}
.sf-navbar ul ul li {
	width: 100%;
}
.sf-navbar > li > ul > li {
	float: left;
}
.sf-navbar li.current {
	background: #BDD2FF;
}
.sf-navbar li:hover, .sf-navbar li.sfHover, .sf-navbar ul li.current {
	background: #BDD2FF;
}
.sf-navbar ul li:hover, .sf-navbar ul li.sfHover, .sf-navbar ul ul li {
	background: #D1DFFF;
}
.sf-navbar ul ul li:hover, .sf-navbar ul ul li.sfHover, .sf-navbar ul ul li.current {
	background: #E6EEFF;
}
.sf-navbar ul ul li:hover li, .sf-navbar ul ul li.sfHover li, .sf-navbar ul ul li.current li {
	background: #E6EEFF;
}
.sf-navbar ul ul li li:hover, .sf-navbar ul ul li li.sfHover, .sf-navbar ul ul li li.current {
	background: #CFF;
}

/*** point second order menu arrows down ***/
.sf-arrows.sf-navbar > li > ul > li > .sf-with-ul:after {
	margin-top: -3px;
	margin-right: 0;
	border-color: transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
.sf-arrows.sf-navbar > li > ul > li > .sf-with-ul:focus:after, .sf-arrows.sf-navbar > li > ul > li:hover > .sf-with-ul:after, .sf-arrows.sf-navbar > li > ul > .sfHover > .sf-with-ul:after {
	border-color: transparent;
	border-top-color: white;
}
/* Responsive Styles */

#mobile-menu {
	display: none;
}


/* smaller than default single column  1550/16 = 96.875 em */
@media handheld, screen and (max-width: 97em) {
.sf-navbar {
	font-size: 0.875em;
}
}


/* even smaller than default single column  1140/16 = 90 em  */
@media handheld, screen and (max-width: 90em) {
.sf-navbar li a {
	padding-left: 0.5em;
}

.sf-arrows .sf-with-ul {
	padding-right: 2em;
}

.sf-arrows .sf-with-ul:after {
	right: 0.5em;
}


}

/* no room left for full menu 864/16 = 54em */
@media handheld, screen and (max-width: 54em) {

.sf-menu li:hover,
.sf-menu li.sfHover {
	text-shadow: none;
}

.sf-navbar {
	width: 100%;
}
.sf-navbar {
	margin-bottom: 1em;
}
.sf-menu li {
	border-left: none;
	border-top: 1px solid #dFeEFF;
}
.sf-menu li a {
	border: none;
}
.sf-navbar:before {
	height: 100%;
}
ul.sf-navbar ul {
	position: static;
}

/* make top level menu items bold */
nav#sitenav > ul.sf-menu.sf-navbar > li > a {
	font-weight:bold;
}

/* make secondary menu items with submenus bold when hovered/selected */
.sf-menu li:hover > a.sf-with-ul {
	font-weight:bold;
}

ul.sf-navbar ul a {
	margin-left: 1em;
}
ul.sf-navbar ul ul a {
	margin-left: 2em;
}
ul.sf-navbar ul ul ul a {
	margin-left: 3em;
}
#sitenav > ul > li {
	float: none;
	width: 100%;
	display: none;
	position: static;
}
#sitenav > ul:hover > li {
	display: block;
	clear: both;
}
/* menu button */
 
#mobile-menu {
	display: block;
	border: none;
	height: 2em;
	background-color: #AABDE6;
}
#menu-icon {
	margin-left: 0.2em;
	width: 2em;
	height: 2em;
	background-image: url(../icons-logos/icon-menu.png);
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}
.sf-navbar > li > ul > li {
	float: none;
	position: static;
}
.sf-navbar > li > ul > li {
	float: none;
	position: static;
}
/*** point third order menu arrows down ***/
.sf-arrows.sf-navbar > li > ul > li > ul > li .sf-with-ul:after {
	margin-top: -3px;
	margin-right: 0;
	border-color: transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
}