#navigatie,
#subnavigatie {
  min-height: 36px;
  background-color: #3489d2;
}
#subnavigatie {
  background-color: #bbbbbb;
}
#navigatie button,
#subnavigatie button {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: block;
  margin: 0;
  padding: 6px 5px 6px 5px;
  font-family: 'Open Sans', verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap; 
  color: #ffffff;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  display: none;
  background: transparent url('/media/ui/mobiel.gif') no-repeat center right 20px;
}
#navigatie button:hover,
#subnavigatie button:hover {
  background-color: #0265a2;
  transition: background-color 0.2s ease;
}
#subnavigatie button:hover {
  background-color: #888888;
}
#navigatie button.open {
  background-color: #0265a2;
}
#subnavigatie button.open {
  background-color: #888888;
}
#navigatie ul,
#navigatie ul.zichtbaar,
#subnavigatie ul,
#subnavigatie ul.zichtbaar {
  display: flex;
  flex-wrap: wrap;
  overflow-y: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 36px;
}
#navigatie li,
#subnavigatie li {
  margin: 0;
}
#navigatie li a,
#subnavigatie li a {
  display: block;
  margin: 0;
  padding: 6px 5px 6px 5px;
  font-family: 'Open Sans', verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  flex-wrap: nowrap;
  white-space: nowrap; 
  color: #ffffff;
  text-decoration: none;
  text-align: left;
}
#subnavigatie li a {
  font-weight: 400;
  color: #000000;
}
#navigatie li a:hover {
  background-color: #0265a2;
  transition: background-color 0.2s ease;
}
#subnavigatie li a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) { /* MINIMAAL */
  #navigatie,
  #subnavigatie {
    min-height: auto;
  }
  #navigatie .container,
  #subnavigatie .container {
    padding: 0;
  }
  #navigatie button,
  #subnavigatie button {
    display: block;
    padding: 10px;
    background-position: center right 10px;;
  }
  #navigatie ul,
  #subnavigatie ul {
    display: none;
    max-height: none;
  }
  #navigatie ul.zichtbaar,
  #subnavigatie ul.zichtbaar {
    display: block;
    max-height: none;
  }
  #navigatie li a,
  #subnavigatie li a {
    padding: 10px;
  }
  #subnavigatie li a {
    font-weight: 700;
    color: #ffffff;
  }
  #subnavigatie li a:hover {
    background-color: #888888;
    transition: background-color 0.2s ease;
    text-decoration: none;
  }
}
@media (min-width: 481px) and (max-width: 768px) { /* MOBIEL */
  #navigatie,
  #subnavigatie {
    min-height: auto;
  }
  #navigatie .container,
  #subnavigatie .container {
    padding: 0;
  }
  #navigatie button,
  #subnavigatie button {
    display: block;
    padding: 10px 20px 10px 20px;
  }
  #navigatie ul,
  #subnavigatie ul {
    display: none;
    max-height: none;
  }
  #navigatie ul.zichtbaar,
  #subnavigatie ul.zichtbaar {
    display: block;
    max-height: none;
  }
  #navigatie li a,
  #subnavigatie li a {
    padding: 10px 20px 10px 20px;
  }
  #subnavigatie li a {
    font-weight: 700;
    color: #ffffff;
  }
  #subnavigatie li a:hover {
    background-color: #888888;
    transition: background-color 0.2s ease;
    text-decoration: none;
  }
}
@media (min-width: 769px) and (max-width: 1280px) { /* BREDER */
  #navigatie .container,
  #subnavigatie .container {
    width: 1018px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (min-width: 1281px) { /* BREEDST */
  #navigatie .container,
  #subnavigatie .container {
    width: 1202px;
    padding-left: 15px;
    padding-right: 15px;
  }
}