/* 1.7.9.30 consistent filled-button hover.
   Brand blue #4169E1. Hover is a slightly darker royal blue #2F55D4,
   with white text and icons. Never black, never navy #001233, never yellow.
   Outline, ghost and white buttons keep their existing approved hovers.
   Off switch: xl_button_hover_enabled. */

body.xl-btn-hover-on {
  --xl-btn: #4169E1;
  --xl-btn-hover: #2F55D4;
}

/* ------------------------------------------------------------------
   Shared filled hover: slightly darker royal blue, white lettering.
   Loaded last so it wins over earlier plugin, theme and JobBank rules
   that used navy #001233, #365ACF, or left some buttons with no hover.
   ------------------------------------------------------------------ */
body.xl-btn-hover-on.xl-btn-hover-on .xl-hjs-search:hover,
body.xl-btn-hover-on.xl-btn-hover-on .xl-hjs-search:focus,
body.xl-btn-hover-on.xl-btn-hover-on .xl-hjs-search:focus-visible,
body.xl-btn-hover-on.xl-btn-hover-on .xl-hjs-search:active,
body.xl-btn-hover-on.xl-hjs-on .xl-hjs-search:hover,
body.xl-btn-hover-on.xl-hjs-on .xl-hjs-search:focus,
body.xl-btn-hover-on.xl-hjs-on .xl-hjs-search:focus-visible,
body.xl-btn-hover-on.xl-hjs-on .xl-hjs-search:active,
body.xl-btn-hover-on.xl-hjs-on.xl-hjs-on .elementor-82.elementor-82 .elementor-element-f67d54a .elementor-element-e6977fb a.elementskit-btn.xl-hjs-toggle-open,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on.xl-hjs-on .elementor-82.elementor-82 .elementor-element-f67d54a .elementor-element-e6977fb a.elementskit-btn.xl-hjs-toggle-open,
body.xl-btn-hover-on.xl-hjs-on a.elementskit-btn.xl-hjs-toggle-open,
body.xl-btn-hover-on.xl-hjs-on a.elementskit-btn.xl-hjs-toggle-open:hover,
body.xl-btn-hover-on.xl-hjs-on a.elementskit-btn.xl-hjs-toggle-open:focus,
body.xl-btn-hover-on #masthead li#menu-item-43:hover,
body.xl-btn-hover-on #masthead li#menu-item-43:focus-within,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43:hover,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43:focus-within,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-f67d54a .elementskit-btn:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-f67d54a .elementskit-btn:focus,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-f67d54a .elementskit-btn:focus-visible,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-22169ad .elementskit-btn:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-0da3b93 .elementskit-btn:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-ecdaa91 .elementskit-btn:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .xl-apply:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .xl-fj-apply:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .xl-search-go:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-f67d54a .elementskit-btn:focus-visible,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .xl-apply:focus-visible,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .xl-fj-apply:focus-visible,
body.xl-btn-hover-on a.xl-apply:hover,
body.xl-btn-hover-on a.xl-apply:focus,
body.xl-btn-hover-on a.xl-apply:focus-visible,
body.xl-btn-hover-on button.xl-apply:hover,
body.xl-btn-hover-on button.xl-apply:focus-visible,
body.xl-btn-hover-on .listingdata-col .client-contact .xl-apply:hover,
body.xl-btn-hover-on .listingdata-col .client-contact .xl-apply:focus-visible,
body.xl-btn-hover-on .listingdata-col .client-contact button.xl-apply:hover,
body.xl-btn-hover-on a.xl-fj-apply:hover,
body.xl-btn-hover-on a.xl-fj-apply:focus-visible,
body.xl-btn-hover-on a.xl-search-go:hover,
body.xl-btn-hover-on button.xl-search-go:hover,
body.xl-btn-hover-on a.xl-btn:not(.xl-btn--ghost):not(.xl-btn--outline):not([href^="tel"]):hover,
body.xl-btn-hover-on a.xl-btn:not(.xl-btn--ghost):not(.xl-btn--outline):not([href^="tel"]):focus,
body.xl-btn-hover-on a.xl-btn--primary:hover,
body.xl-btn-hover-on a.xl-btn--primary:focus,
body.xl-btn-hover-on button.xl-btn--primary:hover,
body.xl-btn-hover-on button.xl-btn--primary:focus,
body.xl-btn-hover-on a.xl-ref__btn:not(.xl-ref__btn--ghost):hover,
body.xl-btn-hover-on a.xl-ref__btn:not(.xl-ref__btn--ghost):focus,
body.xl-btn-hover-on a.xl-ph__btn--primary:hover,
body.xl-btn-hover-on a.xl-ph__btn--primary:focus,
body.xl-btn-hover-on .xl-cta-band__btn--solid:hover,
body.xl-btn-hover-on .xl-cta-band__btn--solid:focus,
body.xl-btn-hover-on.xl-cta-band-on .xl-cta-band__btn--solid:hover,
body.xl-btn-hover-on.xl-cta-band-on .xl-cta-band__btn--solid:focus,
body.xl-btn-hover-on .xl-footer-band__btn--primary:hover,
body.xl-btn-hover-on .xl-footer-band__btn--primary:focus,
body.xl-btn-hover-on.xl-footer-band-photo .xl-footer-band__btn--primary:hover,
body.xl-btn-hover-on.xl-footer-band-photo .xl-footer-band__btn--primary:focus,
body.xl-btn-hover-on a.xlts-btn.xlts-btn-primary:hover,
body.xl-btn-hover-on a.xlts-btn.xlts-btn-primary:focus,
body.xl-btn-hover-on button.xlts-btn.xlts-btn-primary:hover,
body.xl-btn-hover-on button.xlts-btn.xlts-btn-primary:focus,
body.xl-btn-hover-on .xlts-portal a.xlts-btn.xlts-btn-primary:hover,
body.xl-btn-hover-on .xlts-portal button.xlts-btn.xlts-btn-primary:hover,
body.xl-btn-hover-on .xl-auth-btn:not(.xl-auth-btn--ghost):hover,
body.xl-btn-hover-on .xl-auth-btn:not(.xl-auth-btn--ghost):focus,
body.xl-btn-hover-on .xl-reg-cover__btn:hover,
body.xl-btn-hover-on .xl-reg-cover__btn:focus,
body.xl-btn-hover-on .xl-ib .xl-ib__btn:hover,
body.xl-btn-hover-on .xl-ib .xl-ib__btn:focus,
body.xl-btn-hover-on .xl-ib a.xl-ib__btn:hover,
body.xl-btn-hover-on .xl-cv-modal__submit:hover,
body.xl-btn-hover-on .xl-cv-modal__submit:focus,
body.xl-btn-hover-on .xl-cv__submit:hover,
body.xl-btn-hover-on .xl-cv__submit:focus,
body.xl-btn-hover-on .xl-cv__card .wpcf7 input[type="submit"]:hover,
body.xl-btn-hover-on .xl-cv__card .wpcf7 .wpcf7-submit:hover,
body.xl-btn-hover-on .wpcf7 input[type="submit"]:hover,
body.xl-btn-hover-on .wpcf7 input[type="submit"]:focus,
body.xl-btn-hover-on .wpcf7 .wpcf7-submit:hover,
body.xl-btn-hover-on .wpcf7 .wpcf7-submit:focus,
body.xl-btn-hover-on input[type="submit"]:hover,
body.xl-btn-hover-on input[type="submit"]:focus,
body.xl-btn-hover-on button[type="submit"]:not(.xl-ss__btn):not(.xl-choice):hover,
body.xl-btn-hover-on button[type="submit"]:not(.xl-ss__btn):not(.xl-choice):focus,
body.xl-btn-hover-on #modal3 #submit_jobbank_payment:hover,
body.xl-btn-hover-on #modal4 #submit_jobbank_payment:hover,
body.xl-btn-hover-on button.btn.btn-big:hover,
body.xl-btn-hover-on button.btn.btn-big:focus,
body.xl-btn-hover-on a.btn.btn-big:hover,
body.xl-btn-hover-on .btn.btn-big:hover,
body.xl-btn-hover-on .btn.btn-big:focus,
body.xl-btn-hover-on #popup-contact .applypop_newclass:hover,
body.xl-btn-hover-on #popup-contact #apply-pop .btn-big:hover,
body.xl-btn-hover-on .xl-search-empty__btn--primary:hover,
body.xl-btn-hover-on .xl-search-empty__btn--primary:focus,
body.xl-btn-hover-on .xl-br-search__form button:hover,
body.xl-btn-hover-on .xl-nl button:hover,
body.xl-btn-hover-on .xl-sbv2-next:hover,
body.xl-btn-hover-on .xl-sbv2-next:focus,
body.xl-btn-hover-on a.xl-ph__btn:not(.xl-ph__btn--ghost):hover,
body.xl-btn-hover-on a.xl-cv-btn:hover,
body.xl-btn-hover-on .elementor-element-c1bf704 button.xl-hjs-search:hover {
  background: #2F55D4 !important;
  background-color: #2F55D4 !important;
  background-image: none !important;
  border-color: #2F55D4 !important;
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Header Login: white lettering at rest and on hover. The hover fill is applied only to the rounded pill, not the link
   (the link is taller than the pill and a fill on it would break the corners).
   Lettering stays white. The glow uses the same blue. */
body.xl-btn-hover-on #masthead li#menu-item-43:hover,
body.xl-btn-hover-on #masthead li#menu-item-43:focus-within,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43:hover,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43:focus-within {
  box-shadow: 0 8px 16px 0 rgba(47, 85, 212, 0.28);
}
body.xl-btn-hover-on #masthead li#menu-item-43 a.hfe-menu-item,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43 a.hfe-menu-item {
  color: #ffffff !important;
  background-color: transparent !important;
  background-image: none !important;
}
body.xl-btn-hover-on #masthead li#menu-item-43:hover a.hfe-menu-item,
body.xl-btn-hover-on #masthead li#menu-item-43:focus-within a.hfe-menu-item,
body.xl-btn-hover-on #masthead li#menu-item-43 a.hfe-menu-item:hover,
body.xl-btn-hover-on #masthead li#menu-item-43 a.hfe-menu-item:focus,
body.xl-btn-hover-on #masthead li#menu-item-43 a.hfe-menu-item:active,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43:hover a.hfe-menu-item,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43:focus-within a.hfe-menu-item,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43 a.hfe-menu-item:hover,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43 a.hfe-menu-item:focus,
body.xl-btn-hover-on.xl-af-on #masthead li#menu-item-43 a.hfe-menu-item:active {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* The open Find a Locums Job tab is a selected state, not only a hover.
   Same darker royal blue as the other filled buttons, never navy. */
