/*	===================================
	FLEXIBLE MULTIMENU UPP TO 2 + 1 LEVELS
	=================================== */

/*	Common CSS for all Header Menus
	CSS for Level 2 are not used in the simple Header Menu: sxNavHead_ByAddons.asp
	Roboto Condensed, Open Sans Condensed, Ubuntu Condensed,
=================================== */

/*	The jQuery variables to Show/Hide the Mobile Menu are common to all Header Navs
	jqNavHeaderMarker and jqNavHeader
=================================== */

/*	The Mobile Menu "Roboto Condensed", "Ubuntu Condensed"
=================================== */

.sxNavHeader {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	margin: 0;
	padding: 20px 20px 240px 20px;
	text-align: left;
	background: #0b6daf;
	border-top: 1px solid rgba(255, 255, 255, 0.4);
	display: none;
	z-index: 1001;
}

.sxNavHeader>ul {
	display: block;
}

.sxNavHeader ul,
.sxNavHeader li {
	padding: 0;
	margin: 0;
	list-style: none;
	z-index: 1002;
}

.sxNavHeader span,
.sxNavHeader a {
	display: block;
}

/*	FIRST LEVEL; span and a
=================================== */

.sxNavHeader>ul>li {
	padding: 10px 0;
}

.sxNavHeader>ul>li>a,
.sxNavHeader>ul>li>span {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1em;
	font-weight: 400;
}

.sxNavHeader>ul>li:hover>span,
.sxNavHeader>ul>li:hover>a {
	color: rgba(255, 255, 255, 1);
}

.sxNavHeader>ul>li>a:after {
	content: "»»";
}

/*	SECOND LEVEL
=================================== */

.sxNavHeader ul ul {
	display: block;
	margin: 10px 0 0 40px;
}

.sxNavHeader li li {
	padding: 6px;
}

.sxNavHeader li li a {
	position: relative;
	display: block;
	padding: 0 0 8px 20px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1em;
}

.sxNavHeader li li a::before {
	content: "\00BB";
	position: absolute;
	left: 0;
	top: 0;
}

.sxNavHeader li li a:hover {
	color: rgba(255, 255, 255, 1);
}

/*	SECOND LEVEL + 1
=================================== */

.sxNavHeader li li li a {
	font-size: 1em;
}

/*
	Transform Header Nav FROM Mobile Devices TO Desktop
	Use !important to reset values changed by jQuery, 
	since jQuery uses the ID jqNavHeader to change values set in CLASS sxNavHeader 
=================================== */

@media only screen and (max-width: 1023px) {
	.sxNavHeader {
		overflow: auto;
	}

	.sxNavHeader ul ul {
		display: block !important;
	}
}

@media only screen and (min-width: 1024px) {
	#sxNavHeaderMarker {
		display: none;
	}

	.sxNavHeader {
		position: static;
		display: block !important;
		width: 100%;
		height: auto !important;
		background: none;
		border: 0;
		padding: 0;
		text-align: center;
		font-size: 1em;
		overflow: visible !important;
		background-color: black;
	}

	/*	First Level
	=================================== */
	.sxNavHeader>ul {
		display: inline-block;
		margin: 0 auto;
	}

	.sxNavHeader>ul>li {
		display: inline-block;
		padding: 8px 4px !important;
		text-align: left;
		position: relative;
	}

	.sxNavHeader>ul>li>span,
	.sxNavHeader>ul>li>a {
		cursor: pointer;
		padding: 0;
		margin: 0;
		font-size: 1em;
	}

	.sxNavHeader>ul>li>a:after {
		content: "";
	}

	.sxNavHeader>ul>li>span::after {
		content: " \21E3";
		display: inline;
		overflow: hidden;
	}

	.sxNavHeader>ul>li:hover>span::after {
		content: " \21E1";
	}

	/*	Second Level
	=================================== */
	.sxNavHeader ul ul {
		position: absolute;
		left: 0;
		top: 100%;
		/* background: #0b6daf; */
		background: #6d6d6d;
		margin: 0;
		padding: 20px;
		display: none;
	}

	.sxNavHeader li li {
		padding: 1px 0;
	}

	.sxNavHeader li li a {
		white-space: nowrap;
		font-weight: normal
	}



	/*	Second Level + 1
	=================================== */
	.sxNavHeader li li li a {
		white-space: pre-wrap;
	}

	.sxNavHeader ul ul ul {
		display: block;
		position: static;
		padding-top: 0;
	}

	/*	
		For wide-screen menu:
		Used the classes li.sub and ul.wide
		Change initial settings for the Position och the First Level LI:
			The including UL.wide is positioned relative to nav, Not to its LI
	=================================== */
	.sxNavHeader>ul>li.sub {
		position: static;
	}

	.sxNavHeader .wide {
		left: 0;
		right: 0;
		text-align: center;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
		padding: 25px;
	}

	.sxNavHeader .wide>li {
		display: inline-block !important;
		vertical-align: top;
		text-align: left;
	}

	.sxNavHeader .wide>li>a {
		font-size: 1.1em;
	}

	.sxNavHeader .wide>li>a::before {
		content: "\203A\203A";
	}

	.sxNavHeader .wide li ul {
		position: static;
		display: block !important;
		max-width: 200px;
	}
}