/*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 white;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid white;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #370030;
padding: 10px;
left: -1000px;
border: 1px gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}
.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 95px; /*position where enlarged image should offset horizontally */
top:0px;
z-index: 50;
}





#mainprofileimg { /*CSS for enlarged image*/
background-color: #370030;
padding: 10px;
border: 1px gray;
color: black;
text-decoration: none;
text-align:center;
}

#mainprofileimg.landscape{ /*CSS for enlarged image*/
margin-left:40px;
margin-right:30px;
}

#mainprofileimg.portrait{ /*CSS for enlarged image*/
margin-left:95px;
margin-right:90px;
}



.mainprofileimg  img{ /*CSS for enlarged image*/
border: 1px solid white;
padding: 2px;
}

