html, body {
	font-family: 'Roboto', sans-serif;
	text-align: center;
	margin: 0;
	padding: 0;
	font-size: 11pt;
}

html {
	height: 100%;
}

body {
	transition: opacity 0.2s linear;
}

body.foggy {
	opacity: 0;
}

header {
	margin: 2vmin;
}

header> h1 {
	background: url(https://www.groundbreaking-ict.nl/images/icon-round.png) left center no-repeat;
	background-size: auto 100%;
}

h2 {
	font-size: 1.2em;
	margin: 0;
	text-align: center;
}

h3 {
	font-size: 1em;
	margin-bottom: 0;
	margin-top: 5px;
}

@media only screen and (max-width: 640px) {
	header {
		background-size: auto 10vw;
	}
	
	header > h1 {
		font-size: 3.3vw;
	}
	h2 {
		font-size: 3vw;
	}
	h3 {
		font-size: 3vw;
		font-weight: normal;
	}
	
	html, body {
		font-size: 9pt;
	}
}

body > div#ecdc {
	margin: 2vmin auto;
	display: inline-block;
	position: relative;
}

body.expertmap > div#ecdc {
	margin: 0;
	width: 100%;
}

footer {
	margin: 20px;
}

.explain {
	width: 80vw;
	max-width: 800px;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	border: 2px solid #159dd6;
	border-radius: 10px;
	padding: 20px;
	cursor: pointer;
	text-align: justify;
}

.explain.concepts {
	border-color: #ed3c4b;
}

.explain.math {
	border-color: #22CF83;
}

.explain > :first-child {
	text-align: center;
}

.blue {
	font-weight: bold;
	color: #1645c9;
}

.red {
	font-weight: bold;
	color: #c94141;
}

.grey {
	font-weight: bold;
	color: #c9c9c9;
}

.green {
	font-weight: bold;
	color: #22CF83;
}

.map {
	height: 40vw;
	max-height: 500px;
	width: 90vw;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

.nl > .map, .nlprov > .map, .nlmun > .map, .nlsewer > .map, .za > .map, .uk > .map {
	height: 80vw;
	max-height: 850px;
	max-width: 900px;
}

.fr > .map {
	height: 70vw;
	max-height: 700px;
	max-width: 700px;
}

.us > .map, .uscounties > .map {
	height: 50vw;
	max-height: 550px;
	max-width: 800px;
}

.europe > .map {
	height: 70vw;
	max-height: 650px;
	max-width: 800px;
}

.be > .map {
	height: 70vw;
	max-height: 650px;
	max-width: 800px;
}

.itprov > .map {
	height: 90vw;
	max-height: 700px;
	max-width: 700px;
}

.de > .map, .es > .map {
	height: 100vw;
	max-height: 1100px;
	max-width: 1000px;
}

.se > .map {
	height: 130vw;
	max-height: 1100px;
	max-width: 700px;
}

body.expertmap > div#ecdc .map {
	width: 100%;
	height: 40vw;
	max-width: 100%;
	max-height: 40vw;
}

.hover {
	text-align: center;
}

.mapcontrols {
	margin-left: auto;
	margin-right: auto;
	border-radius: 10px;
	background-color: rgba(255, 255, 255, 0.6);
	padding: 5px 3vw;
	width: 80vw;
	box-sizing: border-box;
}

body.expertmap .mapcontrols {
	width: 50vw;
}

@media only screen and (min-height: 500px) {
	.mapcontrols {
		z-index: 100000;
		-webkit-position: sticky;
		position: sticky;
		bottom: 10px;
	}
}

.mapcontrols > button {
	margin-right: 50px;
	vertical-align: middle;
}

