/*
HTML5 Reset
---------------------------------------------------------------------------------------------------- */

/* Baseline Normalize
	normalize.css v2.1.2 | MIT License | git.io/normalize
--------------------------------------------- */

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

/* Box Sizing
--------------------------------------------- */

*,
input[type="search"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

/* Float Clearing
--------------------------------------------- */

.archive-pagination:before,
.clearfix:before,
.entry:before,
.entry-pagination:before,
.footer-widgets:before,
.nav-primary:before,
.nav-secondary:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.wrap:before {
	content: " ";
	display: table;
}

.archive-pagination:after,
.clearfix:after,
.entry:after,
.entry-pagination:after,
.footer-widgets:after,
.nav-primary:after,
.nav-secondary:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.wrap:after {
	clear: both;
	content: " ";
	display: table;
}


/*
Defaults
---------------------------------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */

html {
	font-size: 62.5%; /* 10px browser default */
}

body {
	color: #666;
	font-family: Lato, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1.625;
}

h1, h2, h3, h4, h5, h6 {
	color: #4b86aa;
	font-family: Lato, sans-serif;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 16px;
	margin: 0 0 1.6rem;
}

h1 {
	font-size: 36px;
	font-size: 3.6rem;
}

h2 {
	font-size: 30px;
	font-size: 3rem;
}

a {
	color: #4b86aa;
}

.intro {
	font-family: Merriweather, Georgia;
	color: #727272;
	font-size: 20px;
	font-size: 2rem;
	font-style: italic;
	-webkit-font-smoothing: antialiased;
}

footer p {
	color: #b4b4b4;
	font-style: italic;
	max-width: 900px;
	margin: 100px auto 0 auto;
	padding: 50px 30px;
	text-align: center;
	
}

/*
Structure
---------------------------------------------------------------------------------------------------- */


header {
	background: url(../images/slaapstoornissen-zelftest.jpg) no-repeat 50% 62%;
	background-size: 100%;
	min-height: 150px;
	margin: 0;
}

header section {
	margin: 0 auto;
	max-width: 900px;
	padding: 0 30px;
}

header img {
	width: 186px;
	height: 34px;
	margin-top: 50px;
}


main {
	margin: 30px auto;
	max-width: 900px;
	padding: 0 30px;
}

footer {
	background-color: #f5f5f5;
}

aside {
 	margin: 0 auto;
 	width: 610px;
 	height: 120px;
}

/*
Forms
---------------------------------------------------------------------------------------------------- */

.progress-bar-on {
	font-size: 24px;
	color: #4b86aa;
	text-align: center;
	width: 120px;
	border-bottom: 6px solid #4b86aa;
	display: block;
	float: left;
	margin: 0 1px;
	padding-bottom: 10px;
}

.progress-bar-off {
	font-size: 24px;
	color: #c3c3c3;
	text-align: center;
	width: 120px;
	border-bottom: 6px solid #c3c3c3;
	display: block;
	float: left;
	margin: 0 1px;
	padding-bottom: 10px;
}

fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.back-button, input[type="submit"], .big-button {
	color: white;
	border-radius: 3px;
	width: auto;
	border: none;
}

.back-button a {
	color: white;
	text-decoration: none;
	border-radius: 3px;
	background-color: #c3c3c3;	
	display: block;
	padding: 0 9px 3px 9px;
}

input[type="submit"], .big-button {
	background-color: #ff6600;
	width: auto;
	float: right;
	text-align: right;
	padding: 5px 12px 8px 9px;
}

.back-button {
	float: left;
}

label.error {
	background: #ff6600;
	color: white;
	margin-left: 5px;
	padding: 3px 9px 6px 9px;
	border-radius: 3px;
	float: right;
}

.radio-buttons label {
	margin-right: 20px;
}

.score {
	border: solid white;
}

img.score-icon {
	width: 47px;
	height: 47px;
	margin: -5px 20px 80px 0;
	float: left;
}

.big-button {
	padding: 5px 12px 8px 9px;
	margin-top: 20px;
	text-decoration: none;
}

/*
Responsive
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 600px) {

	img.score-icon {
		margin-bottom: 120px;
	}	
}

@media only screen and (max-width: 500px) {

	img.score-icon {
		margin-bottom: 150px;
	}	
}
