/* =========================================================
   OWLWAYS — LISTENÜBERSICHT
   Heller blaugrauer Style / Listen.php
   Nutzt die vorhandenen Theme-Variablen:
   --hgnormal, --hgdarker, --hglighter, --hggreyer,
   --hghighlight, --fontnormal, --fontkal, --fonthighlight,
   --link1 bis --link4, --linkhover und --linkborder.
   Enthält Clubs, Popups, Arbeitsplätze, Fähigkeiten,
   Jahrgänge, Blutstatus, Spieler, Avatare und Kurse/AGs.
========================================================= */


/* =========================================================
   BASIS
========================================================= */

#listrahmen {
	width: calc(100% - 20px);
	max-width: 920px;
	margin: 0 auto 38px;

	box-sizing: border-box;

	color: var(--fontnormal);

	font-family: inherit;
	font-size: 11px;
	line-height: 1.65;
}

#listrahmen *,
#listrahmen *::before,
#listrahmen *::after {
	box-sizing: border-box;
}

#listrahmen a {
	color: var(--link2);
	text-decoration: none;
}

#listrahmen a:hover {
	color: var(--link3);
	text-decoration: none;
}

#listrahmen b,
#listrahmen strong {
	color: var(--fonthighlight);
}

#listrahmen ul {
	margin: 7px 0;
	padding-left: 18px;
}

#listrahmen li {
	margin: 3px 0;
}

#listrahmen img {
	max-width: 100%;
}

#listrahmen .listbox {
	scroll-margin-top: 18px;
}


/* =========================================================
   SEITENTITEL + TAB-NAVIGATION
========================================================= */

.designh1,
.owl-listnav {
	width: calc(100% - 20px);
	max-width: 920px;

	margin-left: auto;
	margin-right: auto;

	box-sizing: border-box;
}


.designh1 {
	position: relative;

	margin-top: 0;
	margin-bottom: 10px;
	padding: 9px 13px;

	background: var(--hgdarker);
	border: 0;
	box-shadow: none;

	color: var(--h1font);

	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: .18em;

	text-transform: uppercase;
}


.designh1::after {
	display: none;
}


/* =========================================================
   TAB-NAVIGATION
========================================================= */

.owl-listnav {
	margin-bottom: 14px;

	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}


.owl-listnav-group {
	min-width: 0;

	background: var(--hgnormal);
	border: 1px solid var(--hggreyer);
	box-shadow: none;
}


.owl-listnav-head {
	padding: 9px 11px;

	display: flex;
	align-items: center;
	gap: 10px;

	background: var(--hglighter);
	border-bottom: 1px solid var(--hggreyer);
}


.owl-listnav-number {
	flex: 0 0 auto;

	color: var(--link3);

	font-family: inherit;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}


.owl-listnav-head > div {
	min-width: 0;
	padding-left: 10px;

	border-left: 1px solid var(--hggreyer);
}


.owl-listnav-kicker {
	margin-bottom: 2px;

	display: block;

	color: var(--hgdarker);

	font-size: 6px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .16em;

	text-transform: uppercase;
}


.owl-listnav-head h2 {
	margin: 0;

	color: var(--fontkal);

	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .12em;

	text-transform: uppercase;
}


.owl-listnav-tabs {
	padding: 8px;

	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 4px;
}


.owl-listnav-tab {
	min-height: 27px;
	padding: 5px 8px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	background: var(--hgnormal);
	border: 1px solid var(--hggreyer);

	color: var(--fontkal) !important;

	font-size: 7px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .08em;

	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;

	cursor: pointer;
}


.owl-listnav-tab:hover {
	background: var(--hglighter);
	border-color: var(--link3);

	color: var(--link3) !important;
}


.owl-listnav-tab.is-active {
	background: var(--hgdarker);
	border-color: var(--hgdarker);

	color: var(--h1font) !important;
}


.owl-listnav-tab[hidden] {
	display: none !important;
}


/* externe Ziele bleiben optisch klar von den eigentlichen Tabs getrennt */

.owl-listnav-links {
	padding: 9px 12px 11px;

	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 11px;

	border-top: 1px solid rgba(136, 158, 169, 0.35);
}


.owl-listnav-links > span {
	color: var(--fontkal);

	font-size: 7px;
	font-weight: 700;
	letter-spacing: .10em;

	text-transform: uppercase;
}


.owl-listnav-links a {
	position: relative;

	color: var(--fontkal);

	font-size: 9.5px;
	line-height: 1.4;

	text-decoration: none;
}


.owl-listnav-links a:hover {
	color: var(--link3);
}


.owl-listnav-links a + a::before {
	content: "·";

	position: absolute;
	left: -7px;

	color: var(--hgdarker);
}


