/******************************************************************************
 * Navigation mobile first normal
******************************************************************************/
/*
.js #nav {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
    zoom: 1;
}
*/

.js ul#nav {
    display: none;
}

nav#navMain {
	background: white;
	margin-top: 4.2em;
}

ul#nav {
    /*margin: 0 0 2em 0;*/
	margin: 0;
	font-size: 1.375em;
	font-family: open_sansbold, Arial, sans-serif;
	display: block;
	background: #dee1f7;
	overflow: hidden;
}

ul#nav > li {
    margin-left: 0;
    border-bottom: 1px solid white;
}

nav ul > li > a, nav ul > li > strong {
    padding: 0.8em 20px;
    display: block;
}

ul#nav a:link ,ul#nav a:visited {
    text-decoration: none;
	color: black;
	xbackground: #cdd7da;
}

ul#nav li:hover,
ul#nav a:hover {
	background: #B8BDE0;
}

ul#nav a:active, ul#nav a:focus {
	background: inherit;
}

ul#nav li {
	position: relative;
}

/*
ul#nav li a:link{
	background: #cdd7da;
}

ul#nav li a:hover{
	background: #E3EDEF;
}
*/

nav li.current a{
	text-decoration: underline;
	color: #850909;
	background: #C7CCEA;
}

#nav-toggle {
    display: inline-block;
    position: absolute;
    right: 5%;
    top: 0.65em;
    cursor: pointer;
    color: #808080;
	text-decoration: none;
    xborder: 1px solid #4A6491;
	outline: none;
}

#nav-toggle:hover {
    color: #1A1F2B;
}

/******************************************************************************
 * Navigation 2nd level
******************************************************************************/

ul#nav ul {
    margin: 0;
    width: auto;
	min-width: 20em;
	background-color: #eee;
    display: none;
	text-align: left;
}


ul#nav li:hover ul {
    display: block;
}

nav ul ul li {
	font-size: 0.75em;
	font-family: 		open_sansregular, Arial, sans-serif;
	background: transparent;
	border-bottom: 1px solid rgba(250, 250, 250, 0.8);
	
}
/*
ul#nav li.current ul {
	display: block;
}
*/

 ul#nav ul li a:link{
	background: transparent;
	padding-left: 1.5em;
}

 ul#nav ul li.current a:link{
	background: #b3d4fc;
}

 ul#nav ul li a:hover{
	background: #DBDBDB;
}

@media screen and (min-width: 35.5em) {
	
	ul#nav {
		font-size: 1.175em;
	}
	
	nav ul ul li {
		font-size: 1em;
	}

}

@media screen and (min-width: 48em) {
	
	nav#navMain {
        /* clearing für die floatenden LIs */
        overflow: inherit;
        font-size: inherit; /* 18px */
		text-align:	center;
		margin-top: 7em;
    }
	
	ul#nav {
		text-align: center;
		overflow: inherit;
		z-index: 19;
		background: transparent;
		position: relative;
	}
	
	/* second level */
	nav ul ul {
		position: absolute;
		top: 2.46em;
		width: auto;
		display: none;
		z-index: 220;
		min-width: 18%;
	}
	
	 ul#nav ul li {
       display: block;
    }
	
	 ul#nav ul li a:link{
		background: inherit;
		padding-left: .5em;
		font-size: 0.875em;
    }
	
	 ul#nav ul li a:hover{
		background: #dee1f7;
    }
	
	/*
	ul#nav li.current ul {
		display: none;
	}
	*/	
	
	/* second level */
	
    ul#nav li {
        display: inline-block;
        border: none;
        width: auto;
    }
	
    ul#nav > li > a {
        padding: 0.7em 10px 0.7em 10px;
        display: inline-block;
    }
	
	
	nav ul a:hover {
		background: none;
		text-decoration: underline;
		color: #850909;
	}
	
	ul#nav li.current a{
		color: white;
		background: #444F97;
	}
	
	ul#nav li.current ul a{
		color: inherit;
		background: inherit;
	}
	
	#nav-toggle {
        display: none;
    }
	
	.js ul#nav {
		display: block;
        position: relative;
		max-height: none;
    }

    .js ul#nav.closed {
        max-height: none;
    }

}

@media (min-width: 52em) {	
	ul#nav {
			font-size: 1.375em;
	}
}

@media (min-width: 58em) {

	ul#nav > li > a {
        padding: 0.7em 16px 0.7em 16px;
        display: inline-block;
    }

}




