/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */


.thumbnail{ 
position: relative;
z-index: 0;
}

.thumbnail img{
border: 1px solid #9A9A9A;
padding: 5px 5px 5px 5px;
margin: 5px 5px 5px 5px;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
width:400px; text-align:center;
position: absolute;
background-color: #fff;
padding: 5px 5px 5px 5px;
right: -1000px;
border: 1px solid #9A9A9A;
visibility: hidden;
}

.thumbnail p{ /*CSS for text under enlarged image*/
padding: 1px 0px 0px 8px;
font:bold 1.1em Verdana, Arial, Helvetica, sans-serif;
line-height:1.0em;
color: #0264AF; 
text-decoration: none;
}

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

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
right: 30px; /*position where enlarged image should offset horizontally */

}