/* Reset
------------------------------------------------------------ */
* { margin: 0; padding: 0; }
html {height: 100%; overflow-y: hidden; overflow-x: hidden}/*Ipad scroll fix*/
body {height: 100%; overflow-y: scroll;color: #000; font-family: 'Open Sans', sans-serif}
ol, ul { list-style: none; margin: 0;}
ul li { margin: 0; padding: 0;}
a, img { outline: none; border:none; color: #000;}
p { margin: 0 0 18px; line-height: 1.5em; font-size: 1.0em;}
img { display: block; margin-bottom: 10px;}
#main, #fullmain, aside {line-height: 1.5em; font-size: 1.5em;}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display: block;
	}


body {

		background-color: transparent !important;
		font-size: 12px !important;

	}

html { 
	background: url('../../images/ag.png') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

}
		
#page-wrap {
	display: table;
	/*box-shadow:8px 8px 15px 12px rgba(0, 0, 0, 0.35);*/
	padding: 8% 8em 5em 15%;
	max-width: 1750px;	
	margin: 50px auto; 

}




#wrappertop{
	position: fixed;
	top: 0;
	width: 100%;	
	margin: auto;
	/*background-color: rgba(255,255,255, 0.8);
	box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.15);*/
	height:4.2rem;
	z-index: 5;


	} 



.text
{
	position: relative;
	/*display: table;*/
	height: 100%;
	background-color: rgba(190,190,190, 0.7);
	-moz-box-shadow: 0 0 20px black; 
	-webkit-box-shadow: 0 0 20px black; 
	box-shadow: 0 0 20px black; 
	padding: 5em 5em 2em 5em;
	overflow: auto;
	width: 100%;



}


#main, #main2 {
		width: 58%;
		margin: 0;
		float: left;
		padding:0 0 2em 0;

		
		}	
#fullmain,#fullmain2
{
		min-width: 98%;
		margin: 0;
		float: left;
		padding:0 0 0 0;
		
		}

#fullmain ul,
#main ul, aside ul{	
	margin: 17px 0 17px 0;
	padding: 0 0 0 0;
	border: 0;	
}
#fullmain li,
#main li, aside li
{
	margin: 0 0 0 18px;
	padding: 0 0 0 0;
	border: 0;
	list-style-type: square;
	text-decoration: none;
	list-style-position : outside;
}
aside img {
		width: 90%;
		max-width:450px;
		margin: 1em 2em 3em 0;
		padding:0;
		clear: both;

}
#fullmain,
#main img {
		width: 90%;
		max-width:720px;
		margin: 1em 2em 3em 0;
		padding:0;
		clear: both;

	
}

aside {
		width: 35%;
		margin: 0;
		float: right;
		padding: 0em 0 2.0em 0;

		}


aside img, main img{
	display: inline;
	max-width: 2.8rem;
	padding: 0.5em 0.3rem 0.3rem 0;
	margin: 0;
	position: relative;
	transition: all .1s ease-in-out; 
	}

aside img:hover,main img:hover { 
	transform: scale(1.09);
	/*box-shadow: 0 5px 15px rgba(0,0,0,0.4);*/
  -webkit-filter: brightness(195%);
  filter:brightness(115%);
}
/*en*/
#zoek{
	position: absolute;
	top: 1%;
	right: 10%;
	
	
}
a.zoek{color: #005B8B; 

	margin-left: 3.35em;
	background: url('../../img/zoek.png') 100% 20% no-repeat;
	padding: 0.3em 1.9em 0.7em 0;
}


.btn-outline-secondary
{
	margin: 0.5em 0 0 0;
	background-color: transparent;
	font-family: 'Merriweather', serif;	
	font-size: 0.9em;
	color: #3c6758;
	font-weight: 600;
	padding: 0.25em 1em;
	border: 2px solid #3c6758;
  	border-radius: 5px;

}

.btn-outline-secondary:hover
{
	background-color: #3c6758;
	color: #fff;

	box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2);
	border-color: transparent;
		transition:0.5s all;
	-webkit-transition:0.5s all;
	-ms-transition:0.5s all;
	-o-transition:0.5s all;
	-mz-transition:0.5s all;
}

