/* DATEI: format.css */

/* Formatanweisungen fuer WWW-Seiten Neuer Chor Stuttgart */

body {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 130%;
	color: #000;
	background-color: #fff;
	max-width: 900px;
	width: 95%;
	margin: 0 auto;
}

.layout {
	display: flex;
	gap: 12px;
}

.sidebar {
	flex: 0 0 0px;
}

.content {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

h1 {
	font-size: 173%;
	line-height: 173%;
	color: #993333;
	margin-top: 1em;
}

h2 {
	font-size: 144%;
	line-height: 144%;
	color: #993333;
}

h3 {
	font-size: 120%;
	font-style: italic;
	color: #993333;
}

h4 {
	color: #993333;
}

a:link {
	text-decoration: none;
	color: #008080;
}

a:visited {
	text-decoration: none;
	color: #008080;
}

a:hover {
	text-decoration: underline;
	color: #109090;
}

a:active {
	text-decoration: underline;
	color: black;
}

a.konzert {
	display: block;
	padding: 5px;
	padding-left: 15px;
	border: 1px solid #993333;
}

a.konzert:hover {
	border: 3px solid #993333;
	color: #008080;
}

.navi a:link {
	text-decoration: none;
	font-weight: normal;
	color: #993333;
	border: none;
}

.navi a:visited {
	text-decoration: none;
	font-weight: normal;
	color: #993333;
	border: none;
}

.navi a:hover {
	text-decoration: underline;
	font-weight: normal;
	color: #993333;
	border: none;
}

.navi a:active {
	text-decoration: underline;
	font-weight: bold;
	color: #993333;
	border: none;
}

.navi {
	margin-top: 2em;
	margin-left: 1em;
	width: 180px;
}

p.navi {
	color: #993333;
	margin: 0;
	padding: 0;
	line-height: 180%;
}

div.fuss {
	font-size: 83%;
	text-align: center;
	border-top: 1px solid black;
}

p.einzug {
	margin-left: 0.8cm;
}

div.foto {
	width: 100%;
}

.biu {
	text-align: center;
	margin-bottom: 1em;
}

p.biu_fv {
	font-size: 83%;
	font-style: italic;
	text-align: right;
	margin-top: 0;
}

p.anm {
	font-size: small;
}

.rot {
	color: #993333;
}

.bgrot {
	background-color: #993333;
}

.nachricht {
	color: black;
	background-color: White;
}

.nachrichtkopf {
	color: #993333;
	background-color: White;
	font-size: 120%;
	font-weight: bold;
	font-style: italic;
	text-align: center;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.event_detail img {
	float: right;
	margin-left: 1em;
	max-width: 170px;
	height: auto;
	margin-bottom: 1em;
}

.event_item {
	margin-bottom: 1em;
	background-color: #f3f1f0;
	padding: 1em;
}

.event_item img {
	float: right;
	max-width: 100px;
	height: auto;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

img {
	border-style: none;
	max-width: 100%;
	height: auto;
	margin: auto;
	display: block;
}

img.border {
	border: 1px solid black;
	width: 100%;
}

.pname {
	font-variant: small-caps;
	/*font-weight: bold;*/
}

td.datumspalte {
	vertical-align: top;
	width: 200px;
	border-top: 1px solid #DCDCDC;
	border-bottom: 1px solid #DCDCDC;
}

td.textspalte {
	vertical-align: top;
	width: 300px;
	border-top: 1px solid #DCDCDC;
	border-bottom: 1px solid #DCDCDC;
}

.nav-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nav-toggle-label {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid #993333;
	color: #993333;
	background-color: #fff;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
}

.nav-toggle-icon {
	display: inline-block;
	vertical-align: middle;
}

.bar1,
.bar2,
.bar3 {
	width: 25px;
	height: 3px;
	background-color: #993333;
	margin: 4px 0;
	transition: 0.4s;
}

.nav-toggle:checked~.nav-toggle-label .bar1 {
	transform: translate(0, 7px) rotate(-45deg);
}

.nav-toggle:checked~.nav-toggle-label .bar2 {
	opacity: 0;
}

.nav-toggle:checked~.nav-toggle-label .bar3 {
	transform: translate(0, -7px) rotate(45deg);
}

.nav-menu {
	display: block;
}

footer {
	margin-top: 2em;
	text-align: center;
	font-size: 0.9em;
}

@media (max-width: 800px) {
	body {
		font-size: 1.3em;
	}

	.page {
		padding: 0 10px;
		min-height: 100vh;
		width: 100%;
	}

	.layout {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.sidebar {
		width: 100%;
		flex-shrink: 0;
		position: -webkit-sticky;
		position: sticky;
		top: 60px;
	}

	.content {
		width: 100%;
		flex: 1;
	}

	.navi {
		width: auto;
		margin: 0;
	}

	.nav-toggle-label {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 10px 12px;
		border: 1px solid #993333;
		color: #993333;
		background-color: rgba(255, 255, 255, 0.75);
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
		font-weight: bold;
		cursor: pointer;
		user-select: none;
		z-index: 5;
		max-width: 90vw;
	}

	.nav-menu {
		display: none;
		top: 52px;
		left: 10px;
		z-index: 4;
		padding: 12px 14px;
		background-color: rgba(255, 255, 255, 0.75);
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
		border: 1px solid #993333;
		max-width: 90vw;
		max-height: calc(100vh - 80px);
		overflow: auto;
	}

	.nav-toggle:checked~.nav-menu {
		display: block;
	}

	p.navi {
		line-height: 200%;
	}
}