@import url( '//fonts.googleapis.com/css?family=Michroma' );

body {
	background: #000000;
	font-family: Michroma;
	font-size: 28px;
	color: #ffffff;
}

div#container {
	width: 900px;
	margin: auto;
	padding: 0px 0px 20px 0px;
}

div.board {
	width: 900px;
	height: 665px;
	background-image: url( '../images/bg.png' );
	position: relative; /* so children can be absolutely positioned */
}

div.home {
	width: 900px;
	height: 542px;
	background-image: url( '../images/bg-home.png' );
	position: relative; /* so children can be absolutely positioned */
}

div.home-leaderboard {
	width: 900px;
	position: relative; /* so children can be absolutely positioned */
}

div.home-leaderboard img {
	float: left;
}

div.home-leaderboard div.header {
	width: 680px;
	float: right;
	text-align: center;
}

div.header a.on {
	color: #f84ffa;
}

h1, h2, h3, h4 {
	margin-top: 0px;
	margin-bottom: 10px;
	font-weight: normal;
	color: #f84ffa;
	letter-spacing: 6px;
	text-shadow: 3px 3px #0a03a4;
}

h1 {
	font-size: 28px;
	font-weight: bold;
}

h2 {
	font-size: 23px;
}

h3 {
	font-size: 18px;
}

h4 {
	font-size: 18px;
	text-align: center;
	text-shadow: none;
	font-weight: normal;
	letter-spacing: 2px;
	margin-top: 30px;
}

h1.single {
	padding-top: 40px;
}

div.home-leaderboard table {
	width: 800px;
	border-collapse: collapse;
	margin: auto;
	margin-top: 20px;
}

div.home-leaderboard table tr.this {
	background-color: #0000a8;
}

div.home-leaderboard table td.username {
	max-width: 200px;
	overflow: hidden;
}

div.home-leaderboard table th.center, div.home-leaderboard table td.center {
	text-align: center;
}

div.home-leaderboard table th, div.home-leaderboard table td {
	font-size: 22px;
	color: #ffffff;
	padding: 5px 20px 5px 20px;
}

div.home-leaderboard table th {
	color: #f54e4e;
}

div.home-leaderboard table th.right, div.home-leaderboard table td.right {
	text-align: right;
}

div.home-leaderboard table.nav {
	width: 100%;
	border-collapse: collapse;
	margin: auto;
	margin-top: 10px;
}

div.home-leaderboard table.nav a {
	color: #f84ffa;
	text-decoration: none;
	border: 3px solid #000000;
}

div.home-leaderboard table.nav a:hover {
	border: 3px solid #ffffff;
	text-decoration: none;
}

div.home-leaderboard table.nav td {
	white-space: nowrap;
}

div.home-leaderboard table.nav td.back {
	min-width: 100px;
	text-align: left;
	padding-left: 0px;
}

div.home-leaderboard table.nav td.middle {
	width: 200px;
	text-align: center;
	width: 100%;
}

div.home-leaderboard table.nav td.next {
	min-width: 100px;
	text-align: right;
	padding-right: 0px;
}

div.pass {
	top: 552px;
	left: 38px;
	width: 66px;
	height: 58px;
}

div.clear {
	top: 552px;
	left: 274px;
	width: 66px;
	height: 58px;
}

div.done {
	top: 552px;
	left: 631px;
	width: 88px;
	height: 58px;
}

div.cheat {
	top: 472px;
	left: 673px;
	width: 50px;
	height: 50px;
}

div.button {
	position: absolute;
}

div.home-button a {
	display: block;
	width: 100%;
	height: 100%;
	color: #ffffff;
}

div.home-button a:hover {
	border: 3px solid #ffffff;
	position: relative;
	top: -3px;
	left: -3px;
}

div.button a {
	display: block;
	width: 100%;
	height: 100%;
	color: #ffffff;
	background-color: rgba( 80, 255, 255, 0.2 );
}

div.button a:hover {
	border: 3px solid #ffffff;
	position: relative;
	top: -3px;
	left: -3px;
}

div#square1 {
	top: 140px;
	left: 449px;
	min-width: 40px;
	height: 40px;
}

div#square2 {
	top: 220px;
	left: 367px;
	min-width: 40px;
	height: 40px;
}

div#square3 {
	top: 220px;
	left: 449px;
	min-width: 40px;
	height: 40px;
}

div#square4 {
	top: 220px;
	left: 529px;
	min-width: 40px;
	height: 40px;
}

div#square5 {
	top: 309px;
	left: 281px;
	min-width: 40px;
	height: 40px;
}

div#square6 {
	top: 309px;
	left: 367px;
	min-width: 40px;
	height: 40px;
}

div#square7 {
	top: 309px;
	left: 449px;
	min-width: 40px;
	height: 40px;
}

div#square8 {
	top: 309px;
	left: 529px;
	min-width: 40px;
	height: 40px;
}

div#square9 {
	top: 309px;
	left: 609px;
	min-width: 40px;
	height: 40px;
}

div#square10 {
	top: 400px;
	left: 367px;
	min-width: 40px;
	height: 40px;
}

div#square11 {
	top: 400px;
	left: 449px;
	min-width: 40px;
	height: 40px;
}

div#square12 {
	top: 400px;
	left: 529px;
	min-width: 40px;
	height: 40px;
}

