.top-bar__selectors {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  justify-content: flex-end;
}

.dropdown {
  position: relative;
  /* selector style */
  display: flex;
  align-items: center;
  width: 250px;
  flex-shrink: 1;
  height: 40px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  color: #444;
  font-weight: 600;
  padding: 0 20px 0 8px;
  background-color: #fff;
  border: 1px solid #aaa;
  border-radius: 4px;
}

.dropdown a,
.dropdown a:hover,
.dropdown a:focus,
.dropdown a:active {
  color: inherit;
  text-decoration: none;
}

.dropdown a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown a > img {
  margin-right: 8px;
}

.dropdown > ul {
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  display: none;
  visibility: hidden;
  top: 100%;
  left: -1px;
  right: -1px;
  background-color: #fff;
  border: 1px solid #aaa;
  border-top: none;
  border-radius: 0 0 4px 4px;
}

.dropdown > ul > li > a {
  padding: 8px 20px 8px 8px;
}

.dropdown > ul > li:hover {
  background-color: #aaa;
}

.dropdown:hover {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.dropdown:hover > ul,
.dropdown:focus-within > ul,
.dropdown > ul:hover,
.dropdown > ul:focus {
  visibility: visible;
  display: block;
}

/* specific selectors */
.dropdown.translation-selector {
  width: 150px;
}
