@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');

@font-face {
	font-family: Bold;
	src: url(../fonts/Montserrat-Bold.otf);
}

@font-face {
	font-family: Light;
	src: url(../fonts/Montserrat-Light.otf);
}

@font-face {
	font-family: Medium;
	src: url(../fonts/Montserrat-Medium.otf);
}

@font-face {
	font-family: SemiBold;
	src: url(../fonts/Montserrat-SemiBold.otf);
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Raleway';
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}

h1 {
	font-family: Bold;
	/*margin-bottom: 240px;*/
}

h1 i {
	color: #2e70a9;
}

p i {
	color: #cd1619;
}

i {
	margin-right: 6px;
}

ul {
	list-style-position: inside;
	list-style-type: none;
	margin-left: 1em;
}

p {
	margin-left: 26px;
}

p,
li {
	color: #333;
	font-family: Light;

}


a {
	text-decoration: none;
	color: lightgray;
	padding: 2px;
}

/*navigation*/
.Logo > a > img {

	display: flex;
	padding-top: 5%;
	width: 25%;
	margin-left: auto;
	margin-right: auto;
}

/*nav > ul > li:nth-child(1) {
	padding-left: 15px;
}

nav > ul > li:nth-child(3) {
	padding-right: 15px;
}*/

nav {
	margin-bottom: 34px;
}

nav > ul {
	display: flex;
	justify-content: center;
	margin-right: 3%;
	flex-wrap: wrap;
}

nav ul > li {
	list-style: none;
	font-size: 16px;
	border-top: 2px solid #999999;
	padding-top: 20px;
	cursor: pointer;
}

nav ul li a::after {
	content: "/";
}

nav ul li:last-child a::after {
	content: "";
}

nav li a {
	color: #999999;
	display: block;
	text-decoration: none
}

/*4column*/
figure {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	margin-left: 15%;
	margin-right: 15%;
}

/*
.mainText {
    padding: 0;
    margin: 0;
    margin-top: 5%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin-left: 15%;
    margin-right: 15%;
}*/

.flex-item {
	background: #999999;
	color: white;
	font-weight: bold;
	font-size: 3em;
	text-align: center;
	margin: 1em;
	flex: 1 1 auto;
	outline: 1px solid darkred;
	flex-basis: 10%;
}

figure div {
	display: inline-block;
	/* filter: url(filters.svg#grayscale); Firefox 3.5+ */
	filter: gray;
	/* IE5+ */
	-webkit-filter: grayscale(1);
	/* Webkit Nightlies & Chrome Canary */
	-webkit-transition: all .1s ease-in-out;

	/* voor creëren vierkant 50% 50% centers image in div */
	width: 150px;
	height: 150px;
	margin: 25px;
	margin-top: 13vh;
	margin-bottom: 0;
}

figure div:hover {
	filter: grayscale(0);
	transform: scale(1.01);
	-webkit-filter: grayscale(0);
	-webkit-transform: scale(1.01);
	-moz-filter: grayscale(0);
	-moz-transform: scale(1.01);
}

figcaption {
	margin-left: 30px;
	font-size: 12px;
}

figure .home1 {
	background: url(../img/boom.png) 50% 50% no-repeat;

}

figure .home2 {
	background: url(../img/atelier2.JPG) 50% 50% no-repeat;
}

figure .home3 {
	background: url(../img/voet2home.jpg) 50% 50% no-repeat;
}

figure .home4 {
	background: url(../img/huis.JPG) 50% 50% no-repeat;
}

main > div {
	margin-left: 2%;
	margin-bottom: 10px;
}

main article.obis {
	padding: 2%;
}

main section {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

main article.obis section {
	border-left: 2px solid black;
	display: flex;
	flex-direction: column;
	padding: 10%;
}

main figure {
	padding-top: 10vh;
}

main figure ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
}

main figure ul li {
	width: 18%;
	padding: 2%;
	border-right: 1px solid #ddc;
	border-bottom: 1px solid #ddc;
	flex: 1;
	min-width: 30%;

}

main figure#galerij ul li {
	min-width: 20%;
	cursor: pointer;
}

main figure ul li.laatste {
	border-right: 0;
}

main figure ul + ul li {
	border-bottom: 0;
}

main figure ul li img {
	display: block;
}

main figure ul + ul {
	margin-bottom: 32px;
}

