*, *:after, *:before {
  box-sizing: border-box;
}

.animenu__toggle {
  display: none;
  cursor: pointer;
  background-color: #000;
  border: 0;
  border-radius: 5px;
  padding: .5rem;
  height: 2rem;
  width: 2rem;
  margin-left: 7rem;
  margin-top: .5rem;
}
.animenu__toggle:hover {
  background-color: #000;
}

.animenu__toggle__bar {
  display: block;
  width: .9375rem;
  height: .125rem;
  background-color: #fff;
  transition: 0.25s cubic-bezier(0.75, -0.55, 0.25, 1.55);
}
.animenu__toggle__bar + .animenu__toggle__bar {
  margin-top: .25rem;
}

.animenu__toggle--active .animenu__toggle__bar {
  margin: 0;
  position: absolute;
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(1) {
  transform: rotate(45deg);
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(2) {
  opacity: 0;
}
.animenu__toggle--active .animenu__toggle__bar:nth-child(3) {
  transform: rotate(-45deg);
}

.animenu {
  display: inline;
}
.animenu ul {
  position: absolute;
  z-index: 20;
  float: left;
  padding: 0;
  list-style: none;
  font-family: "arial", "sans-serif";
  background-color: #fff;
}
.animenu li, .animenu a {
  display: inline-block;
  font-size: .9rem;
}
.animenu a {
  text-decoration: none;
}

/*
.animenu__nav {
  background-color: #111;
}
*/
.animenu__nav > li {
  position: relative;
}
.animenu__nav > li > a {
  padding: .8rem 1rem;
  text-transform: uppercase;
}
.animenu__nav > li:hover > ul, .animenu__nav > li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  margin: 0;
}
.animenu__nav > li:hover > a, .animenu__nav > li:focus-within > a {
  color: #000;
  text-decoration: underline;
  font-weight: bold;
}
.animenu__nav__hasDropdown:before {
  content: "";
  position: absolute;
  border: .25rem solid transparent;
  border-bottom: 0;
  border-top-color: currentColor;
  top: 50%;
  margin-top: -2px;
  right: 0.625rem;
}

.animenu__nav__dropdown {
  min-width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  margin: 20px 0 0 0;
  transition: margin .15s, opacity .15s;
}
.animenu__nav__dropdown > li {
  width: 100%;
  border-bottom: 1px solid #515151;
}
.animenu__nav__dropdown > li:first-child > a:after {
  position: absolute;
  height: 0;
  width: 0;
  left: 1em;
  top: -0.375rem;
  border: 0.375rem solid transparent;
  border-top: 0;
  border-bottom-color: inherit;
}
.animenu__nav__dropdown > li:last-child {
  border: 0;
}
.animenu__nav__dropdown a {
  padding: 0.625rem;
  width: 100%;
  border-color: #373737;
}
.animenu__nav__dropdown a:hover, .animenu__nav__dropdown a:focus-within {
  background-color: #fff;
  border-color: #0186ba;
  color: #000;
  font-weight: bold;
}

@media screen and (max-width: 750px) {

  .animenu ul {
    margin: 0;
   /* display: inline;*/
  }

  .animenu__toggle {
    display: inline-block;
  }

  .animenu__nav,
  .animenu__nav__dropdown {
    display: none;
  }

  .animenu__nav {
    margin: 0.625rem 0;
  }
  .animenu__nav > li {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #515151;
  }
  .animenu__nav > li:last-child {
    border: 0;
  }
  .animenu__nav > li:first-child > a:after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    left: 1em;
    top: -0.375rem;
    border: 0.375rem solid transparent;
    border-top: 0;
    border-bottom-color: inherit;
  }
  .animenu__nav > li > a {
    width: 100%;
    padding: 0.625rem;
    border-color: #111;
    position: relative;
    font-size: .75rem;
  }
  .animenu__nav a:hover {
    background-color: #fff;
    border-color: #000;
    color: #000;
  }

  .animenu__nav__dropdown {
    position: static;
    margin: 0;
    transition: none;
    visibility: visible;
    opacity: 1;
  }

  .animenu__nav__dropdown a:hover {
    text-decoration: underline;
    font-weight: bold;
  }

  .animenu__nav__dropdown > li:first-child > a:after {
    content: none;
  }
  .animenu__nav__dropdown a {
    padding-left: 1.75rem;
    width: 100%;
    font-size: .75rem;
  }
}
.animenu__nav--open {
  display: block !important;
  width: 12rem;
  font-size: .75rem;
}
.animenu__nav--open .animenu__nav__dropdown {
  width: 12rem;
  display: block;
  margin-left: 0;
}