.btn-outline-secondary::after{
 display: none;
  font-family: "Font Awesome 5 Solid"; 
	content: "\f061";
 
  }



/*form*/
.form{ 
	background: /*#0091cd*/#bcbdc0;
padding: 1em 2em 7em 2em}

.form input[type="text"] {
	width: 100%;
	color: #000;
	outline: none;
	font: 1.15em Arial, helvetica, sans-serif;
	letter-spacing: 0.1px;
	padding: 0.2em;
	margin: 0.3em 0;
	border: solid 0px #7D7D7D;
	border-radius: 5px;
	-webkit-appearance: none;
}

.form select

{	border: 0px solid #41ad49;
	width: 100%;
	color: #666667;
	outline: none;
	font: bold 1.15em Arial, helvetica, sans-serif;
	padding: 0.3em 0.2em;
	margin: 0.3em 0;
	border-radius: 5px;
	/*-webkit-appearance: none;*/
}
.form textarea {
	resize: none;
	color: #000;
	width: 100%;
	outline: none;
	padding: .2em;
	font: 1.15em Arial, helvetica, sans-serif;
	border: solid 0px #7D7D7D;
	margin: 0.5em 0;
	min-height: 80px;
	 border-radius: 5px;
	-webkit-appearance: none;
}
.form input[type="submit"]{
	font: 1.2em Arial, helvetica, sans-serif;
	background-color: transparent;
	text-transform: uppercase;
	color: #41ad49;
	font-weight: 600;
	letter-spacing: 1px;
	border: 2px solid #41ad49;
  	border-radius: 5px;
	margin: 0.3em 0;
	padding: 0.15em 0;
	-webkit-appearance: none;
	float: right;
	width: 50%;
}

.form input[type="submit"]:hover
{
	background-color: #41ad49;
	color: #fff;
	transition:0.5s all;
}
#code
{
	width: 50%;
	float: right;

}



 h1,h2  {
	font-family: 'Merriweather', serif;	 
	color: #05413d;
	 font-style: italic;
	font-size: 2.5em;
	line-height: 1.6em;
	padding: 0;
	margin: 0 0 0.6em 0;

 }

h3{	
	font-family: 'Merriweather', serif;	 
	color: #05413d;
	font-style: italic;
	font-size: 1.5em;
	font-weight: 600;
	line-height: 1.6em;
	padding: 0;
	margin: 0.8em 0 1.0em 0;
}
h4{	
	
	font-family: 'Merriweather', serif;	 
	color: #05413d;
	font-style: italic;
	display: block;
	font-size: 1.10em;
	font-weight: 600;
	line-height: 1.6em;
	padding: 0;
	margin: 0 0 0.25em 0;
	width: 90%
}	
 
b, strong{
		font-family: 'Merriweather', serif;	 
	font-size: 120%;
	line-height: 1.4em;

 }
 
i{
	font-size: 0.9em;
	padding: 0 0 0 3px;
}
a{color: #02322f;text-decoration: none;}
a:hover{color: #654d1e;text-decoration: none;}
a:active{color: #005b8a; text-decoration: none;}




/*agenda*/
div.downloadlink a

{
	color: #0091cd;
	padding: 0.1em  0.6em  0.1em 1.6em;
	margin: 0;
	background: url('../../img/meer.png') 5px -5px no-repeat; 

}
div.downloadlink a:hover{background: url('../../img/meer.png') 5px -5px no-repeat;}



/* Logo H1 */
	

#naw {

	position: absolute;
	top: 0;
	/*left: 11%;*/
	right: 70%;
	padding: 0 1.3% 2.5% 1.3%;
	width: 20%; 
	max-width: 280px;
	height: auto;
	z-index: 6;
	margin: auto;


}
#naw img {
	width: 100%;
  	padding: 0 2px 2px 2px;
  	margin: 0;
	box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.50);
}

/* Nav */

.menu{display: none;}
#navcontainer
{
	height: 5.8em;
	position: relative;
	top: -1px;
	left: 0;
	z-index: 4;
	margin: auto;
	text-align: middle;
	display: block;



	

}
#nav
{
	width: 100%;	
	max-width: 1100px;
	margin: auto;
	padding: 0;
	font-family: 'Merriweather', serif;
	font-weight:600;
	position: relative;
	top: 0;
	text-transform: lowercase;
	}

