body {
	margin: 0;
	font-family: Arial;
	background-color: #202020;
}
header {
	font-size: 26px;
	border-bottom: 1px solid #000000;
	padding: 5px 5px 5px 20px;
	background-color: #D0D0D0;
}
#copyright {
	float: right;
	text-decoration: none;
	color: #404040;
	font-size: 12px;
}
main {
	padding: 6px;
	background-color: #202020;
	display: flex;
	flex-wrap: wrap;
}
#fallback * {
	color: #D9D9D9;
	display: block;
	padding: 2px;
	font-size: 15px;
	text-decoration: none;
}
#fallback a:hover {
	text-decoration: underline;
}
#pageBackNext * {
	display: inline-block;
	margin: 20px;
}
.dummy {
	color: #909090 !important;
	pointer-events: none;
}
/*Thumbnails*/
.thumb {
	position: relative;
	display: block;
	flex-grow: 1;
	overflow: hidden;
	background: no-repeat center;
	box-sizing: border-box;
	margin: 2px;
	border: 1px solid #202020;
	font-size: 15px;
}
.thumbTitle {
	position: absolute;
	bottom: 0;
	display: block;
	width: 100%;
	padding: 50px 0 5px 5px;
	background: rgba(0,0,0,0.5);
	background: -ms-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	color: #FFFFFF;
}
@-webkit-keyframes thumbHover {
	from {padding-top: 50px;}
	to {padding-top: 100px;}
}
@-moz-keyframes thumbHover {
	from {padding-top: 50px;}
	to {padding-top: 100px;}
}
@keyframes thumbHover {
	from {padding-top: 50px;}
	to {padding-top: 100px;}
}
.thumb:hover {
	border-color: #D0D0D0;
}
.thumb:hover .thumbTitle {
	animation-name: thumbHover;
	animation-duration: 0.2s;
	padding-top: 100px;
}
/*Full image*/
#fullContainer {
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	height: 100%;
	background: #000000;
	cursor: pointer;
	z-index: 5;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#fullImg {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
	z-index: 10;
}
@-webkit-keyframes fadeOutRight {
	from {left: 50%; opacity: 1;}
	to {left: 100%; opacity: 0;}
}
@-moz-keyframes fadeOutRight {
	from {left: 50%; opacity: 1;}
	to {left: 100%; opacity: 0;}
}
@keyframes fadeOutRight {
	from {left: 50%; opacity: 1;}
	to {left: 100%; opacity: 0;}
}
@-webkit-keyframes fadeOutLeft {
	from {left: 50%; opacity: 1;}
	to {left: 0%; opacity: 0;}
}
@-moz-keyframes fadeOutLeft {
	from {left: 50%; opacity: 1;}
	to {left: 0%; opacity: 0;}
}
@keyframes fadeOutLeft {
	from {left: 50%; opacity: 1;}
	to {left: 0%; opacity: 0;}
}
@-webkit-keyframes fadeIn{
	from {opacity: 0;}
	to {opacity: 1;}
}
@-moz-keyframes fadeIn{
	from {opacity: 0;}
	to {opacity: 1;}
}
@keyframes fadeIn{
	from {opacity: 0;}
	to {opacity: 1;}
}
/*Loading text*/
#loadingContainer {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	font-size: 1.2em;
	color: #FFFFFF;
}
/*Buttons*/
#buttonContainer {
	position: fixed;
	display: flex;
	justify-content: center;
	width: 100%;
	z-index: 20;
}
.button {
	pointer-events: all;
	flex-basis: 120px;
	height: 60px;
}
@-webkit-keyframes buttonHover {
	from {background: rgba(255,255,255,0.2);}
	to {background: rgba(255,255,255,0);}
}
@-moz-keyframes buttonHover {
	from {background: rgba(255,255,255,0.2);}
	to {background: rgba(255,255,255,0);}
}
@keyframes buttonHover {
	from {background: rgba(255,255,255,0.2);}
	to {background: rgba(255,255,255,0);}
}
.button:hover {
	animation-name: buttonHover;
	animation-duration: 1s;
}
/*Button icons*/
.buttonIcon {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	margin: auto;
	opacity: 0;
	pointer-events: none;
	height: 70%;
	transition: opacity 1.5s;
}
@-webkit-keyframes buttonIconHover {
	0% {opacity: 1;}
	70% {opacity: 1;}
	100% {opacity: 0;}
}
@-moz-keyframes buttonIconHover {
	0% {opacity: 1;}
	70% {opacity: 1;}
	100% {opacity: 0;}
}
@keyframes buttonIconHover {
	0% {opacity: 1;}
	70% {opacity: 1;}
	100% {opacity: 0;}
}
#buttonContainer:hover .buttonIcon {
	opacity: 1;
	transition: none;
}
