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

#HomepageCMSContent .gallerycontainer{
position:relative;

padding: 5px; margin: 0 auto; border: 1px solid #A7A8AA; 
color:#fff;
width:auto;
height:auto;
z-index:19000;


/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

/*
#HomepageCMSContent .thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}
*/

#HomepageCMSContent .thumbnail:hover{
background-color: transparent;
text-decoration: none;
}

#HomepageCMSContent .thumbnail:hover img{
text-decoration: none;
}

#HomepageCMSContent .thumbnail span{ /*CSS for enlarged image*/
position: absolute;
padding: 5px; 
border: 1px solid #A7A8AA;
background-color: #fff;
left: -1000px;
visibility: hidden;
color: black;
text-decoration: none;
z-index: 25000;

}

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

#HomepageCMSContent .thumbnail:hover span{ /*CSS for enlarged image*/

visibility: visible;

left: 20px; /*position where enlarged image should offset horizontally */
top:-275px;
z-index: 15000;
}

