.ha-lang-switcher {
  position: absolute;
  top: -42px;
  right: 150px;
}
.ha-lang-switcher.ha-lang-switcher--init {
  display: none;
}
.ha-lang-switcher__button {
  border: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  font-weight: bold;
  width: 65px;
  background: rgb(246, 247, 255);
  text-align: left;
  cursor: pointer;
}
.ha-lang-switcher__button::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -3px;
  border: solid 5px transparent;
  border-top: solid 5px #000;
  transition: all 0.3s ease-in-out;
}
.ha-lang-switcher__button--open::after {
  margin-top: -8px;
  transform: rotate(180deg);
}
.ha-lang-switcher__flag {
  vertical-align: middle;
  float: left;
  margin-right: 5px;
  max-width: 20px;
  height: auto;
}
.ha-lang-switcher__content {
  display: none;
  box-shadow: 0px 1px 5px #ddd;
  position: absolute;
  right: 0;
  z-index: 2000;
  margin: 0;
  padding: 0;
  border: none;
  background-color: #f6f7ff;
  overflow: visible;
}
.ha-lang-switcher__content.ha-lang-switcher__content--open {
  display: block;
}
.ha-lang-switcher__description {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.ha-lang-switcher__menu {
  margin: 0;
  padding: 0;
  list-style-type: none;
  width: 112px;
}
.ha-lang-switcher__menu a {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 10px;
  width: 100%;
  text-align: left;
  border-bottom: solid 1px #ddd;
  overflow: visible;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  color: #000;
  text-transform: none;
}
.ha-lang-switcher__menu a:hover {
  background-color: #1c2462;
  color: #fff;
}

@media screen and (max-width: 374px) {
  .ha-lang-switcher {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .ha-lang-switcher {
    top: 0px;
    right: 20px;
  }
}
