#ml ul {
  list-style: none;
  padding-left: 0;
}
#ml a {
  text-decoration: none;
}

#ml .menu-level-1 li .has-children:hover {
  background-color: #2c2c2c;
}

#ml .menu-level-2 li .has-children:hover {
  background-color: #393838;
}

#ml input[type=checkbox] {
  /* hide native checkbox */
  position: absolute;
  opacity: 0;
}
#ml label, #ml a {
  position: relative;
  display: block;
  padding: 18px 18px 18px 16px;
  box-shadow: inset 0 -2px #d6d6d6;
}

#ml .has-children a, #ml .has-children li label {
  color: #ccc;
}
#ml .has-children li.has-chilren label, #ml .has-children li.has-children a {
  color: #ccc;
}

#ml .has-children input + label::after {
  content: '-';
  position: absolute;
  top: 16px;
  right: 25px;
  widht: 0;
  height: 0;
  display: inline-block;
  background: black;
}
#ml .menu-level-1 ul {
  /* by default hide all sub menus */
  display: none;
}
#ml input[type=checkbox]:checked + label + ul,
#ml input[type=checkbox]:checked + label:nth-of-type(n) + ul {
  /* use label:nth-of-type(n) to fix a bug on safari (<= 8.0.8) with multiple adjacent-sibling selectors*/
  /* show children when item is checked */
  display: block;
}
