* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #E4E7F5;
    color: gray;
    font-family: arial,helvetica,sans-serif;
    font-size: 1em;
}

#websitevak {
	border: 20px solid white;
    margin: 0.5em auto;
    max-width: 950px;
    width: 84%;
}

@media screen and (max-width: 800px) {
#websitevak {
    width: 95%;
}
}

@media screen and (min-width: 1440px) {
#websitevak {
    width: 65%;
}
}

#balkboven {
	border: 1px solid midnightblue;
    background-color: #738FBF;
    padding: 4.5em 0;
    width: 100%;
}

@media screen and (max-width: 800px) {
#balkboven {
    padding: 3em 0;
}
}

#balkboven p {
    font-family: georgia,serif;
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 800px) {
#balkboven p {
    font-size: 2em;
}
}

#balkboven p a {
    color: white;
    text-decoration: none;
}

#middenstuk {
    background-color: #738FBF;
	position: relative;
    width: 100%;
	z-index: 1;
}

@media screen and (max-width: 600px) {
#middenstuk {
}
}

#middenstuk:before {
	background-color: white;
	content: " ";
	width: 80%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 20%;
	z-index: -1;
}

@media screen and (max-width: 600px) {
#middenstuk:before {
	display: none;
}
}

#middenstuk:after {
    clear: both;
    content: " ";
    display: table;
}

#menu {
    float: left;
    width: 20%;
}

@media screen and (max-width: 600px) {
#menu {
    float: none;
	position: relative;
	left: 0;
    width: 100%;
}
}

#menu ul {
    list-style-type: none;
}

#hoofdmenu > li {
    float: none;
    position: relative;
}

@media screen and (max-width: 600px) {
#hoofdmenu > li {
    float: none;
}
}

#hoofdmenu > li > a {
    border-top: 10px solid white;
    color: white;
    display: block;
    font-size: 1em;
    font-weight: bold;
    padding: 1em 1.5em 1em 0.5em;
    text-align: left;
    text-decoration: none;
}

@media screen and (max-width: 600px) {
#hoofdmenu > li > a {
	font-weight: normal;
	padding: 0.6em 0.75em;
}
}

#hoofdmenu > li:last-child a {
    border-bottom: 10px solid white;
}

#hoofdmenu > li > a:hover {
    background-color: steelblue;
}

#hoofdmenu > li:hover ul {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 2;
}

@media screen and (max-width: 600px) {
#hoofdmenu > li:hover ul {
    position: absolute;
    top: 0;
    left: 8em;
}
}

.submenu > ul {
    display: none;
}

.submenu > ul > li > a {
    background-color: steelblue;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    color: white;
    display: block;
	font-weight: bold;
    padding: 1em 0.75em 1em 0.25em;
    text-decoration: none;
    width: 7em;
}

@media screen and (max-width: 600px) {
.submenu > ul > li > a {
    background-color: lightblue;
    border-bottom: 1px solid steelblue;
    border-left: 1px solid white;
    border-top: 0 none transparent;
    color: midnightblue;
	font-weight: normal;
    padding: 0.6em 0.75em;
	width: auto;
}
}

.submenu > ul > li:first-child a {
    border-top: 1px solid white;
}

.submenu > ul > li > a:hover {
    background-color: #185A9C;
}

@media screen and (max-width: 600px) {
.submenu > ul > li > a:hover {
    background-color: steelblue;
    color: white;
}
}

#hoofdvak {
    background-color: white;
    float: left;
	position: relative;
	left: 0;
    padding-bottom: 1em;
    width: 80%;
}

@media screen and (max-width: 600px) {
#hoofdvak {
    float: none;
    width: 100%;
}
}

#tekstvak {
    padding: 1em;
}

#tekstvak p {
    font-size: 0.95em;
    line-height: 1.3em;
    margin-bottom: 1em;
}

#tekstvak ul, #tekstvak ol {
    font-size: 0.95em;
    line-height: 1.3em;
    margin-bottom: 1em;
    margin-left: 2em;
}

#tekstvak ul li, #tekstvak ol li {
    left: 2em;
    padding-right: 2em;
    position: relative;
}

@media screen and (max-width: 600px) {
#tekstvak ul li, #tekstvak ol li {
    left: 0;
    padding-right: 0;
    position: static;
}
}

#tekstvak h1 {
    color: #336699;
    font-size: 1.3em;
    font-weight: bold;
    margin: 0 0 1.2em;
    padding: 1em 0 0;
}

#tekstvak h2 {
    color: #336699;
    font-size: 0.9em;
    margin-bottom: 0.25em;
    padding-top: 0.25em;
}

#tekstvak img {
    max-width: 95%;
}

#extravak {
    clear: both;
    margin: 0 auto;
    width: 80%;
}

#inhoudextravak {
    border: 3px ridge darkgray;
    padding: 0.5em;
    text-align: center;
}

#inhoudextravak > h3 {
    color: darkslategray;
    font-size: 1em;
    font-variant: small-caps;
    padding-bottom: 0.6em;
}

#inhoudextravak > p {
    color: black;
    font-size: 0.8em;
    padding: 0.2em 0.2em 0.6em;
}

#balkbeneden {
    background-color: #738FBF;
    clear: both;
    width: 100%;
}

#inhoudbalkbeneden {
    padding: 2em 0;
    text-align: center;
    width: 100%;
}

#inhoudbalkbeneden span {
    border-right: 1px solid white;
    color: white;
    display: inline-block;
    font-size: 0.8em;
    padding: 0.5em 2em;
    white-space: nowrap;
}

@media screen and (max-width: 600px) {
#inhoudbalkbeneden span {
    border-bottom: 1px solid white;
    border-right: 0 none;
    padding: 0.5em 0;
    width: 100%;
}
}

#inhoudbalkbeneden span:last-child {
    border-bottom: medium none;
    border-right: medium none;
}

#inhoudbalkbeneden span a {
    color: white;
    text-decoration: none;
}

.clearfix:before, .clearfix:after {
    clear: both;
    content: " ";
    display: table;
}

.links {
    float: left;
    margin: 0.2em 0.8em 0.6em 0;
}

.rechts {
    float: right;
    margin: 0.2em 0 0.6em 0.8em;
}

.gecentreerd {
    display: block;
    margin: 0 auto 1em;
}

.socialmedia {
    border: 0 none;
    margin: 0.5em 0.2em;
}
