/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0b1 | 201101 
   NOTE: WORK IN PROGRESS
   USE WITH CAUTION AND TEST WITH ABANDON */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

:focus {
	outline: none;
}

a {
	text-decoration: none;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	font-family: sans-serif;
}

#content {
	margin: 0 auto;
    position: relative;
}

#content .languages.visible a.language {
	background: #005757;
}

#content .languages a.language {
	position: absolute;
	top: 0;
	right: 0;
	height: 48px;
    padding-top: 11px;
	padding-right: 5px;
	padding-left: 13px;
    border-left: 2px solid black;
    background: none;
}

#content .languages a.language img.flag {
	width: 40px;
    border: 1px solid black;
}

#content .languages.visible a.language i:before {
	content: "\f106";
}

#content .languages a.language i {
	vertical-align: super;
    font-size: 17px;
    color: white;
}

#content .languages.visible ul {
	display: block;
}

#content .languages ul {
	display: none;
	position: absolute;
	top: 50px;
	right: 0;
    height: 90px;
    width: 80px;
    border-left: 5px solid white;
	background-color: #00acac;
	color: white;
}

#content .languages ul li {
	text-align: center;
    padding: 8px 0px;
    border-bottom: 2px solid #090c05;
    border-left: 2px solid #090c05;
    font-size: 1.5em;
}

#content .languages ul li a {
	display: block;
    padding-bottom: 4px;
}

#content .languages ul li a img {
	width: 30px;
    border: 1px solid black;
    display: inline-block;
    vertical-align: bottom;
}

#content .languages ul li a span {
    display: inline-block;
	width: 20px;
	font-size: 16px;
    color: white;
}

.login-form {
	padding: 0.5em;
	margin: 0 auto;
    box-sizing: border-box;	
}

.login-form h1 {
	text-align: center;
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 2em;
}

.form-group {
	padding: 1em 0px;
}

.form-group label input[type="text"],
.form-group label input[type="password"] {
	width: 100%;
	height: 2.5em;
	line-height: 2.5em;
	font-size: 1.5em;
	padding: 0px 0.5em;
	border-radius: 0.5em;
	margin-top: 1em;
    box-sizing: border-box;
}

.btn {
	display: block;
	margin: 0.5em;
	height: 2.5em;
	line-height: 2.5em;
	font-size: 1.5em;
	text-align: center;
	border-radius: 0.5em;
	border: none;
	outline:none;
}

.main {
	background: #00acac;
	color: white;
}

.secondary {
	background: #afafaf;
	color: white;
}

.login-btn {
    display: block;
    width: 100%;
    margin: 0;
}

h1 {
    width: 100%;
    border-bottom: 2px solid black;
    font-size: 20px;
    background: #00acac;
    color: white;
    font-weight: bold;
	text-align: center;
	padding: 0px 80px;
    height: 50px;
    line-height: 50px;
}

.rules-content {
	padding: 0.5em;
	font-size: 1.2em;
}

label {	
    margin: 0.5em;
    font-size: 1em;
    height: 2em;
    line-height: 2em;
    display: block;
}

label.login-label {
	height: auto;
}

.question {
	padding: 0.5em;
	border-bottom: 1px solid #afafaf;
}

.question h2 {
	font-size: 1.5em;
}

.question .answers label {
    display: inline-block;
    padding: 0px 1em;
    border-radius: 0.5em;
    background: white;
    border: 0.3em solid #c30000;	
    height: 2.5em;
    line-height: 2.5em;
    color: black;
	font-weight:bold;
    box-sizing: content-box;
}

.question .answers label input[type="radio"] {
    margin: 0px;
    vertical-align: middle;	
    margin-top: -2px;
}

.question .answers label.no {
	border-color: #00c32b;	
}

.question .answers label.reverse {
	border-color: #00c32b;	
}

.question .answers label.no.reverse {
	border-color: #c30000;	
}


.question .answers label.optional {
    padding: 0%;
    margin: 0%;
    background: none;
	border: none;
    color: black;
	display: block;
	height: auto;
	font-size: 1em;
}

.question .answers label.optional input[type="text"],
.question .answers label.optional textarea {
	width: 100%;
	border-radius: 0.5em;
}

.alert {	
    margin: 0.5em;
    padding: 1em 0.5em;
    background: #f7c300;
    border-radius: 0.5em;
    color: white;
    text-align: center;
}

.subresult {
    text-align: center;	
    padding: 0.5em;
}

.subresult b {
	font-size: 2em;
}

.subresult a {
	margin-top: 1em;
}

.subresult .fa {
    display: block;
    margin: 0.5em auto;
    color: white;
    border-radius: 50%;
    height: 2em;
    width: 2em;
    line-height: 2em;
	font-size: 4em;
}

.subresult.error .fa,
.subresult.limit .fa,
.subresult.limit-second .fa {
    background: #f7c300;
}

.subresult.valid .fa {
	background: #00f72c;
}

.subresult.invalid .fa {
	background: #f70000;
}

.subresult.intermediate .fa,
.subresult.interrupted .fa,
.subresult.returned .fa,
.subresult.wait .fa {
	background: #008ff7;
}

canvas {
    margin: 0 auto;
}

.game {
	background: black;
}

#logout {	
    position: absolute;
    top: 0px;
    left: 0px;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    color: white;
    font-size: 30px;
    border-right: 2px solid black;
}