/* Eigenstaendige Junioren-Navigation
   Grundgestaltung plus Accordion-Verhalten fuer die Junioren-Vorlage. */

#easymenu,
#easymenu * {
	box-sizing: border-box;
}

#easymenu {
	overflow: hidden;
	margin: 0 0 24px;
	background: #f2f2f2;
	border: 1px solid #dedede;
	border-top: 0;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
	font-family: "Roboto", Arial, sans-serif;
}

#easymenu ul {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

#easymenu > ul > li {
	margin: 0;
	padding: 10px 0 0;
	background: #f2f2f2;
	border-bottom: 1px solid #d4d4d4;
	color: #252525;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

#easymenu > ul > li > a {
	display: block;
	padding: 0 14px 7px;
	color: inherit;
	text-decoration: none;
}

#easymenu > ul > li > a:focus-visible {
	outline: 3px solid #c8101e;
	outline-offset: -2px;
}

#easymenu > ul > li:last-child {
	border-bottom: 0;
}

#easymenu > ul > li > ul {
	margin: 0;
	background: #fff;
	border-top: 1px solid #dedede;
}

#easymenu li li {
	margin: 0;
	padding: 0;
	background: #fff;
	border-bottom: 1px solid #e1e1e1;
	color: #222;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

#easymenu li li:last-child,
#easymenu .last {
	border-bottom: 0;
}

#easymenu li li > a {
	position: relative;
	display: block;
	min-height: 36px;
	padding: 7px 14px 7px 32px;
	border-left: 4px solid transparent;
	color: #222;
	text-decoration: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

#easymenu li li > a::before {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 6px;
	height: 6px;
	border-top: 2px solid #c8101e;
	border-right: 2px solid #c8101e;
	content: "";
	transform: translateY(-50%) rotate(45deg);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

#easymenu li li > a:hover,
#easymenu li li > a:focus {
	background: #c8101e;
	border-left-color: #8f0b15;
	color: #fff;
}

#easymenu li li > a:hover::before,
#easymenu li li > a:focus::before {
	border-color: #fff;
	transform: translate(2px, -50%) rotate(45deg);
}

#easymenu li li > a:focus-visible {
	outline: 3px solid #222;
	outline-offset: -3px;
}

#easymenu li li.treeMenu_active > a,
#easymenu li li > a.treeMenu_active,
#easymenu li li > .treeMenu_active {
	background: #fff0f1;
	border-left-color: #c8101e;
	color: #9f0c16;
	font-weight: 600;
}

#easymenu li li.treeMenu_active > a::before,
#easymenu li li > a.treeMenu_active::before {
	border-color: #c8101e;
}

@media (max-width: 991px) {
	#easymenu {
		margin-bottom: 22px;
	}

	#easymenu > ul > li {
		padding: 9px 0 0;
		font-size: 16px;
	}

	#easymenu > ul > li > a {
		padding: 0 12px 7px;
	}

	#easymenu > ul > li > ul {
		margin-right: 0;
		margin-left: 0;
	}

	#easymenu li li {
		font-size: 15px;
	}

	#easymenu li li > a {
		min-height: 40px;
		padding-top: 9px;
		padding-bottom: 9px;
	}
}

/* Nur die aktive beziehungsweise vom Besucher geoeffnete Mannschaft anzeigen. */
body.zc-junior-template #easymenu > ul > li > ul,
body.zc-junior-template #easymenu > ul > li.treeMenu_closed > ul {
	display: none;
}

body.zc-junior-template #easymenu > ul > li.treeMenu_opened > ul {
	display: block;
}

/* Plus/Minus-Kennzeichnung fuer Mannschaften mit Unterseiten. */
body.zc-junior-template #easymenu > ul > li > a.zc-has-submenu {
	position: relative;
	padding-right: 42px;
}

body.zc-junior-template #easymenu > ul > li > a.zc-has-submenu::after {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 22px;
	height: 22px;
	border: 1px solid #c7c7c7;
	border-radius: 50%;
	background: #fff;
	color: #9f0c16;
	content: "+";
	font-size: 19px;
	font-weight: 600;
	line-height: 19px;
	text-align: center;
	transform: translateY(-50%);
}

body.zc-junior-template #easymenu > ul > li.treeMenu_opened > a.zc-has-submenu::after {
	content: "\2212";
}

/* Direkte Mannschaftslinks ohne Untermenue, z. B. F- und G-Junioren. */
body.zc-junior-template #easymenu > ul > li.treeMenu_active > a,
body.zc-junior-template #easymenu > ul > li > a.treeMenu_active {
	color: #9f0c16;
	font-weight: 700;
}

/* Ein CMS-Navigationsmodul wird je nach Breite in den passenden Bereich verschoben. */
body.zc-junior-template .zc-junior-nav-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
}

body.zc-junior-template .zc-junior-nav-toggle .category_text,
body.zc-junior-template .zc-junior-nav-toggle .i-bar {
	float: none;
}

body.zc-junior-template .zc-junior-nav-toggle:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

@media (min-width: 768px) {
	body.zc-junior-template #category-menu {
		display: block !important;
		height: auto !important;
	}

	body.zc-junior-template .zc-junior-nav-toggle {
		cursor: default;
	}

	body.zc-junior-template .zc-junior-nav-toggle .i-bar {
		display: none;
	}
}

@media (max-width: 767px) {
	body.zc-junior-template #category-menu.collapse {
		display: none !important;
	}

	body.zc-junior-template #category-menu.collapse.in,
	body.zc-junior-template #category-menu.collapsing {
		display: block !important;
	}

	body.zc-junior-template #category-menu {
		margin: 0 0 16px;
		padding-top: 0;
	}

	body.zc-junior-template #easymenu {
		margin-bottom: 0;
	}
}
