/* xLocums entry points and contact flow fixes (Andre t672u). Loaded only when xl_entry_fixes_enabled is on.
   Brand blue #4169E1, hover #2F55D4 with white text, navy #001233. No gold. Bottom-right stays clear for chat. */

/* Shared buttons, modeled on the site's blue solid and white outlined buttons. */
body.xl-ef-on .xl-ef-btn,
body.xl-ef-on a.xl-ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid #4169E1;
  font-family: "Work Sans", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}
body.xl-ef-on .xl-ef-btn--primary,
body.xl-ef-on a.xl-ef-btn--primary,
body.xl-ef-on a.xl-ef-btn--primary:visited {
  background: #4169E1;
  color: #fff !important;
}
body.xl-ef-on .xl-ef-btn--outline,
body.xl-ef-on a.xl-ef-btn--outline,
body.xl-ef-on a.xl-ef-btn--outline:visited {
  background: #fff;
  color: #4169E1 !important;
}
body.xl-ef-on a.xl-ef-btn:hover,
body.xl-ef-on a.xl-ef-btn:focus-visible,
body.xl-ef-on .xl-ef-btn:hover {
  background: #2F55D4;
  border-color: #2F55D4;
  color: #fff !important;
}
body.xl-ef-on .xl-ef-btn:focus-visible {
  outline: 2px solid #001233;
  outline-offset: 3px;
}

/* 4) Get Locums Coverage in two steps. Dots and Continue modeled on the Submit Your CV form. */
body.xl-ef-4 .xl-ef-step[hidden] {
  display: none !important;
}
body.xl-ef-4 .xl-ef-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 0 0 16px;
  font-family: "Work Sans", Helvetica, Arial, sans-serif;
}
body.xl-ef-4 .xl-ef-dots .xl-ef-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #cfd6e2;
  background: #fff;
  color: #5b6474;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
body.xl-ef-4 .xl-ef-dots .xl-ef-dot.is-done {
  background: #4169E1;
  border-color: #4169E1;
  color: #fff;
}
body.xl-ef-4 .xl-ef-dots .xl-ef-dot.is-current {
  background: #fff;
  border-color: #001233;
  color: #001233;
  box-shadow: 0 0 0 3px #e8eefc;
}
body.xl-ef-4 .xl-ef-dots__label {
  flex-basis: 100%;
  margin: 2px 0 0 !important;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #001233;
}
body.xl-ef-4 .xl-ef-nav {
  display: flex;
  margin: 4px 0 0;
  width: 100%;
}
body.xl-ef-4 .xl-ef-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: #4169E1;
  color: #fff;
  font-family: "Work Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
body.xl-ef-4 .xl-ef-next:hover,
body.xl-ef-4 .xl-ef-next:focus-visible {
  background: #2F55D4;
  color: #fff;
}
body.xl-ef-4 .xl-ef-backrow {
  margin: 0 0 6px !important;
}
body.xl-ef-4 .xl-ef-back {
  border: 0;
  background: none;
  padding: 4px 0;
  color: #4169E1;
  font-family: "Work Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
body.xl-ef-4 .xl-ef-back:hover,
body.xl-ef-4 .xl-ef-back:focus-visible {
  background: none;
  color: #2F55D4;
  text-decoration: underline;
}
body.xl-ef-4 .xl-ef-err {
  display: none;
  margin: 0 0 10px !important;
  font-family: "Work Sans", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #c03434;
}
body.xl-ef-4 .xl-ef-err.is-on {
  display: block;
}
body.xl-ef-4 .xl-rc input.xl-ef-invalid,
body.xl-ef-4 .xl-rc .xl-ef-invalid {
  border-color: #c03434 !important;
  box-shadow: 0 0 0 3px rgba(192, 52, 52, 0.12) !important;
}

/* 7) Quick apply: optional tag on Message, Profession and Speciality. */
body.xl-ef-7 #apply-pop .xl-ef-opt {
  font-weight: 400;
  color: #5b6474;
  font-size: .92em;
}
body.xl-ef-7 .xl-ef-apply-err {
  margin: 8px 0 0;
  color: #c03434;
  font-family: "Work Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* 11) Footer: six columns on desktop (logo, Specialties x2, For Employers, For Providers, Jobs). */
@media (min-width: 1025px) {
  body.xl-ef-11 #colophon .footer-col > .elementor-container > .elementor-element-3a7d81f { width: 24% !important; }
  body.xl-ef-11 #colophon .footer-col > .elementor-container > .elementor-element-3e20225,
  body.xl-ef-11 #colophon .footer-col > .elementor-container > .elementor-element-bc8ae53 { width: 16% !important; }
  body.xl-ef-11 #colophon .footer-col > .elementor-container > .elementor-element-5c29b14,
  body.xl-ef-11 #colophon .footer-col > .elementor-container > .xl-ef-prov-col { width: 14.5% !important; }
  body.xl-ef-11 #colophon .footer-col > .elementor-container > .elementor-element-a17c596 { width: 15% !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.xl-ef-11 #colophon .footer-col > .elementor-container > .xl-ef-prov-col { width: 50% !important; }
}

/* 12) 404 page: two ways forward instead of the search box. */
body.xl-ef-12.error404 .xl-ef-404 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 8px;
}
@media (max-width: 480px) {
  body.xl-ef-12.error404 .xl-ef-404 .xl-ef-btn {
    width: 100%;
  }
}

/* 13) Login page: the old username and password box is hidden; the card keeps its
   Sign In title and gets one Sign in button that opens the Sign in pop-up. */
body.xl-ef-13 #login-2 #login_form > *:not(.form-title):not(.xl-fc__head),
body.xl-ef-13 #login-2 #forget-password {
  display: none !important;
}
body.xl-ef-13 #login-2 .xl-ef-login {
  padding: 4px 0 6px;
  font-family: "Work Sans", Helvetica, Arial, sans-serif;
}
body.xl-ef-13 #login-2 .xl-ef-login__sub {
  margin: 0 0 16px;
  font-size: 14px;
  color: #3b4456;
}
body.xl-ef-13 #login-2 .xl-ef-login__btn {
  width: 100%;
}

/* 3) Phone menu: the Resources column lines up with the Services column. */
@media (max-width: 1024px) {
  body.xl-ef-3 [data-elementor-id="5832"] .elementor-element-1eb7935,
  body.xl-ef-3 [data-elementor-id="5832"] .elementor-element-cdaa124 {
    padding-left: 20px;
    box-sizing: border-box;
  }
}
