/* custom fonts */

@font-face {
	font-family: 'Futura';
	src:	url('fonts/Futura-Light.woff2') format('woff2'),
			url('fonts/Futura-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}

/* Browser CSS overrulen - start */

html, body{
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	height: 100%;
	min-height: 100vh;
	width: 100%;
	margin: 0;
	border: 0;
	padding: 0;
	background: #fff;
	color: #000;
	font-family: 'Futura', 'Verdana', sans-serif;
	font-size: 1em;
	line-height: 1;
}

*, *:before, *:after{
	box-sizing: inherit;
}

body{
	display: flex;
	flex-direction: column;
}

h1{
	color: #666;
	font-family: 'Futura', 'Verdana', sans-serif;
	font-size: 1.75em;
	text-align: center;
	text-decoration: none;
}

h2{
	color: #666;
	font-family: 'Futura', 'Verdana', sans-serif;
	font-size: 1.5em;
	text-decoration: none;
}

h3{
	color: #000;
	font-family: 'Futura', 'Verdana', sans-serif;
	font-size: 1em;
	text-decoration: none;
}

a{
	color: inherit;
	text-decoration: none;
}

table{
	border: none;
	border-collapse: collapse;
}

tr{
	border: none;
}

td{
	border: none;
	padding: 10px;
}

@media(any-pointer){
	/* Een telefoonnummer willen we voorlopig nog geen kleur geven in een browser op de desktop. We doen dit niet zomaar met a[href^="tel:"], daar we zelf de keuze willen maken. */
	.phonenumberlink{
		color: inherit !important;
		text-decoration: none !important;
	}

/*	a[href^="tel:"]:before{
		content: "\260e";
		margin-right: 0.5em;
	}*/
}

.form_fieldset{
	margin: 0;
	border: 0;
	padding: 0;
}

.form_input_wrapper{/*input, textarea, button*/
	position: relative;
	height: 3em;
	width: 100%;

	margin: 20px 0;
	border: 1px solid #ccc;
	padding: 0;
	outline: none;

	background: #fff;
	color: #333;

	text-align: center;
	font-family: 'Futura', 'Verdana', sans-serif;
	font-size: 1em;

	transition: height 0.2s;
}

/*.form_input_wrapper.valid{
	border: 1px solid green;
}*/

.form_input_wrapper.invalid{
	border: 1px solid #a94442;
}

fieldset:disabled .form_input_wrapper{
	border: 1px solid #acacac;
}

.form_input_label{
	position: absolute;

	margin: 0.1em;
	border: 0;
	padding: 0.1em 0.2em;

	color: #acacac;

	text-align: left;

	font-family: 'Futura', 'Verdana', sans-serif;

	transition: top 0.5s, left 0.5s, transform 0.5s, font-size 0.5s;
}

.empty .form_input_label{
	top: 50%;
	left: 50%;

	font-size: 1em;

	transform: translate(-50%, -50%);
}

.valid .form_input_label, .invalid .form_input_label{
	top: 0;
	left: 0;

	font-size: 0.75em;
}

.form_input_label sup{
	color: #a94442;
}

.form_input_container{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
}

.valid .form_input_container, .invalid .form_input_container{
	top: 1.2em;
}

.valid textarea.form_input_container, .invalid textarea.form_input_container{
	padding: 0.2em;

	text-align: left;
}

.form_input{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	overflow-y: hidden; /* IE11 blijft scrollbar tonen */

	margin: 0;
	border: 0;
	padding: 0;
	outline: none;

	background-image: none;
	background-color: transparent;
	color: #333;

    box-shadow: none;

	font-family: inherit;
	text-align: center;

	resize: none;
}

.valid textarea.form_input, .invalid textarea.form_input{
	text-align: left;
}

.form_input:disabled{
	color: #acacac;
}

.form_input_error{
	position: absolute;
	top: 0;
	right: 0;

	margin: 0.1em;
	border: 0;
	border-radius: 0.3em;
	padding: 0.1em 0.2em;

	background: #a94442;
	color: #fff;

	font-size: 0.75em;
}

.empty .form_input_error, .valid .form_input_error{
	display: none;
}

.form_button{
	width: 100%;

	margin: 10px 0;
	border: 1px solid #ccc;
	padding: 10px 20px;
	outline: none;

	background: #ccc;
	color: #333;

	text-align: center;
	font-family: 'Futura', 'Verdana', sans-serif;
	font-size: 1em;
	font-weight: bold;

	cursor: pointer;
}

.form_button::-moz-focus-inner {
  border: 0;
}

.submitting .form_button{
	border: 1px solid #ccc;
	outline: none;

	background: #333;
	color: #fff;

	cursor: progress;
}

.submitted .form_button{
	border: 1px solid #ccc;
	outline: none;

	background: #66a012;
	color: #333;

	cursor: default;
}

.submitting #cnt-button-span-unsubmitted, .submitted #cnt-button-span-unsubmitted{
	display: none;
}

.unsubmitted #cnt-button-span-submitting, .submitted #cnt-button-span-submitting{
	display: none;
}

