/* Navigation language switcher. Google is loaded on demand by the controller. */
.msd-language-switcher {
  position: relative;
  z-index: 1300;
  flex: 0 0 auto;
  font-family: inherit;
}

.msd-language-trigger {
  display: inline-flex;
  min-width: 82px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  color: #334155;
  background: #fff;
  border: 1px solid rgba(11, 35, 65, .16);
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.msd-language-trigger:hover,
.msd-language-trigger:focus-visible,
.msd-language-switcher.is-open .msd-language-trigger {
  color: #1c6eb4;
  border-color: rgba(28, 110, 180, .48);
  box-shadow: 0 0 0 3px rgba(28, 110, 180, .09);
}

.msd-language-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.msd-language-current {
  min-width: 19px;
  text-align: center;
}

.msd-language-name {
  display: none;
}

.msd-language-caret {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.msd-language-switcher.is-open .msd-language-caret {
  margin-top: 3px;
  transform: rotate(225deg);
}

.msd-language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  padding: 12px;
  color: #334155;
  background: #fff;
  border: 1px solid rgba(11, 35, 65, .12);
  border-radius: 12px;
  box-shadow: 0 24px 55px rgba(11, 35, 65, .16);
}

.msd-language-menu[hidden] {
  display: none !important;
}

.msd-language-heading {
  margin: 0 0 9px;
  color: #0b2341;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

.msd-language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.msd-language-option {
  display: flex;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  color: #445365;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.msd-language-option:hover,
.msd-language-option:focus-visible {
  color: #1c6eb4;
  background: #f3f7fb;
}

.msd-language-option[aria-checked="true"] {
  color: #fff;
  background: #1c6eb4;
}

.msd-language-option-code {
  display: grid;
  width: 30px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(28, 110, 180, .09);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 850;
}

.msd-language-option[aria-checked="true"] .msd-language-option-code {
  background: rgba(255, 255, 255, .18);
}

.msd-language-provider {
  display: inline-block;
  margin: 10px 3px 0;
  color: #7b8794;
  font-size: 9px;
  line-height: 1.3;
}

.msd-language-status {
  margin: 6px 3px 0;
  color: #b42318;
  font-size: 10px;
  line-height: 1.35;
}

.msd-language-status:empty {
  display: none;
}

.msd-language-switcher--mobile {
  width: 100%;
  margin-top: 18px;
}

.msd-language-switcher--mobile .msd-language-trigger {
  width: 100%;
  min-height: 50px;
  justify-content: flex-start;
  padding-inline: 14px;
}

.msd-language-switcher--mobile .msd-language-name {
  display: inline;
}

.msd-language-switcher--mobile .msd-language-caret {
  margin-left: auto;
}

.msd-language-switcher--mobile .msd-language-menu {
  position: static;
  width: 100%;
  margin-top: 8px;
  box-shadow: none;
}

.msd-language-switcher--floating {
  position: fixed;
  z-index: 9999;
  top: 18px;
  right: 18px;
}

.msd-google-translate-element,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 1280px) {
  .msd-language-switcher--header {
    margin-left: auto;
  }

  .msd-language-switcher--header .msd-language-trigger {
    min-width: 46px;
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .msd-language-switcher--header .msd-language-current,
  .msd-language-switcher--header .msd-language-name,
  .msd-language-switcher--header .msd-language-caret {
    display: none;
  }
}

@media (max-width: 420px) {
  .msd-language-menu {
    width: min(300px, calc(100vw - 32px));
  }

  .msd-language-switcher--mobile .msd-language-options {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msd-language-trigger,
  .msd-language-caret {
    transition: none;
  }
}
