@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

body {
	width: 600px;
	min-width: 600px;
	max-width: 600px;
	margin: 0 auto;
}

a:visited,
a:hover,
a {
	color: white;
}

.intro {
	font-family: 'Share Tech Mono', fixed-width;
	font-size: 48pt;
	text-align: center;
}

body.login {
	background-color: black;
}

body.bank,
body.scratchy {
	background-color: black;
	font-family: 'Share Tech Mono', fixed-width;
	font-size: 12pt;
	color: white;
}

body.bank form,
body.scratchy form {
	margin: 1em;
	text-align: center;
}

div.balancebroughtforward {
	font-style: italic;
}

body.bank form input.submit {
	border: 1px solid white;
	font-family: 'Share Tech Mono', fixed-width;
	background-color: black;
	color: white;
	display: none;
	font-size: 20pt;
	margin-bottom: 2em;
}

div.submit-neighbour {
	height: 2em;
	display: inline-block;
	margin-bottom: 2em;
	padding-bottom: 2em;
}

#total {
	font-size: 24pt;
	padding-left: 8em;
}

table.statement-table {
	border: 1px white solid;
	width: 100%;
	color: white;
	border-collapse: separate;
}

table.statement-table thead {
	background-color: white;
	color: black;
}

table.statement-table thead tr td {
	width: 15%;
}

table.statement-table thead tr td + td {
	width: 15%;
}

table.statement-table thead tr td + td + td {
	width: 15%;
}

table.statement-table thead tr td + td + td + td {
	width: 55%;
}

table.statement-table tbody tr.hidden-for-now {
	display: none;
}

table.statement-table tbody tr td.date {
	width: 100px;
	font-size: 0.8em;
	text-align: right;
}

table.statement-table tbody tr td.debit {
	width: 100px;
	text-align: right;
	margin-right: 1em;
}

table.statement-table tbody tr td.credit {
	width: 100px;
	text-align: right;
}

table.statement-table tbody tr td div.message {
	width: 300px;
	text-align: left;
	padding-left: 1em;
	overflow-x: hidden;
	white-space: nowrap;
}

input.bordered {
	border: 1px solid white;
	background-color: black;
	color: white;
	display: block;
	font-family: 'Share Tech Mono', fixed-width;
	font-size: 32pt;
	width: 100%;
}

input.submit {
	margin: 0 auto;
	margin-top: 32pt;
	text-align: center;
	width: 50%;
}

body.login label.label {
	color: #CCC;
	display: block;
	font-family: 'Share Tech Mono', fixed-width;
	font-size: 32pt;
	padding-top: 32pt;
}

body.login form {
	width: 50%;
	margin: 0 auto;
}

body.login div.overlay {
	background-color: black;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

div.centered {
	text-align: center;
}

div.normal {
	border: 1px solid white;
	color: white;
	font-size: 24pt !important;
}

div.success {
	border: 1px solid #80FF80;
	color: #80FF80;
}

div.error {
	border: 1px solid #FF8080;
	color: #FF8080;
}

#message {
	font-family: 'Share Tech Mono', fixed-width;
	font-size: 32pt;
	margin-top: 64pt;
}

#other-message {
	font-family: 'Share Tech Mono', fixed-width;
	font-size: 24pt;
	margin-top: 64pt;
	display: none;
}

#shopdiv {
	width: 580px;
	margin: 0 auto;
	padding-top: 10px;
}

div.shop-item {
	border: 1px solid white;
	margin-top: 24px;
	width: 100%;
	display: inline-block;
	padding-top: 12px;
	padding-bottom: 12px;
	animation: 0.25s fadeIn;
}

div.shop-item-main {
	width: 270px;
	float: left;
}

div.shop-item-description {
	font-size: 14pt;
	width: 270px;
	float: right;
}

div.shop-item-price {
	font-size: 18pt;
	font-weight: bold;
	text-align: center;
	padding-top: 6px;
}

div.shop-item-name {
	text-align: center;
	font-size: 18pt;
	font-weight: bold;
}

div.shop-item-blurb {
	text-align: center;
	font-size: 13pt;
}

div.shop-item-image {
	text-align: center;
}

div.shop-item-image img {
	width: 120px;
	padding-top: 6px;
}

div.shop-item-description input.buy {
	font-size: 18pt;
	background-color: black;
	border: 2px solid white;
	color: white;
	font-family: inherit;
}

div.bottom-link-container {
	display: none;
	text-align: center;
}

div.bottom-link {
	display: inline-block;
	padding-top: 12px;
	padding-left: 12px;
	padding-bottom: 12px;
	padding-right: 12px;
	text-align: center;
}

#scratchy-container {
	background-color: #EEE;
	border: 1px solid white;
	top: 50px;
	position: relative;
	width: 500px;
	height: 500px;
	margin: 0 auto;
	user-select: none;
}

#scratchy-canvas {
	position: absolute;
	width: 500px;
	height: 500px;
	top: 0;
}

.scratch-panel {
	display: inline-block;
	width: 120px;
	height: 120px;
	margin-top: 30px;
	margin-left: 30px;
}

.scratchy-1 {
	background-image: url("/images/scratchy/1.png");
}

.scratchy-2 {
	background-image: url("/images/scratchy/2.png");
}

.scratchy-3 {
	background-image: url("/images/scratchy/3.png");
}

.scratchy-4 {
	background-image: url("/images/scratchy/4.png");
}

.scratchy-5 {
	background-image: url("/images/scratchy/5.png");
}

.scratchy-6 {
	background-image: url("/images/scratchy/6.png");
}

.scratch-panel img {
	width: 120px;
	height: 120px;
}

.scratch-row {
}

#scratchy-links {
	display: none;
	padding-top: 100px;
}

body.scratchy input.buyanother {
	font-size: 18pt;
	background-color: black;
	border: 2px solid white;
	color: white;
	font-family: inherit;
}