.unsubmitted #cnt-button-span-submitted, .submitting #cnt-button-span-submitted{
	display: none;
}

/* Browser CSS overrulen - end */

.hidden{
	display: none !important;
}

.vcenter{
	display: inline-block;
	height: 100%;
	width: 0;
	margin: 0;
	border: 0;
	padding: 0;
	vertical-align: middle;
}

.widescreenlimit{
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 1em;
}

#headwrapper{
	flex: 0 0 auto;
	height: 73px;

	background-image: url( 'backgrounds/header_bg.png' );
	background-repeat: repeat-x;
	background-position: top;
	color: #666;

	font-family: 'Futura', 'Verdana', sans-serif;
	/*font-weight: 100;*/

	user-select: none;
}

#headwrapperdummy{
	display: block;
	height: 73px;
}

.header{
	display: flex;
}

#headlogo{
	flex: 0 0 auto;
	height: 73px;
	z-index: 2;
}

.menuBtnWrapper{
	flex: 0 0 auto;
	margin: 6px 0 0 0;
	text-align: center;
}

.menuBtn{
	display: inline-block;

	overflow: hidden;
	border-radius: 3px;

	background: #666;
	cursor: pointer;
}

.menuBtnStroke{
	height: 4px;
	width: 22px;
	margin: 5px;
	border-radius: 2px;

	background: #ccc;
}

#ulLang li:hover{
	color: #fff;
}

@media screen and (max-width: 899px){ /* logo en menuknop naast elkaar */
	#headwrapper{
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1;
	}

	.topMenuClosed #headwrapper{
		position: relative;
		top: 0;
		left: 0;
		right: 0;
	}

	.topMenuClosed #headwrapperdummy{
		display: none;
	}

	.header{
		align-items: flex-start;
		justify-content: space-between;
	}

	#headerMenuWrapper{
		position: fixed;
		overflow-y: auto;
		top: 44px;
		bottom: 0;
		right: 0;
		width: 100%;

		background: rgba( 0 , 0 , 0 , 65% );

		transition: width 0s;
		transition-delay: 0s;
	}

	.topMenuClosed #headerMenuWrapper{
		width: 0px !important;
		transition-delay: 0.3s;
	}

	#headerMenu{
		position: absolute;
		overflow: hidden;
		top: 0;
/*		bottom: 0;*/
		right: 0;
		min-height: calc( 100vh - 44px );
		width: 300px;
		max-width: 90%;
/*		border-left: 1px solid #666;*/
		padding: 60px 10px 10px 10px;

		background: #e3e3e3;

		font-size: 1.2em;
		line-height: 2.8;
		text-align: center;

		transition: width 0.3s, padding 0.3s;
	}

	.topMenuClosed #headerMenu{
		width: 0px !important;
		border: 0px !important;
		padding: 0px !important;
	}

	#content{
		margin-top: 73px;
	}

	.topMenuClosed #content{
		margin-top: 0;
	}

	#ulMenu, #ulMenu li, #ulSm, #ulSm li, #ulLang, #ulLang li{
		display: block;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	#ulMenu li{
		flex: 0 0 auto;
	}

	#ulMenu a{
		display: block;
		margin: 0;
		padding: 4px;

		text-decoration: none;
	}

	#ulMenu a:hover{
		color: #fff;
	}

	#ulMenu hr{
		width: 30px;
		margin: 9px auto;
	}

	#ulSm, #ulLang{
		display: flex;
		justify-content: center;
		height: 70px;
	}

	#ulSm li, #ulLang li{
		margin: 0 1em;
	}

	#ulSm a, #ulLang a{
		display: inline-flex;
		vertical-align: middle;
	}

	#ulSm li > a > img{
		height: 32px;
		width: 32px;
	}

	#ulMenu{
		display: flex;

		flex-direction: column;
	}
}

