#gallery {
	width: 100%;
	text-align: center;
}
.thumbnail {
	width: 31%;
	min-width: 200px;
	height: 320px;
	overflow: hidden;
	display: inline-block;
	margin: 3px;
}
.thumbnail img {
	 width: 100%;
	  height: auto;
	  min-height: 100%;
	  position: relative;
	  top: 50%;
	  -webkit-transform: translateY(-50%); /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
	  -ms-transform: translateY(-50%); /* IE 9 */
	  transform: translateY(-50%); /* IE 10, Fx 16+, Op 12.1+ */
}
img{
	max-width: 100%;
}
p {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
}
p a {
	color: #333333;
	text-decoration: underline;
}
p a:hover {
	color: #999999;
	text-decoration: none;
}
h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-weight: bold;
	color: #0A5483;
	text-align: center;

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

@media only screen and (max-width: 1200px) {
	.thumbnail {
	height: 300px;
	}
}

@media only screen and (max-width: 980px) {
	.thumbnail {
	height: 250px;
	}
}

@media only screen and (max-width: 680px) {
	.thumbnail {
	height: 200px;
	}
}

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