#nav > a
{
	display: none;

}

#nav li
{
	position: relative;
	
}
#nav li a
{
	color: #414142;
	display: block;
	text-decoration: none;
	margin-left: 0;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);

}
#nav li a:active,
#nav li a#current
{
	color: #5b6fa4;
	border-left: 1px dotted #5a73b5;
	background-color: transparent
}

#nav span:after
{
	width: 0;
	height: 0;
	/*border: 0.313em solid transparent; /* 5 *//*
	border-bottom: none;
	border-top-color: #000;
	content: '';*/
	content: "\002B";
	/*vertical-align: middle;*/
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}

#nav li a#current span:after
{
	width: 0;
	height: 0;
	/*border: 0.313em solid transparent; /* 5 *//*
	border-bottom: none;
	border-top-color: #000;
	content: '';*/
	content: "\002B";
	/*vertical-align: middle;*/
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}
#nav a:hover span:after
{
	width: 0;
	height: 0;
	/*border: 0.313em solid transparent; /* 5 *//*
	border-bottom: none;
	border-top-color: #000;
	content: '';*/
	content: "\002B";
	/*vertical-align: middle;*/
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}
/* first level */

#nav > ul
{
	height: 5.8em; /* 60 */

}
#nav > ul > li
{
	/*width: 10.1%;*/
	height: 100%;
	float: left;
	left: 10%;


}
#nav > ul > li > a
{
	height: 3.55em;
	padding: 0 3.5em;
	font-size: 160%; /* 24 */
	line-height: 3.7em; /* 60 (24) */
	text-align: center;
	border-right: 1px dotted #5a73b5;


}
#nav > ul > li:not( :last-child ) > a
{
	border-right: 1px dotted #41ad49;


}

#nav > ul > li:hover > a,
#nav > ul:not( :hover ) > li.active > a
{
	transition:0.5s all;
	-webkit-transition:0.5s all;
	-ms-transition:0.5s all;
	-o-transition:0.5s all;
	-mz-transition:0.5s all;
	background-color: rgba(79,140,106, 0.7);
	color: #fff

}


/* second level */
#nav li ul
{
	background-color: rgba(255,255,255, 0.8);
	display: none;
	position: absolute;
	top: 100%;
	margin-left: 0
}
#nav li:hover ul
{
	display: block;
	left: 0;
	right: 0;
}
#nav li:not( :first-child ):hover ul
{
	left: 0px;
}
#nav li ul a
{
	font-size: 1.2em; /* 20 */
	border-bottom: 1px dotted #bcbdc0;
	padding: 0.6em 0.5em 0.5em 0.9em; /* 15 (20) */;
	color: #414142;
}
#nav li ul li a:hover,
#nav li ul:not( :hover ) li.active a
{
	color: #fff;
	border-bottom: 1px dotted #bcbdc0;
	background-color: #4f8c6a; 
	transition:0.5s all;
	-webkit-transition:0.5s all;
	-ms-transition:0.5s all;
	-o-transition:0.5s all;
	-mz-transition:0.5s all;
}

/* Media Queries */
@media (max-width:1960px){
body 
{
	font-size: 80%; /* 12 */

}
	#naw {

	position: absolute;
	top: 0;
	/*left: 11%;*/
	right: 80%;
	padding: 0 1.3% 2.5% 1.3%;
	width: 25%; 
	max-width: 280px;
	height: auto;
	z-index: 6;
	margin: auto;


}
	#wrappertop{
		height: 4.50em;	
		
	}
/* first level */
	
#nav > ul > li > a
{
	height: 3.30em;
	padding: 0 3.5em;
	font-size: 140%; /* 24 */
	line-height: 3.5em; /* 60 (24) */
	}
#main, #fullmain, aside{
	font-size: 125%; /* 12 */
	}
#page-wrap 
	{	
	padding: 13% 5em 0 16%;
		
	}
	
/*carousel*/
#carouselExampleControls{
	top: -10em;
	max-width: 800px;
 /* -ms-transform: rotate(-2deg); IE 9 
  transform: rotate(-2deg);*/
}	
#naw {
	
	width: 17%; 
	left: 2%;
}
	
	
}

