/* Basic styling */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* #hm-body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
} */

#hm-menubalk {
  display: flex;
  flex-direction: row;
  background-color: black;
  box-shadow: 0px 0px 10px 0px;
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0 1px 0 15px;
  z-index: 2;
}

.hm-item {
  padding: 5px;
  font-size: 12px;
}

.hm-item a,
.hm-toggle a {
  color: #ccc;
  text-decoration: none;
}

.hm-menu,
.hm-submenu {
  list-style-type: none;
}

.hm-logo {
  flex: 1;
  padding: 7.5px 10px 7.5px 0;
}

#hm-img1 {
  width: 160px;
  height: auto;
}

.hm-item a:hover,
.hm-toggle a:hover {
  color: white;

}

/* Mobile menu */
.hm-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: right;
}

.hm-menu li a {
  display: block;
  padding: 10px 5px;
}

.hm-menu li.hm-subitem a {
  padding: 10px;
}

.hm-toggle {
  flex: 1;
  order: 1;
  font-size: 30px;
}

.hm-item {
  order: 3;
  width: 100%;
  text-align: center;
  /* met Javascript wordt het menu weer zichtbaar */
  display: none;
}

.active .hm-item {
  display: block;
}


/* Submenu up from mobile screens */
.hm-submenu {
  display: none;
  /* met Javascript wordt het menu weer zichtbaar */
}

/* submenu-active wordt door Java aangestuurd */
.hm-submenu-active .hm-submenu {
  display: block;
}

.hm-subitem a {
  font-size: 11px;
  text-transform: uppercase;
  /* color: black; */
  color: #ccc;
}

/*
.hm-submenu-active {
  background-color: #111;
  border-radius: 3px;
}
*/

/* Desktop menu */
@media all and (min-width: 700px) {
  #hm-menubalk {
    flex-direction: row;
  }

  .hm-logo {
    flex: 1;
    order: 0;
  }

  .hm-toggle {
    text-align: right;
    order: 2;
    display: none;
    font-size: 35px;
  }

  .hm-menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
    align-items: center;
  }

  .hm-item { 
    padding: 5px;
   /* font-size: 12px;*/

    order: 1;
    position: relative;
    display: block;
    width: auto;
  }

  .hm-submenu-active .hm-submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 65px;
    background: #242323;
    /* background: grey */
  }

  .hm-submenu-active {
    border-radius: 0px;
  }
}


/* Mobile menu */
@media all and (max-width: 700px) {

  .hm-submenu-active .hm-submenu {
    display: block;
    left: 0;
    top: 65px;
    /*background: grey;*/
    background: #242323;
  }

}