#gallery {
	width: 100%;
	text-align: center;
}
.thumbnail{
	width: 31%;
	/* min-width: 200px; */
	display: inline-block;
	margin: 3px;
	max-height: 200px;
	overflow: hidden;
}
#gallery img{
	/* max-width: 100%; */
	max-height: 250px;
	border: solid 1px #999999;
}
#gallery p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
}
#gallery p a {
	color: #333333;
	text-decoration: underline;
}
#gallery p a:hover {
	color: #999999;
	text-decoration: none;
}
#gallery h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-weight: bold;
	color: #666666;
	text-align: center;

}
#picNumbers {
	float: left;
	width: 45%;
}
#picNav {
	float: right;
	width: 45%;
}

.image-grid {
	list-style: none;
	padding: 20px 0;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

.image-grid li {
	display: inline-block;
	margin: 10px 5px 0 5px;
	vertical-align: top;
	height: 250px;
}
.image-grid li > a, .image-grid li > a img {
	border: none;
	outline: none;
	display: block;
	position: relative;
}

@media only screen and (max-width: 450px) {
	#picNumbers {
	float: none;
	width: 100%;
	}
	#picNav {
	float: none;
	width: 100%;
	}
	#gallery h1 {
	font-size: 18px;
	}
}
