 .dropdown-menu {
  z-index: 9999999;
  position: absolute;

  opacity: 0;
  visibility: hidden;

  /* Transition for turning the dropdown from active to inactive. */
  -webkit-transition: opacity 0.15s ease-in-out, visibility 0s 0.15s;
  transition: opacity 0.15s ease-in-out, visibility 0s 0.15s;
}

.dropdown-menu ul {
  background: rgb(47, 47, 47);
  padding: 0.25rem 0;
}

.dropdown {
  position: relative;
}

.dropdown.state-active .dropdown-menu {
  display: block;
  opacity: 0.98;
  visibility: visible;

  /* Transition for turning the dropdown from inactive to active. */
  -webkit-transition: opacity 0.15s ease-in-out, visibility 0s;
  transition: opacity 0.15s ease-in-out, visibility 0s;
}

.dropdown-menu:before {
  background: url('/i/beta/header/dropdown_arrow.png') right no-repeat;
  content: '';
  display: block;
  height: 6px;
}

html[dir='rtl']  .dropdown-menu .tooltip-top {
  background-position-x: left;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;

  font-size: 0.8125rem;
  font-weight: normal;

  background: none;
  color: rgb(240, 240, 240);
}

.dropdown-menu a:hover {
  font-weight: normal;
  text-decoration: none;

  background: rgb(29, 29, 29);
  color: rgb(255, 255, 255);
}

.dropdown-menu a:active {
  background: rgb(0, 0, 0);
}

.dropdown-menu .border {
  border-top: 0.0625rem solid #4a4a4a;
  margin: 0.25rem 0.75rem;
}
