/*
 * CSS Datei für den Header und die Navigationsleiste
 */

/*Gesamter Header*/
.header {
	display: flex;
	width: 100%;
	height: 180px; 
	padding: 0px;
}

.header.inactive {
	display: none;
}


/*<div>-Rahmen um den Header Inhalt*/
#header-div {
	position: fixed;
	top: 0px;
	width: 100%;
	min-width: 100%;
	background-color: rgba(245, 245, 245, 1);
	z-index: 10000;
}

#header-div-top-outside {
	width: 1280px;
	display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
	margin: auto;
}

#header-div-top-logo {
	height: 140px;
	width: 300px;
	display: flex;
}

#header-div-top-logo img {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	height: 120px;	
	width: auto;
}

#header-div-top-title {
	width: 980px;
	text-align: center;
	display:flex; 
	flex-direction: row; 
	justify-content: center; 
	align-items: center;
}

#header-div-top-subtitle {
	font-size: 2em;
	color: rgba(30, 30, 30, 0.75);
}


#header-div-bottom-outside {
	width: 100%;
	display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
	margin: auto;
	background-color: rgba(30, 30, 30, 1);
}

#header-div-bottom-navigation {
	width: 1280px;
	display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
	margin: auto;
}

/*<div> mit dem Burger Button*/
#header-div-responsive {
	display: none;
	width: 100%;
	height: 30px;
	text-align: center;
	align-items: center;
	justify-content: center;
	padding-top: 5px;
	padding-bottom: 5px;
}

#header-div-responsive a.responsive-button:link, #header-div-responsive a.responsive-button:visited {
	padding: 0px 5px 0px 5px;
	font-weight: 700;
	font-size: 25px;
	text-decoration: none;
	color: rgba(255, 255, 255, 1);
	background-color: rgba(30, 30, 30, 1);
	border-top: none;
}

#header-div-responsive a.responsive-button:active, #header-div-responsive a.responsive-button:hover {
	padding: 0px 5px 0px 5px;
	font-weight: 700;
	font-size: 25px;
	text-decoration: none;
	color: rgba(30, 30, 30, 1);
	background-color: rgba(255, 255, 255, 1);
	border-top: none;
}

/*Mobile Navigation*/
#header .nav-mobile {
	display: none;
	position: absolute;
	top: 160px;
	width: 100%;
	border-bottom: 0px solid grey;
	background-color: rgba(245, 245, 245, 1);
	font-weight: 700;
	z-index: 9000;
	box-shadow: 0px 10px 20px grey;
}

#header .nav-mobile.active {
	display: flex;
	flex-direction: row;
	position: absolute;
	top: 160px;
	margin: auto;
	text-align: center;
	width: 100%;
}

#mobile-navigation {
	margin: auto;
}

#mobile-navigation ul {
	margin: auto;
	width: 100%;
	list-style-type: none;
	padding-left: 0px;
	-moz-padding-start: 0px;
	-webkit-padding-start: 0px;
    padding-inline-start: 0px;
}

#mobile-navigation li {
	width: 100%;
    font-weight: 500;
    font-size: 1em;
	margin: 0em;
    list-style: none;
	text-decoration: none;
	text-align: center;
	color: rgba(30, 30, 30, 1);	
	display: flex;
	flex-direction: row;
	align-items: center;
	align-content: center;
}

#mobile-navigation ul li a:link, #mobile-navigation ul li a:visited, #mobile-navigation ul li a:active, #mobile-navigation ul li a:hover {
	display: inline-block;
	flex-direction: row;
	align-items: center;
	align-content: center;
	width: 100%;
    font-weight: 500;
    font-size: 1em;
	text-decoration: none;
	color: rgba(30, 30, 30, 1);
	padding: 5px 50px 5px 50px;
	text-align: center;
	margin: auto;
}


/*Navigationsleiste*/
#header-div-navigation {
	display: flex;
	flex-direction: left;
}

#header-navigation {
	width: 100%;
	display: flex;
	margin: auto;
	padding: 0px;
}

#header-navigation ul {
	list-style-type: disc;
	-moz-padding-start: 0px;
	-webkit-padding-start: 0px;
    padding-inline-start: 0px;
	margin-top: 3px;
	margin-bottom: 3px;
}

#header-navigation li {
    font-weight: 600;
    font-size: 1em;
	padding: 2px 10px 2px 10px;
	display: inline-flex;
    list-style: none;
	text-decoration: none;
	color: rgba(255, 255, 255, 1);
}

#header-navigation ul li a {
    font-weight: 600;
    font-size: 1em;
	display: flex;
  	align-items: center;
  	justify-content: center;	
	vertical-align: middle;
	height: 30px;
	text-decoration: none;
	color: rgba(255, 255, 255, 1);
	cursor: pointer;	
}

#header-navigation li:hover, #header-navigation li:active {
	background-color: rgba(60, 60, 60, 1);
}



/* Anpassung Responsive Navigation und kleine Displays, Handys etc. */
@media screen and (max-width: 1279px) {

	.header {
		height: 160px
	}
	
	#header {
		display: block;
	}
	
	/*Einblenden des Burger-Buttons*/
	#header-div-responsive {
		display: flex;	
	}
	
	/* Ausblenden der Navigationsleiste */
	#header-div-navigation {
		display: none;
	}
	
	#header-div-top-outside {
		width: 100%;
	}
	
	#header-div-bottom-navigation {
		width: 100%;
	}
	
	#header-div-top-title {
		display: none;
	}
	
	#header-div-top-logo {
		width: 100%;
		height: 120px;
		text-align: center;
	}
	
	#header-div-top-logo img {
		height: 100px;
	}
}