/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */
#galerie,li {
	margin: 0.1em;
	padding: 0.1em;
}
 
#teilright li {
    display: none;	
	list-style-type: none;
	width: 0em;
}
img {
width: 100%;  /* Bild passt sich an verfügbaren Raum im li an */
}
li img {
  padding: 0;
  margin: 0;	
  width: 70%;  /* Bild passt sich an verfügbaren Raum im li an */
}
 
a {
  padding: 0.1em;
}


a:focus img, a:hover img {
	//border: dotted blue 4px;
	  width: 65%;  /* Bild passt sich an verfügbaren Raum im li an */

}
#crf a:focus img, #crf a:hover img {
	border: 0;
	  width: 65%;  /* Bild passt sich an verfügbaren Raum im li an */

}
     /* Large screens (min-width: 35em)*/
@media all and (min-width: 1025px) {

	#teilright li {
    	display: inline-block;	
	list-style-type: none;
		width: 10em;
	}
 
.details {
	position: fixed;
	right: 5%;
	top: 10%;
	background-color: #F1F3F4;
	border: 0.1em solid #3983ab;
	border-radius: 0 8px 8px;
	padding: 1em 1em .2em;
	overflow: auto;
	display: none;
}
.detailsh {
	position: fixed;
	right: 5%;
	top: 10%;
	background-color: #F1F3F4;
	border: 0.1em solid #3983ab;
	border-radius: 0 8px 8px;
	padding: 1em 1em .2em;
	overflow: auto;
	display: none;
} 
.detailsh img {
  position: relative;
   top: 1em;
	height: 100%;
}
 figcaption {
	margin: 0;
	padding: 0;
}
figcaption {
	position: absolute;
	top: 0em;
	text-align: center;
	line-height: 2em;
	white-space: nowrap;
	color: white;
	left: 20%;
	width: 60%;
	background: rgba(0, 0, 0, 0.5);
	-webkit-transition: all 1s ease;
	transition: all 1s ease;
}
.detailsh:target {
	display: block;
}
.details img {
	position: relative;
   top: 1em;
	width: 100%;
}
 
.details:target {  
	display: block;
}
.close {
	width:0;
	height:0;
	border: 0; 
	text-shadow: none; 
	color: transparent;
}
.close:after {
   position: absolute;
top: 0em;
   right: 3em;
   content:"X";
   color: white;
   background: #c32e04;
   font: bold 1em 150% Georgia, Times, serif;
   border: 0.1em solid #3983ab;
   border-radius: 0 8px 8px;
   display: block;
   text-align:center;
   width: 1.5em;
   height:1.5em; padding:0.2em 0 0 0em;
}
.next {
	width:0;
	height:0;
	border: 0; 
	text-shadow: none; 
	color: transparent;
}
.next:after {
   position: absolute;
top: 0em;
   right: 1em;
   content:">";
   color: white;
   background: #00ff7e;
   font: bold 1em 150% Georgia, Times, serif;
   border: 0.1em solid #3983ab;
   border-radius: 0 8px 8px;
   display: block;
   text-align:center;
   width: 1.5em;
   height:1.5em; padding:0.2em 0 0 0em;
}
.prev {
	width:0;
	height:0;
	border: 0; 
	text-shadow: none; 
	color: transparent;
}
.prev:after {
   position: absolute;
top: 0em;
   right: 5em;
   content:"<";
   color: white;
   background: #b23aee;
   font: bold 1em 150% Georgia, Times, serif;
   border: 0.1em solid #3983ab;
   border-radius: 0 8px 8px;
   display: block;
   text-align:center;
   width: 1.5em;
   height:1.5em; padding:0.2em 0 0 0em;
}
}
.tumbl
{
	width:100px;
	height:75px;
}.tumbh
{
	width:75px;
	height:100px;
}