/* =========================================================
   TAB-FUNKTION
   Die einzelnen Listen selbst werden nicht umgestylt.
========================================================= */

/*
 * Die Klasse auf <html> wird direkt im <head> gesetzt.
 * Dadurch blitzen beim Laden nicht erst alle Listen untereinander auf.
 * Ohne JavaScript bleibt die bisherige vollständige Listenansicht erhalten.
 */

html.owl-listtabs-js #listrahmen > .listbox {
	display: none;
}


html.owl-listtabs-js #listrahmen > .listbox.is-active {
	display: block;
}


#listrahmen > .owl-listtab-panel {
	scroll-margin-top: 18px;
}


#listrahmen > .owl-listtab-panel[hidden] {
	display: none !important;
}


/* =========================================================
   ALLGEMEINE LISTENABSCHNITTE
========================================================= */

#listrahmen .listbox {
	margin: 0 0 18px;

	overflow: hidden;

	background: var(--hgnormal);
	border: 1px solid rgba(136, 158, 169, 0.35);
	box-shadow: none;
}

#listrahmen .listbox > table {
	width: 100% !important;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
}

#listrahmen .listbox > table .thead {
	padding: 7px 11px !important;

	background: var(--hgdarker) !important;
	border: 0 !important;

	color: var(--h1font) !important;
}

#listrahmen .listbox > table .thead h2 {
	margin: 0;
	padding: 0;

	color: var(--h1font) !important;

	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: .17em;

	text-transform: uppercase;
}

#listrahmen .listbox > table .thead h2::after {
	display: none;
}

#listrahmen .listp {
	padding: 13px 14px 15px;

	background: var(--hgnormal);

	color: var(--fontnormal);

	font-size: 10.5px;
	line-height: 1.65;
}

#listrahmen .listp > br:first-child {
	display: none;
}


/* =========================================================
   SCROLLBEREICHE
========================================================= */


#listrahmen .listpoverflow,
#listrahmen .listpoverflow2,
#listrahmen [style*="overflow:auto"],
#listrahmen [style*="overflow: auto"],
#listrahmen .pop {
	scrollbar-width: thin;
	scrollbar-color: var(--hgdarker) var(--hglighter);
}

#listrahmen .listpoverflow::-webkit-scrollbar,
#listrahmen .listpoverflow2::-webkit-scrollbar,
#listrahmen [style*="overflow:auto"]::-webkit-scrollbar,
#listrahmen [style*="overflow: auto"]::-webkit-scrollbar,
#listrahmen .pop::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

#listrahmen .listpoverflow::-webkit-scrollbar-track,
#listrahmen .listpoverflow2::-webkit-scrollbar-track,
#listrahmen [style*="overflow:auto"]::-webkit-scrollbar-track,
#listrahmen [style*="overflow: auto"]::-webkit-scrollbar-track,
#listrahmen .pop::-webkit-scrollbar-track {
	background: var(--hglighter);
}

#listrahmen .listpoverflow::-webkit-scrollbar-thumb,
#listrahmen .listpoverflow2::-webkit-scrollbar-thumb,
#listrahmen [style*="overflow:auto"]::-webkit-scrollbar-thumb,
#listrahmen [style*="overflow: auto"]::-webkit-scrollbar-thumb,
#listrahmen .pop::-webkit-scrollbar-thumb {
	background: var(--hgdarker);
}

#listrahmen .listpoverflow::-webkit-scrollbar-thumb:hover,
#listrahmen .listpoverflow2::-webkit-scrollbar-thumb:hover,
#listrahmen [style*="overflow:auto"]::-webkit-scrollbar-thumb:hover,
#listrahmen [style*="overflow: auto"]::-webkit-scrollbar-thumb:hover,
#listrahmen .pop::-webkit-scrollbar-thumb:hover {
	background: var(--link3);
}


/* =========================================================
   GENERISCHE FLEX-KLASSEN INNERHALB DER LISTEN
========================================================= */

#listrahmen .boxflex,
#listrahmen .boxflexw {
	display: flex;
}

#listrahmen .boxflexw {
	flex-wrap: wrap;
}

#listrahmen .boxflexac {
	align-items: center;
}

#listrahmen .boxflexjb {
	justify-content: space-between;
}

#listrahmen .boxflexjs {
	justify-content: flex-start;
}


/* =========================================================
   CLUBS
========================================================= */

#clubs > .listp > .listpoverflow2 {
	margin-top: 16px;
	padding: 2px 2px 4px;
}

#clubs > .listp > .listpoverflow2 > .clubflex {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px;
}

#clubs .club {
	position: relative;

	min-width: 0;
	padding: 0 0 15px;

	display: flex;
	flex-direction: column;

	overflow: hidden;

	background: var(--hglighter);
	border: 1px solid rgba(136, 158, 169, 0.35);

	color: var(--fonthighlight);
}

