
label[for] {
  cursor: pointer;
}
input[type="checkbox"] {
  display: none;
}

.lightbox {
  background-color:none;
  z-index: 1; 
  overflow:auto;
  position: fixed;
  top: 0;
  left: 0;    
  width: 100%;
  height: 100%;
  overflow: auto;
  transform: scale(0);
  /*display:none;*/
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  /*transition: transform .5s ease-out;        
  -webkit-transition: -webkit-transform .5s ease-out;*/      
}
.lightbox_img_cont {
  position: absolute;
  display: block;
  width: 95%;
  max-width: 650px;
  min-width: 320px;
  height: auto;
  border-style: solid;
  border-color: darkblue;
  background-color: white;
  padding: 5px;
  font-family:Verdana, Geneva, sans-serif;
  font-size: 0.8em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.lightbox_img_cont img {
  display:block;
  width: 100%;
  height: auto;

}
input[type="checkbox"]:checked + .lightbox {
  /*display:block;*/
  transform: scale(1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);          
}
input[type="checkbox"]:checked ~ .frame {
  opacity: .150;
}
.frame {  
  display:block;
  margin: 5px;
  overflow: none;
  height: auto;
  padding: 10px;  
  background-color: White;
  text-align: center;
  transition: opacity .70s;
  -webkit-transition: opacity .70s;          
}
.item {
  display: inline-block;
  padding: 10px;
  margin: 5px;
  max-width: 220px;
  background-color: white;
  border-radius: 10px 10px 10px 10px; 
  -moz-border-radius: 10px 10px 10px 10px; 
  -webkit-border-radius: 10px 10px 10px 10px;
  transition: opacity .5s;
  -webkit-transition: opacity .5s;          
}

.frame img {
  width: 200px;
  height: auto;  
}