.dropup,
.dropright,
.dropdown,
.dropleft {
  position: relative;
}

.dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
.dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #009688;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item:focus,
.dropdown .dropdown-menu .dropdown-item:active {
  background-color: #26A69A;
}

.dropdown.blue .dropdown-menu {
  background-color: #2196F3;
}

.dropdown.blue .dropdown-menu .dropdown-item:hover,
.dropdown.blue .dropdown-menu .dropdown-item:focus,
.dropdown.blue .dropdown-menu .dropdown-item:active {
  background-color: #42A5F5;
}

.dropdown.delete .dropdown-menu {
  background-color: #F44336;
}

.dropdown.delete .dropdown-menu .dropdown-item:hover,
.dropdown.delete .dropdown-menu .dropdown-item:focus,
.dropdown.delete .dropdown-menu .dropdown-item:active {
  background-color: #EF5350;
}

.dropdown.question .dropdown-menu {
  background-color: #FFA500;
}

.dropdown.question .dropdown-menu .dropdown-item:hover,
.dropdown.question .dropdown-menu .dropdown-item:focus,
.dropdown.question .dropdown-menu .dropdown-item:active {
  background-color: #f7b700;
}

.dropdown.light-blue .dropdown-menu {
  background-color: #9bcbf0;
}

.dropdown.light-blue .dropdown-menu .dropdown-item:hover,
.dropdown.light-blue .dropdown-menu .dropdown-item:focus,
.dropdown.light-blue .dropdown-menu .dropdown-item:active {
  background-color: #a0d0f5;
}

.dropdown.turquoise .dropdown-menu {
  background-color: #38ade6;
}

.dropdown.turquoise .dropdown-menu .dropdown-item:hover,
.dropdown.turquoise .dropdown-menu .dropdown-item:focus,
.dropdown.turquoise .dropdown-menu .dropdown-item:active {
  background-color: #38b7f0;
}

.dropdown.mauve .dropdown-menu {
  background-color: #8168a6;
}

.dropdown.mauve .dropdown-menu .dropdown-item:hover,
.dropdown.mauve .dropdown-menu .dropdown-item:focus,
.dropdown.mauve .dropdown-menu .dropdown-item:active {
  background-color: #9177b6;
}

.dropdown.lavender .dropdown-menu {
  background-color: #af81b1;
}

.dropdown.lavender .dropdown-menu .dropdown-item:hover,
.dropdown.lavender .dropdown-menu .dropdown-item:focus,
.dropdown.lavender .dropdown-menu .dropdown-item:active {
  background-color: #bb8dbd;
}

.dropdown.marine-blue .dropdown-menu {
  background-color: #3a73b8;
}

.dropdown.marine-blue.inverse .dropdown-menu {
  color: #3a73b8;
  background-color: white;
}

.dropdown.marine-blue .dropdown-menu .dropdown-item:hover,
.dropdown.marine-blue .dropdown-menu .dropdown-item:focus,
.dropdown.marine-blue .dropdown-menu .dropdown-item:active {
  background-color: #397dc1;
}

.dropdown.marine-blue.inverse .dropdown-menu .dropdown-item:hover,
.dropdown.marine-blue.inverse .dropdown-menu .dropdown-item:focus,
.dropdown.marine-blue.inverse .dropdown-menu .dropdown-item:active {
  background-color: whitesmoke;
}

.dropdown.grey .dropdown-menu {
  background-color: #a0aab1;
}

.dropdown.grey .dropdown-menu .dropdown-item:hover,
.dropdown.grey .dropdown-menu .dropdown-item:focus,
.dropdown.grey .dropdown-menu .dropdown-item:active {
  background-color: #adb7be;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.dropup .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.125rem;
}
.dropup .dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}
.dropup .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropright .dropdown-menu {
  top: 0;
  right: auto;
  left: 100%;
  margin-top: 0;
  margin-left: 0.125rem;
}
.dropright .dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}
.dropright .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropright .dropdown-toggle::after {
  vertical-align: 0;
}

.dropleft .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: 0.125rem;
}
.dropleft .dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
}
.dropleft .dropdown-toggle::after {
  display: none;
}
.dropleft .dropdown-toggle::before {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0.3em solid;
  border-bottom: 0.3em solid transparent;
}
.dropleft .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropleft .dropdown-toggle::before {
  vertical-align: 0;
}

.dropdown-menu[x-placement^=top], .dropdown-menu[x-placement^=right], .dropdown-menu[x-placement^=bottom], .dropdown-menu[x-placement^=left] {
  right: auto;
  bottom: auto;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.dropdown-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;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}
.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
}
.dropdown-item.disabled, .dropdown-item:disabled {
  color: #6c757d;
  background-color: transparent;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  display: block;
  padding: 0.5rem 1.5rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

.dropdown-item-text {
  display: block;
  padding: 0.25rem 1.5rem;
  color: #212529;
}
