/*menu-dropdown-responsive css*/
/*gebaseerd op Dropdown Menu Tutorial | Responsive HTML & CSS (no javascript) Follow Andrew*/

body {
  background:#4f81bd;
  font-size: 16px;
  line-height: 32px;
  color: #ffffff;
  margin: 0;
  padding: 0;
  word-wrap: break-word !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*maximale afmetingen images*/
.responsive {
width: 90%;
max-width: 800px;
height: auto;
}

a{
color:#ffffff; /*kleur teksten*/
}

/*verberg alle items met class 'schakel' en id = 'openen'*/
.schakel,
[id^=openen]{
  display: none;
}

/*achtergrond en positie bovenste balk*/
nav {
  margin: 0;
  padding: 20px;
  background-color: #4f81bd;
}

/*tekst, positie en kleur linksboven*/
#logo {
  display: block;
  padding: 0px 10px;
  float: left;
  font-size: 30px;
  line-height: 60px;
}

/*tekst, kleur paginakop*/
#titel {
  font-size: 30px;
  line-height: 60px;
}

/*positie blokje met 'hamburger' menu bij klein scherm*/
#hoofd-schakel {
  cursor: pointer;
  float: right;
  padding: 40px 40px;
  position: relative;
  user-select: none;
}

/*kleur, hoogte, positie en breedte middelste streepje 'hamburger'menu */
.nav-icon {
  background: #ffffff;
  display: block;
  height: 2px;
  position: relative;
  width: 18px;
}

/*kleur, hoogte, positie en breedte bovenste en onderste streepjes 'hamburger'menu */
.nav-icon:before,
.nav-icon:after {
  background: #ffffff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
}

/*positie bovenste streepjes 'hamburger'menu */
.nav-icon:before {
  top: 5px;
}

/*positie onderste streepjes 'hamburger'menu */
.nav-icon:after {
  top: -5px;
}

/*positie na aanklikken 'hamburger' menu */
nav:after {
  content: "";
  display: table;
  clear: both;
}

/*kleur, hoogte, positie en breedte menu klein scherm*/
nav ul {
  float: right;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

/*achtergrond menu*/
nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
  background-color: #4f81bd;
}

/*kleur, hoogte, positie en breedte menu*/
nav a {
  display: block;
  padding: 0 30px;
  color: #ffffff;
  font-size: 16px;
  line-height: 60px;
  text-decoration: none;
}

/*kleur ???? bij hover*/
nav ul li ul li:hover {
  background: #173457;
}

/*kleur menu bij hover*/
nav a:hover {
  background-color: #345a89;
}

/*????*/
nav ul ul {
  display: none;
  position: absolute;
  top: 60px;
}

/*????*/
nav ul li:hover>ul {
  display: inherit;
}

/*breedte, postitie en achtergrondkleur submenu*/
nav ul ul li {
  width: 250px;
  float: none;
  display: list-item;
  position: relative;
  background-color: #173457;
}

/*????*/
nav ul ul ul li {
  position: relative;
  top: -60px;
  left: 170px;
}

/*????*/
li>a:after {
  content: ' +';
}

/*????*/
li>a:only-child:after {
  content: '';
}


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

  nav {
    margin: 0;
  }
  nav ul{
    float:none;
  }
  .schakel+a,
  .menu {
    display: none;
  }

  .schakel {
    display: block;
    background-color: #4f81bd;
    padding: 0 30px;
    color: #ffffff;
    font-size: 16px;
    line-height: 60px;
    text-decoration: none;
    border: none;
  }

  .schakel:hover {
    background-color: #345a89;
  }

  [id^=openen]:checked+ul {
    display: block;
  }

  nav ul li {
    display: block;
    width: 100%;
  }

  nav ul ul .schakel,
  nav ul ul a {
    padding: 0 40px;
  }

  nav ul ul ul a {
    padding: 0 80px;
  }

  nav ul ul ul a {
    background-color: #ffffff;
  }

  nav ul li ul li .schakel,
  nav ul ul a {
    background-color: #173457;
  }

  nav ul ul {
    float: none;
    position: static;
    color: #ffffff;
  }

  nav ul ul li:hover>ul,
  nav ul li:hover>ul {
    display: none;
  }

  nav ul ul li {
    display: block;
    width: 100%;
  }

  nav ul ul ul li {
    position: static;

  }
}