* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
input{
	padding-left: 3px;
}

#container {
	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 100%; max-width: 860px;
	overflow: auto;
	margin-left: auto; margin-right: auto;
	color: black;
}
#menue_wrapper {
	width: 100%;
	max-width: 860px;
	height: 60px;
	margin-left: auto; margin-right: auto;
	position: relative; /* bleibt im Container */
}
#menue{
	position: fixed;
	top: 0; left: 0;
	width: 100%; max-width: 860px;
	height: 60px;
	box-sizing: border-box;
	background: white;
	display: flex;
	padding: 0 1rem;
	z-index: 1000;
	justify-content: space-between;
	align-items: center;
}
#menue .button{
	width: 100%;
}
#menue DIV{
}

#sidebar {
	position: fixed;
	top: 60px; left: 0;
	width: 20vw; min-width: auto;
	height: calc(100vh - 65px);
	overflow-y: auto; overflow-x: hidden;
	background-color: #f9f9f9;
	color: black;
	transition: width 0.3s ease;
	z-index: 2;
}
#sidebar .inhalt_block_tabelle {
	display: grid;
	grid-template-columns: auto 1fr auto auto auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;
	border-bottom: 1px solid white;
}
#sidebar .inhalt_block_kategorie {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;
}
#sidebar .inhalt_block_jahr {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	justify-items: start;
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;

}
#sidebar .inhalt_block_figur {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;
}
#sidebar .inhalt_block_ort {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;
}
#sidebar .inhalt_block_abkuerzung {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;
}
#sidebar .inhalt_block_suche {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;
}
#sidebar .inhalt_block_ueberschrift {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;
}
#sidebar .inhalt_block_sonstiges {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	width: 48vw;
	cursor: pointer;
}
#sidebar .inhalt_ebene_1:hover{
	border-bottom: 1px solid silver;
}
#sidebar .zukunft{
	color: silver;
}
#sidebar .abkuerzung_nachladen div{
	display: grid;
	grid-template-columns:10% 80% 10%;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	cursor: pointer;
}
#sidebar .sonstiges_nachladen div{
	display: grid;
	grid-template-columns:10% 80% 10%;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	cursor: pointer;
}
#sidebar .kat_nachladen div{
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	cursor: pointer;
}
#sidebar .jahr_nachladen {
	width: 48vw;

}
#sidebar .jahr_nachladen div{
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	cursor: pointer;
}
#sidebar .figur_nachladen div{
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	cursor: pointer;
}
#sidebar .ort_nachladen div{
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem; /* Abstand zwischen den Zellen */
	white-space: nowrap;
	cursor: pointer;
}

/* Haupt-Container */
#content_frame {
	width: auto; max-width: 100%;
	margin-top: 00px; margin-left: 20%;
	max-height: calc(100vh - 60px);
	overflow: auto;
	box-sizing: border-box;
}
#content {
	display: block;
	width: 100%;
	max-width: 650px;
	height: calc(100vh - 80px);
	padding: 1rem;
	padding-bottom: 20px;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	}
#content header{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	max-width: 100%; width: 100%;
}
#content header a img{
	width: calc(100%);
	max-height: 50px;
}

/* Überschrift über gesamte Zeile */
#content .berschrift1, #content .berschrift2, #content .berschrift3 {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 20px;
	padding: 10px;
}
#content .berschrift1{ font-size: 1.4em;}
#content .berschrift2{ font-size: 1.2em;}
#content .berschrift3{ font-size: 1.0em;}
#content .kap0{ font-size: 100%;}

#content .berschrift1 .text{ width: 70%; padding: 1%;}
#content .berschrift2 .text{ width: 70%; padding: 1%; background: white;}
#content .berschrift3 .text{ width: 70%; padding: 1%;}

/* Textfluss um das Bild */
#content .text:has(.bild) {
	display: inline;
	float: right;
}
#content .text .bild {
	max-width: 200px;
	display: inline;
	height: auto;
	margin: 15px;
	border-radius: 30px;
}