@media screen and (max-width:1024px) {

html { 
	background: url('../../images/ag_paard.png') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

}
.text
{
	padding: 5em 3em 2em 3em;
	}
@media screen and (max-width: 870px) {
html, body
{
	font-size:80%; /* 12 */

}
#naw {

	position: absolute;
	top: 0;
	/*left: 11%;*/
	right: 90%;
	padding: 0 1.3% 2.5% 1.3%;
	width: 18%; 
	max-width: 280px;
	height: auto;
	z-index: 6;
	margin: auto;


}

#wrappertop{

	background-color: transparent;
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);


	} 


.menu{
	display: block;
	position: absolute;
	top: 0;
	left:0;
	color: #41ad49;
	font-weight: 600;
	text-transform: uppercase;

	}
#navcontainer
{

	top: 0em;
	}	
#nav > a
{
	width:  3.8em; /* 50 */
	height: 5.0em; /* 50 */
	text-align: left;
	font-family: 'Open Sans', sans-serif;
	color: #444545;
	font-weight: 600;
	font-size: 0.8em;
	line-height: 3.0em;
	text-transform: uppercase;
	background: url('../../img/icon.png') 70% 79% no-repeat; 
	position: relative;
	float: right;
	top: 0;
	right: 1.5em;
	padding: 0 0;
	z-index: 100;


}
#nav > a:before,
#nav > a:after
{
	position: absolute;
	border: 0px solid #fff;
	top: 0%;
	left: 0;
	right: 0;
	content: '';


}
#nav > a:after
{
	top: 60%;
	
}
#nav span:after
{
		border-top-color: #000;
}
#nav a:active span:after
{
		border-top-color: #000;
}	
#nav:not( :target ) > a:first-of-type,
#nav:target > a:last-of-type
{
	display: block;
}

#nav li a
{

	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.0);

}	
/* first level */
	
#nav li a:active,
#nav li a#current
{

	border-bottom: 1px dotted #5b6fa4;
	font-weight: 700;
	border-left: 0px dotted #5a73b5;
}	

#nav > ul
{
	height: auto;
	display: none;
	position: absolute;
	top: 0;
	right: -2em;
	width: 55%; 
	border-top: 0px dotted #a61874;
	background-color: rgba(255,255,255, 0.9);
	box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.15);
	padding: 1em 0 3em 0;
	z-index: 1;
}
#nav:target > ul
{
	display: block;
}
#nav > ul > li
{
	width: 100%;
	float: none;
	left: 0
}	
	
#nav > ul > li > a
{
	height: 3em;
	line-height: 3em;
	text-align: left;
	padding:0; /* 20 (24) */
	margin: 0 2em;
	border-right: 0px dotted #41ad49;
	border-bottom: 0px solid #fff;

}
#nav > ul > li:not( :last-child ) > a
{
	border-right: none;
	border-bottom: 1px dotted #000;
}
#nav > ul > li:hover > a,
#nav > ul:not( :hover ) > li.active > a
{
	/*background-color: #02a6ea;*/
	transition:0.5s all;
	-webkit-transition:0.5s all;
	-ms-transition:0.5s all;
	-o-transition:0.5s all;
	-mz-transition:0.5s all;
	color: #4f8c6a;
	background-color: transparent;	

}


/* second level */

#nav li ul
{
	position: static;
	padding: 1.25em 0 0 0; /* 20 */
	padding-top: 0;
	margin: 0 3em;
	background-color: transparent;
	}
	

#nav li ul > li > a::before {
    content: "\25B8";
    margin-right: 0.4em; 
	
  }
	
#nav li ul a
{


	border-bottom: 1px dotted #5b6fa4;
	border-top: none;
	padding: 0.5em 0.5em 0.5em 1.3em;
	font-size: 1.2em;
}
	
	

#nav li ul li a:hover,
#nav li ul:not( :hover ) li.active a
{
	color: #4f8c6a;
	background-color: transparent;
	
}
	
/*EINDE MENU*/
	

header, #fullmain,
#main, #main2, aside {
		float: left;
		clear: left;
		margin: 0 0 0 0; 
		width: 100%;
		}
	
#fullmain,
#main img {max-width:100%;}	

}
@media screen and (max-width: 600px) {



#nav > ul
{

	width: 65%;	
}
	}