/* CSS Document */
<style type="text/css">
/*URL: http://www.dynamicdrive.com/style/ */
.gallerycontainer{
position: relative;
z-index:1;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid white;/* Borde de la imagen grande*/
margin: 0 10px 10px 0;/*borde entre las imagenes*/
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
/*border: 1px solid white;/*borde de las imagenes*/
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
margin-top:400px;
background-color:#000;
padding: 20px;/*entre la imagen y el cuadro de fondo*/
left: -1500px;
border: 1px dashed #f57a00;
visibility: hidden;
color: white;
text-decoration: none;
font:Arial;
font-size:14px;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 0; 
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 100px;
left: 230px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

</style>