#clubs .club > img {
	width: 100%;
	height: 135px;

	display: block;

	object-fit: cover;
	object-position: center;

	border: 0;
	border-bottom: 1px solid rgba(136, 158, 169, 0.35);

	filter: saturate(.9) contrast(.96);
}

#clubs .club > h2 {
	min-height: 42px;

	margin: 0;
	padding: 9px 10px 7px;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;

	color: var(--fontkal);

	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .06em;

	text-transform: uppercase;
}

#clubs .club > h2 form {
	margin: 0 0 0 auto;
	flex: 0 0 auto;
}

#clubs .clubbutton {
	min-width: 28px;
	min-height: 28px;

	padding: 5px 7px;

	background: var(--hglighter);
	border: 1px solid var(--hggreyer);

	color: var(--link3);

	font-family: inherit;
	font-size: 9px;

	cursor: pointer;
}

#clubs .clubbutton:hover {
	background: rgba(191, 133, 99, 0.12);
	border-color: var(--hgdarker);
	color: var(--link2);
}

#clubs .clubdesc {
	padding: 0 10px 10px;

	flex: 1 1 auto;

	color: var(--fontnormal);

	font-size: 9.5px;
	line-height: 1.6;

	text-align: left;
}

#clubs .club > a[href^="#popinfo_"] {
	margin: 0 13px;
	padding: 8px 10px;

	display: block;

	background: var(--hglighter);
	border: 1px solid var(--hggreyer);

	color: var(--link3);

	text-align: center;
}

#clubs .club > a[href^="#popinfo_"]:hover {
	background: rgba(191, 133, 99, 0.12);
	border-color: var(--hgdarker);
	color: var(--link2);
}

#clubs .club > a[href^="#popinfo_"] h4 {
	margin: 0;

	color: inherit;

	font-family: inherit;
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;

	text-transform: uppercase;
}

#clubs .clubgesuche {
	margin: 12px 13px 0;
	padding-top: 10px;

	border-top: 1px solid rgba(136, 158, 169, 0.35);
}

#clubs .clubgesuche h3 {
	margin: 0 0 5px;

	color: var(--hgdarker);

	font-size: 7px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .10em;

	text-transform: uppercase;
}


/* =========================================================
   CLUB-POPUPS / INFOPOP
   Öffnen über :target, schließen über #close.
========================================================= */

#listrahmen .infopop {
	position: fixed;
	z-index: 99999;

	inset: 0;

	padding: 38px 24px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: rgba(26, 57, 78, 0.55);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity .18s ease,
		visibility .18s ease;
}

#listrahmen .infopop:target {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#listrahmen .infopop .pop {
	position: relative;

	width: min(920px, 100%);
	max-height: calc(100vh - 76px);

	overflow: auto;

	background: var(--hglighter);
	border: 1px solid var(--hgdarker);
	box-shadow: none;

	color: var(--fontnormal);
}

#listrahmen .infopop .pop::before {
	content: "Clubinformationen";

	position: sticky;
	z-index: 5;
	top: 0;

	padding: 10px 16px 9px;

	display: block;

	background: var(--hgdarker);
	border-bottom: 1px solid var(--fonthighlight);

	color: var(--hglighter);

	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .13em;

	text-transform: uppercase;
}

#listrahmen .infopop [id="postbag2"] {
	padding: 18px;
}

#listrahmen .infopop [id="postbag2"] > .clubflex {
	display: grid !important;
	grid-template-columns: 170px repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px;
}

#listrahmen .infopop [id="postbag2"] > .clubflex > div:first-child {
	min-width: 0;
}

#listrahmen .infopop [id="postbag2"] > .clubflex > div:first-child img {
	width: 100%;
	height: 170px;

	display: block;

	object-fit: cover;
	object-position: center;

	background: var(--hglighter);
	border: 1px solid var(--hggreyer);
}

#listrahmen .clubminiinfo {
	min-width: 0;
	padding: 13px;

	background: var(--hgnormal);
	border: 1px solid rgba(136, 158, 169, 0.35);

	color: var(--fonthighlight);

	font-size: 11px;
	line-height: 1.55;
}

#listrahmen .clubminiinfo h4 {
	position: relative;

	margin: 0 0 10px;
	padding-bottom: 7px;

	color: var(--fonthighlight);

	font-family: inherit;
	font-size: 14px;
	font-weight: normal;
	font-style: normal;
	line-height: 1.2;
}

#listrahmen .clubminiinfo h4::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: 0;

	width: 28px;
	height: 1px;

	background: var(--link3);
}

#listrahmen .clubminiinfo p {
	margin: 0;
}

#listrahmen .clubminiinfo ul {
	margin: 5px 0 0;
	padding-left: 16px;
}