.mapcontrols .day {
	display: flex;
	flex-direction: row;
	align-items: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.mapcontrols .day > .slider {
	flex: 1;
	margin: 0 40px;
}

.slider > .custom-handle {
	width: 60px;
	text-align: center;
	transform: translateX(-50%);
	margin: 0;
}

.datasource {
	font-style: italic;
	font-size: 0.8em;
	text-align: center;
	margin-bottom: 20px;
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.controls > input {
	width: 30px;
	margin: 1vmin;
}

input:not([type]) {
	text-align: center;
	width: 30px;
}

.controls > span {
	margin-right: 3vmin;
}

.controls > span:last-child {
	margin-right: 0;
}

.hide {
	display: none;
}

.explain > .legend > p {
	margin: 0;
}

.explain > p {
	margin-top: 0;
}

h2.hide {
	display: block;
}

.hint {
	font-size: 0.8em;
	font-style: italic;
}

.leaflet-div-icon {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
    background: transparent;
    border: none;
}

.marker {
	position: relative;
	color: white;
	transform: translate(-50%,-50%);
	text-align: center;
}

.marker .arrow {
	position: absolute;
	left: 50%;
	top: 50%;
	display: block;
	width: 1em;
	height: 1em;
	margin-top: -0.5em;
	line-height: 1;
}

table {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

tr:hover input {
	background-color: #ffaaaa;
}

table input {
	margin: 0 2px;
}

iframe {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.popup {
	position: absolute;
	font-family: 'Roboto', sans-serif;
	font-size: 11pt;
	margin: 5% 0;
	margin-top: 40px;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(255,255,255,0.9);
	color: black;
	z-index: 999999999;
	box-sizing: border-box;
	width: 90%;
	max-width: 90%;
	transition: all 0.2s linear;
}

.popup > :first-child {
	text-align: justify;
}

.popup > div.close {
	display: inline-block;
	float: right;
	border-radius: 2px;
	background-color: #c94141;
	color: white;
	padding: 0 3px;
}

.popup > h2 {
	margin-bottom: 10px;
}

.popup > button.close {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.popup.hide {
	display: inline-block;
	width: 25px;
	padding: 0;
	border-radius: 2px;
	right: 10px;
	left: auto;
	transform: none;
}

.popup.hide > * {
	display: none;	
}

.popup.hide > button.close {
	border: 0;
	font-size: 12pt;
	padding: 0 3px;
	background-color: transparent;
}

.newsarchive > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.newsarchive > ul > li > div {
	text-align: justify;
}

.share {
	margin: 20px;
}

.share a, div.lang > a {
	display: inline-block;
	padding: 0;
	width: 32px;
	height: 32px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.share a.twitter {
	background-image: url(../img/Twitter_Social_Icon_Circle_Color.png);
}

.share a.facebook {
	background-image: url(../img/Facebook-share-icon.png);
}

.share a.linkedin {
	background-image: url(../img/LinkedIn.png);
}

.share a.whatsapp {
	background-image: url(../img/WhatsApp.png);
}

.tools {
	display: flex;
    width: 80vw;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tools > div {
	flex: 1;
	border: 2px solid;
	border-radius: 10px;
	padding: 20px;
	margin: 10px;
	cursor: pointer;
}

.tools > div:first-child {
	margin-left: 0px;	
}

.tools > div:last-child {
	margin-right: 0px;	
}

.tools > div.growth {
	border-color: #22CF83;
}

.tools > div.model {
	border-color: #c94141;
}

.tools > div > div {
	margin-top: 10px;
	height: 200px;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}

.tools > div.growth > div {
	background-image: url(../img/growth-preview.png);
}

.tools > div.model > div {
	background-image: url(../img/model-preview.png);
}

.up {
	cursor: pointer;
}

.up:before {
	content: '⇦ ';
}

div.lang {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

div.lang > a {
	border-radius: 50%;
	opacity: 0.4;
	cursor: pointer;
}

div.lang > a.selected {
	cursor: default;
}

div.lang > a.selected, div.lang > a:hover {
	opacity: 1;
}

div.lang > a.en {
	background-image: url(../img/en.png);
}

div.lang > a.nl {
	background-image: url(../img/nl.png);
}

div.goodnews > div > :first-child:before, div.goodnews > div > :last-child:after,
.newsarchive > ul > li > div > :first-child:before, .newsarchive > ul > li > div > :last-child:after {
	font-size: 64px;
	font-weight: bold;
	display: inline-block;
	width: 40px;
	height: 40px;
	padding: 5px;
	background-color: #eee;
	text-align: center;
}

div.goodnews > div > :first-child:before, .newsarchive > ul > li > div > :first-child:before {
	content: '“';
	float: left;
	margin-right: 10px;
}

div.goodnews > div > :last-child:after, .newsarchive > ul > li > div > :last-child:after {
	content: '”';
	vertical-align: text-top;
	margin-left: 10px;
}

div.goodnews > div > ul > li, .newsarchive > ul > li > div > ul > li {
	margin-bottom: 20px;
}

div.goodnews > div img, .newsarchive > ul > li > div img {
	display: block;
	width: 100%;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	height: auto;
	margin: 20px;
}

span.author {
	display: block;
	font-size: 16pt;
	text-align: right;
	margin-bottom: 60px;
	margin-right: 30px;
}

span.author:before {
	content: '- ';
}

span.author.sandra {
	font-family: 'Marck Script', cursive;
}

span.author.cas {
	font-family: 'Permanent Marker', cursive;
	font-weight: bold;
}

.indicator {
	font-weight: bold;
	display: inline-block;
}

.indicator::first-letter {
	text-transform: capitalize;
}

.expertarea {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

.charts {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1000;
	height: 100%;
}

.charts.right {
	left: auto;
	right: 0;
}

.chart {
	width: 20vw;
	height: 32%;
	margin: 0;
	padding: 0;
}

.chart:last-child {
	height: 36%;
}

.chart .highcharts-background {
	fill: none;
}

.chart .highcharts-root {
	font-family: 'Roboto', sans-serif;
	background-color: rgba(255, 255, 255, 0.8);
	border: none;
	margin: 0;
	padding: 0;
}

.highcharts-title {
    font-size: 1.25em;
}

.highcharts-title > tspan::first-letter {
	text-transform: capitalize;
}

.popupcharts {
	width: 60vw;
	position: absolute;
	left: 15vw;
	top: -5vw;
	z-index: 200000;
	box-sizing: content-box;
	padding: 5vw;
	background-color: white;
	border: 1px solid #c9c9c9;
	border-radius: 5px;
}

.popupcharts .columns {
	column-count: 2;
}

.popupcharts .chart {
	width: 30vw;
	height: 300px;
}

.popupcharts .chart:last-child {
	height: 600px;
}

.measures-series {
	stroke: none;
}

body.expertmap .map .leaflet-bottom.leaflet-right {
	right: 50%;
	transform: translateX(50%);
}