
.group:before,
.group:after {
  content: "";
  display: table;
}

.group:after {
  clear: both;
}

.group {
  zoom: 1;
 
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

nav .menu {
 margin-left:7%;
 margin-right: auto;
 margin-top: 5%;
  font-size: auto;
}
nav .menu ul {
  display: none;
  position: absolute;
  z-index: 999;
  top: 40px;
  left: 0;
  margin: 0;
  padding: 0;
}
nav .menu ul ul {
  top: 0;
  left: 100%;
}
nav .menu ul.open {
  display: block;
}
nav .menu li {
  line-height: 40px;
  background:white;
  position: relative;
  display: block;
  white-space: nowrap;
}
nav .menu li a {
  color: darkblue;
  text-decoration: none;
  display: block;
  padding: 0 20px;
}
nav .menu li a:hover, nav .menu li a:focus {
  text-decoration: underline;
  background-color: darkblue;
  color: white;
}
nav .menu li.has-sub-menu > a {
  display: inline-block;
  padding: 0 10px 0 20px;
}
nav .menu li.has-sub-menu > .show-sub-menu {
  display: inline-block;
  width: 40px;
  height: 40px;
  cursor: pointer;
  text-align: center;
  color: darkblue;
}
nav .menu > li {
  float: left;
  background: white;
  border-left: 1px solid darkblue;
}
nav .menu > li:first-child {
  border: none;
}
nav .menu > li > ul {
  min-width: 100%;
}

html.touch nav a,
html.touch .show-sub-menu {
  outline: none;
}

@media screen and (max-width: 480px) {
  nav .menu > li {
    float: none;
  }
  nav .menu ul {
    position: static;
  }
  nav .menu li {
    border: none;
    border-top: 1px solid #556270;
  }
  nav .menu li.has-sub-menu > a {
    display: inline-block;
    width: 80%;
  }
  nav .menu li.has-sub-menu > .show-sub-menu {
    display: inline-block;
    width: 20%;
  }

  html.touch a.indent-1 {
    padding-left: 40px;
  }
  html.touch a.indent-2 {
    padding-left: 80px;
  }
  html.touch a.indent-3 {
    padding-left: 120px;
  }
  html.touch a.indent-4 {
    padding-left: 160px;
  }
}
