/*
Copyright (c) 2014 Ylab,www.ylab.nl
YUI reset.css,version:2.9.0

*/

html{color:#000;background:#fff;overflow-y:scroll;font-size:100%;min-width:300px;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-box-sizing:border-box;box-sizing:border-box}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td,figure{margin:0;padding:0}
abbr,acronym{border:0;font-variant:normal}
address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}
caption,th{text-align:left}
del,ins{text-decoration:none}
fieldset,img{border:0}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}
legend{color:#000}
ul,ol{list-style:none}
q:before,q:after{content:''}
sub,sup{vertical-align:baseline}
table{border-collapse:collapse;border-spacing:0}
a:focus{-x-outline:0}
section,article,footer,header,nav,aside,figure{display:block}
select,input{background:none}
textarea{resize:none}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;/*font-size:100%*/}
a{text-decoration:none}
b,strong{font-weight:bold}
i,em{font-style:italic}

@font-face {
    font-family: 'sf_digital_readoutHvOb';
    /*src: url('sfdigitalreadout-heavyobliq-webfont.eot');*/
    src: /*url('sfdigitalreadout-heavyobliq-webfont.eot?#iefix') format('embedded-opentype'),*/
         url('sfdigitalreadout-heavyobliq-webfont.woff2') format('woff2'),
         url('sfdigitalreadout-heavyobliq-webfont.woff') format('woff'),
         /*url('sfdigitalreadout-heavyobliq-webfont.ttf') format('truetype'),*/
         url('sfdigitalreadout-heavyobliq-webfont.svg#sf_digital_readoutHvOb') format('svg');
    font-weight: normal;
    font-style: normal;

}

body, p, a{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
	width: 100%;
	margin: 0;
	padding: 0;
	color: #444;
}
#header{
	width: 100%;
	height: 52px;
	background-color: red;		
	text-align: center;
	position: relative;
	-webkit-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);	
	z-index: 100;
}
#header p{
	font-size: 1.5rem;
	line-height: 52px;
	font-weight: bold;
	color: white;
}
#header img{
	position: absolute;
	right: 16px;
	top: 12px;
	width: 28px;
	height: 28px;
}
#black{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 200%;
	z-index: 80;	
	background-color: rgba(0,0,0,0.5);
}
#exercise{
	box-sizing: border-box;
	position: absolute;
	width: 100%;
	top: 52px;
	background-color: #f5f5f5;
	-webkit-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
	z-index: 90;	
}
#exercise a, #exercise p{
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
	line-height: 44px;
	height: 44px;
	border-top: 1px solid white;
	border-bottom: 1px solid #e5e5e5;
	display: block;
}
#exercise p{
	text-align: center;
}
#canvas-wrapper{
	margin-top: 20px;
	width: 400px;
	height: 400px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
canvas{
	position: absolute;
	top: 0;
	left: 0;	
}
#canvasPoint{
	z-index: 10;	
}
#digital{
	margin-left: auto;
	margin-right: auto;
	width: 300px;
	height: 70px;
	border-radius: 10px;
	border: 3px solid black;
	color: red;
	font-size: 70px;
	background-color: #333;
	text-shadow: 0 0 5px #FF0000;
	font-family: sf_digital_readoutHvOb;
}
#digital input{
	width: 100px;
	padding-left: 30px;	
	font-size: 70px;
	border: none;
	color: red;
	text-shadow: 0 0 5px #FF0000;
	letter-spacing: 5px;
}
.oordeel{
	color: red;	
}
.oordeel.ok{
	color: green;	
}
.hidden, #answer.hidden{
	display: none;	
}
a.button{
	display: block;
	width: 200px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	-webkit-border-radius: 22px;
	line-height: 44px;	
	-webkit-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2); 
	text-align: center;	
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	background-color: #f5f5f5;
	margin-bottom: 20px;
}
#instruction{
	text-align: center;
	font-size: 1.2rem;
	margin: 20px;
}
#instruction #time{
		font-weight: bold;
		font-size: 1.4rem;
}
#answer{
	display: table;	
	z-index: 1000;
	position: absolute;
	width: 50%;
	height: 50%;
	left: 25%;
	top: 25%;
	background-color: white;
	text-align: center;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	border: 4px solid green;
}
#answer.wrong{
	border: 4px solid red;	
}
#answer div{
	display: table-cell;
	vertical-align: middle;		
}
#answer .extra{
	font-size: 1.4rem;	
}
#answer .big{
	font-weight: bold;
	color: green;
	font-size: 2rem;
}
#answer.wrong .big{
	color: red;	
}

footer{
	margin-top: 40px;
	padding-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
	border-top: 1px solid #e5e5e5;
	font-size: 0.8rem;
	text-align: center;
}
footer a{
	color: black;	
}
footer a:hover{
	text-decoration: underline;	
}

@media only screen AND (max-width: 500px){
	#canvas-wrapper{
		width: 250px;
		height: 250px;
		margin-left: auto;
		margin-right: auto;
	}
}