#listrahmen .clubminiinfo ul > b {
	display: block;
	margin: 8px 0 3px;

	color: var(--fontkal);

	font-size: 8px;
	font-weight: 700;
	letter-spacing: .07em;

	text-transform: uppercase;
}


/* Schließen */

#listrahmen .closepop {
	position: absolute;
	z-index: 100000;

	top: 14px;
	right: 18px;

	padding: 7px 10px;

	background: var(--hglighter);
	border: 1px solid var(--hggreyer);

	color: var(--link3) !important;

	box-shadow: none;
}

#listrahmen .closepop:hover {
	background: rgba(191, 133, 99, 0.12);
	color: var(--link2) !important;
}

#listrahmen .closepop h4 {
	margin: 0;

	color: inherit;

	font-family: inherit;
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;

	text-transform: uppercase;
}


/* =========================================================
   ARBEITSPLÄTZE
========================================================= */

#jobs .berufsflex_outer {
	display: block;
}

#jobs .berufsflex_out {
	margin: 0 0 20px;

	scroll-margin-top: 18px;

	background: var(--hgnormal);
	border: 1px solid rgba(136, 158, 169, 0.35);
}

#jobs .berufsflex_out:last-child {
	margin-bottom: 0;
}

#jobs .berufsflex_out > table {
	width: 100% !important;
	border-collapse: collapse;
}

#jobs .berufsflex_out > table .thead {
	padding: 7px 11px !important;

	background: var(--hgdarker) !important;
	border: 0 !important;
}

#jobs .berufsflex_out > table h2 {
	margin: 0;

	color: var(--h1font);

	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: .16em;

	text-transform: uppercase;
}

#jobs .berufsflex_out > .listp {
	padding: 15px;
}


/* Job-Navigation */

#jobs .familynav1 {
	margin: 0 0 15px;
	padding: 6px;

	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: wrap;
	gap: 5px;

	background: var(--hglighter);
	border: 1px solid rgba(136, 158, 169, 0.35);
}

#jobs .familynav1 a {
	display: block;
}

#jobs .familynav1 h4 {
	margin: 0;
	padding: 7px 9px;

	background: var(--hglighter);
	border: 1px solid var(--hggreyer);

	color: var(--fonthighlight);

	font-family: inherit;
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .06em;

	text-transform: uppercase;
}

#jobs .familynav1 a:hover h4 {
	background: rgba(191, 133, 99, 0.12);
	border-color: var(--hgdarker);
	color: var(--link2);
}


/* Hauptkategorie */

#jobs .berufskat {
	margin: 2px 0 12px;
	padding: 8px 10px;

	background: var(--hgdarker);

	color: var(--h1font);

	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: .13em;

	text-transform: uppercase;
}

#jobs .berufskat::after {
	display: none;
}


/* Zwischenüberschriften */

#jobs .designh2 {
	margin: 16px 0 7px;
	padding: 0 0 6px;

	border-bottom: 1px solid var(--hggreyer);

	color: var(--fontkal);

	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .08em;

	text-transform: uppercase;
}

#jobs .timelineh2 {
	margin: 16px 0 8px;
	padding: 7px 10px;

	background: var(--hglighter);
	border-left: 2px solid var(--link3);

	color: var(--fonthighlight);

	font-size: 9px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .06em;

	text-transform: uppercase;
}


/* einzelne Arbeitsstelle */

#jobs .timeleg {
	margin: 7px 0 !important;
	padding: 0;

	overflow: hidden;

	background: var(--hglighter);
	border: 1px solid rgba(136, 158, 169, 0.35);
}

#jobs .timeleg > div:first-child {
	margin: 0 !important;
	padding: 10px 13px 9px;

	background: var(--hgnormal);
	border-bottom: 1px solid rgba(136, 158, 169, 0.35);

	text-align: left !important;
	text-transform: none !important;
}

#jobs .familyname {
	color: var(--fontkal);

	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;

	text-align: left;
	text-transform: none;
}

#jobs .timeleg > .boxflex {
	display: grid !important;
	grid-template-columns: 1.35fr .9fr 1fr;
	align-items: stretch;
}

#jobs .timeleg > .boxflex > .boxf3 {
	width: auto !important;
	min-width: 0;
	padding: 13px !important;

	border-right: 1px solid rgba(136, 158, 169, 0.35);
}

#jobs .timeleg > .boxflex > .boxf3:last-child {
	border-right: 0;
}

#jobs .familydesc {
	color: var(--fontnormal);

	font-size: 9.5px;
	line-height: 1.6;

	text-align: left;
}

#jobs .familyfact {
	margin: 0 0 5px;
	padding: 0 0 5px;

	border-bottom: 1px solid rgba(136, 158, 169, 0.32);

	color: var(--fontkal);

	font-size: 9px;
	line-height: 1.5;
}

