.thumbs {
	margin: 0px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.thumbs img {
	padding: 0px;
	margin: 2px;
	cursor: zoom-in;
}
figure {
	display: inline-block;
	width: min-content;
	width: -moz-min-content;
	margin: 0px;
	padding: 0px;
}
#cloak {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background-color: rgba(68,68,68,0.8);
	visibility: hidden;
}
.container {
	position: absolute;
	display: none;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
}
#imga, #imgb {
	margin: 0px;
	padding: 0px;
	text-align: center;
	box-shadow: 8px 8px 10px #333333;
}
#prev, #next {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0px;
	height: 100%;
	width: 10%;
	min-width: 111px;
}
#prev {
	left: 0px;
}
#next {
	right: 0px;
}
#prev div, #next div {
	display: none;
	width: 111px;
	height: 88px;
	background: url('/gallery/leftright.png') no-repeat;
}
#close {
	display: none;
	position: fixed;
	top: 0px;
	right: 0px;
	width: 48px;
	height: 48px;
	background-position: top right;
	background: url('/gallery/close.png') no-repeat;
}
#next div {
	background-position: right;
}
#prev:hover div, #next:hover div, #next:hover span {
	display: inline;
	cursor:pointer;
}
#imgz, #imgy {
	position: absolute;
	margin: 0px;
	padding: 0px;
	text-align: center;
	display: none;
}
#vid {
	box-shadow: 8px 8px 10px #333333;
}
#caption {
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
	color: #000000;
	background-color: #ffffff;
	border: solid 1px #000000;
	padding: 4px;
}
