.navbar .lang-switcher-item > a {
  border-bottom: none !important;
}

.navbar .lang-switcher {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  padding: 3px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin: 0;
}

.navbar-light .lang-switcher,
.navbar-standard.opaque .lang-switcher {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.06);
}

.navbar .lang-switcher-link {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none !important;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.navbar .lang-switcher-link:hover,
.navbar .lang-switcher-link:focus {
  text-decoration: none !important;
  opacity: 0.85;
}

.navbar .lang-switcher-link.is-active {
  background: #ffffff;
  color: #222222 !important;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  opacity: 1;
}

.navbar-light .lang-switcher-link.is-active,
.navbar-standard.opaque .lang-switcher-link.is-active {
  background: #333333;
  color: #ffffff !important;
}

.navbar .lang-switcher-sep {
  padding: 0 1px;
  font-size: 11px;
  line-height: 1;
  opacity: 0.55;
  user-select: none;
}

@media (min-width: 768px) {
  .navbar-nav > li.lang-switcher-item > .lang-switcher-anchor {
    display: inline-block;
    line-height: 41px;
    padding: 8px 4px 15px 4px;
    border-top: 3px solid transparent;
    background: none;
    box-sizing: border-box;
  }

  .opaque .navbar-nav > li.lang-switcher-item > .lang-switcher-anchor {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (min-width: 992px) {
  .navbar-nav > li.lang-switcher-item > .lang-switcher-anchor {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: -3.6px;
  }
}

@media (max-width: 767px) {
  .navbar .lang-switcher-item {
    width: 100%;
    text-align: center;
    padding: 14px 15px;
    border-bottom: 1px solid #555555 !important;
  }

  .navbar .lang-switcher-item > .lang-switcher-anchor {
    display: inline-block;
    line-height: normal;
    padding: 0;
    border: 0;
  }

  .navbar-light .lang-switcher-item,
  .navbar-standard.opaque .lang-switcher-item {
    border-bottom-color: #dddddd !important;
  }
}