#jobs .familyfact:last-of-type {
	border-bottom: 0;
}

#jobs .familyh5 {
	margin: 0 0 7px;

	color: var(--link3);

	font-size: 8px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .08em;

	text-transform: uppercase;
}

#jobs .familydesc ul {
	margin: 0;
	padding-left: 16px;
}


/* =========================================================
   FÄHIGKEITEN / BLUTSTATUS / AVATARE
========================================================= */

#skills .listpoverflow2,
#blut .listpoverflow,
#blut .listpoverflow2,
#vavas .listpoverflow {
	margin-top: 15px;
}

#skills .listpoverflow2 > h3,
#vavas .avabox > h3,
#blut .avabox > h3 {
	position: relative;

	margin: 10px 0 8px;
	padding: 6px 8px;

	background: var(--hglighter);
	border-left: 2px solid var(--link3);

	color: var(--fontkal);

	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .10em;

	text-transform: uppercase;
}

#skills .listpoverflow2 > h3::after,
#vavas .avabox > h3::after,
#blut .avabox > h3::after {
	display: none;
}

#skills .boxflexw.boxflexjs,
#blut .boxflexw.boxflexjs,
#vavas .boxflexw.boxflexjs {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
}

#listrahmen .avabox {
	width: auto !important;
	min-width: 0;
	padding: 12px 13px;

	background: var(--hglighter);
	border: 1px solid rgba(136, 158, 169, 0.35);

	color: var(--fonthighlight);
}

#listrahmen .avabox h4 {
	margin: 0 0 7px;
	padding: 0 0 5px;

	border-bottom: 1px solid rgba(136, 158, 169, 0.35);

	color: var(--fontkal);

	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .06em;

	text-transform: uppercase;
}

#listrahmen .avabox ul {
	margin: 0;
	padding-left: 16px;
}

#listrahmen .avabox li {
	margin: 3px 0;

	color: var(--fonthighlight);

	font-size: 10.5px;
	line-height: 1.5;
}

#blut .avabox > div[style*="max-height"] {
	padding: 3px !important;

	color: var(--fonthighlight);

	font-size: 10.5px;
	line-height: 1.65;
}


/* =========================================================
   JAHRGÄNGE
========================================================= */

#jahrgang .listp > ul {
	margin: 0;
	padding: 0 5px 0 0;

	columns: 2 330px;
	column-gap: 28px;

	list-style: none;
}

#jahrgang .listp > ul h2 {
	margin: 10px 0 4px;
	padding: 5px 7px;

	break-after: avoid;
	break-inside: avoid;

	background: var(--hglighter);
	border-left: 2px solid var(--link3);

	color: var(--fontkal);

	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .08em;

	text-transform: uppercase;
}

#jahrgang .listp > ul h2:first-child {
	margin-top: 0;
}

#jahrgang .listp > ul p {
	margin: 0;
	padding: 4px 8px;

	break-inside: avoid;

	border-bottom: 1px solid rgba(136, 158, 169, 0.30);

	color: var(--fontnormal);

	font-size: 9px;
	line-height: 1.5;
}


/* =========================================================
   SPIELERÜBERSICHT / ZWEITCHARAKTERLISTE
========================================================= */

#spieler #playerlist > .boxflexw.boxflexjs {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px;
}

#spieler #playerlist > .boxflexw.boxflexjs > .boxf3 {
	width: auto !important;
	min-width: 0;
	padding: 0 !important;
}

#spieler .zweitcharaboxlist {
	height: 100%;

	padding: 0;

	overflow: hidden;

	background: var(--hglighter);
	border: 1px solid rgba(136, 158, 169, 0.35);
}

#spieler .zweitcharauser {
	padding: 7px 9px;

	background: var(--hgdarker);
	border-bottom: 0;

	color: var(--h1font);

	font-family: inherit;
	font-size: 8px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .10em;

	text-transform: uppercase;
}

#spieler .zweitcharaboxlist > .text {
	min-height: 76px;
	max-height: 145px !important;

	padding: 10px !important;

	display: flex;
	align-content: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;

	overflow: auto !important;

	background: var(--hgnormal);

	text-align: center !important;
}

#spieler .zweitcharasavas {
	width: 58px !important;
	height: 58px !important;

	display: block;

	object-fit: cover;
	object-position: center;

	background: var(--hglighter);
	border: 1px solid var(--hggreyer);

	cursor: pointer;
}

#spieler .zweitcharasavas:hover {
	border-color: var(--link3);
}

#spieler .shorty {
	min-height: 54px;
	padding: 8px 9px 9px;

	border-top: 1px solid rgba(136, 158, 169, 0.35);

	color: var(--fontnormal);

	font-size: 9.5px;
	line-height: 1.5;

	text-align: center;
}

