﻿html, body{
	margin: 0;	
	-webkit-text-size-adjust: 100%;
	overflow: hidden;
	min-width: 320px;
}

body, input {
	font-family: 'Roboto', sans-serif;
}

#chart-container {
	background-color: #fff;
}

#grafiekenBlok {
	height: 422px;
	padding: 0 0 10px 5px;
}

#grafiek {
	float: left;
	width: 100%;
	height: 100%;		
}

#periods {
	display: table;
}

#periods-small {
	display: none;
}

#periods > input {
	width: 73px;
}

#periods-small > input {
	flex-grow: 1;
	flex-basis: 0;
	padding: 6px 5px;
	min-width: 40px;
}

#periods > input, #periods-small > input {
	float: left;
	margin: 0;
	height: 35px;
	color: #666;
	font-size: 16px;
	background: #f9f9f9;
	border-radius: 0;
	border-color: #D3D3D3;
	margin-left: -1px;
}

#periods > input:first-child, #periods-small > input:first-child {
	margin-left: 0;
}

#periods > input:hover, #periods-small > input:hover {
	background: #ecebec;
}

#periods > input.selected, #periods-small > input.selected {
	background: #E0E0E0;
}

#form1, #form2 {
	padding: 0;
}

#indicators, #indices {
	display: inline-table;
	margin: 15px 10px 25px 10px;
}

#indices label .indice-legend {
	display: inline-block;
	width: 20px;
	height: 5px;
	margin: 0 10px 3px 2px;
}

#checks-container {
	float: left;
}

#checks-container h2 {
	font-size: 18px;
}

#checks-container label {
	color: #555555;
	font-size: 14px;
	line-height: 22px;
	padding: 6px 0 5px 0;
}

.input-group {
	margin: 7px 2px;
}

@media screen and (max-width: 480px) {
	#indicators, #indices {
		display: block;
	}
}

@media screen and (max-width: 577px) {
	#periods {
		display: none;
	}

	#periods-small {
		display: flex;
	}
}

/* checkboxes */

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
	position: absolute;
	left: -9999px;
}

[type="checkbox"]:not(:checked) + label span.check-mark,
[type="checkbox"]:checked + label span.check-mark {
	display: inline-block;
	position: relative;
	top: 4px;
	width: 18px;
	height: 17px;
	background-repeat: no-repeat;
	background-size: auto;
	margin-right: 10px;
}

[type="checkbox"]:not(:checked) + label span.check-mark {
	background-image: url(../images/checkbox-unchecked.svg);
}

[type="checkbox"]:checked + label span.check-mark {
	background-image: url(../images/checkbox-checked.svg);
}

/**/