/*** ESSENTIAL STYLES ***/
#menu1{
	margin: 0 auto 0 auto;
	text-align: center;
}
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
	z-index: 4;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
	line-height: 40px;
}
.sf-menu > li {
	display:inline-block;
    *display:inline;/*For IE7*/
    *zoom:1;/*For IE7*/
	line-height: 40px;
	text-align: center;
	margin: 0 0 0 0;
	vertical-align: top;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

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


/*** DEMO SKIN ***/
.sf-menu {
	margin-bottom: 1em;
}
.sf-menu ul {
	float: left;
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
	margin: 0 0 0 0;
}
.sf-menu ul ul{
	margin: 0 0 0 0;
}
.sf-menu a {
	border: 0;
	padding: 0 15px 0 15px;
	margin: 0;
	height: 40px;
	line-height: 40px;
	text-decoration: none;
	zoom: 1; /* IE7 */
	color: #000;
	font-size: 24px;
	font-family: 'Alegreya Sans SC', sans-serif;
	font-weight: 400;
}

.sf-menu > li:first-child { border-left: 0; }
.sf-menu > li:first-child a {}
.sf-menu ul a {
	padding: 0 20px;
	text-decoration: none;
	zoom: 1; /* IE7 */
	color: #fff;
}
.sf-menu li {
	background: transparent;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */	
	transition: all 0.2s ease-in 0s;		
}
.sf-menu ul li {
	background: #4aa2cb;
	text-align: left;
	border-left: 0;
}
.sf-menu ul ul li {
	text-align: left;
}
.sf-menu li:hover,
.sf-menu li.sfHover,
.sf-menu li.active {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: all 0.2s ease-in 0s;	
	background: #3b8eae;	
}
.sf-menu ul li:hover,
.sf-menu ul li.sfHover,
.sf-menu ul li.active {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
	background: #3b8eae !important;
}
.sf-menu a:hover,
.sf-menu li.sfHover > a,
.sf-menu li.active > a{
	color: #fff;
}

.sf-menu li.home{
	background: transparent url('../img/home.png') no-repeat center center;
	margin-right: 15px;
}
.sf-menu li img{
	vertical-align: middle;
	padding-bottom: 3px;
}

/*
@media only screen and (min-width: 768px) and (max-width: 999px) {
	.sf-menu > li {
		margin: 15px 0 15px 10px;
	}
	.sf-menu a{
		font-size: 17px;
		padding: 0 5px 0 5px;
	}
}

.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em;
}
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	border: 5px solid transparent;
	border-top-color: #000000; 
	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: #000000; 
}

.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #fffc00; 
	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: #fffc00;
}

*/
