/* Image Gallery */
.gallerycontainer{
  position: relative;
  /*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
  border: none;
  padding: 1px;
}

.thumbnail:hover{
  background-color: transparent;
}

.thumbnail:hover img{
  border: none;
}

.thumbnail span{ /*CSS for enlarged image*/
  position: absolute;
  border: none;
  background-image: url('images/kies.jpg');
  padding: 5px;
  left: -1000px;
  visibility: hidden;
  color: lightgray;
  text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
  border-width: 0;
  padding: 5px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
  visibility: visible;
  top: -10px;
  left: 110px; /* position where enlarged image should offset 
  top: -6px;
  left: -525px;  
  horizontally */
  z-index: 50;
}