/* set up the overall width of the menu div and the margins with a relative position*/

.gallery {
font-family: verdana, arial, sans-serif; 

margin:0 auto; 
position:relative;
z-index: 1;
width: 342px;
border: 0px solid black;

}


/* style the initial image size 100px x 75px no border and 5pixel padding */
.gallery a img {
width:100px; height:75px;
border:0; margin:5px;
}

/* style the size, background color, border and margin of the submenu links */
.gallery a {
float:left;
width:110px;
height:85px;
background:#eee;
border:1px solid #888;
margin:1px;
}

/* style position of the links on hover */
.gallery a:hover {
position:relative;
}

/* style the 2x size image on hover with an absolute position to place it centrally over the original image */
.gallery a:hover img {
width:200px; height:150px;
position:absolute;
left:-50px; top:-38px;
border:0;
border:1px solid #888;
padding:5px;
background:#ccc;
z-index: 5;
}

.imgzoom {
  position: fixed;
  top: 50px;
  left: 50px;
  z-index: 50;
  background: gray;
  border: 1px solid black;
  padding: 1px;
  width: 500px;
}

.imgzoom img {
  width: 400px;
  height: auto;
  margin: 0 auto;
}