* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
}

h1 {
	margin:0px 0px 18px 0px;
	font-size:2.1em;	
	font-family: 'Comfortaa', 'Helvetica Neue', Arial, cursive;
	float:left;
}

h2, h3 {
	margin:10px 0px 10px 0px;
	font-size:1.0em;
	text-align: center;		
}

.intro {
	padding:0px 12px;
	margin-bottom:18px;
	text-align: justify;
}

button {
	cursor: pointer;
}
.flag {
	width:20px;
}

.flagResMsg {
	margin-top:10px;
	width:40px;
}

.flagSuccess {
	margin-top:10px;
	width:100px;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
	-webkit-appearance: none; 
	margin: 0; 
}

sup {
	vertical-align: super;
}


html {	
	font-family: 'Helvetica Neue', Arial, sans-serif;
}

.selected, .opSelected {
	background-color: red !important;
}

#container {
	margin-left: auto;
	margin-right: auto;
	width:360px;		
	position: relative;
}

#dialog-timeup {
	display: none;
	color:white;
	padding-top:40px;
}

.ui-dialog {
	background-color: red !important;
	text-align: center;
	font-weight: bold;
}

.ui-dialog-titlebar {
	display: none;
}

.ui-dialog-buttonpane {
	background-color: red !important;
	border-width: 0px !important;
}

.subpage {
	display:none;
	width:360px;
	position:absolute;	
}

#homePageContainer {
	width:360px;
	position:absolute;
}

#operationSelectionContainer {
	text-align: center;
}

#start {
	margin-top:90px;
	padding-top:40px;
	padding-bottom:40px;
}

#testContainer {
	display:block;
	margin-top:12px;
	visibility: hidden;
}

#resultsContainer {
	margin-top:20px;
	display:block;
	visibility: hidden;
	text-align: center;
}

#resultsContainer button {
	margin-top:10px;
}


.numberSelection {
	background-color: #000; 
	width:33px;
	border: none;
	color: white;
	padding: 15px 32px;
	margin: 10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	border-radius:10px;
	cursor: hand;
}

.operation {
	background-color: #000; 
	width:150px;
	border: none;
	color: white;
	padding: 15px 32px;
	margin:10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	border-radius:10px;
	cursor: hand;
}

.mathQuestionBox {
	background-color: green; 
	width:100px;
	border: none;
	color: white;
	margin: 20px 10px 0px 10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	border-radius:10px;
	cursor: hand;
	height:60px;
	vertical-align: middle;		
}	

.mathQuestionBox > p.q {
	font-size: 1.2em;
	padding-top: 18px;	
}

.mathQuestionBox > p {
	font-size: 1.1em;
	padding-top: 10px;	
}

.bottomBtnContainer {
	margin-top: 20px;
	width:320px;
	margin-left: auto;
	margin-right: auto;
	text-align: 	center;
}

.confirmBtn {
	width:100%;
	background-color: blue;
	border: none;
	color: white;
	padding: 15px 0px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	border-radius:10px;
	cursor: hand;
}

.aroundTheWorldSelection, .safariSelection {
	width:49%;
	padding: 10px 0px;
	margin-top:10px;
}

#numberSelectionConfirmationBtn, #operationSelectionConfirmationBtn{
	width:45%;
}

.backBtn {
	width:45%;
}

.aroundTheWorldSelectionWide {
	width:100%;
}

.clickedBtn {
	background-color: #1E90FF !important;
}

.answer {
	width: 46px;
	text-align: center;
}

.strike {
	text-decoration: line-through;
	color: red;
}
.correctAnswer {
	text-decoration: bold;
	color: green;
}
.clear {
	clear: both;
}
#header {
	position: fixed;
	top: 0px;
	left: 50%;
	width: 56px;
	margin-left: -28px;
	padding :3px 0px 3px 0px;
	text-align: center;
	background: #EEE;	    
	border: solid #000;
	border-width: 0px 1px 1px 1px;
	border-bottom-left-radius: 10px;	    
	border-bottom-right-radius: 10px;	    
	z-index: 9999;
}
#header.warning {
	background: red;	    
	font-weight: bold;
}

.winnerImg {
	text-align: center;
	width:320px;
}
.animalResImg {
	margin-top: 20px;
	width:212px;
}
.winnerText {
	margin-top:10px;
	text-align: center;
	font-size: 1.4em;
	color: blue;
	font-weight: bold;
}
.timeSelection {
	margin-top: 10px;
}
#startHelpBtn {
	margin-top: 10px;
}
.startFlag {
	margin-top: 10px;
	width: 40px;
}
#helpText {
	margin-top:10px;
	display:none;
	padding:20px 0px;
	text-align: center;
	background: yellow;
	border-radius:10px;
	width:90%;
	margin-left:auto;
	margin-right:auto;
}

.helpTextBullets{
		text-align: left;
		padding: 10px 0px 0px 122px;
		font-size: 0.9em;
}

#helpText p {
	padding: 10px 10px 0px 10px;
	font-size: 0.9em;			
}
#helpText p.bold {
	margin-top: 5px;
	font-weight: bold;
}
#userNameContainer {
	width:100%;
	text-align:center;
	margin-top:28px;
}

#userName {
	text-align:left;
	padding:10px;
	width:200px;
	background-color: white;
	border-width: 1px;
	border-style: solid;
	border-color: black; 
	color: blue;
	font-weight:bold;
}

.smallText {
	font-size:0.8em;
}
.flagHighScore {
	float:right;
	width:35px;
}

input::-webkit-input-placeholder {
	color: white !important;
	font-weight: bold;
}

input:-moz-placeholder { /* Firefox 18- */
	color: white !important;  
	font-weight: bold;
}

input::-moz-placeholder {  /* Firefox 19+ */
	color: white !important;  
	font-weight: bold;
}

input:-ms-input-placeholder {  
	color: white !important;  
	font-weight: bold;
}
#countryRecordTable {
	width:100% !important
	padding:20px;
}	
h2 {
	margin-top:25px;
}	
td {
	vertical-align: middle;
}
.recordTime {
	text-align: center;			
	color:deeppink;
}
.recordUserName {
	text-align:right;
	color:blue;
}
.countryRecordRow {
	height: 50px;
}
#title {
	margin:22px 5px 30px 5px;
}

#twitterRight {	
	text-align: center;
	float:right;
	display: none;
}
.extraSmallText {
	font-size: 0.57em;
	color: #1b95e0;
	margin-top:-3px;
}
.twitter-follow-button {
	visibility: hidden;
}
#twitter {
	vertical-align: center;
	padding:0px 12px 18px 25px;
}
#twitter p {
	margin-top:5px;
	float:right;
}
table {
	margin-left:auto;
	margin-right:auto;
}
#safariRecordsContainer tr > td:nth-child(2) {
	padding: 5px 5px 5px 5px;
	text-align: center;
}
table.info tr > td:first-child {
	width: 100px;
}
table.info tr > td:last-child {
	padding:5px 5px 5px 10px;
}
button#safariRecord {
	width:100%;
	padding: 5px;
	margin-top:15px;
	background-color: yellow;
	border-radius: 10px

}
#safariRecordsContainer {
	padding-bottom: 20px;
}
#safariRecordsContainer h2 {
	font-size: 1.2em;
}
#safariComplete {
	text-align: center;
	padding: 20px 0px;
}
.safariRecordImg {
	height: 50px;
}
.safariRecord td:first-child {
	font-weight: bold;
}
h1 a {
	text-decoration: none;
	color:black;
}