
body,html {
	background-color: #12083D;
	color: #ffffff;
	font-family: "Trebuchet MS",Helvetica,sans-serif;
	font-size: 16px;
}

/* Re-setting of of previously reset styles */

h1,h2,h3,h4,h5,h6,h7 {
	padding-top: 1em;
	color: #004176;
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 14px;
}

p {
	margin: 1em 0;
	line-height: 140%;
}

a {
	color: #004176;
}

sup {
	font-size: 70%;
	vertical-align: top;
	display: inline-block;
}

/* Base Frame */

#container {
	position: relative;
	width: 800px;
	height: 600px;
	left: 50%;
	margin-left: -406px;
	
}

#stage {
	background-color: #ffffff;
	color: #000000;
	width: 100%;
	height: 100%;
	text-align: center;
	overflow: hidden;
	border: 6px solid #9B0002;
}

/* Game Screens */

#screen-loading {
	width: 100%;
	height: 100%;
}

#screen-introduction {
	visibility: hidden;
	width: 100%;
	height: 100%;
	background-image: url(../images/flag-title-background.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

	#screen-introduction h1 {
		font-size: 36px;
	}
	
	#intro-content p {
		text-align: left;
	}
	
	.introduction-actions {
		position: absolute;
		bottom: 90px;
		left: 140px;
		font-size: 24px;
	}

#screen-play {
	visibility: hidden;
	width: 100%;
	height: 100%;
	background-image: url(../images/flag-background.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

#screen-stats {
	visibility: hidden;
	width: 100%;
	height: 100%;
	background-image: url(../images/flag-background.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}










.screen-content {
	/* Because there is an absolutely positioned element on top */
	padding-top:100px;
}


/* Elements */


#location-bar {
	position: absolute;
	width: 100%;
	top: 75px;
	left: 0px;
	text-align: center;
}

#sponsor-bar {
	color: #ffffff;
	position: absolute;
	width: 100%;
	bottom: 10px;
	left: 0px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}

#sponsor-bar a {
	color: #ffffff;
}

.bottom-link {
	position: absolute;
	width: 100%;
	bottom: 34px;
	left: 0px;
	text-align: center;
}

#location-warning {
	color: #990000;
	font-size: 20px;
	font-weight: bold;
	font-style: italic;
}

#geo-lookup {
	cursor: pointer;
	font-size: 14px;
	color: #004276;
}

.change-location {
	font-size: 14px;
	padding-left: 10px;
}

#game-action {
	font-size: 24px;
}

#game-stats h1, #game-options h1, #all-stats h1 {
	padding-top: 0;
}

	#all-stats-iframe {
		width: 700px;
		height: 420px;
		border: none;
	}

#game-progress table {
	width: 100%;
}

	#game-progress th {
		font-size: 18px;
		font-weight: bold;
		width: 25%;
		text-align: center;
	}
	
	#game-progress td {
		font-size: 24px;
		font-weight: bold;
		width: 25%;
		text-align: center;
	}
	
		#game-correct {
			color: #009900;
		}
	
		#game-wrong {
			color: #990000;
		}

#game-options {
	position: absolute;
	top: 110px;
	left: 75px;
	width: 300px;
}

#game-stats {
	position: absolute;
	top: 110px;
	right: 75px;
	width: 300px;
}

#game-divider {
	position: absolute;
	left: 406px;
	top: 110px;
	width: 6px;
	height: 400px;
	background-color: #9B0002;
}
		
#flashcard {
	font-size: 72px;
	position: relative;
	width: 200px;
	height: 320px;
	margin: 50px auto 0px auto;
	background-color: #12083D;
	border-radius: 12px;
}

#flashcard-content {
	position: absolute;
	font-weight: bold;
	color: #ffffff;
	height: 260px;
	top: 20px;
	width: 160px;
	left: 20px;
}

	#top-number {
		position: absolute;
		top: 0px;
		right: 0px;
	}
	
	#operator {
		position: absolute;
		top: 85px;
		left: 0px;
	}

	#bottom-number {
		position: absolute;
		top: 85px;
		right: 0px;
	}

	#solution-box {
		position: absolute;
		top: 165px;
		left: 0px;
		border-top: 10px solid #ffffff;
		padding-top: 5px;
	}
	
		#solution {
			width: 100%;
			text-align: right;
		}
		
#game-stats-table {
	margin: 20px auto 5px auto;
}

#game-stats-table th {
	text-align: center;
	padding: 15px 15px;
	background-color: #EEEEEE;
	color: #004176;
	border: 1px solid #cccccc;
}

#game-stats-table td {
	text-align: center;
	padding: 15px 15px;
	border: 1px solid #cccccc;
	background-color: #ffffff;
}

#game-stats-table td.blank {
	border: 0px solid #ffffff;
	background-color: transparent;
}


#game-stats-table-game-correct, #game-stats-table-session-correct {
	color: #009900;
	font-weight: bold;
}

#game-stats-table-game-wrong, #game-stats-table-session-wrong {
	color: #990000;
	font-weight: bold;
}

#game-stats-table-game-percentage, #game-stats-table-session-percentage {
	font-weight: bold;
}

#game-stats-review-errors {
	padding-top: 15px;
}

.correct {
	color: #009900;
}

.wrong {
	color: #990000;
}



#results-submission-status {
	font-size: 16px;
}

#results-submission-status.success {
	color: #009900;
}

#results-submission-status.failure {
	color: #990000;
}
