.gallerycontainer{
	position: relative;
	float:left;
}
#caja {
	float: left;
	height: 482px;
	width: 462px;
	margin-bottom:10px;
}

.thumbnail img{
	border: 1px solid #fff;
	margin: 0 0px 1px 0;
}

.thumbnail:hover{
	background-color: transparent;
}

.thumbnail:hover img{
}

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	left: -1000px;
	visibility: hidden;
	color: black;
	text-decoration: none;
	text-align: center;
	height: 482px;
	width: 466px;
	background:#666;
	top: 0px;
	margin-top: 4px;
}

.thumbnail span img{ /*CSS for enlarged image*/
	border-style: none;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
	visibility: visible;
	top:47px;
	left: 296px; /*position where enlarged image should offset horizontally */
	z-index: 50;
	vertical-align:middle;
}
#mainContent span img{
	border: none;
	margin-top: 0px;
}


.thumbnail1 img{
	border: 1px solid #fff;
	margin: 0 1px 1px 0;
}

.thumbnail1:hover{
	background-color: transparent;
}

.thumbnail1:hover img{
}

.thumbnail1 span{ /*CSS for enlarged image*/
	position: absolute;
	left: 294px;
	color: black;
	text-decoration: none;
	text-align: center;
	height: 470px;
	width: 470px;
	top:47px;
	margin-top: 4px;
}

.thumbnail1 span img{ /*CSS for enlarged image*/
	border-style: none;
}

.thumbnail1:hover span{ /*CSS for enlarged image*/
	visibility: visible;
	top:47px;
	left: 294px; /*position where enlarged image should offset horizontally */
	z-index: 50;
	vertical-align:middle;
}







.thumbnail2 img{
	border: 1px solid #fff;
	margin: 0 0px 1px 0;
}

.thumbnail2:hover{
	background-color: transparent;
}

.thumbnail2:hover img{
}

.thumbnail2 span{ /*CSS for enlarged image*/
	position: absolute;
	left: -1000px;
	visibility: hidden;
	color: black;
	text-decoration: none;
	text-align: center;
	height: 482px;
	width: 466px;
	background:#666;
	top: 0px;
	margin-top: 4px;
}

.thumbnail2 span img{ /*CSS for enlarged image*/
	border-style: none;
}

.thumbnail2:hover span{ /*CSS for enlarged image*/
	visibility: hidden;
	top:47px;
	left: 296px; /*position where enlarged image should offset horizontally */
	z-index: 50;
	vertical-align:middle;
}