body.xl-btn-hover-on.xl-hjs-on.xl-hjs-on .elementor-82.elementor-82 .elementor-element-f67d54a .elementor-element-e6977fb a.elementskit-btn.xl-hjs-toggle-open,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on.xl-hjs-on .elementor-82.elementor-82 .elementor-element-f67d54a .elementor-element-e6977fb a.elementskit-btn.xl-hjs-toggle-open {
  background: #2F55D4 !important;
  background-color: #2F55D4 !important;
  border-color: #2F55D4 !important;
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Basecamp / portal Log in: form-card and portal CSS set the rest fill with
   high-specificity !important rules, so the shared hover block above cannot
   win on its own. Match that specificity here. */
body.xl-btn-hover-on.xl-btn-hover-on.xl-fc-on .xlts-portal .xlts-card.xlts-empty .xlts-btn.xlts-btn-primary:hover,
body.xl-btn-hover-on.xl-btn-hover-on.xl-fc-on .xlts-portal .xlts-card.xlts-empty .xlts-btn.xlts-btn-primary:focus,
body.xl-btn-hover-on.xl-btn-hover-on.xl-fc-on .xlts-portal .xlts-card.xlts-empty a.xlts-btn-primary:hover,
body.xl-btn-hover-on.xl-btn-hover-on.xl-fc-on .xlts-portal .xlts-card.xlts-empty a.xlts-btn.xlts-btn-primary:hover,
body.xl-btn-hover-on.xl-btn-hover-on.xl-fc-on .xlts-portal button.xlts-btn.xlts-btn-primary:not(.xlts-btn-small):not(.xlts-btn-link):not(.xlts-btn-danger-link):hover,
body.xl-btn-hover-on.xl-btn-hover-on.xl-fc-on .xlts-portal a.xlts-btn.xlts-btn-primary:not(.xlts-btn-small):not(.xlts-btn-link):not(.xlts-btn-danger-link):hover,
body.xl-btn-hover-on.xl-btn-hover-on .xlts-portal .xlts-btn.xlts-btn-primary:hover,
body.xl-btn-hover-on.xl-btn-hover-on .xlts-portal a.xlts-btn.xlts-btn-primary:hover,
body.xl-btn-hover-on.xl-btn-hover-on .xlts-portal button.xlts-btn.xlts-btn-primary:hover {
  background: #2F55D4 !important;
  background-color: #2F55D4 !important;
  background-image: none !important;
  border-color: #2F55D4 !important;
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Outline, ghost and white buttons: do not use the filled hover.
   These rules sit after the shared block so approved hovers stay put. */
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-067be31 .elementskit-btn:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .elementor-element-f2f56aa .elementskit-btn:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .xl-cta-req:hover,
body.xl-btn-hover-on.xl-hu-on.xl-hu-on .elementor-82.elementor-82 .xl-view-job:hover,
body.xl-btn-hover-on a.xl-view-job:hover,
body.xl-btn-hover-on a.xl-view-job:focus-visible,
body.xl-btn-hover-on a.xl-cta-req:hover,
body.xl-btn-hover-on .xl-footer-band__btn--outline:hover,
body.xl-btn-hover-on .xl-footer-band__btn--outline:focus,
body.xl-btn-hover-on.xl-footer-band-photo .xl-footer-band__btn--outline:hover,
body.xl-btn-hover-on.xl-footer-band-photo .xl-footer-band__btn--outline:focus,
body.xl-btn-hover-on .xl-cta-band__btn--ghost:hover,
body.xl-btn-hover-on .xl-cta-band__btn--ghost:focus,
body.xl-btn-hover-on.xl-cta-band-on .xl-cta-band__btn--ghost:hover,
body.xl-btn-hover-on.xl-cta-band-on .xl-cta-band__btn--ghost:focus,
body.xl-btn-hover-on a.xl-btn--ghost:hover,
body.xl-btn-hover-on a.xl-btn--ghost:focus,
body.xl-btn-hover-on a.xl-ref__btn--ghost:hover,
body.xl-btn-hover-on a.xl-ref__btn--ghost:focus,
body.xl-btn-hover-on .xl-auth-btn--ghost:hover,
body.xl-btn-hover-on .xl-app-promo__webapp:hover,
body.xl-btn-hover-on .xl-ph-btn--ghost:hover,
body.xl-btn-hover-on a.xl-ph__btn--ghost:hover,
body.xl-btn-hover-on .xl-search-empty__btn--ghost:hover,
body.xl-btn-hover-on .xl-search-empty__btn--ghost:focus {
  background-image: none !important;
}
