.gallerycontainer{
	position: relative;
	padding-right: 10px;
	padding-left: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
	border: 1px solid #3b160a;
	margin-top: 5px;
	margin-right: 15px;
	margin-bottom: 5px;
	margin-left: 15px;
}

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



.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	/*background-color: lightyellow; #3b160a*/
	background-color: Black ;
	left: -1000px;
	/*border: 1px groove gray; #8bc541*/
	border:thick solid Black;
	color:#FFFFFF;
	text-decoration: none;
	width: 565px;
	padding: 10px;
	height: 325px;
	visibility: hidden;
}
.beforePhoto {
	position: relative;
	left: 5px;
	top: -40px;
}


.thumbnail span img{ /*CSS for enlarged image*/
	/*border-width: 5;
border:thick #FFFFCC;*/
	background-color:#FFFFFF;
	padding: 5px;
	margin: 0px;
}

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

.thumbnail:focus span{ /*CSS for enlarged image*/
	visibility: visible;
	top: 230px;
	left: 0px; /*position where enlarged image should offset horizontally */
	z-index: 50;
	/*height: 300px;*/
	margin: 0px;
}

.thumbnail:active span{ /*CSS for enlarged image*/
	visibility: visible;
	top: 230px;
	left: 0px; /*position where enlarged image should offset horizontally */
	z-index: 50;
	margin: 0px;
	/*height: 300px;
	height: 400px;*/
}

.thumbnail p{
	color:#FFFFFF;
	font-family: "Comic Sans MS", cursive;
	font-size: 14px;
}

#thumbnailRow1 {
	width: 585px;
	padding-right: 0px;
	padding-left: 0px;
	padding-top: 0px;
	height: 90px;
	margin-top: 7px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#thumbnailRow2 {
	width: 585px;
	margin: 0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-top: 0px;
	height: 90px;
}

.spacerRow 
{
	/* #FFFFFF */
	background-color: #FFFFFF;
	width: 585px;
	margin: 0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-top: 0px;
	height: 375px;
}


.photoDesc {
	position: absolute;
	width: 200px;
	left: 20px;
	top: 185px;
	height: 75px;
	margin: 0px;
	padding: 5px;
}

.beforeLabel {
	position: absolute;
	width: 50px;
	left: 95px;
	top: 10px;
	height: 20px;
	margin: 0px;
	padding: 5px;
}
.afterLabel {
	position: absolute;
	width: 50px;
	left: 385px;
	top: 65px;
	height: 20px;
	margin: 0px;
	padding: 5px;
}
.gallerycontainer p {
	margin: 0px;
}
.afterPhoto {
	left: 30px;
	top: 85px;
	position: relative;
}
.media ul {
	margin-left: 20px;
}

.contactForm {
	width:400px;
}
