﻿#menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-weight: 700;
}
#menu a {
  text-decoration: none;
  color: black;
}
#menu > li {
  float: left;
  position: relative;
  padding: 0;
  width: 212px;
  line-height: 32px;
}
#menu > li > a {
  display: block;
  padding: 0 15px;
  border-top: 5px solid #ccc;
}
#menu > li:hover {
  background-color: white;
}
#menu > li:hover > a {
  border-top-color: black;
}
#menu > li:hover > ul {
  opacity: 1;
  max-height: 300px;
}
#menu ul {
  position: absolute;
  left: 0;
  background-color: white;
  list-style-type: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  max-height: 0;
  font-size: 12px;
  transition: opacity 0.75s, max-height 1.5s;
  width: 212px;
  z-index: 5;
  overflow: hidden;
}
#menu ul > li {
  float: none;
  position: static;
  height: 30px;
  line-height: 30px;
  background: none;
  color: black;
  padding-left: 6px;
}
#menu ul > li:hover a {
  color: black;
}
#menu li:nth-child(1):hover a {
  border-top-color: orange;
}
#menu li:nth-child(1) li:hover a {
  color: orange;
}
#menu li:nth-child(2):hover a {
  border-top-color: orangeRed;
}
#menu li:nth-child(2) li:hover a {
  color: orangeRed;
}
#menu li:nth-child(3):hover a {
  border-top-color: crimson;
}
#menu li:nth-child(3) li:hover a {
  color: crimson;
}
#menu li:nth-child(4):hover a {
  border-top-color: maroon;
}
#menu li:nth-child(4) li:hover a {
  color: maroon;
}
/*mixins*/