@media screen and (min-width: 900px){ /* alles naast elkaar en menu volledig opengeklapt */
	#headlogo{
		margin: 0 50px 0 0;
	}

	.menuBtnWrapper{
		display: none;
	}

	#headerMenuWrapper{
		flex: 1 0 auto;
		height: 45px;
	}

	#headerMenu{
		display: flex;
		height: 100%;
		width: 100%;

		font-size: 1em;
	}

	#ulMenu{
		flex: 0 0 auto;
		display: flex;
		height: 100%;
		margin: 0;
		border: 0;
		padding: 0;
	}

	#ulMenu li{
		flex: 0 0 auto;
		display: inline-block;
		height: 100%;
		margin: 0;
		border: 0;
		border-left: 1px solid #ccc;
		padding: 0;
		vertical-align: middle;
	}

	#ulMenu li:last-of-type{
		border-right: 1px solid #ccc;
	}

	#ulMenu a{
		display: inline-block;
		height: 100%;
		padding: 0 1em;
		vertical-align: middle;
	}

	#ulMenu a:hover, #ulMenu .active a{
		background: #fff;
	}

	#ulMenu hr{
		display: none;
	}

	#ulSm{
		flex: 0 0 auto;
		display: flex;
		margin: 0 0 0 1em;
		border: 0;
		padding: 0;
	}

	#ulSm li{
		display: inline-block;
		margin: 0 6px;
		border: 0;
		padding: 0;
		vertical-align: middle;
	}

	#ulSm li > a{
		display: inline-flex;
		margin: 0;
		border: 0;
		padding: 0;
		text-decoration: none;
		outline: none;
		vertical-align: middle;
	}

	#ulSm li > a > img{
		height: 20px;
		width: 20px;
	}

	#ulLang{
		flex: 1 0 auto;
		display: flex;
		justify-content: flex-end;
		margin: 0;
		border: 0;
		padding: 0;
	}

	#ulLang li{
		display: inline-block;
		margin: 0 6px;
		border: 0;
		padding: 0;
		vertical-align: middle;
	}

	#ulLang li:first-of-type{
		margin: 0 6px 0 0;
	}

	#ulLang li:last-of-type{
		margin: 0 0 0 6px;
	}

	/*#ulLang li:after{
		content: ' | ';
	}

	#ulLang li:last-child:after{
		content: '';
	}*/

	#ulLang li > a{
		display: inline-block;
		margin: 0;
		border: 0;
		padding: 0;
		text-decoration: none;
		outline: none;
	}
}

#content{
	flex: 1 0 auto;
}

#content a[href]{
	color: #666;
	text-decoration: underline;
}

#mapwrapper a[href]{
	color: initial;
	text-decoration: initial;
}

#footer{
	box-sizing: border-box;
	width: 100%;
	padding: 2em 1em;
	text-align: right;
	font-size: 1em;
	color: #666;
}

@media screen and (max-width: 539px){
	#footer span > span{
		display: block;
	}
}

@media screen and (min-width: 540px){
	#footer span > span:after, #footer span > a:after{
		content: ' - ';
	}

	#footer span:last-of-type > span:last-of-type:after{
		content: '';
	}
}

@media screen and (min-width: 540px) and (max-width: 844px){
	#footer > span{
		display: block;
		padding: 2px 0;
	}

	#footer span > span:last-of-type:after{
		content: '';
	}
}

#footer a{
	text-decoration: none;
	color: inherit; 
}

.webdesign{
	font-size: 0.75em;
}

div#mapwrapper{
	width: 100%;
	height: 450px;
	max-height: 100vh;
	user-select: none;
}

div#projectenwrapper{
	display: flex;
	margin: 0 -8px 0 0;
	flex-wrap: wrap;
	align-content: flex-start;
}

div#projectenwrapper a{
	display: inline-block;
	margin: 0 8px 8px 0;

	overflow: hidden;
}

@media screen and (min-width: 1240px){/* 4 realisaties naast elkaar */
	/* 4 afbeeldingen naast elkaar */
	div#projectenwrapper a{
		width: calc(25% - 8px);
/*		width: calc(25% - 6px);*/
	}

/* https://stackoverflow.com/questions/26057925/select-odd-even-child-excluding-the-hidden-child */
/*	div#projectenwrapper a:not([hidden]):nth-of-type(4n) {
		margin-right: 0;
	}*/
}

@media screen and (min-width: 940px) and (max-width: 1239px) {/* 3 realisaties naast elkaar */
	/* 3 afbeeldingen naast elkaar */
	div#projectenwrapper a{
		width: calc(33.33% - 8px);
/*		width: calc(33.33% - (16px/3));*/
	}

/*	div#projectenwrapper a:not([hidden]):nth-of-type(3n) {
		margin-right: 0;
	}*/
}

@media screen and (min-width: 640px) and (max-width: 939px) {/* 2 realisaties naast elkaar */
	/* 2 afbeeldingen naast elkaar */
	div#projectenwrapper a{
		width: calc(50% - 8px);
/*		width: calc(50% - 4px);*/
	}

/*	div#projectenwrapper a:not([hidden]):nth-of-type(2n) {
		margin-right: 0;
	}*/
}

@media screen and (max-width: 639px) {/* alle realisaties onder elkaar */
	/* alle afbeeldingen onder elkaar */
	div#projectenwrapper a{
		width: 100%;
/*		margin-right: 0;*/
	}
}

/*div#projectenwrapper a:hover img {
  transform: scale(1.15);
}*/

img.projectoverviewimg{
	width: 100%;
	transition: transform .2s ease-in-out;
}


.mailnotification{
	font-weight: bold;
}

.introParagraph{
	text-align: center;
	font-size: 1.25em;
}

.fullwidthbanner{
	margin: 3em 0;

	background-image: url( 'banners/contact_bg.png' );
	background-size: contain;
	background-repeat: repeat-x;
	background-position: top;

	user-select: none;
}

.bannerWrapper{
	text-align: center;
}

.bannerImg{
	max-height: 222px;
	max-width: 100%;
}