section aside {
	width: 60%;
	display: flex;
	align-items: center;
}

section aside img {
	width: 80%;
}

main aside .arrow-up {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;

	border-bottom: 5px solid black;
	cursor: pointer;
}

main aside .line {
	border-left: 2px solid gray;
	height: 200px;

}


main aside .arrow {
	display: block;
}

main aside .arrow-down {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;

	border-top: 5px solid #000;
	cursor: pointer;
}

main aside div.arrow {
	position: absolute;
	left: 1px;
	right: 5px;
	padding-left: 5%;
	padding-top: 3%;
	width: 50vw;
}

main aside div.line {
	position: relative;
	left: 4px;
	margin-top: 1%;
	margin-bottom: 1%;

}

main aside .arrow p {
	transform: rotate(-90deg);
	position: absolute;
	bottom: 20%;

}

section aside #hier {
	max-height: 80vh;
	max-width: 80%;
	width: auto;
}

main + aside article {
	padding-left: 20%;
	padding-right: 20%;
	padding-top: 10%;
	display: flex;
	border: none;
}

/*voeten kleiner dan andere foto's*/
.voet {
	width: 40%;
}

main + aside form {
	flex-direction: row;
	width: 100%;

}

main + aside article input {
	font-family: 'Raleway';
	padding: 3%;
}

iframe {
	width: 100%;
}

.nul {
	margin-left: 0;
}

article {
	margin: 30px 0;
}

article li:before {
	content: "";
	border-color: transparent #bbb;
	border-style: solid;
	border-width: 0.35em 0 0.35em 0.45em;
	display: block;
	height: 0;
	width: 0;
	left: -1em;
	top: 0.9em;
	position: relative;

}

/*			NOUSCA kalender			*/
main.flex {
	display: flex;
	flex-wrap: wrap;
}

main.flex article {
	width: 29%;
	margin: 2%;
	padding: 2%;
	border: 2px solid black;
}

main.flex article h2 {
	font-family: SemiBold;
	font-size: 1.2em;
	color: black;
}

main.flex article h1 {
	font-family: Bold;
	font-size: 1.5em;
	color: #BC2B27;
}

main.flex article h3 {
	font-family: Medium;
	font-size: 0.8em;
	color: black;
}

article > form {
	margin-top: 110px;
}


form legend {
	font-family: Montserrat extralight;
	font-size: 0.5em;
	margin-left: 2%;
}

form input,
button {
	width: 80%;
	margin: 2%;
	border: 0.25px solid black;
	padding: 2% 0 2% 4%;
	cursor: pointer;
}


form {
	position: relative;
	width: 60%;
	height: 200px;
	display: flex;
	align-items: start;
	justify-content: center;
	flex-direction: column;
	color: #969696;
	/*! margin-top: 160px; */
}

form:before,
form:after,
form > :last-child:before,
form > :last-child:after {
	position: absolute;
	width: 120px;
	height: 70px;
	border-color: black;
	border-style: solid;
	content: ' ';
	z-index: -100;
}

form:before {
	border-width: 0;
}

form:after {
	top: -200px;
	right: 0;
	border-width: 1px 1px 0 0;
}

form > :last-child:before {
	border-width: 0;
}

form > :last-child:after {
	border-width: 0;
}

form a {
	color: black;
}

form section {
	display: flex;
	align-content: space-between;
	margin: 2%;
	width: 100%;
	flex: auto;
	margin-top: 0;
	justify-content: space-between;
}

form fieldset {
	position: relative;
	width: 46%;
	height: 200px;
	display: flex;
	align-items: start;
	justify-content: center;
	flex-direction: column;
}

fieldset h2 {
	margin: 0;
	margin-bottom: 12px;
}

fieldset input {
	margin-left: 0;
}

form button,
form input[type=submit] {
	color: #cd1619;
	border: 2px solid #cd1619;
	padding: 2%;
	width: 50%;
	margin-left: 50%;
	margin-top: 10%;

}

form button:hover,
form input[type=submit]:hover {
	color: white;
	background-color: #cd1619;
	border: 2px solid #cd1619;
	transition: 1s;
}

form textarea {
	width: 100%;
	height: 100%;
	font-family: 'Raleway';
	resize: none;
}

.onder {
	margin-top: 3%;
	margin-left: 10%;
}


