
#header #nav ul:not(.sub-menu) {
	list-style: none;
	margin: 0;
	display: flex;
	align-items: center;
	padding: 0;
	box-shadow: 0 2px 25px -3px rgba(0,0,0,.15);
	overflow: visible;
}
#nav > ul li.current-menu-item li a {
	color: black !important;
}
@media screen and (min-width: 1001px) {
	#nav > ul li:first-child a span {
		font-size: 1.35rem;
		line-height: 1;
		position: relative;
		display: inline-block;
		color: transparent;
		font-weight: 300;
		width: 27px;
	}
	#nav > ul li:first-child a span::before {
		position: absolute;
		left: 3px;
		text-indent: 0;
		color: #000;
	}
	#nav > ul li:first-child:hover a span::before {
		color: #c00;
	}
	#nav > ul li.current_page_item:first-child:hover a span::before {
		color: #fff;
	}
	#nav > ul li.current_page_item:first-child a span::before {
		color: #fff;
	}
	#nav > ul li .sub-menu-wrapper {
		position: absolute;
		z-index: 9999999;
		max-width: 100%;
		left: 0;
		width: 100%;
		background: transparent;
		max-height: 0;
		overflow: hidden;
		-webkit-transition: max-height .5s ease-in-out;
		-moz-transition: max-height .5s ease-in-out;
		transition: max-height .5s ease-in-out;
	}
	#nav > ul li:hover .sub-menu-wrapper {
		max-height: 300px;
		-webkit-transition: max-height .5s ease-in-out;
		-moz-transition: max-height .5s ease-in-out;
		transition: max-height .5s ease-in-out;
	}
	#nav > ul li .sub-menu {
		display: flex;
		background: #fff;
		box-shadow: 0 0 20px rgba(0,0,0,.15);
		border: 1px solid #cdcdcd;
		border-top: 5px solid #c00;
		margin-top: 12px;
		max-width: 100%;
		left: 0;
		padding-left: 0;
		width: 100%;
		flex-wrap: wrap;
	}
	#nav > ul li .sub-menu::after {
		position: absolute;
		top: 5px;
		left: 28%;
		display: inline-block !important;
		width: 0;
		height: 0;
		content: "";
		border-width: 0 8px 8px 8px;
		border-style: solid;
		border-color: transparent transparent #c00 transparent;
	}
	#header .mobile-suche {
		display: none;
	}
}
@media screen and (max-width: 1000px) {
	#nav > ul li .sub-menu-wrapper {
		position: relative;
		box-shadow: none;
		border: none;
		max-width: 100%;
		flex-direction: column;
	}
	#header #nav ul:not(.sub-menu) {
		box-shadow: none;
	}
	#header #nav ul li {
		width: 100% !important;
		display: block !important;
	}
	#nav > ul li .sub-menu::before {
		display: none !important;
	}
	#nav > ul li .sub-menu-wrapper {
		display: none;
	}
	#nav > ul li.menu-item-has-children > a > span {
		position: absolute;
		right: 0;
		height: 100%;
		width: 50px;
	}
	#nav {
		max-height: 100% !important;
		margin-left: -24px;
		margin-right: -24px;
	}
	.stern-nav-search {
		display: none;
	}
	#header #nav ul li a {
		font-size: 20px !important;
		line-height: 24px !important;
		border-bottom: 1px solid #ccc;
	}
	#header #nav ul li ul li:last-child a {
		border-bottom: 1px solid #ccc;
	}
	#header #nav ul li:last-child a {
		border-bottom: none;
	}
}
#nav > ul li .sub-menu li {
	width: calc(100% / 5);
	margin: 0;
}
#nav > ul li.menu-item-has-children:hover .sub-menu li a {
	color: #000 !important;
}
#nav > ul li.menu-item-has-children:hover .sub-menu li:hover a {
	color: #c00 !important;
}
#nav > ul li.menu-item-has-children ul li a::after {
	display: none;
}
#nav > ul li .sub-menu li.current-menu-item a {
	background: #fff;
	color: #c00 !important;
}
#nav > ul li.current-menu-item .sub-menu li a {
	color: #000 !important;
}
#nav > ul li.current-menu-item li a {
	background: #fff !important;
	font-size: 22px;
}
#nav > ul li.current_page_parent ul li a {
	background: #fff !important;
}
#header .mobile-suche #searchform {
	display: flex;
}
#header #nav ul li {
	margin-right: 20px;
}
#header #nav ul li a {
	padding: 15px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}
