/* 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;	

}
 
a {
  padding: 0.1em;
}
 
a:focus, a:hover {
	background: #09c;
}
 
     /* Large screens */
@media all and (min-width: 35em) {
	li {
		width: 7em;
	}
 
.details {
	position: absolute;
	width: 800px;
	top: 50%;
	left: -20px;
	background-color: #cccccc;
	border: 0.1em solid #3983ab;
	border-radius: 8px 8px 8px;
	padding: .1em .1em .2em;
	overflow: auto;
	display: none;
	   font-weight: bold;
   font-size: 14px;

}
 
.details img {

}
 
.details:target {
	display: block;
}
 
.close {
	width:0;
	heigh:0;
	border: 0; 
	text-shadow: none; 
	color: transparent;
}
.close:after {
   position: absolute;
   top: 0.6em;
   right: 1em;
   content:"X";
   color: white;
   background: #c32e04;
   font-weight: bold;
   font-size: 14px;
   border: 0.1em solid #3983ab;
   border-radius: 8px 8px 8px;
   display: block;
   text-align:center;
   width: 2.0em;
   height:1.5em; 
   padding:0.2em 0 0 0em;
 
}
}

