@charset "utf-8";
/* CSS Document */

body {
	background-image: url(nohi09_grau.gif);
    background-repeat: repeat-x repeat-y;
    display: flex;
	flex-flow: row wrap;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, sans-serif;
    font-size-adjust: 0.52;
}
/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */
h1{
font-size: 2.0em;
padding-bottom: 0.55em;
margin-bottom: -0.5em;
color: #222222;
background: url('titles.jpg') bottom left no-repeat;
}
h2 {
padding-bottom: 0.2em;
margin-bottom: -0.75em;
color: #222222;
background: url('titles2.jpg') bottom left no-repeat;
}
h3 {
padding-bottom: 0.3em;
margin-bottom: -0.75em;
color: #222222;
background: url('titles2.jpg') bottom left no-repeat;
}
header,
nav,
nav a,
main,
footer {
	border-radius: 0px 0.5em 0.5em;
	border: 1px solid;
	padding: 4px;
	margin: 4px;
	flex: 1 100%;
}

header {
	background: #830303; /* Liederkranz-rot*/
	background-image: url(../bilder-fahne/liederkrschriftz.png);
    background-size: contain;
    background-repeat: no-repeat;
    border-color: #d5d5d5;
    box-shadow: 6px 6px 8px black;
	display: flex;
	flex-flow: row wrap;

}

header * {
	flex: 1  1 0%;
}

header img {
	display: inline-block;
    width: 98%;
	height: auto;
    margin-top: -.2em;
	margin-right: 0.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-bottom: .1em;
}

header nav {
	flex: 1 1 100%;
}

nav,
nav ul,
nav li {
	margin: 0;
	padding: 0;
	border: none;
}

nav ul {
	display: flex;
    flex-flow: row wrap;
	flex-direction: ;
}

nav li {
	list-style-type: none;
	margin: 0.23em 0;
    text-align: center;
	flex: 1 1 100%;
    background: transparent !important;
}

nav a {
	display: inline-block;
	width: 90%;
	background: silver;
	border: 1px solid ;
    border-left: .7em white solid;
	margin: 0.025em;
	text-decoration: none;
	text-align: center;
    font-size: 1em;
}
[aria-current=page] {
    font-weight: bold;
    text-decoration-line: overline underline;
     color: #2e2e2e;
}
nav a:hover,
nav a:focus {
	background-color: #dfac20;
    font-weight: bold;
}
main {
    background-color: white;
    border: 1px solid #830303;
    box-shadow: 6px 6px 8px black;
}
main a:hover,
main a:focus {
    background-color: #dfac20;
    font-weight: bold;
}
/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */

#galerie,
li {
	margin: 0.1em;
	padding: 0.1em;
}

li {
	display: inline-block;
	list-style-type: none;
	width: 45%;
}

img {
	padding: 0;
	margin: 0;
	width: 100%;
	/* Bild passt sich an verfügbaren Raum im li an */
}

a {
	padding: 0.1em;
}

a:focus,
a:hover {
	background: #dfac20;
    font-weight: bold;
}
footer {
	background: #e4ebf2;
	border-color: #830303;
	display: flex;
	flex-flow: row wrap;
    box-shadow: 6px 6px 8px black;
}

footer * {
	flex: 1 1 0%;
	justify-content: space-between;
}

footer p {
	text-align: right;
}

/* Smart Phones und Tablets mit mittlerer Auflösung */

@media all and (min-width: 35em) {
	header img {
		margin-right: 0px;
	}
	nav ul {
		flex-direction: row;
	}
	nav li {
		margin: 0 10px;
		flex: 1 1 0%;
	}
	footer {
		order: 5;
	}
}
/* Large screens */

@media all and (min-width: 35em) {
	li {
		width: 9em;
        background-color: silver;
	}
	.details {
		position: absolute;
		left: 1.5%;
		top: 10%;
		background-color: silver;
		border: 0.1em solid #830303;
		border-radius: 0 8px 8px;
        box-shadow: 6px 6px 8px black;
		padding: 1em 1em .2em;
		width: 40em;
		height: auto;
		overflow: auto;
		display: none;
	}
	.details img {
		width: 97%;
	}
	.details:target {
		display: block;
	}
	.close {
		width: 0;
		height: 0;
		border: 0;
		text-shadow: none;
		color: transparent;
	}
	.close:after {
		position: absolute;
		top: 1em;
		right: 0.25em;
		content: "X";
		color: white;
		background: #c32e04;
		font: font: bold 1em/150% Georgia, Times, serif;
		border: 0.1em solid black;
		border-radius: 0 8px 8px;
		display: block;
		text-align: center;
		width: 1.5em;
		height: 1.5em;
		padding: 0.1em 0 0 0em;
	}
}