#nav > ul li.current-menu-item:first-child a {
	background: #c00;
	color: white;
}
.toggle-search:hover {
	color: #c00;
}
#search-head {
	padding: 10px 0;
	background: #f7f7f7;
}
#search-head #searchform {
	display: flex;
	padding: 4px 0;
	height: 70px;
}
#search-head #searchform input#searchfield {
	width: 100%;
}
#search-head #searchform input {
	font-size: 1rem;
	line-height: 23px;
	float: left;
	box-sizing: border-box;
	height: 52px;
	padding: 15px;
	border: 0;
}
#search-head #searchform #searchsubmit {
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	background: #c00;
	height: 50px;
	cursor: pointer;
	float: left;
	font-size: 24px;
	padding-top: 12px;
}
.toggle-search {
	font-size: 24px;
	line-height: 55px;
	text-align: center;
}
.stern-nav-search {
	position: absolute;
	top: 0;
	right: 0;
	width: 60px;
	height: 50px;
	cursor: pointer;
	z-index: 99999;
}
#nav > ul > li.menu-item-has-children > a {
	position: relative;
	padding-right: 40px !important;
}
#nav > ul > li.menu-item-has-children > a::before {
	transform: rotate(90deg);
	position: absolute;
	height: 16px;
	width: 16px;
	right: 15px;
	font-size: 15px;
	top: 27px;
	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-o-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out;
}
#nav > ul > li.menu-item-has-children:hover > a::before {
	transform: rotate(90deg);
	color: #fff;
	animation-name: icontransform;
	animation-duration: .4s;
	animation-iteration-count: 1;
}
#nav > ul li.menu-item-has-children:hover ul li a {
	background: inherit;
	color: inherit;
}
@media screen and (min-width: 1001px) {
	#nav > ul li.menu-item-has-children:hover a {
		background: #c00;
		color: white;
	}
}
@media screen and (max-width: 1000px) {
	.home #header #nav ul li.mobile-suche {
		display: none !important;
	}
	#nav > ul li.menu-item-has-children a::after, #nav > ul li.menu-item-has-children:hover a::after {
		display: none;
	}
	#nav > ul li.menu-item-has-children {
		position: relative;
	}
	#nav > ul li.menu-item-has-children > a {
		display: inline-block;
	}
	#nav > ul li.menu-item-has-children.current-menu-item::before {
		color: #fff;
	}
}
#nav > ul li.menu-item-has-children ul li a::after {
	display: none;
}
#nav > ul li ul li {
	list-style: none;
	padding: 0;
	margin: 0;
}
#nav {
	position: relative;
	display: block;
	max-height: 50px;
	z-index: 100;
}
.toggle-menu {
	position: absolute;
	z-index: 10;
	top: 25px;
	display: none;
	right: 25px;
	font-size: 34px;
	width: 32px;
	height: 24px;
	cursor: pointer;
}
#header #nav ul li a {
	font-weight: bold;
	font-size: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 23px;
	box-sizing: border-box;
}
#header #nav ul li.menu-item-has-children > a > span::before {
	position: absolute;
	right: 17px;
	top: 11px;
	transform: rotate(90deg);
	background-size: 6px;
}
#nav > ul > li.menu-item-has-children:hover > a > span::before {
	transform: rotate(90deg);
	animation-name: icontransform;
	animation-duration: .4s;
	animation-iteration-count: 1;
}
#nav > ul li.current-menu-item {
	background: #c00;
}
#nav > ul li.current-menu-item a {
	color: white !important;
}
#nav > ul li:not(.menu-item-has-children) {
	z-index: 99;
}
header#header {
	z-index: 999;
	position: relative;
}
#header #nav ul li {
	margin-right: 0;
}
#search-head {
	display: none;
}
@media screen and (max-width: 1000px) {
	#nav > ul {
		width: 100%;
		background: #fff;
	}
	#nav > ul li .sub-menu {
		padding: 0;
	}
	#nav > ul li {
		float: none;
		margin: 0;
	}
	#nav > ul li:last-child {
		border: none;
	}
	#nav > ul li .sub-menu a {
		background: transparent;
	}
	#nav > ul li a {
		line-height: 1.5;
		padding: 15px 20px;
	}
	#nav > ul li:first-child a span {
		width: auto;
		vertical-align: 0;
		text-indent: 0;
	}
	#nav > ul li:first-child a span::before {
		display: none;
	}
}
@media screen and (max-width: 1279px) {
	#header #nav ul li a {
		font-size: 16px;
		line-height: 21px;
	}
}
@media screen and (max-width: 1000px) {
	.toggle-menu {
		display: block;
	}
	#nav {
		display: none;
	}
	#header #nav ul:not(.sub-menu) {
		flex-direction: column;
	}
	#header #nav ul:not(.sub-menu) {
		background: white;
	}
}
