
/*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*/
}

.gallerycontainer  .thumbnail img{
border: 1px solid #ABC2F5;
margin: 0 5px 5px 0;
padding:2px;
}

.gallerycontainer  .thumbnail:hover{
background-color: transparent;
}

.gallerycontainer  .thumbnail:hover img{
border: 1px dotted #4f738f;
}
.gallerycontainer  .thumbnail {
cursor: url("../thumbnails/magnifier.cur"), crosshair; 
}
.gallerycontainer  .thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #ABC2F5;
padding: 5px;
left: -1000px;
border: 1px solid #4f738f;
visibility: hidden;
color: black;
text-decoration: none;
}

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

.gallerycontainer .thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 250px;
left: 50px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

.gallerycontainer2{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.gallerycontainer2 .thumbnail img{
border: 1px solid #ABC2F5;
margin: 0;
padding:2px;
}

.gallerycontainer2 .thumbnail:hover{
background-color: transparent;
}

.gallerycontainer2 .thumbnail:hover img{
border: 1px dotted #4f738f;
float:left;
}
.gallerycontainer2 .thumbnail {
cursor: url("../thumbnails/magnifier.cur"), crosshair; 
}
.gallerycontainer2 .thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color:#ffffff;
padding: 5px;
left: -10000px;
border: 1px solid #4f738f;
color: black;
text-decoration: none;
visibility:hidden;
display:inline;
}

.gallerycontainer2 .thumbnail span table{ /*CSS for enlarged image*/
visibility:visible;
}
.gallerycontainer2 .thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
margin:0 5px 5px 0;
}

.gallerycontainer2 .thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: -120px;
left: 40px; /*position where enlarged image should offset horizontally */
z-index: 50;
color:#000000;
}
.gallerycontainer2 .thumbnail span h5 {
font-size:12px;
border-bottom:1px dotted #003399;
}