html, body {
	font-family: Helvetica, sans-serif;
	font-size: 1em;
	line-height: 1.5em;
	color: #333;

	padding: 20px;
}

h1, h2, h3 {
	text-decoration: none;
}

a {
	color: #660066;
	text-decoration: none;
}

a:hover {
	color: #000;
}

header {
	border-top: 35px solid #660066;
	margin: 0 auto;
}

article {

}

.table {
	border-collapse: collapse;
	font-size: 0.9em;
}

.table tr:nth-child(2n) {
	background-color: #eee;
}

.table tr:hover td {
	background-color: #660066;
	color: #fff;
}

.table tr:hover td a {
	background-color: #660066;
	color: #fff;
}

.table tr th {
	color: #333;
	text-align: center;
}

.table th,
.table td {
	padding: 4px 6px 4px 6px;
	margin: 0;
	border: 1px solid #ccc;
}

footer {
	border-top: 1px solid #eee;
	color: #ccc;
	font-size: 0.8em;
	text-align: right;
	margin-top: 100px;
	clear: left;
}

footer a {
	text-decoration: none;
	color: #ccc;
}

footer a:hover {
	color: #333;
}

div#left, div.output {
	float: left;
	margin-left: 50px;
}

main {
	max-width: 400px;
	margin: 0 auto;
}

form {
	padding: 20px;
}

span.error-message {
	color: #660066;
}

form p {
	text-align: right;
}

input[type=number] {
	border: 1px solid black;
	background-color: #fff;
}

input[type=submit] {
	border: 0px solid #ffffff;
	background-color: #343434;
	padding: 10px 10px;
	margin-top: 13px;
	margin-bottom: 13px;
	color: #fff;
}

@media only screen and (max-width: 1200px) {
	div {
		float: none;
		clear: both;
	}
	div#left, div.output {
		margin-left: 0px;
	}
	input[type=number] {
		width: 99%;
		font-size: 2em;
	}
	input[type=submit] {
		width: 100%;
	}
}
