/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	/*margin: 0;
	padding: 0;
	list-style: none;*/
	/*font-size: 16px;*/
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
	margin-top: 30px;
}
.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 > li > a {
	/*height: 30px;*/
}

.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/

#mainMenu ul ul li {
	display: block;
	text-align: left;
	padding: 0 10px;
}

#mobileMenu ul ul li {
	display: block;
	text-align: center;
	padding: 0 10px;
}

	
@media only screen and (max-width: 1180px){
	
}


@media only screen and (max-width: 1020px){
	
}


.sf-menu {
	/*float: left;
	margin-bottom: 0;*/
}
.sf-menu ul {
	-webkit-box-shadow: 10px 10px 8px 5px rgba(51,51,51,0.1);
	-moz-box-shadow: 10px 10px 8px 5px rgba(51,51,51,0.1);
	box-shadow: 10px 10px 8px 5px rgba(51,51,51,0.1);
	min-width: 180px; /* allow long menu items to determine submenu width */
	*width: 180px; /* no auto sub width for IE7, see white-space comment below */
	margin: 20px 0 0 30px;
}
.sf-menu a {
	/*padding: 5px 0;*/
	text-decoration: none;
	zoom: 1; /* IE7 */
}
/*.sf-menu a {
	color: #333;
}
.sf-menu a:hover,
.sf-menu a:active,
.sf-menu a.aktiv {
	color: #1D9FE4;
}*/
.sf-menu li {
	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:first-child {
	/* margin-right: 30px; */
}
.sf-menu ul li {
	background: #fff;
	float: none;
	clear: both;
}
.sf-menu ul li a {
	padding: 5px 10px 10px 10px !important;
	margin: 0 5px;
	color: #fff;
	/*text-transform: none;*/
}
.sf-menu ul li a:hover {
	color: #333;
}
.sf-menu ul li:first-child {
	margin-right: 0;
}
.sf-menu ul li:first-child a {
	border-top: none;
}
.sf-menu ul ul li {
	background: #fff;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	color: #1D9FE4;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

.sf-menu li.sfHover>a {
	color: #1D9FE4;
}

/*** arrows (for all except IE7) **/
.sf-menu li a {
	/*padding-right: 4em;
	*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: -1px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #666; /* edit this to suit design (no rgba in IE8) */
}

.sf-menu li.last a {
	padding-right: 0;
	*padding-right: 0; /* no CSS arrows for IE7 (lack pseudo-elements) */
}


.sf-menu > li:last-child .sf-with-ul {
	padding-right: 0;
	*padding-right: 0; /* no CSS arrows for IE7 (lack pseudo-elements) */
}

.sf-menu > li:last-child .sf-with-ul:after {
	content: '' !important;
}

/*.sf-menu > li.last .sf-with-ul:after {
	content: '' !important;
}*/


@media only screen and (max-width: 1180px){
	.sf-menu ul {
		margin: 0 0 0 -5px;
	}
}

@media only screen and (max-width: 1040px){
	.sf-menu, .sf-menu * {
		/*font-size: 14px;*/
	}
	.sf-menu li a {
		/*padding-right: 2em;*/
	}
	.sf-arrows .sf-with-ul:after {
		right: 1.2em;
	}
	.sf-menu ul {
		min-width: 130px; /* allow long menu items to determine submenu width */
		*width: 130px; /* no auto sub width for IE7, see white-space comment below */
	}
}

@media only screen and (max-width: 920px){
	.sf-menu, .sf-menu * {
		font-size: 15px;
	}
	.sf-menu li a {
		/*padding-right: 1.5em;*/
	}
	.sf-arrows .sf-with-ul:after {
		right: 1em;
	}
}

@media only screen and (max-width: 860px){
	.sf-menu, .sf-menu * {
		font-size: 14px;
	}
	.sf-menu li a {
		/*padding-right: 1.2em;*/
	}
	.sf-arrows .sf-with-ul:after {
		right: 0.8em;
	}
	.sf-menu ul {
		min-width: 110px; /* allow long menu items to determine submenu width */
		*width: 110px; /* no auto sub width for IE7, see white-space comment below */
	}
}

@media only screen and (max-width: 1023px){
	.sf-menu ul {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	.sf-arrows .sf-with-ul:after {
		position: relative;
		top: 13px;
		right: -1em;
		margin-top: 10px;
	}
	.sf-menu ul li {
		margin: 10px 0;
	}
}



/* Headernavigation */
#headerNav .sf-menu li a {
	padding-right: 10px;
	*padding-right: 0; /* no CSS arrows for IE7 (lack pseudo-elements) */
	font-size: 14px;
}
#headerNav .sf-menu li.last a {
	padding-right: 0 !important;
}
#headerNav .sf-arrows .sf-with-ul:after {
	content: '';
}
#headerNav .sf-menu ul li {
	background: RGBA(29,159,228,0.95)
}
#headerNav .sf-menu ul li a {
	color: #fff;
	border-top: #fff 1px dotted;
	padding: 5px 5px 5px 10px;
	margin: 0 5px;
	text-transform: none;
}
#headerNav .sf-menu ul li:first-child a {
	border-top: none;
}
#headerNav .sf-menu ul {
	margin: 0 0 0 -15px;
}
#headerNav .sf-menu ul a:hover,
#headerNav .sf-menu ul a:active,
#headerNav .sf-menu ul a.aktiv {
	color: #333;
}