div#square13 {
	top: 480px;
	left: 449px;
	min-width: 40px;
	height: 40px;
}

div.number {
	color: #fafa52;
	font-size: 28px;
	text-align: center;
	border: 3px solid #000000;
}

div.operator {
	color: #fe5151;
	font-size: 28px;
	text-align: center;
	border: 3px solid #000000;
}

div.number a {
	color: inherit;
	text-decoration: none;
}

div.operator a {
	text-decoration: none;
	color: inherit;
}

.selected {
	background-color: #50ffff;
	color: #000000 !important;
}

div#home-play-1 {
	top: 162px;
	left: 572px;
	width: 300px;
	height: 51px;
}

div#home-play-2 {
	top: 228px;
	left: 572px;
	width: 300px;
	height: 51px;
}

div#home-play-3 {
	top: 300px;
	left: 572px;
	width: 300px;
	height: 51px;
}

div#home-rules {
	top: 375px;
	left: 572px;
	width: 300px;
	height: 51px;
}

div#home-leaderboard {
	top: 437px;
	left: 572px;
	width: 300px;
	height: 51px;
}

div.taunt {
	top: 91px;
	left: 5px;
	width: 320px;
	height: 140px;
	color: #ffffff;
	padding: 10px 10px 10px 10px;
	font-size: 18px;
	line-height: 22px;
	overflow: hidden;
}

div.taunt-wedge1 {
	width: 10px;
	height: 50px;
	float: right;
}

div.taunt-wedge2 {
	width: 75px;
	height: 50px;
	float: right;
	clear: right;
}

div.taunt-wedge3 {
	width: 140px;
	height: 50px;
	float: right;
	clear: right;
}

div#home-quote {
	top: 200px;
	left: 10px;
	width: 376px;
	height: 220px;
	padding: 10px;
	color: #ffffff;
	font-size: 22px;
	overflow: hidden;
}


div#status {
	top: 5px;
	left: 680px;
	width: 210px;
	height: 40px;
}

div#score {
	top: 100px;
	left: 745px;
	width: 136px;
	height: 40px;
}

div#risk {
	top: 182px;
	left: 745px;
	width: 136px;
	height: 40px;
}

div#target {
	top: 490px;
	left: 745px;
	width: 145px;
	height: 40px;
}

div#sum {
	top: 555px;
	left: 745px;
	width: 145px;
	height: 40px;
}

div.correct {
	background-color: #00ff00;
}

div.incorrect {
	background-color: #ff0000;
}

div.info {
	font-size: 28px;
	text-align: center;
	text-decoration: none;
	color: #ffffff;
}

div.home-link {
	font-size: 28px;
	text-decoration: none;
	color: #fb50fb;
	position: absolute;
}

div.popup {
	color: #000000;
	visibility: hidden;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	text-align: center;
	z-index: 1000;
	background-color: rgba( 0,0,0, 0.5 );
}

div.popup div {
	width: 500px;
	position: relative;
	margin: auto;
	top: 40%;
	background-color: #ffffff;
	padding: 15px;
	text-align: left;
	box-shadow: 10px 10px 0px 0px #000000;
	border: 3px solid #fa4ffb;
}

div.popup div div.title {
	padding: 0px 0px 0px 0px;
	background-color: #0000a0;
	border: none;
	color: #ffffff;
	text-align: center;
	text-transform: uppercase;
	box-shadow: none;
	position: relative;
	left: -15px;
	top: -15px;
	width: 530px;
}

div.popup div div {
	position: static;
	width: 225px;
	padding: 0px 10px 0px 10px;
	text-align: right;
	float: left;
	box-shadow: none;
	border: none;
	margin: 0px 0px 0px 0px;
	clear: right;
}

div.popup div div.data {
	position: static;
	width: 100px;
	padding: 0px 0px 0px 0px;
	text-align: right;
	float: left;
	box-shadow: none;
	margin: 0px 0px 0px 0px;
	font-weight: bold;
}

div.popup div a.boxclose {
	float:right;
	margin-top:-30px;
	margin-right:-30px;
	cursor:pointer;
	color: #fff;
	border: 4px solid #ffffff;
	border-radius: 55px;
	background: #000000;
	font-size: 21px;
	font-weight: bold;
	display: inline-block;
	line-height: 0px;
	padding: 11px 3px;
	text-decoration: none;
	box-shadow: 0 0 10px #000000;
}

div.popup div a.boxclose:before {
	content: '\2716';
}

div.popup input {
	font-family: inherit;
	font-size: inherit;
}

div.popup input[type="text"] {
	width: 80%;
	margin: auto;
	display: block;
}

div.popup input[type="submit"] {
	margin-top: 10px;
	float: right;
}

ul {
	list-style-type: none;
	display: block;
	text-align: center;
	width: 100%;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

li {
	list-style-type: none;
	display: inline;
	padding: 0px 5px 0px 5px;
}

li a {
	width: 200px;
	background-color: #0000a0;
	box-shadow: 1px 1px 0px 1px #9e009c;
	color: #ffffff;
	text-decoration: none;
	border: 2px solid #0000a0;
	font-size: 18px;
	padding: 0px 20px 0px 20px;
}

li a:hover {
	border: 2px solid #ffffff;
	text-decoration: none;
}