#spieler .shorty a {
	color: var(--fontkal);

	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
}

#spieler .zweitcharafraktion {
	margin-top: 5px;

	color: var(--link3);

	font-size: 8px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .08em;

	text-transform: uppercase;
}


/* =========================================================
   BUCHCHARAKTERE
========================================================= */

#buchcharas .listpoverflow2 {
	margin-top: 12px;

	column-gap: 26px;

	color: var(--fontnormal);

	font-size: 9px;
	line-height: 1.7;
}

#buchcharas .listpoverflow2 a {
	color: var(--link2);

	font-family: inherit;
	font-size: 9.5px;
	font-weight: 700;
}

#buchcharas .listpoverflow2 a:hover {
	color: var(--link3);
}


/* =========================================================
   AVATARRESERVIERUNGEN
========================================================= */

#ravas .listpoverflow2 {
	margin-top: 14px;
	padding: 2px 4px 2px 0;
}

#ravas .listpoverflow2 ul {
	margin: 0;
	padding: 0;

	list-style: none;
}

#ravas .listpoverflow2 li {
	margin: 0;
	padding: 7px 8px;

	border-bottom: 1px solid rgba(136, 158, 169, 0.30);

	color: var(--fontnormal);

	font-size: 9px;
	line-height: 1.5;
}

#ravas .listpoverflow2 li:nth-child(odd) {
	background: var(--hglighter);
}

#ravas .listpoverflow2 li:last-child {
	border-bottom: 0;
}

#ravas .listpoverflow2 li b {
	color: var(--fonthighlight);
}


/* =========================================================
   KURSE / UNTERRICHT / AGS
   Unterricht, verpflichtende Wahlfächer und freiwillige AGs
   liegen gemeinsam in #kurse.
========================================================= */

#kurse .listpoverflow2 {
	margin-top: 16px;
	padding-right: 0;
}

#kurse .listpoverflow2 + .listpoverflow2 {
	margin-top: 20px;
	padding-top: 2px;
	border-top: 1px solid rgba(136, 158, 169, 0.35);
}


/* Bereichsüberschriften */

#kurse .listpoverflow2 > h3 {
	position: relative;

	margin: 0 0 10px;
	padding: 7px 10px;

	background: var(--hgdarker);
	border: 0;

	color: var(--h1font);

	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.45;
	letter-spacing: .16em;

	text-transform: uppercase;
}

#kurse .listpoverflow2 > h3 > span {
	margin-top: 2px;

	display: block;

	color: var(--hglighter);

	font-family: inherit;
	font-size: 7px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: .10em;

	text-transform: none;
}


/* Fachkarten */

#kurse .listpoverflow2 > .boxflexw {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 8px;
}

#kurse .listpoverflow2 > .boxflexw > .boxf2 {
	width: auto !important;
	min-width: 0;
	padding: 11px !important;

	background: var(--hglighter);
	border: 1px solid rgba(136, 158, 169, 0.48);

	color: var(--fontnormal);

	font-size: 10px;
	line-height: 1.55;
}


/* Fachname */

#kurse .listpoverflow2 > .boxflexw > .boxf2 > h4 {
	position: relative;

	margin: 0 0 7px;
	padding: 0 0 6px;

	border-bottom: 1px solid rgba(136, 158, 169, 0.40);

	color: var(--fontkal);

	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .04em;
}

#kurse .listpoverflow2 > .boxflexw > .boxf2 > h4::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: -1px;

	width: 28px;
	height: 1px;

	background: var(--link3);
}


/* Lehrkraft hinter dem Fachnamen */

#kurse .listpoverflow2 > .boxflexw > .boxf2 > h4 > span {
	margin-left: 6px;

	color: var(--hgdarker);

	font-size: 8px;
	font-weight: 400;
	letter-spacing: 0;
}

#kurse .listpoverflow2 > .boxflexw > .boxf2 > h4 > span a {
	color: var(--link2);
}

#kurse .listpoverflow2 > .boxflexw > .boxf2 > h4 > span a:hover {
	color: var(--link3);
}


/* Unterstufe / Oberstufe bei regulären Unterrichtsfächern */

#kurse .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw {
	margin-top: 10px;

	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}

#kurse .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw > .boxf2 {
	width: auto !important;
	min-width: 0;
	padding: 8px !important;

	background: var(--hgnormal);
	border: 1px solid rgba(136, 158, 169, 0.32);

	color: var(--fontnormal);
}

#kurse .boxf2 h5 {
	margin: 0 0 6px;
	padding-bottom: 4px;

	border-bottom: 1px solid rgba(136, 158, 169, 0.28);

	color: var(--hgdarker);

	font-size: 7px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .12em;

	text-transform: uppercase;
}


