/* Fix the main translate element position */
.page-id-5768 #google_translate_element {
  position: fixed !important;
  top: 220px !important;
  right: 30px !important;
  z-index: 99999 !important;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Force the dropdown iframe to be fixed and aligned */
.page-id-5768 .goog-te-menu-frame {
  position: fixed !important;
  top: 60px !important;     /* adjust vertical position if needed */
  right: 20px !important;
  z-index: 100000 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 6px;
}

/* Remove Google’s floating top banner that causes shifting */
.page-id-5768 .goog-te-banner-frame.skiptranslate {
  display: none !important;
}

.page-id-5768 body {
  top: 0 !important;
}

/* MOBILE FIX */
@media (max-width: 768px) {

  /* Move translate button to safe mobile position */
  .page-id-5768 #google_translate_element {
    top: auto !important;
    bottom: 20px !important;
    right: 15px !important;
    left: auto !important;
    transform: scale(0.95);
  }

  /* Ensure dropdown appears fully on screen */
  .page-id-5768 .goog-te-menu-frame {
    position: fixed !important;
    top: auto !important;
    bottom: 70px !important;   /* opens above button */
    right: 10px !important;
    left: auto !important;
    max-width: 90vw !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
  }
  
  /* Google Transalate - made as simple icon for mobile */
  .page-id-5768 .goog-te-gadget-simple span {
    display:none;
  }
  
  /* Back to top - commented for the policy page for mobile */
  .page-id-5768 .back-to-top {
      display:none;
  }

}

/* === IDA: unified font + heading colour (added Nov 2026) === */
/* 1. Use the "General Questions" font everywhere (icon fonts excluded) */
body,
:is(p, li, a, span, div, td, th, label, blockquote, input, textarea, select, button,
    h1, h2, h3, h4, h5, h6, strong, em, small):not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]):not([class*="icon"]):not([class*="dashicons"]) {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
/* 2. Black content headers -> same navy as "General Questions" (#003366) */
body .ida-certs__title,
body .ida-cert__name,
body .ida-vmv__title,
body .ida-vmv-card__title {
  color: #003366 !important;
}