DIV.GalleryViewerBox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	text-align: center;
	background: url('shade.png') repeat 0 0;
	animation: GalleryViewerBoxAnimation 0.3s ease-in-out backwards;
	-o-animation: GalleryViewerBoxAnimation 0.3s ease-in-out backwards;
	-ms-animation: GalleryViewerBoxAnimation 0.3s ease-in-out backwards;
	-moz-animation: GalleryViewerBoxAnimation 0.3s ease-in-out backwards;
	-webkit-animation: GalleryViewerBoxAnimation 0.3s ease-in-out backwards;
}

DIV.GalleryViewerBox A {
	text-decoration: none;
}

A.GalleryViewerPhoto {
	display: block;
	margin: 30px auto;
}
A.GalleryViewerPhoto IMG {
	outline: 5px solid white;
	max-width: 100%;
	max-height: 800px;
}

DIV.GalleryViewerNavig {
	margin: 10px;
}

A.GalleryViewerClose,
A.GalleryViewerPrev,
A.GalleryViewerNext {
	display: inline-block;
	font-size: 50px;
	background-color: black;
	border: 1px solid white;
	width: 70px;
	height: 70px;
	margin: 0 50px;
	color: white;
}

@keyframes GalleryViewerBoxAnimation {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}
@-o-keyframes GalleryViewerBoxAnimation {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}
@-ms-keyframes GalleryViewerBoxAnimation {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}
@-moz-keyframes GalleryViewerBoxAnimation {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}
@-webkit-keyframes GalleryViewerBoxAnimation {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}