/* Jahrgangsgruppen aus der PHP-Ausgabe */

#kurse .kurs-jahrgang {
	margin: 0 0 8px;
	padding: 0;
}

#kurse .kurs-jahrgang:last-child {
	margin-bottom: 0;
}

#kurse .kurs-jahrgang-titel {
	margin: 0 0 4px;
	padding: 4px 6px;

	background: var(--hghighlight);
	border-left: 2px solid var(--link3);

	color: var(--fontkal);

	font-size: 7px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .10em;

	text-transform: uppercase;
}

#kurse .kurs-jahrgang-schueler {
	margin: 0 !important;
	padding: 0 0 0 13px !important;
}

#kurse .kurs-jahrgang-schueler li {
	margin: 2px 0;

	color: var(--fontnormal);

	font-size: 9px;
	line-height: 1.45;
}

#kurse .kurs-jahrgang-schueler li::marker {
	color: var(--hgdarker);
}


/* Freiwillige AGs: gemeinsame Jahrgangsliste ohne Unter-/Oberstufe */

#kurse .kurs-gesamt {
	margin-top: 9px;
	padding: 8px;

	background: var(--hgnormal);
	border: 1px solid rgba(136, 158, 169, 0.32);
}

#kurse .kurs-gesamt .kurs-jahrgang + .kurs-jahrgang {
	margin-top: 7px;
}


/* Fallback für ältere direkt ausgegebene <li> */

#kurse .boxf2 > li,
#kurse .boxf2 ul > li {
	margin: 3px 0;

	color: var(--fontnormal);

	font-size: 9px;
	line-height: 1.45;
}



/* =========================================================
   KURZSTATISTIK
========================================================= */

#forenzahlen {
	padding: 14px;

	color: var(--fontnormal);

	font-size: 9.5px;
	line-height: 1.75;
}

#forenzahlen > h2 {
	margin: 14px 0 8px;
	padding: 6px 9px;

	background: var(--hgdarker);

	color: var(--h1font);

	font-family: inherit;
	font-size: 8px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .14em;

	text-transform: uppercase;
}

#forenzahlen > h2:first-child {
	margin-top: 0;
}

/* =========================================================
   SONSTIGE GENERIERTE ÜBERSCHRIFTEN
========================================================= */

#listrahmen .listp > h2 {
	margin: 14px 0 8px;
	padding: 6px 9px;

	background: var(--hglighter);
	border-left: 2px solid var(--link3);

	color: var(--fontkal);

	font-family: inherit;
	font-size: 9px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
	letter-spacing: .12em;

	text-transform: uppercase;
}

#listrahmen .listp > h2::after {
	display: none;
}


/* =========================================================
   FOKUS / TASTATURNAVIGATION
========================================================= */

