/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans:400,300,100);

body {
	margin:0;
	padding:0;
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
	color:#00aeef;
}

h1 {
	font-family:'Alegreya Sans', sans-serif;
	font-weight:300;
}

#timeUp {
	position:fixed;
	left:0px;
	top:0px;
	width:100vw;
	height:100vh;
	background-color:#fff;
	display:none;
	font-size:15vw;
	line-height:100vh;
	font-weight:bold;
    text-align:center;
    z-index:10000;
    color:#333;
}

#header {
	position:fixed;
	left:0px;
	top:0px;
	width:100%;
	height:60px;
	background-color:#eee;
	border-bottom:3px solid #ccc;
	background-image:url(logo.png);
	background-position:20px 0px;
	background-repeat:no-repeat;
}

#footer {
	position:fixed;
	left:0px;
	bottom:0px;
	width:100%;
	height:40px;
	line-height:40px;
	background-color:#eee;
	border-top:1px solid #ccc;
	text-align:center;
	color:#666;
}

@media only screen and (max-width : 850px) {
	#header {
		background-image:url(logoS.png);
	}
}

#time {
	height:60px;
	margin:0px 10px;
	float:right;
	font-size:24px;
	vertical-align:middle;
	line-height:60px;
}

#time .text {
	margin-top:15px;
	height:7px;
	font-size:10px;
	font-weight:bold;
	line-height:7px;
	width:100%;
	text-align:center;
}

#time .time {
	margin-top:6px;
	margin-bottom:15px;
	height:17px;
	font-size:24px;
	line-height:17px;
	width:100%;
	text-align:center;
}

#questions {
	height:60px;
	width:60%;
	margin:0px auto;
	text-align:center;
}

#questions .question {
	height:6px;
	margin:27px 1%;
	background-color:#999;
	display:inline-block;
}

#flowwrapper {
	width:100%;
	height:60px;
	position:absolute;
	overflow:hidden;
}

#flow {
	height:60px;
	width:50%;
	text-align:center;
	overflow:hidden;
	display:flex;
	justify-content:space-between;
	margin:0px auto;
}

#flow .flow {
	height:20px;
	margin:20px 1%;
	display:inline-block;
	font-size:14px;
	line-height:20px;
	vertical-align:middle;
}

.leftover {
	position:fixed;
	top:0px;
	left:0px;
	width:80px;
	height:60px;
	display:none;
	background-image:url(leftover.png);
	background-position:0px 0px;
	background-repeat:no-repeat;
	z-index:100;
}

.rightover {
	position:fixed;
	top:0px;
	right:0px;
	width:80px;
	height:60px;
	display:none;
	background-image:url(rightover.png);
	background-position:0px 0px;
	background-repeat:no-repeat;
	z-index:100;
}
	/*background-image:url(arrow.png);
	background-position:-4px center;
	background-repeat:no-repeat;
}

#flow .flow:first-child {
	background-image:none;
}*/

.rulesdiv {
	width:420px;
	text-align:left;
	margin:0px auto;
}

.rulesdiv h1 {
	text-align:center;
}

.rulesdiv ol {
	font-size:16px;
	text-align:left;
	margin-bottom:40px;
}

.rulesdiv ol li {
	margin-bottom:10px;
}

@media only screen and (max-width : 370px) {
	#questions .question {
		margin:27px 0;
	}

	#time {
		margin:0px;
	}
	
	#header {
		background-position:5px 0px;
	}
	
	.leftover {
		background-position:-15px 0px;
	}
	
	.rightover {
		background-position:15px 0px;
	}
}

@media only screen and (max-width : 470px) {
	#time .text {
		font-size:7px;
	}
	.rulesdiv {
		width:100%;
	}
}

@media only screen and (max-width : 600px) {
	#time .text {
		font-size:7px;
	}
	
	.leftover, .rightover {
		display:block;
	}
	
	#flowwrapper {
		padding-left:50%;
	}
	
	#flow {
		width:300px;
		margin-left:-150px;
	}

	#flow.fst {
		margin-left:-22px;
	}
	
	#flow.snd {
		margin-left:-93px;
	}
	
	#flow.trd {
		margin-left:-166px;
	}
	
	#flow.foth {
		margin-left:-227px;
	}
	
	#flow.fith {
		margin-left:-281px;
	}

	/*#flow.fst .flow:nth-child(3), #flow.fst .flow:nth-child(4), #flow.fst .flow:nth-child(5) {
		visibility:hidden;
	}

	#flow.snd .flow:nth-child(4), #flow.snd .flow:nth-child(5) {
		visibility:hidden;
	}

	#flow.trd .flow:nth-child(1), #flow.trd .flow:nth-child(5) {
		visibility:hidden;
	}

	#flow.foth .flow:nth-child(1), #flow.foth .flow:nth-child(2) {
		visibility:hidden;
	}

	#flow.fith .flow:nth-child(1), #flow.fith .flow:nth-child(2), #flow.fith .flow:nth-child(3) {
		visibility:hidden;
	}*/
}

