/* Hide Google Translate top banner frame */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0 !important;
  position: static !important;
}

/* Hide Google logo & attribution in gadget */
.goog-te-gadget img,
.goog-logo-link {
  display: none !important;
}

.goog-te-gadget .goog-te-gadget-simple {
  border: none !important;
  background: transparent !important;
}

/* Hide tooltips */
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

/* Style the select dropdown to match navbar text */
.goog-te-combo {
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 4px 20px 4px 4px !important;
  color: inherit !important;
  cursor: pointer !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 2px center !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s !important;
}

.goog-te-combo:hover {
  opacity: 1 !important;
}

.goog-te-combo option {
  background: hsl(222 47% 11%) !important;
  color: hsl(210 40% 98%) !important;
  font-size: 13px !important;
  padding: 6px 8px !important;
}

/* Remove "Powered by" text */
.goog-te-gadget > span {
  display: none !important;
}

/* Ensure iframe doesn't shift layout */
.skiptranslate iframe {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  border: none !important;
}
