/*
* http://www.iab.de/css/navigation.css
* Usage: Stylesheet for all media - navigation styles
*
* Copyright (C)2007 Institut fuer Arbeitsmarkt- und Berufsforschung
*
* Last modification: 2007-05-11 15:00
*******************************************************************************/


@media all {

/*
* Main navigation
*******************************************************************************/
.left ul, .left ul li {
	display: block;
	padding: 0.2em 0em 0.2em 0em;
	margin: 0em;
	
	/*background: #e8e6f2;*/
	overflow: hidden;
	line-height: 100%;
}
.left ul li {
border-top: 1px lightgrey solid;
	/* padding:  0.5em 0em;*/
}
.left > ul > li:last-child {
border-bottom: 1px lightgrey solid;
	/* padding:  0.5em 0em;*/
}
.left li.selected {
	border-top: 1px lightgrey solid;
	padding-top: 0;
}

.left ul li {
background:none;
	/* padding:  0.5em 0em;*/
}
.left ul .selected a, .left a.selected, .left a.active {
	color: #000000;

}
.left a.selected, .left a.active {
	font-weight: bold;
}
.left ul li a {
	padding-left: 1em;
	display: block;
	font-size: 1.1em;
}
.left ul li li a {
	padding-left: 2em;
}
.left ul li li li a {
	padding-left: 3em;
}
.left ul li li li li a {
	padding-left: 4em;
}
.left ul li li li li li a {
	padding-left: 5em;
}

.left li.selected>ul>li:first-child  {
	border-top: none;
}


/*
* Global navigation
*******************************************************************************/
.topcontent ul, .topcontent ul li {
	float: left;
	display: block;
	padding: 0em;
	margin: 0em;
	background: none;
	list-style-type: none;
}
.topcontent ul li {
	padding-right: 0.5em;
}
.left a, .topcontent a {
	color: #000000;
	line-height: 100%;
	font-weight: normal;
	text-decoration: none;
}
.topcontent a.selected, .topcontent a.active {
	color: #000000;
	font-weight: bold;
}
/* modified topcontent horizontal menu */
.topcontent ul.horizontal {
	float: left;
	padding-left: 0em !important;
	margin-top: 0em !important;
}

/*
* Special navigation
*******************************************************************************/
ul#metanav, ul#sondernav {
	display: block;
	float: right;
	width: auto;
	margin-right: -10px;
}
ul#metanav li, ul#sondernav li {
	margin: 0em;
	padding-top: 3px;
	padding-right: 2px;
	text-align: right;
}


/*
* Special navigation
*******************************************************************************/
ul.horizontal {
	float: none;
	clear: both;
	list-style-type: none;
	padding-left: 2em;
	margin: 2em 0em 1em 0em;
}
ul.horizontal li {
	display: inline;
	background: none;
	padding: 0em 0.2em 0em 0.2em;
	margin: 0em;
	border-left: 1px solid #000000;
}
ul.horizontal :first-child, ul.horizontal .first {
	border-left: none !important;
}
.topcontent ul.horizontal li:last-child {
	display: none;
}
ul.pagenav {
	display: inline;
	float: none;
	clear: none;
	list-style-type: none;
}
ul.pagenav li {
	display: inline;
	background: none;
	padding: 0em 0.2em 0em 0.2em;
	margin: 0em;
	border-left: 1px solid #000000;
}
ul.pagenav :first-child, ul.pagenav .first {
	border-left: none !important;
}
#p_Nav_active {
	padding-bottom: 0em;
}

}


@media only screen and (max-width: 991px) {
	.topcontent ul.horizontal {
		margin-top: 7px !important;
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
	.topcontent ul.horizontal li {
		border-left-color: #fff;
		border-bottom: 1px solid #fff;
		background: #dedee0;
		padding: 0.2em 0.8em;
		text-align: center;
		flex-grow: 1;
	}
	.topcontent ul.horizontal li a {
		line-height: 20px;
	}
	.topcontent ul.horizontal li:last-child {
		display: block;
	}
	.topcontent ul.horizontal li:last-child a {
		padding-top: 3px;
		display: block;
	}
	.topcontent ul.horizontal li:last-child img {
		display: inline;
		vertical-align: text-top;
	}	
}

@media only screen and (max-width: 767px) {
	.topcontent ul.horizontal {
		margin-top: 59px !important;
	}
}

