body {

	margin:0 auto;
}



#singlebild
{
padding:6px;
border: darkblue 1px solid;
background:#fff;
 transition: transform 0.8s;
 height:150px;
 width: auto;
 display: inline-block;
 overflow:hidden;
 filter: none;

 z-index:100;
}
#singlebild:hover
{
transform: scale(1.1, 1.1) ;
 filter:none;
 z-index:1100;
 border: 1px;


}


  .lightbox-content {
      width:65%;
      border: 4px solid #c0c0c0;
      background: #FFF;    
		z-index: 99999999;	  
    }
	

@media screen and (max-width: 1500px) {
	#bildleiste img{	height:150px;}
		  .lightbox-content {width:70%;}
}



@media screen and (max-width: 1000px) {
	#bildleiste img{	height:140px;}
		  .lightbox-content {width:75%;}
}


@media screen and (max-width: 800px) {
	#bildleiste img{	height:130px;}
	  .lightbox-content {width:90%;}
}


@media screen and (max-width: 420px) {
	#bildleiste img{	height:80px; padding:2px;}
	  .lightbox-content {width:90%;}
}




  .lightbox-content img{ max-width:100%; max-height:100%;}
	  




.background-overlay {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 9999999999;
  cursor: default;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.55);   
  -webkit-transition: opacity .5s, visibility .5s, background .3s;
  -moz-transition: opacity .5s, visibility .5s, background .3s;
  -ms-transition: opacity .5s, visibility .5s, background .3s;
  -o-transition: opacity .5s, visibility .5s, background .3s;
  transition: opacity .5s, visibility .5s, background .3s;
}


.background-overlay:target {
  visibility: visible;
  opacity: 1;
  background: rgba(0, 0, 0, 0.65);  
  -webkit-transition: opacity .5s, visibility .5s, background .3s;
  -moz-transition: opacity .5s, visibility .5s, background .3s;
  -ms-transition: opacity .5s, visibility .5s, background .3s;
  -o-transition: opacity .5s, visibility .5s, background .3s;
  transition: opacity .5s, visibility .5s, background .3s;
}    
    
    
.lightbox-container {
  position: absolute;
  top: 100px;
  right: 0px;
  left: 0px;
  z-index: 99999999991;
  height:0;
  text-align: center;
  visibility: hidden;    
  opacity: 0;
  -webkit-transition: opacity .6s;
  -moz-transition: opacity .6s;
  -ms-transition: opacity .6s;
  -o-transition: opacity .6s;
  transition: opacity .6s;
}


.background-overlay:target + .lightbox-container {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity .6s;
  -moz-transition: opacity .6s;
  -ms-transition: opacity .6s;
  -o-transition: opacity .6s;
  transition: opacity .6s;
}

    
.lightbox-content {
  position: relative;
  padding: 10px 20px;
  margin-top: 60px;
  text-align: left;
  display: inline-block;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;  
  border-radius: 5px;    
  -webkit-box-shadow: 0 0 50px rgba(0,0,0,10);
  -moz-box-shadow: 0 0 50px rgba(0,0,0,10);
  -ms-box-shadow: 0 0 50px rgba(0,0,0,10);
  -o-box-shadow: 0 0 50px rgba(0,0,0,10);
  box-shadow: 0 0 50px rgba(0,0,0,10);
}
    
    
.lightbox-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  text-align: center;
  text-decoration: none;
  background: #000;
  border-radius: 25px;
  line-height: 24px;
}

.lightbox-close:hover {
  background: #ff0000;
}
  
.lightbox-close:after {
  content: "x";
  font-size: 26px;
  color: #fff;
}

.lightbox-close:hover:after {  
  color: #ff0000;
}
    