/* Allgemeine Absatzgestaltung */
#content .text {
	text-align: justify;
	margin-bottom: 1em;
}

/* Zitat-Block */
#content .zitatblock p{
	text-align: justify;
	margin-bottom: 1em;
}
#content .zitatblock {
	border: 1px solid #999;
	padding: 1em;
	font-style: italic;
	margin-top: 20px; margin-bottom: 20px;
}




@media (max-width: 600px) {
	#content .berschrift1,
	#content .berschrift2,
	#content .berschrift3 {
			flex-wrap: wrap; /* erlaubt Umbruch */
	}

	#content .text
	{
		flex-basis: 100%; /* geht in eigene Zeile */
	}
}







ul {
	list-style: disc;          /* Entfernt Standardpunkte */
	margin: 10px;
	padding: 10px;
}

ul li {
	padding: 0px 10px;         /* Innenabstand */
}

ul li:last-child {
	border-bottom: none;       /* Letztes Element ohne Linie */
}

.button{
	display: inline-flex; justify-content: center; align-items: center;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	word-wrap: break-word;
	border: 1px solid #ADADAD; background: #cccccc;
	width: auto; max-width: 100%; min-width: auto;
	height: auto;
	overflow: hidden;
	line-height: normal;
	cursor: pointer;
	margin: 1px; margin-left: 0px; margin-right: 0.5%;
	padding: 2px; padding-left: 0.5%; padding-right: 0.5%;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	text-decoration: none;
	font-weight: normal;
	box-shadow: 2px 2px 1px #A9A9A9;
	box-sizing: border-box;
	user-select: none;
}
.button_100{ width: 94%;
		margin: 1px; margin-left: 0%; margin-right: 0%;
		padding: 2px; padding-left: 1%; padding-right: 1%;
}
.button:hover {
	text-decoration: none;
	border: 1px solid black;
	box-shadow: 2px 2px 1px #707070;
	background: #0056b3; color: white;
}
.button:focus {
	border-left: 10px solid red;
	border-right: 10px solid red;
}

#content .kategorie{
	font-size: 14px;
	/*width: 10%;*/
	white-space: nowrap;
	overflow: hidden;
	color: #2E8B57;
	display: inline;
	background: transparent;
}
#content .jahr{
	font-size: 14px;
	width: calc(10%);
	color: red;
	display: inline;
	margin-left: 0px;
	background: transparent;
}
#content .kap1,#content .kap2,#content .kap3{
	font-size: 14px;
	width: 10%
}
/*###ZITAT START ##################################################*/
.zitatblock { border: 2px solid black; padding: 05px; margin: 05px; }
/*###ZITAT ENDE ##################################################*/

.text .abkuerzung{ color: red;}
.text .person{ color: red;}
.zitat .person{ color: red;}
.text .ort{ color: red;}
.name{border: 2px dotted violet; background: transparent;}
.ort{border: 0px hidden; background: transparent;}
.selected{color: red; font-weight: bold;}

.ausblenden{
	display: none;
}

.zentrieren{
	text-align: center;
}
.error{
	font-weight: bold; color: red;
}
.thumbs{
	height: 16px; width: auto;
}

.ui-tooltip {
	opacity: 1;
	max-width: 400px; width: auto;
	padding: 5px;
}
.ui-tooltip p{ margin-bottom: 10px;}
.ui-tooltip:last-child{ margin-bottom: 5px;}
footer{
	display: block;
	width: 100%;height: auto;
	margin-top: 60px; margin-left: 0%;
	overflow: auto;
}
footer ul{
	display: flex;
	list-style: none;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: space-between;
	align-items: center;
	margin: 0px; margin-bottom: 5px;
	padding: 0px; padding-top: 5px; padding-bottom: 5px;
}
footer ul li{
	overflow: hidden;
	padding: 0px;
}
footer ul li a{
	text-decoration: none;
	color: gray;
}
/*
*/