.grif-google-translate {
  position: absolute;
  top: 0;
  right: max(18px, calc((100vw - 1180px) / 2));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 34px;
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.grif-google-translate__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 5px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.grif-google-translate__trigger:hover,
.grif-google-translate__trigger[aria-expanded="true"] {
  background: rgba(255,255,255,.16);
}

.grif-google-translate__current-flag,
.grif-google-translate__menu button img {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}

.grif-google-translate__chevron {
  margin-left: 2px;
  font-size: 10px;
}

.grif-google-translate__menu {
  position: fixed;
  top: 38px;
  right: max(18px, calc((100vw - 1180px) / 2));
  z-index: 10000010;
  min-width: 185px;
  padding: 6px;
  border: 1px solid #d8e0e3;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(0, 35, 43, .2);
}

.grif-google-translate__menu[hidden] {
  display: none !important;
}

.grif-google-translate__menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #15353c;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.grif-google-translate__menu button:hover,
.grif-google-translate__menu button:focus-visible {
  background: #e9f8f8;
  color: #004b57;
  outline: none;
}

.grif-google-translate__engine {
  position: fixed !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.grif-google-translate__icon {
  font-size: 16px;
  line-height: 1;
}

.grif-google-translate .goog-te-gadget {
  height: 32px;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 32px;
}

.grif-google-translate .goog-te-gadget-simple {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 5px;
  background: rgba(255,255,255,.08) !important;
  cursor: pointer;
}

.grif-google-translate .goog-te-gadget-simple:hover {
  background: rgba(255,255,255,.16) !important;
}

.grif-google-translate .goog-te-gadget-icon {
  display: none !important;
}

.grif-google-translate .goog-te-menu-value,
.grif-google-translate .VIpgJd-ZVi9od-xl07Ob-lTBxed {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600;
  text-decoration: none !important;
}

.grif-google-translate .goog-te-menu-value span,
.grif-google-translate .VIpgJd-ZVi9od-xl07Ob-lTBxed span {
  color: #fff !important;
  border-left: 0 !important;
}

body > .VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
}

body > .goog-te-banner-frame,
body > iframe.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 767px) {
  /* Give the notice and language selector their own rows on phones. */
  .turbobar,
  .turbobar__inner {
    min-height: 66px !important;
  }

  .turbobar__inner {
    align-items: flex-end !important;
    padding: 36px 10px 7px !important;
  }

  .turbobar .turbobar__text {
    width: 100%;
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
  }

  .turbobar .turbobar__text--desktop {
    display: block !important;
  }

  .turbobar .turbobar__text--mobile {
    display: none !important;
  }

  .grif-google-translate {
    top: 4px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    gap: .25rem;
    min-height: 29px;
  }

  .grif-google-translate__icon {
    display: none;
  }

  .grif-google-translate__trigger {
    height: 29px;
    padding-inline: 8px;
  }

  .grif-google-translate__menu {
    right: 8px;
  }

  .grif-google-translate__current-label {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .grif-google-translate .goog-te-gadget-simple {
    padding-inline: 7px !important;
  }
}
