/* v1.7: use only the existing theme language switcher. */
.lang-switcher {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.lang-switcher .scl5-lang {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  border: 0 !important;
  background: transparent !important;
  font: inherit !important;
  color: inherit !important;
  padding: 0 6px !important;
  margin: 0 !important;
}

.lang-switcher .scl5-sep {
  display: inline-block !important;
  padding: 0 2px !important;
  opacity: .65;
}

/* Keep the selected language visually consistent with the theme. */
.lang-switcher .lang-btn.active,
.lang-switcher .scl5-lang.active {
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

#scl5-google-translate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-gadget {
  display: none !important;
}

body { top: 0 !important; }

@media (max-width: 700px) {
  .lang-switcher .scl5-lang {
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 12px !important;
  }
}