#listrahmen a:focus-visible,
#listrahmen button:focus-visible,
#listrahmen input:focus-visible {
	outline: 2px solid var(--hgdarker);
	outline-offset: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

	#clubs > .listp > .listpoverflow2 > .clubflex {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex {
		grid-template-columns: 150px repeat(2, minmax(0, 1fr));
	}

	#listrahmen .infopop .clubminiinfo:last-child {
		grid-column: 2 / -1;
	}

	#jobs .timeleg > .boxflex {
		grid-template-columns: 1.2fr 1fr;
	}

	#jobs .timeleg > .boxflex > .boxf3:last-child {
		grid-column: 1 / -1;

		border-top: 1px solid rgba(136, 158, 169, 0.35);
		border-right: 0;
	}

	#skills .boxflexw.boxflexjs,
	#blut .boxflexw.boxflexjs,
	#vavas .boxflexw.boxflexjs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#spieler #playerlist > .boxflexw.boxflexjs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

	#listrahmen,
	.owl-listnav,
	.designh1 {
		width: calc(100% - 12px);
	}

	.designh1 {
		padding: 8px 10px;

		font-size: 9px;
	}

	.designh1::after {
		display: none;
	}

	.owl-listnav {
		grid-template-columns: 1fr;
	}

	.owl-listnav-head {
		padding: 8px 10px;
	}

	.owl-listnav-tabs {
		padding: 7px;
	}

	.owl-listnav-tab {
		flex: 1 1 calc(50% - 6px);
	}

	.owl-listnav-links {
		padding-left: 10px;
		padding-right: 10px;
	}

	#listrahmen .listbox > table .thead {
		padding: 7px 10px !important;
	}

	#listrahmen .listbox > table .thead h2 {
		font-size: 8px;
	}

	#listrahmen .listp {
		padding: 12px;

		font-size: 10px;
		line-height: 1.65;
	}

	/* auf kleinen Displays keine verschachtelten Scrollflächen */
	#listrahmen .listpoverflow,
	#listrahmen .listpoverflow2 {
		max-height: none;
		overflow: visible;
	}

	#clubs > .listp > .listpoverflow2 > .clubflex {
		grid-template-columns: 1fr;
	}

	#clubs .club {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		grid-template-rows: auto auto auto auto;
	}

	#clubs .club > img {
		grid-column: 1;
		grid-row: 1 / 5;

		width: 120px;
		height: 100%;

		min-height: 175px;

		border-right: 1px solid rgba(136, 158, 169, 0.35);
		border-bottom: 0;
	}

	#clubs .club > h2,
	#clubs .clubdesc,
	#clubs .club > a[href^="#popinfo_"],
	#clubs .clubgesuche {
		grid-column: 2;
	}

	#clubs .club > h2 {
		min-height: 0;
		padding-top: 11px;
	}

	#clubs .clubdesc {
		padding-bottom: 8px;
	}

	#clubs .club > a[href^="#popinfo_"] {
		margin-bottom: 2px;
	}

	/* Popup */
	#listrahmen .infopop {
		padding: 12px;

		align-items: flex-start;
	}

	#listrahmen .infopop .pop {
		width: 100%;
		max-height: calc(100vh - 24px);
	}

	#listrahmen .infopop [id="postbag2"] {
		padding: 14px;
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex {
		grid-template-columns: 110px minmax(0, 1fr);
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex > div:first-child img {
		height: 110px;
	}

	#listrahmen .infopop .clubminiinfo:last-child {
		grid-column: 1 / -1;
	}

	#listrahmen .closepop {
		top: 19px;
		right: 22px;
	}

	/* Jobs */
	#jobs .familynav1 {
		align-items: stretch !important;
	}

	#jobs .familynav1 a {
		flex: 1 1 calc(50% - 5px);
	}

	#jobs .familynav1 h4 {
		height: 100%;
		text-align: center;
	}

	#jobs .timeleg > .boxflex {
		grid-template-columns: 1fr;
	}

	#jobs .timeleg > .boxflex > .boxf3 {
		border-right: 0;
		border-bottom: 1px solid rgba(136, 158, 169, 0.35);
	}

	#jobs .timeleg > .boxflex > .boxf3:last-child {
		grid-column: auto;
		border-top: 0;
		border-bottom: 0;
	}

	/* Kategorien */
	#skills .boxflexw.boxflexjs,
	#blut .boxflexw.boxflexjs,
	#vavas .boxflexw.boxflexjs {
		grid-template-columns: 1fr;
	}

	#jahrgang .listp > ul {
		columns: 1;
	}

	#spieler #playerlist > .boxflexw.boxflexjs {
		grid-template-columns: 1fr;
	}

	/* inline column-count aus dem Template übersteuern */
	#buchcharas .listpoverflow2 {
		column-count: 1 !important;
	}

	/* Kurse und AGs */
	#kurse .listpoverflow2 > .boxflexw {
		grid-template-columns: 1fr;
	}

	#kurse .listpoverflow2 > h3 {
		padding: 7px 9px;
	}

	#kurse .listpoverflow2 > .boxflexw > .boxf2 {
		padding: 10px !important;
	}

}


/* =========================================================
   KLEINE SMARTPHONES
========================================================= */

@media (max-width: 480px) {

	#listrahmen,
	.owl-listnav,
	.designh1 {
		width: calc(100% - 8px);
	}

	.owl-listnav-tab {
		flex-basis: 100%;
	}

	.owl-listnav-links {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}

	.owl-listnav-links a + a::before {
		display: none;
	}

	#clubs .club {
		display: flex;
	}

	#clubs .club > img {
		width: 100%;
		height: 125px;
		min-height: 0;

		border-right: 0;
		border-bottom: 1px solid rgba(136, 158, 169, 0.35);
	}

	#listrahmen .infopop {
		padding: 7px;
	}

	#listrahmen .infopop .pop {
		max-height: calc(100vh - 14px);
	}

	#listrahmen .infopop .pop::before {
		padding-right: 82px;
	}

	#listrahmen .infopop [id="postbag2"] {
		padding: 11px;
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex {
		grid-template-columns: 1fr;
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex > div:first-child img {
		width: 100%;
		height: 145px;
	}

	#listrahmen .infopop .clubminiinfo:last-child {
		grid-column: auto;
	}

	#listrahmen .closepop {
		top: 13px;
		right: 13px;
	}

	#jobs .familynav1 a {
		flex-basis: 100%;
	}

	#forenzahlen {
		padding: 11px;
	}

	#kurse .kurs-gesamt {
		padding: 7px;
	}

	#kurse .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw {
		grid-template-columns: 1fr;
	}

}
