/* Main Selectors */
#header{
	background-color: #db4437;
	position:fixed;
	width:100%;
	height:64px;
	z-index:999;
	box-shadow:0 1px 5px rgba(0,0,0,0.5);
}
body {
	background-color: #e0e0e0;
	color: #1f1f1f;
}

a, a:visited {
	color: #1f1f1f;
}

a:hover {
	background-color: transparent;
	color: #f44336;
}
.home{
	position:fixed;
	top:24px;
	left:64px;
	z-index:998;
	width:48px;
	height:48px;
	border-radius:24px;
}
.home img{
	position:relative;
	top:5px;
	left:5px;
	display:none;
}
.back{
	position:fixed;
	top:7px;
	left:7px;
	z-index:998;
	width:48px;
	height:48px;
	border-radius:24px;
	transition:all 0.5s;
}
.back:hover{
	background-color:rgba(0,0,0,0.1);
	transition:all 0.5s;
}
.back:active{
	background-color:rgba(255,255,255,0.25);
	transition:all 0.5s;
}
.back img{
	position:relative;
	top:6px;
	left:6px;	
	width:36px;
	height:36px;
}
#form1{
	position:relative;
	top:100px;
	padding:20px 50px;
}
/* Header */
div#header h1 {
	text-align: center;
	color: #f44336;
	font-weight:400;
	font-size:1.5em;
	background-color: #f0f0f0;
	margin: 10px 0 30px 0;
	padding:20px;
	box-shadow:0 1px 5px rgba(0,0,0,0.5);
}

/* Thumbnail Index */
div#index {
	background-color: #f0f0f0;
	margin: 10px 0 10px 0;
	text-align: center;
	padding:20px 0;
	box-shadow:0 1px 5px rgba(0,0,0,0.5);
}

div#index {
	text-align: center;
	margin: 0 auto;
}

div#index .thumbcell {
	width: 140px;
	text-align: center;
	vertical-align: middle;
	padding: 10px;
	display:inline;
}

div#index .thumbcell img {
	width: 140px;
	max-height:110px;
	border-radius:4px;
	box-shadow:0 1px 5px rgba(0,0,0,0.5);
	margin:10px 5px 20px;
	transition:all 0.5s;
}
div#index .thumbcell img:hover {
	box-shadow:0 4px 10px rgba(0,0,0,0.5);
	transform:scale(1.1);
	transition:all 0.5s;
}
.headerTable{
	text-align: center;
	color: #1f1f1f;
	font-weight:400;
	font-size:1.2em;	
}
@media(max-width:800px){
	body {
		background-color: #f0f0f0;
	}
	#form1{
		padding:0;
	}
	/* Header */
	div#header h1 {
		font-size:1.5em;
		margin:0;
		box-shadow:none;
	}

	/* Thumbnail Index */
	div#index {
		margin: 0;
		text-align: center;
		padding:20px 0;
		box-shadow:none;
	}

	div#index {
		text-align: center;
		margin: 0 auto;
	}

	div#index .thumbcell {
		width: 140px;
		text-align: center;
		vertical-align: middle;
		padding: 10px;
		display:inline;
	}

	div#index .thumbcell img {
		width: 140px;
		min-height:110px;
		border-radius:4px;
		box-shadow:0 1px 5px rgba(0,0,0,0.5);
		margin:10px 5px 20px;
		transition:all 0.5s;
	}
	div#index .thumbcell img:hover {
		box-shadow:0 4px 10px rgba(0,0,0,0.5);
		transform:scale(1.1);
		transition:all 0.5s;
	}
	.headerTable{
		text-align: center;
		color: #1f1f1f;
		font-weight:400;
		font-size:1.2em;	
	}
}
@media(max-width:720px){
}
@media(max-width:520px){
	div#header h1 {
		font-size:1.2em;
	}
}