table{
	font-family: Verdana;
	font-size: 11.5px;	
	border-top: 0px none;
	text-align: justify; 
}

h1{
	color: #FFFFFF;
	font-size: 10px;	
	margin-bottom: 0px;
	text-align: right;
	margin-right: 10px;
}

a:link {
	color: #660000;
	font-weight: bold;	
	text-decoration: underline;
}
a:visited {
	color: #660000;
	font-weight: bold;
	text-decoration: underline;	
}
a:hover {
	color: #660000;
	font-weight: bold;
	text-decoration: none;
}

h2{
	color: #521000;
	font-size: 20px;	
	text-align: center;
}

h3{
	color: #A71600;
	font-size: 12,5px;	
	text-align: justify;
	margin-left: -40px
}
h4{
	color: #A71600;
	font-size: 13px;	
	text-align: justify;
}
<style type="text/css">

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

.thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

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

.thumbnail:hover img{
border: 1px solid blue;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: pink;
padding: 5px;
left: -1000px;
border: 1px dashed 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: 230px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

.img-shadow {
float:right;
background: url(imagini/trans-shadow.png) no-repeat bottom right; /* Most major browsers other than IE supports transparent shadow. Newer release of IE should be able to support that. */
}

.img-shadow img {
display: block; /* IE won't do well without this */
position: relative; /* Make the shadow's position relative to its image */
padding: 5px; /* This creates a border around the image */
background-color: #fff; /* Background color of the border created by the padding */
border: 1px solid #cecece; /* A 1 pixel greyish border is applied to the white border created by the padding */
margin: -6px 6px 6px -6px; /* Offset the image by certain pixels to reveal the shadow, as the shadows are 6 pixels wide, offset it by that amount to get a perfect shadow */
}

</style>
