<style type="text/css">

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid #666666;
margin: 0 10px 10px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid blue;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #FFFFFF;
padding: 0;
left: -1000px;
border: 1px solid #666666;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS para el largo de las imagenes*/
border-width: 0;
padding: 5px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
	visibility: visible;
	top: 5px; /*posición vertical donde la imagen debe aparecer */
	z-index: 10;
	left: 400px; /*posición horizontal donde la imagend debe aparecer */
}

</style>

