/* Global Styles */

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.1em;
	background-color: rgba(238,238,238,1);
	color: rgba(102,102,102,1);
	margin: 0;
	border: 0;
	padding: 0;
}

a {
	border: none;
}
:link {
	color: #808080;
	text-decoration: none;
}
a:visited {
	color: #A9A9A9;
	text-decoration: none;
}
a:focus, a:hover {
	text-decoration: none;
	font-weight: bold;
}
a:active {
	color: #808080;
	text-decoration: none;
}

img {
	margin: 2px;
	border: 0;
	padding: 0;
}

/* ID Styles */

#listing {
	position: relative;
	width: 20em;
	background: transparent;
	height: 98%;
	bottom: 2%;
	top: 2em;
	overflow: auto;
	text-decoration: none;
}
#listing li {
	margin-top: .2em;
    list-style: none;
}
#listing ul ul {
    text-align: left;
	display: none;
}
#listing ul li:hover ul {
	display: block;
}

#foto {
	position: absolute;
	width: auto;
	height: 70%;
	margin: 1.5em;
	z-index: 0;
}
#foto img {
	width: auto;
	height: 95%;
	object-fit: contain;
	overflow: auto;
}
#foto a:visited {
	color: #663366;
	text-decoration: none;
}
	
#foto a:active {
	background-color: #999999;
}
#header {
	position: relative;
	left: 0;
	top: 0;
	overflow: visible;
	margin: 0;
	border: 0;
	padding: 0;
	width: 100%;
	height: 3em;
	min-height: 2.7em;
	letter-spacing:.5em;
	text-decoration: none;
}
#header ul {
	position: absolute;
	right: 1em;
	top: .3em;
	margin: 0;
	border: 0;
	padding: 0;
	text-decoration: none;
	text-align: right;
}
#header li {
    display: inline;
}

#text {
	position: absolute;
	left: 12%;
	top: 10%;
	overflow: visible;
	width: 88%;
	height: 88%;
	bottom: 2%;
	overflow: auto;
	z-index: 1;
}

#footer {
	height: 1em;
	position: fixed;
	bottom: 1.5em;
	right: 1.5em;
	font: 10px arial; 
	text-align: right;
}

#choice {
	margin-left: 4em;
	margin-top: 2em;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	text-align: center;
	flex-flow: row wrap;
}
#choice figure {
	position: relative;
	margin: .5em;
	padding: 0;
	width: 150px;
	height: 150px;
	background: rgba(0,0,0,.5);
  	display: flex; 
	align-items: center; 
	justify-content: center;
}
#choice > figure > figcaption {
	position: absolute;
	bottom: 0;
	line-height: 1em;
	color: white;
	width: 100%;
	height: 2em;
  	display: flex; 
	align-items: center; 
	justify-content: center;
	background: rgba(0,0,0,.3);
}
#choice img {
	padding: 0;
	margin: 0;
}

#glink {
	width: 10em;
	margin-top: 1em;
}

#home {
	padding: 3px 3px;
	margin: 0;
}

/* Inline Styles */

.logo {
	position: absolute;
	top: .2em;
	font: 22px monospace; 
	letter-spacing: .2em;
	text-align: left;
}

.at_home {
	cursor: pointer;
}

.popup span { /* PopUp-Box nicht anzeigen */
	display: none;
	z-index: 2;
}
 
.popup:hover span { /* PopUp-Box anzeigen */
	display: block;
	position: relative;
	right: 1em;
	bottom: 1em;
	text-decoration: none;
}