.thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

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

.thumbnail:hover img{
border:#000000 1px solid;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: transparent;
left: -1000px;
margin-top:-200px;
visibility: hidden;
color: black;
text-decoration: none;
}

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

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

/*---two--*/
.thumbnail2 img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

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

.thumbnail2:hover img{
border:#000000 1px solid;
}

.thumbnail2 span{ /*CSS for enlarged image*/
position: absolute;
background-color: transparent;
left: -1200px;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail2 span img{ /*CSS for enlarged image*/
border-width: 0;
}

.thumbnail2:hover span{ /*CSS for enlarged image*/
visibility: visible;
top:-50px;
left:130px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

/*---twoAA--*/
.thumbnail2a img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

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

.thumbnail2a:hover img{
border:#000000 1px solid;
}

.thumbnail2a span{ /*CSS for enlarged image*/
position: absolute;
background-color: transparent;
left: -1200px;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail2a span img{ /*CSS for enlarged image*/
border-width: 0;
}

.thumbnail2a:hover span{ /*CSS for enlarged image*/
visibility: visible;
top:30px;
left:70px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

/*---three--*/
.thumbnail3 img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

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

.thumbnail3:hover img{
border:#000000 1px solid;
}

.thumbnail3 span{ /*CSS for enlarged image*/
position: absolute;
background-color: transparent;
left: -1000px;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail3 span img{ /*CSS for enlarged image*/
border-width: 0;
}

.thumbnail3:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 280px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

