/*
Header styles
*/

#masthead {
	width:100%;
	position: fixed;
	top:0;
	left:0;
	height: 130px;
	-webkit-transform: translateZ(0);
}

#headerTitle {
	color:#009EE2;
	font-weight:600;
	position:absolute;
	right:20px;
	bottom:50px;	
}

#headerLogo {
	float: left;
	padding-left: 2.5rem;
}

#headerLogo img {
	height: 75px;
	width: auto;
}
#headerLogin {
	float: right;
	margin-right: 2em;
	color: #1e9cd8;
}
.logged-in #headerLogin {
	display: none;
}

#site-title {
	position: fixed;
	float: right;
	padding: 0;
	margin-right: 50px;
}

#site-navigation {
	float: left;
}
body:not(.logged-in) #site-navigation {
	background-color: #e6f4f5;
}
body.logged-in #site-navigation {
	background-color: #96c23a;
}

#headerMenuExt {
	float: right;
	color: #333;
	height: 50px;
	width: 60px;
	margin: 0 0 0 20px;
	cursor:pointer;
}
body:not(.logged-in) #headerMenuExt {
	background-color: #e6f4f5;
}
body.logged-in #headerMenuExt {
	background-color: #96c23a;
}

#headerMenuExt .dashicons:hover {
	color:#00a3eb;
}

#headerMenu:hover {
	background-color:#00a3eb;
}

#headerMenuSearchIcon {
	height: 50px;
	width: 60px;
	font-size: 2.5em;
	line-height: 1.2em;
}
#headerMenuSearchIcon2 {
	height: 40px;
	font-size: 2.5em;
}

#headerMenu .headerMenuSelected {
	color:#ffeb00;
}

.headerMenuContainer {
	display:inline-block;
	text-align:center;
	text-decoration:none;
	font-size:1rem;
	font-weight:600;
	height:27px;
	color:white;
	cursor:pointer;
	transition:all 1s ease;
}

.headerMenuHoverHelper {
	position:absolute;
	width:123px;
	top:0px;
	height:27px;
	display:none;
	z-index:100;
}

.headerMenuSubMenuContainer {
	background: #ffffff none repeat scroll 0 0;
	box-shadow: -10px 18px 30px rgba(0, 0, 0, 0.1);
	width:220px;
	position:absolute;
	top:27px;
	height:0px;
	border-style:outset;
	border-width:0px;
	transition:opacity 1s ease;
	overflow:hidden;
	opacity:0;
}

.headerMenuSubMenu {
    background-color: #ffffff;
    height: 40px;
    left: 0px;
	text-indent: 10px;
    position: relative;
    top: 0;
    transition: all 1s ease 0s;
    width: 220px;
}

.headerMenuText {
	text-align:center;
	height:27px;
	margin:0;
	margin-top:0.0em;
	padding-top:4px;
	padding-bottom:4px;
	top:0px;
	text-decoration:none;
	font-size:0.9em;
	font-weight:600;
	color:white;
	cursor:pointer;
	transition:all 1s ease;
	opacity:1;
	visibility:visible;
}

.headerMenuSubMenuText {
	position:absolute;
	top:0;
	left:10px;
	width:190px;
	text-align:left;
	margin:0;
	margin-top:0.75em;
	text-decoration:none;
	font-size:0.9em;
	color: #888888;
	cursor:pointer;
	transition:all 1s ease;
	opacity:1;
	visibility:visible;
}

.headerMenuSubMenuText:hover {
	color:#00a3eb;
}

/*
Search Panel
*/
#searchPanel {
	display: none;
	float: right;
	max-width: auto;
}

/*
  Social styles
*/

#socialButtons {
	position:absolute;
	right:0;
	top:165px;
	width: 45px;
	z-index:10;
}

.socialButton {
	padding-right:15px;
	position:relative;
	display:block;
	float:right;
	width: 45px;
	height:45px;
	margin-bottom:5px;
	background-color:#00a3eb;
	transition:all 1s ease;
	cursor:pointer;
	z-index:10;
}
.socialButton:hover {
	background-color:#009DE1;
	width: 60px;
	padding-right:15px;
	transition:all 1s ease;
}

.socialButton span {
	line-height:40px;
	color: white;
	font-weight:400;
	font-size:40px;
}


@media (max-width: 67em) {
	#headerInternal {
		width:100%;
	}
	
	#headerMenu a, #headerMenu div {
		opacity:0;
		visibility:hidden;	
	}
	
	#headerMenu {
		width:45px;
		cursor:pointer;
		overflow:hidden;
	}

	#headerMenu:hover {
		background-color:#009DE1;
	}
	
	/*
	Header Search
	*/
	#searchPanelForm {
		width:100%;
	}
	
	#searchPanelQueryContainer {
		left:20px;	
	}
}

@media (max-width: 50em) {
	#searchPanel {
		top:5px !important;	
	}
	
	#searchPanelQuery {
		clear: both;
		position: relative;
	}
	
}

@media (max-width:36em) , (max-height:25em) {
	
	#masthead {
		height:300px;
	}
	#header {
		height:300px;	
	}
	
	#headerLogo {
		width:300px;	
		display:block !important;
		padding-left: 0;
		margin-left: 10px;
	}
	#headerLogo img {
		height:70px !important;
	}
	
	#headerLogoSmall {
		display:none !important;
	}
	
	#socialButtons {
		display:none;	
	}
}

@media (max-height:25em) {
	#header {
		height:59px !important;	
	}
	
	#headerLogo {
		width:90px !important;
		top:10px !important;	
		height:40px !important;
	}
	
	#headerTitle {
		display:none;	
	}
	
	#searchPanel {
		top:35px !important;	
	}
		
	#mitmachen {
		width:100%;
		min-height:40px;	
		top:59px;
	}

}