.answer {
	height:40px;
	line-height:40px;
	padding:5px 5%;
	width:90%;
	border-radius:10px;
	border:1px solid #ccc;
	display:block;
	font-weight:bold;
	font-family:Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", monospace;
}

.answer.selectedanswer {
	background-color:#00aeef;
	color:#fff;
}

.testsubmit {
	height:50px;
	line-height:40px;
	padding:0px;
	width:100%;
	border-radius:10px;
	border:1px solid #ccc;
	display:block;
	background-color:#2a3990;
	color:#fff;
	font-size:14px;
	font-weight:bold;
	cursor:pointer;
}

.testsubmit[disabled] {
	background-color:#999;
	border:1px solid #333;
}

.wrapper {
	width:90%;
	margin:80px auto 40px;
}

h1 {
	text-align:center;
}

h3 {
	text-align:center;
	font-weight:normal;
}

.tokenform {
	display:block;
	text-align:center;
}

.tokeninput {
	height:46px;
	width:40%;
	text-align:center;
	font-size:36px;
	margin:20px auto;
	vertical-align:middle;
	padding:0px;
	border-radius:10px;
}

.tokensubmit {
	height:50px;
	line-height:50px;
	padding:0px;
	width:40%;
	border-radius:10px;
	border:1px solid #ccc;
	display:block;
	background-color:#2a3990;
	color:#fff;
	font-size:14px;
	font-weight:bold;
	cursor:pointer;
	text-decoration:none;
	margin:0px auto;
	text-align:center;
}

@media only screen and (max-width : 600px) {
	.tokeninput {
		width:80%;
	}
	
	.tokensubmit {
		width:80%;
	}
}

pre {
	border:1px #ccc solid;
	padding:25px 35px;
	/*background-color:#f6f6f6;*/
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;           /* Non-prefixed version, currently not supported by any browser */
	font-weight:normal;
}

@media only screen and (max-width : 1000px) {
	pre {
		padding:2.5vw 3.5vw;
	}
}

/*#dataLeft {
	width:49%;
	line-height:40px;
	float:left;
	text-align:right;
	vertical-align:middle;
	font-size:12px;
	font-weight:bold;
	display:inline-block;
	margin-bottom:20px;
}

#dataLeft div {
	height:40px;
	line-height:40px;
}

#dataRight {
	width:49%;
	line-height:40px;
	float:right;
	text-align:left;
	vertical-align:middle;
	display:inline-block;
	margin-bottom:20px;
}

#dataLeft input, #dataRight select {
	width:50%;
	height:28px;
	border-radius:5px;
	border:1px #666 solid;
	padding:0px;
	margin:0px;
	line-height:28px;
	vertical-align:middle;
}*/



#dataForm .full {
	display:block;
	width:95%;
	margin:20px auto 0px;
	text-align:left;
	font-size:12px;
	font-weight:bold;
}

#dataForm .half {
	display:inline-block;
	width:46.6%;
	margin:20px 0.5% 0px;
	text-align:left;
	font-size:12px;
	font-weight:bold;
	vertical-align:middle;
}

#dataForm .third {
	display:inline-block;
	width:30.5%;
	margin:20px 0.5% 0px;
	text-align:left;
	font-size:12px;
	font-weight:bold;
	vertical-align:middle;
}

#dataForm .testsubmit {
	width:40%;
	margin:20px auto;
	padding:0px;
}

#dataForm .full > span, #dataForm .half > span, #dataForm .third > span {
	color:#f30;
}

#dataForm {
	width:800px;
	margin:0px auto;
}

#dataForm .half .half {
	width:49.5%;
    margin:20px 0px 0px;
}

.selectMissing {
	border:1px solid #f30 !important;
}

@media only screen and (max-width : 800px) {
	#dataForm .half {
		margin:20px 2% 0px;
	}
	
	#dataForm .third {
		width:30%;
	}
	
	#dataForm .testsubmit {
		width:94.4%;
    	margin:20px 2%;
	}
}

@media only screen and (max-width : 890px) {
	#dataForm {
		width:100%;
	}
}

#dataForm .full .half, #dataForm .full .third, #dataForm .notitle {
	margin-top:0px;
}

/*#dataForm .full .half:first-of-type, #dataForm .full .third:first-of-type, #dataForm .half .half:first-of-type, #dataForm .half .third:first-of-type {
	margin-left:0px;
	width:47%;
}

#dataForm .full .half:last-of-type, #dataForm .full .third:last-of-type, #dataForm .half .half:last-of-type, #dataForm .half .third:last-of-type {
	margin-right:0px;
	width:47%;
}*/

@media only screen and (max-width : 725px) {
	#dataForm .half .half {
		width:48.5% !important;
	}
}

#dataForm input {
	padding:10px 2%;
	width:94%;
	margin-top:5px;
	border-radius: 5px;
	border:1px solid #ccc;
}

#dataForm input:hover, #dataForm input:active, #dataForm input:focus {
    border-color: #999;
}

#dataForm .full input {
	width:95.1%;
	margin-left:-0.6%;
}

#dataForm select {
	padding:10px;
	width:99%;
	margin-top:5px;
}