/* -----------------------------------------------
Dropdown
----------------------------------------------- */

.b-dropdown {
  position: relative;
}

.b-dropdown-toggle {
  cursor: pointer;
}

.b-dropdown-content {
  pointer-events: none;
  min-width: 10rem;
  display: flex;
  flex-wrap: wrap;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  background: #fff;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(33, 37, 41, 0.01);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
  &.is-visible {
    pointer-events: all;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

.b-dropdown-menu {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.b-dropdown-menu-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  &.active {
    background: rgba(0, 0, 0, 0.05);
    color: #00abf7;
  }
  &:hover {
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
  }
}

.b-dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}
