body {
  font-family: "Marker-Felt", "Times New Roman", "Georgia", "Arial", "Serif";
  font-size: 1.1em;
  letter-spacing: 0.3px;
  background-color: #f9f9f9;
  background-image: url("images/border_top.png"), url("images/bg.jpg");
  background-repeat: repeat-x, repeat;
  background-position: top left;
  color: #656;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

@font-face {
  font-family: 'Marker-Felt';
  src: url('Marker-Felt.ttf.woff') format('woff'), url('Marker-Felt.ttf.svg#Marker-Felt') format('svg'), url('Marker-Felt.ttf.eot'), url('Marker-Felt.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

#container {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 0;
}

header {
   margin-top: 16px;
   background-size: 100% auto;
}

nav {
  position: relative;
  top: -4px;
  height: 56px;
  width: 100%;
  background: linear-gradient(to bottom right, #FCFCFC, #ECECEC);
}

nav ::first-letter {
  color: #e40613;
}

nav a {
  float: left;
  padding: 15px 20px;
  border-right: solid 1px #e3e3e3;
}

nav div a:hover {
  background-color: yellow;
}

/*
nav div:hover {
  background-color: yellow;
}
*/

nav div a {
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  color: #009fe3;
}

div.submenu-inhoud {
  display: none;
  position: absolute;
  background-color: #ECECEC;
}

div.submenu-inhoud a {
  clear: both;
  display: block;
}

div.submenu:hover div.submenu-inhoud {
  display: block;
  margin-left: -20px;
  width: 64px;
	margin-top: 15px;
}

div.submenu-inhoud a:hover {
  background-color: yellow;
}

#active, #active :hover {
  background-color: white;
}

main {
  background-image: url("images/background_board.png");
  background-repeat: repeat-y;
  background-size: contain;
  color: #656;
	margin-top: -3px;
}

h1 {
	clear: both;
	float: none;
  font-size: 1.4em;
  color: #e40613;
  padding: 0.2em 1.5em 0.3em 1.5em;
  letter-spacing: -1px;
}

h2 {
  font-size: 1.2em;
  color: #e40613;
  letter-spacing: -1px;
  margin: 2px 0 5px 5px;
}

main {
  float: left;
  font-size: 1.2em;
  width: 73%;
}

main.full {
  clear: both;
  width: 100%;
}

main p, main.full p {
  padding: 0 15px;
}

#ballon {
  background-image: url("images/ballon.png");
  background-repeat: no-repeat;
  background-position: 100% -15%;
  background-size: 5em;
  min-height: 10em;
}

main p::first-letter {
  color: #e40613;
  font-size: 1.4em;
}

main p {
  margin: 0 0 20px 0;
}

main blockquote {
  background-image: url(images/stars.png);
  background-repeat: no-repeat;
  background-position: -5px 0px;
  background-size: auto;
}

main blockquote p {
  margin-left: 1.7em;
  background-color: #f6eb7f;
  box-shadow: 0.6em 0.3em 1.8em #bbb;
  padding: 0.4em 0.4em 0.4em 0.7em;
  border-radius: 10px;
  width: 85%;
}

main blockquote {
  margin: 0 0 20px;
  padding: 9px 20px 0 19px;
  border-left: 1px solid #ddd;
  font-size: 0.8em;
  line-height: 24px;
  color: #777;
  font-style: italic;
}

main div.cat-item {
  float: left;

  background-image: url("images/stars.png"), url("images/ballon.png");
  background-repeat: no-repeat, no-repeat;
  background-size: auto, 10%;
  background-position: top left, 100% 10px;
  background-color: #f6eb7f;
  box-shadow: 0.6em 0.3em 1.8em #bbb;
  border-radius: 10px;
  height: 305px;
  width: 25%;

  font-size: 0.8em;
  line-height: 24px;
  color: #777;
  font-style: italic;

  margin: 0 0 10px 25px;
  padding: 0.4em 0.4em 0.4em 0.7em;
}

main div.cat-images {
  margin-top: 50px;
  margin-left: 30px;
}

main div.cat-description {
  margin-top: 0px;
  margin-left: 20px;
}

aside {
  clear: both;
  float: right;
  position: relative;
  margin-top: 0.50em;
  margin-right: 5px;
  border-color: #e40613;
  border-radius: 20px;
  background-color: #f6eb7f;
  box-shadow: 5px 3px 20px #bbb;
  width: 25%;
  height: 450px;
  padding: 5px 0px 5px 10px;
  font-size: 0.8em;
}

aside img {
  background-color: transparent;
  opacity: 1;
  position: absolute;
  margin-top: 14px;
  left: 4px;
  width: 97%;
  border-radius: 20px;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

aside img.off {
  opacity: 0;
}

aside p.bottom {
	margin-top: 120%;
}

aside p.bottom img {
	position: relative;
	background-color: transparent;
	border-radius: 0px;
	width:20%;

}

footer {
  clear: both;
  border-top: 1px solid #d6d6d6;
  font-size: .9em;
  margin: 20px auto 0 auto;
  clear: both;
  padding: 10px 0 10px 0;
  color: #AEAEAE;
  text-align: center;
}

footer .socialmedia {
 display: none;
}

div ul.overig {
  float: left;
}

div.info {
  float: left;
}

ul.overig li {
  list-style: none;
  margin-left: 80px;
}

ul.overig :first-child {
  list-style: url(images/con_info.png);
  margin-left: 80px;
}

ul.adres {
  list-style: url(images/con_address.png);
  margin-left: 80px;
  padding-bottom: 20px;
}

ul.telefoon {
  list-style: url(images/con_tel.png);
  margin-left: 80px;
  padding-bottom: 20px;
}

ul.gsm {
  list-style: url(images/con_mobile.png);
  margin-left: 80px;
  padding-bottom: 20px;
}

ul.e-mail {
  list-style: url(images/emailButton.png);
  margin-left: 80px;
  padding-bottom: 20px;
}

ul.links {
  list-style: url(images/weblink.png);
  margin-left: 80px;
  padding-bottom: 20px;
}

@media screen and (max-width: 760px) {
  div ul.overig {
    float: none;
  }
  div.info {
    float: none;
  }

main div.cat-item {
  height: 265px;
  margin: 0 0 10px 25px;
  padding: 0.4em 0.4em 0.4em 0.7em;
}


aside {
  width: 24%;
  height: 400px;
}

aside p.bottom {
	margin-top: 120%;
}

aside p.bottom img {
	position: relative;
	background-color: transparent;
	border-radius: 0px;
	width:20%;
}

}

@media screen and (max-width: 600px) {
  main {
    width: 100%;
  }

  aside {
    display: none;
  }

  #ballon {
    display: none;
    background-image: url("images/ballon.png");
    background-repeat: no-repeat;
    background-position: 100% -15%;
    background-size: 5em;
    min-height: 10em;
  }

  footer .socialmedia {
    display: block;
  }

  nav {
    height: auto;
  }

  nav div {
    clear: both;
    float: none;
    padding: 0;
    margin: 0;
    border: none;
    text-align: center;
  }

  nav div a {
    display: block;
    width: 100%;
  }

  nav div.submenu a:nth-child(1) {
    display: none;
  }

  nav div.submenu-inhoud {
    display: block;
    position: relative;
    background-color: inherit;
  }

  .submenu-inhoud a, nav div a, div.submenu a {
    border-bottom: solid 0.1px lightgrey;
  }
nav div a:hover {
  background-color: inherit;
}

div.submenu:hover div.submenu-inhoud {
  margin: 0;
  width: 100%;
	margin: 0;
}

div.submenu-inhoud a:hover, .submenu a:hover, nav div a:hover {
  background-color: yellow;
}

main div.cat-item {
  background-position: top left, 90% 10px;
  height: 200px;
  width: 20%;
  font-size: 60%;
}


main div.cat-images {
  margin-top: 40px;
  margin-left: 30px;
}

main div.cat-description {
  float: left;
  margin-top: 5px;
  margin-left: 5px;
  width: 95%;
}

}

@media screen and (max-width: 370px) {

  main div.cat-item {

  background-image: none;
  box-shadow: 0.6em 0.3em 1.8em #bbb;
  border-radius: 10px;
  height: 200px;
  width: 60%;
}

main div.cat-images {
  margin-top: 5px;
  margin-left: 5%;
}

main div.cat-images img{
  width: 150px;
  height: 150px;

}

}

@media screen and (max-width: 270px) {
main div.cat-item {
  height: 100px;
}

main div.cat-images img{
 visibility: hidden;
 height: 0;
 width: 0;
}

}
