/* Geraeteabhängiges Zeugs */
/* mobilgeraete */


@media only screen and (max-width: 600px) {
	
	[class*="spalte-"] {
    		width: 100% !important;
	}

	#hauptmenu {
		display:none;
	}
	
	a.menu-zeigen {
		border:solid 1px #000;
		border-radius:3px;
		padding: 3px;
		display:block;
		color:#eee;
	}
	
	/* 
	#mo {
		display:inline-block;
	}	
	*/
	#mz {
		display:none;
	}	
	
	#menu-zeigen {
		display:block !important;
		background-color:#222;
	}
}

/* groessere Screens */

@media only screen and (min-width: 601px) {
	#hauptmenu {
		display:block !important;
		
	}
}

/**** Menu Zeugs ****/

#menu-zeigen {
	display:none;
	cursor:pointer;
}

.menu-ul {
	list-style-type: none;
	margin: 0 0 0 0;
	padding: 0;
	overflow: hidden;
	background-color: #222;
}

.menu-li {
	display: inline-block;
	float: left;
	width:20%;
}

.menu-li-dropdown {
	float:none;
	width:100%;
}

.menu-a {
    display: block;
    color: #ddd;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu-a:hover {
    background-color: #c00;
}

/* braucht's grad nicht mehr 
#hauptmenu:target {
	display:block;
}


#hauptmenu:target .menu-li {
	border:solid blue 2px;
	float:none;
	width:100%;
}

*/





/* Allgemeines Zeugs */

* {
	box-sizing: border-box;
}

body {
	font-family:"Lucida Grande",Sans-Serif;
	color:#222;

}

a {
	color:#bb0000;
}

q {
	font-style:italic;
}

ul {
	list-style-type: none;	
}

.mittig {
	margin: auto;
	text-align: center; 
}

.rechts {
	float:right;
	text-align:center;
}

.links {
	float:left;
}

.nope {
	text-decoration: line-through;
}

header {
	/*background-color:#000; */
}

iframe {
	max-width:100%;
}

video {
	max-width:100%;
}

.header {
	background-color:#000;
}

footer {
	text-align:center;
	width:95%;
	color:#222;
	margin:1.5em auto 1em auto;
}

h1,h2 {
	clear:both;
}

h1 {
	font-size:1.5em;
}

h2 {
	font-size:1.3em;
}


.inhalt {
	margin:auto;

}

.spalte-1 {
	width:25%;
}

.spalte-2 {
	width:50%;
}

.spalte-3 {
	width:75%;
}

.spalte-4 {
	width:100%;
}

[class*="spalte-"] {
    float: left;
    padding: 15px;
    /*border: 1px solid red;*/
}

.zeile::after {
    content: "";
    clear: both;
    display: block;
}


/* Bilder Zeug */

img {
	max-width: 100%;
	height: auto;
}

/* Bilder Vorschau Zeug */

figure.galerie {
	float:left;
	border:solid 1px green;
}

.galerie:after {
	clear:both;
}


img.vorschau {
	width:150px;
	height:auto;
}

.bildbox-ul {
	padding: 60px 0 0 60px;
}
.bildbox-li {
	display: inline-block;
	float: left;
	list-style: none;
	margin: 0 10px 0 0;
	border: 3px solid #ccc;
	border-radius: 3px;
}

.bildbox-a, .bildbox-img { 
	display: block; 
}
	
.bildbox-li:hover {
	border: 3px solid #00a; 
}

.folienschachtel { 
	counter-reset: bildli; 
}

.folienschachtel > li {
	counter-increment: bildli;
}

.folie {
	width: 100%;
	height: 100%;
	position: absolute; 
	top: 0; 
	left: 0; 
	display: none; 
	visibility: hidden;
	z-index: 99;
	background: rgba(0,0,0,0.7);
}

.folie >  a {
	display: table-cell; 
	vertical-align: middle; 
	text-align: center;
	width:100%;
	height:100%;
}

/* Weiter-Link */
.folie > a[rel=next] {
        color: #fff;
        position: absolute;
        top: 50%;
        right: 10%;
        background: rgba(96,96,97,0.5);
        /*padding: 10px;*/
        font-weight: bold;
        text-decoration: none;
        font-size: 30px;
        /*line-height: 30px;*/
        border: 1px solid #fff;
        border-radius: 5px;
	width:40px;
	height:40px;
	display:table-cell;
}   

/* Zurück-Link */
.folie > a[rel=prev] {
        color: #fff;
        position: absolute;
        top: 50%;
        left: 10%;
        background: rgba(96,96,97,0.5);
        /*padding: 10px;*/
        font-weight: bold;
        text-decoration: none;
        font-size: 30px;
        /*line-height: 30px;*/
        border: 1px solid #fff;
        border-radius: 5px;
	width:40px;
	height:40px;
	display:table-cell;
}   

/* Zaehler-Content */
.galerie-caption {
	content: "Bild " counter(bildli) "" attr(title);
}


.folie > a + p:after {
	position:absolute;
	top:20%;
	left: 30%;
	border: solid 2px green;
	padding: 5px;
	background: rgba(80,80,80,0.9);
	width:300px; 
	margin: 0 0 0 0;
	text-align:center;
	content: "Bild " counter(bildli) " " attr(title);
	/* text-shadow:1px 1px black; */
	display:block;
	border-radius:5px;
}

/*  
.folie > p a[rel=prev]
{   
	right: inherit;
	left: 10%;
}   

*/


.folie img {
	padding: 0;
	margin:auto;
	max-width:100%;
	height:auto;
	border-radius: 10px;
	background: #ffffff;
}

.folie:target { 
	display: table; 
}

.folie> p a:hover,
.folie > p a:focus 
        {   
                background: rgba(96,96,97,0.8);
                box-shadow: 2px 2px 10px #fff; 
        }   
    
.folie:target { 
	display: table;
	visibility: visible;
	
}

sup.bildbox-ul{
	padding:0;
}

