/* GTranslate widget styles - IV Government Header Layout */

/* ===== BASE STYLES ===== */
.gtranslate_wrapper {
  position: fixed !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  z-index: 100 !important;
}

.gt_float_switcher {
  position: fixed !important;
  z-index: 100 !important;
  font-size: 12px !important;
  line-height: 14px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  background: #fff !important;
}

.gt_float_switcher .gt-selected,
.gt_float_switcher .gt-current-lang {
  padding: 2px 5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.gt_float_switcher .gt-current-lang img,
.gt_float_switcher img {
  width: 16px !important;
  height: 16px !important;
}

.gt_float_switcher .gt-lang-code {
  font-size: 11px !important;
}

.gt_float_switcher .gt_float_switcher-arrow {
  font-size: 10px !important;
}

.gt_options {
  font-size: 12px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

.gt_options a,
.gt_options li {
  padding: 4px 8px !important;
  line-height: 1.3 !important;
}

.gt_options img {
  width: 16px !important;
  height: 16px !important;
}

/* ===== DESKTOP (>1024px) - Widget PARALLEL to search bar ===== */
.gtranslate_wrapper,
.gt_float_switcher {
  position: fixed !important;
  left: auto !important;
  top: 80px !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 100 !important;
}

/* ===== TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .gtranslate_wrapper,
  .gt_float_switcher {
    left: auto !important;
    right: 30px !important;
    top: 80px !important;
    z-index: 100 !important;
  }
}

/* ===== iPad / Tablet Portrait (max-width: 768px) ===== */
@media (max-width: 768px) {
  .gtranslate_wrapper,
  .gt_float_switcher {
    left: auto !important;
    right: 16px !important;
    top: 100px !important;
    z-index: 100 !important;
  }
}

/* ===== MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
  .gtranslate_wrapper,
  .gt_float_switcher {
    left: auto !important;
    right: 12px !important;
    top: 55px !important;
    z-index: 100 !important;
  }
}

/* ===== VERY SMALL MOBILE (max-width: 360px) ===== */
@media (max-width: 360px) {
  .gtranslate_wrapper,
  .gt_float_switcher {
    left: auto !important;
    right: 10px !important;
    top: 55px !important;
    z-index: 100 !important;
  }
}

/* ===== GOOGLE TRANSLATE BANNER FRAME HIDING ===== */
iframe.goog-te-banner-frame {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}

html, body {
  top: 0 !important;
  margin-top: 0 !important;
  border-top: none !important;
  position: static !important;
}

html.translated-ltr body,
html.translated-rtl body {
  top: 0 !important;
  margin-top: 0 !important;
}

#goog-gt-tt,
.goog-tooltip {
  display: none !important;
}

.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.iv-summary-protected {
  translate: no;
}