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


.animenu {
  display: block;
}

.animenu ul {
  display: flex;
  padding: 0;
  list-style: none;
  font: 0px 'Open Sans', Arial, Helvetica;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.06);
}

.animenu li,
.animenu a {
  display: inline-block;
  font-size: 22px;
}

.animenu a {
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.animenu__nav {
  background-color: rgba(255, 255, 255, 0.8);
}

.animenu__nav>li {
  position: relative;
  height: 100%;
}

.animenu__nav>li>a {
  padding: 15px 100px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: bolder;
}

.animenu__nav li .active {
  color: #C01D02;
  border-bottom: 1px solid #C01D02;
  font-weight: bold;

}

.animenu__nav>li>a:first-child:nth-last-child(2):before {
  content: "";
  position: absolute;
  border: 6px solid transparent;
  border-bottom: 0;
  border-top-color: currentColor;
  top: 50%;
  margin-top: -2px;
  right: 10px;
}

.animenu__nav>li:hover>ul {
  opacity: 1;
  visibility: visible;
  margin: 0;
}

.animenu__nav>li:hover>a {
  color: #C01D02;
  border-bottom: 1px solid #C01D02;
  font-weight: bold;
  cursor: pointer;
}

.animenu__nav__child {
  width: 300px;
  flex-direction: column;
  min-width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  margin: 20px 0 0 0;
  background-color: #eee;
  transition: margin .15s, opacity .15s;
}

.animenu__nav__child>li {
  width: 100%;
  border-bottom: 1px solid #ccc;
}

.animenu__nav__child>li:first-child>a:after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  left: 1em;
  top: -6px;
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: inherit;
}

.animenu__nav__child>li:last-child {
  border: 0;
}

.animenu__nav__child a {
  padding: 10px;
  width: 100%;
  border-color: #eee;
  cursor: pointer;
  font-weight: bold;
}

.animenu__nav__child a:hover {
  color: #C01D02;
  border-bottom: 1px solid #C01D02;
  font-weight: bold;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .animenu__toggle {
    display: inline-block;
  }

  .animenu__nav,
  .animenu__nav__child {
    display: none;
  }

  .animenu__nav {
    margin: 10px 0;
  }

  .animenu__nav>li {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #ccc
  }

  .animenu__nav>li:last-child {
    border: 0;
  }

  .animenu__nav>li:first-child>a:after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    left: 1em;
    top: -6px;
    border: 6px solid transparent;
    border-top: 0;
    border-bottom-color: inherit;
  }

  .animenu__nav>li>a {
    width: 100%;
    padding: 10px;
    border-color: #fff;
    position: relative;
  }

  .animenu__nav a:hover {
    background-color: #0186ba;
    border-color: #0186ba;
    color: #fff;
  }

  .animenu__nav__child {
    position: static;
    background-color: #373737;
    margin: 0;
    transition: none;
    visibility: visible;
    opacity: 1;
  }

  .animenu__nav__child>li:first-child>a:after {
    content: none;
  }

  .animenu__nav__child a {
    padding-left: 20px;
    width: 100%;
  }
}

.animenu__nav--open {
  display: block !important;
}

.animenu__nav--open .animenu__nav__child {
  display: block;
}