footer {
	display: flex;
	margin-bottom: 30px;
	padding: 5px 0;
}

footer a {
	text-decoration: none;
	text-align: center;
	margin: auto;
	display: flex;
	align-items: center;
}

footer a:hover {
	color: #2e70a9;
}

footer i.fa-facebook-f {
	color: #2e70a9;
	font-size: 12px;
}

footer i {
	color: lightgray;
}

.home footer {
	position: fixed;
	bottom: 0;
	width: 100%;
}


/* toegevoegd */



section + section {
	flex-direction: column;
}

section article {
	width: 55%;
}





@media screen and (min-width: 480px) {

	nav input,
	nav span {
		display: none;
	}

}

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

	nav ul > li {
		border: none;
	}

	div.Logo {
		border-bottom: 2px solid #999999;
	}

	.home footer {
		position: static;
		bottom: 0;
		width: 100%;
	}

	section aside,
	section article {
		width: 100%;
	}

	main + aside form {
		flex-direction: column;
	}

	figure {
		width: 100%;
		margin: 0;
	}

	figure ul {
		margin-left: 0;
	}

	main figure ul li {
		min-width: 50%;
	}

	/*kalender in 2 kolommen*/
	main.flex article {
		width: 46%;
	}

}

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

	.static {
		width: 90%;
	}




	figure div {
		margin-top: 0px;
		width: 140px;
		margin: 15px;
		height: 140px;
		margin-bottom: 0;
	}

	/*Mobile navigation Bryce*/
	nav {
		display: none;
	}

	.Logo > a > img {
		width: 50%;
	}

	nav {
		display: block;
		position: relative;
		top: 70px;
		/*		left: -15px;*/
		z-index: 1;
	}

	nav a {
		text-decoration: none;
		color: #232323;
		transition: color 0.3s ease;
	}

	nav input {
		display: block;
		width: 45px;
		height: 40px;
		position: absolute;
		top: -130px;
		left: 85%;
		cursor: pointer;
		opacity: 0;
		z-index: 2;
	}

	nav span {
		display: block;
		width: 33px;
		height: 4px;
		margin-bottom: 5px;
		position: relative;
		top: -120px;
		left: 85%;
		background: #cdcdcd;
		border-radius: 3px;
		z-index: 1;
		transform-origin: 4px 0px;
	}

	/*cross for close*/
	nav span:first-child {
		transform-origin: 0% 0%;
	}

	nav span:nth-last-child(2) {
		transform-origin: 0% 100%;
	}

	nav input:checked ~ span {
		opacity: 1;
		transform: rotate(45deg) translate(-2px, -1px);
		background: #232323;
		left: 85%;
	}


	nav input:checked ~ span:nth-last-child(3) {
		opacity: 0;
		transform: rotate(0deg) scale(0.2, 0.2);
	}


	nav input:checked ~ span:nth-last-child(2) {
		transform: rotate(-45deg) translate(0, -1px);
	}

	/*end cross mark*/

	nav ul {
		position: fixed;
		width: 300px;
		margin: -70px 0 0 150px;
		padding: 50px;
		padding-top: 55px;
		padding-right: 70px;
		text-align: right;
		flex-direction: column;


		background: #ededed;
		list-style-type: none;
		-webkit-font-smoothing: antialiased;
		/* to stop flickering of text in safari */

		transform-origin: 0% 0%;
		transform: translate(150%, 0);

		transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);

		margin: 0;
		margin-top: -97px;
	}

	nav ul li {
		padding: 10px 10px 0 0;
		font-size: 22px;
		border: none;
		padding-right: 0px;
	}

	nav ul li a::after {
		content: "";
	}

	nav input:checked ~ ul {
		transform: translate(40%, 0);
	}

	figcaption {
		margin-left: 15px;
		font-size: 7px;
	}

	main section {
		flex-direction: column;
	}

	main > div > a > span{
		font-size: 30px;
	}


	main article.obis section {
		padding-left: 5%;
	}

	section aside,
	section article {
		width: 100%;
	}

	main + aside form {
		flex-direction: column;
	}

	main figure ul li {
		min-width: 100%;
	}

	form fieldset,
	form input {
		width: 100%;
	}


	p {
		margin-left: 0;
	}

	/*kalender in 1 kolom*/
	main.flex article {
		width: 100%;
	}
}
