/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
position: relative;
height: 550px
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 0px solid #000;
background-color:white;
margin: 5px 5px 5px 5px;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 0px solid #000;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
left: -1000px;
background-color:white;
border: 2px solid black;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
text-align: center;
/* width: 600px; */
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 5px;
left: 250px; /*position where enlarged image should offset horizontally */

z-index: 50;

}

.leftTD, .leftTopTD, .leftBothTD, .leftBottomTD {
border-right-style: solid;
border-right-width:1px;
border-right-color:#999;
}

.rightTD, .rightTopTD, .rightBothTD, .rightBottomTD {
border-left-style: solid;
border-left-width:1px;
border-left-color:#999;
}

.leftTopTD, .leftBothTD, .rightBothTD, .rightTopTD {
border-top-style: solid;
border-top-width:1px;
border-top-color:#999;
}

.leftBothTD, .leftBottomTD, .rightBothTD, .rightBottomTD  {
border-bottom-style: solid;
border-bottom-width:1px;
border-bottom-color:#999;
}


