/*
  xLocums archive and page fixes (1.7.9.21).
  Enqueued when xl_archive_fix_enabled is on. Every rule is scoped under
  body.xl-af-on so turning the switch off removes all of it.
  No less-than or greater-than signs in comments.
*/

/* ---- Breadcrumb: Home » Profession » Specialty, under the banner ---- */
body.xl-af-on .xl-af-crumbs {
	background: #ffffff;
	margin: 0;
	padding: 0;
}
body.xl-af-on .xl-af-crumbs__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 48px 0;
	box-sizing: border-box;
}
body.xl-af-on .xl-af-crumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: "Work Sans", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #001233;
}
body.xl-af-on .xl-af-crumbs__item {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
}
body.xl-af-on .xl-af-crumbs__item a {
	color: #4169E1;
	text-decoration: none;
	font-weight: 500;
}
body.xl-af-on .xl-af-crumbs__item a:hover,
body.xl-af-on .xl-af-crumbs__item a:focus {
	color: #001233;
	text-decoration: underline;
}
body.xl-af-on .xl-af-crumbs__sep {
	display: inline-block;
	margin: 0 10px;
	color: #001233;
}
body.xl-af-on .xl-af-crumbs__item:last-child {
	color: #001233;
	font-weight: 600;
}
@media (max-width: 1024px) {
	body.xl-af-on .xl-af-crumbs__inner { padding: 14px 24px 0; }
}
@media (max-width: 640px) {
	body.xl-af-on .xl-af-crumbs__inner { padding: 12px 16px 0; }
	body.xl-af-on .xl-af-crumbs__list { font-size: 13px; }
}

/* ---- City and scenery photo banner (archives and list hubs) ---- */
/* One overlay for every photo banner. A light left scrim keeps the title
   readable; a 30 to 55 percent veil (not 50 to 80) keeps the scenery
   visible, including darker photos, so the band does not read as plain navy. */
body.xl-af-on .xl-iba.xl-iba--photo {
	background:
		linear-gradient(90deg, rgba(3, 18, 50, 0.28) 0%, rgba(3, 18, 50, 0) 48%),
		linear-gradient(180deg, rgba(3, 18, 50, 0.30) 0%, rgba(3, 18, 50, 0.55) 100%),
		var(--xl-iba-photo) center 35% / cover no-repeat,
		#031232;
}

/* The with xLocums line: the blue x is the brand mark. A touch larger so it
   never reads as a stray dash on a dark banner. */
body.xl-af-on .xl-iba__mark .xl-mark__x {
	font-size: 1.1em;
	font-weight: 800;
	margin-right: 1px;
}

/* ---- One H1 on empty archives (second title stays for screen readers) ---- */
body.xl-af-on .xl-af-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Solid white header; banner starts below it ---- */
/* The header is reserved at 80px (60px on tablets and phones) and painted
   white from the first frame, so it cannot jump, shrink, or sit transparent
   over the banner photo when the sticky-header script runs or when the
   visitor scrolls back to the top. Banner padding that used to clear a
   floating header is removed here; the reserved masthead height holds
   that space. Nav links stay navy so they stay readable on the white bar. */
body.xl-af-on:not(.admin-bar) #page {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.xl-af-on #masthead {
	height: 80px !important;
	min-height: 80px !important;
	max-height: 80px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
}
body.xl-af-on #masthead .she-header-yes,
body.xl-af-on #masthead .she-header-yes.elementor-section,
body.xl-af-on #masthead .section-main-header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	height: 80px !important;
	min-height: 80px !important;
	max-height: 80px !important;
	margin: 0 !important;
	background-color: #fff !important;
	background-image: none !important;
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
	z-index: 1000;
}
body.xl-af-on #masthead .she-header-yes::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #fff;
	z-index: -1;
	pointer-events: none;
}
body.xl-af-on #masthead nav a,
body.xl-af-on #masthead .elementor-nav-menu a,
body.xl-af-on #masthead .elementor-nav-menu--main a,
body.xl-af-on #masthead .elementor-icon-list-text,
body.xl-af-on #masthead .elementor-icon-list-item a {
	color: #031232 !important;
}

/* 1.7.9.24L: the header Login pill is a blue CTA, so its lettering stays white (resting and hover).
   The rule above made it navy on blue, and navy on navy when hovered. Hover darkens the blue like the other blue CTAs. */
body.xl-af-on #masthead li#menu-item-43 a.hfe-menu-item,
body.xl-af-on #masthead li#menu-item-43 a.hfe-menu-item:hover,
body.xl-af-on #masthead li#menu-item-43 a.hfe-menu-item:focus,
body.xl-af-on #masthead li#menu-item-43 a.hfe-menu-item:active {
	color: #fff !important;
}
body.xl-af-on #masthead li#menu-item-43:hover,
body.xl-af-on #masthead li#menu-item-43:focus-within {
	background: #365acf;
	box-shadow: 0 8px 16px 0 rgba(54, 90, 207, 0.28);
}
body.xl-af-on #masthead a[href^="tel"] {
	color: #4169E1 !important;
}
body.xl-af-on #masthead a.elementor-button,
body.xl-af-on #masthead .elementor-button-link,
body.xl-af-on #masthead .elementor-button,
body.xl-af-on #masthead .elementor-button-text {
	color: #ffffff !important;
}
body.xl-af-on .xl-iba,
body.xl-af-on .xl-ib,
body.xl-af-on .xl-rc,
body.xl-af-on .xl-rp,
body.xl-af-on .xl-cv {
	padding-top: 0 !important;
}
/* The "x = any Provider" band stays in the page, just above the footer.
   It must never pin to the viewport or cover the page. */
body.xl-af-on.xl-footer-band-photo .xl-footer-band.xl-footer-band--ready {
	position: relative !important;
	top: auto !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	overflow: hidden !important;
}
@media (max-width: 1024px) {
	body.xl-af-on #masthead,
	body.xl-af-on #masthead .she-header-yes,
	body.xl-af-on #masthead .she-header-yes.elementor-section,
	body.xl-af-on #masthead .section-main-header {
		height: 60px !important;
		min-height: 60px !important;
		max-height: 60px !important;
	}
}

/* ---- Even, tight gap under the banner and crumbs ---- */
/* Breadcrumb sits directly under the banner. Content starts about 28px
   below the breadcrumb, matching the approved inner-page spacing. The
   outer content wrapper does not need extra top padding. */
body.xl-af-on.xl-af-archive.xl-empty-jobs:not(.xl-ph-on) #page > #content,
body.xl-af-on.xl-af-archive:not(.xl-ph-on) #page > #content {
	padding-top: 0 !important;
}
body.xl-af-on.xl-af-archive:not(.xl-ph-on) #content > .ast-container {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.xl-af-on.xl-af-archive:not(.xl-ph-on) #primary {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
/* Populated archives: JobBank section keeps a small, even top gap. */
body.xl-af-on.xl-af-archive:not(.xl-ph-on):not(.xl-empty-jobs) #content > .ast-container > .bootstrap-wrapper > section {
	padding-top: 28px !important;
}
/* Empty archives: same gap as populated pages. */
body.xl-af-on.xl-af-archive.xl-empty-jobs .xl-empty-jobs__wrap {
	padding-top: 28px;
	gap: 28px;
}

/* Hide the old theme breadcrumb and the leftover archive title once our banner
   and breadcrumb are on the page. */
body.xl-af-on:has(.xl-af-crumbs) .aioseo-breadcrumbs,
body.xl-af-on:has(.xl-af-crumbs) .ast-breadcrumbs-wrapper,
body.xl-af-on:has(.xl-af-crumbs) .xl-empty-jobs__crumbs {
	display: none !important;
}
body.xl-af-on:has(.xl-iba) h1.xl-empty-jobs__title,
body.xl-af-on:has(.xl-iba) h1.categoryTitle {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
/* Align the search column with the job cards (JobBank adds a 10px top margin). */
body.xl-af-on.xl-af-archive .left-catbar {
	margin-top: 0 !important;
}

/* Left column width matches the populated archives. */
@media (min-width: 1200px) {
	body.xl-af-on.xl-af-archive.xl-empty-jobs .xl-empty-jobs__wrap {
		max-width: 1140px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 20px;
		padding-right: 20px;
	}
	body.xl-af-on.xl-af-archive.xl-empty-jobs .xl-empty-jobs__selector {
		flex: 0 0 314px;
		width: 314px;
		max-width: 314px;
	}
}
@media (min-width: 782px) and (max-width: 1199px) {
	body.xl-af-on.xl-af-archive.xl-empty-jobs .xl-empty-jobs__selector {
		flex: 0 0 280px;
		width: 280px;
		max-width: 280px;
	}
}
body.xl-af-on.xl-af-archive.xl-empty-jobs .xl-empty-related__meta {
	display: block;
}

/* ---- Scroll-to-top arrow: bottom-left (job alerts tab is middle-left, chat is bottom-right) ---- */
body.xl-af-on #ast-scroll-top,
body.xl-af-on .ast-scroll-to-top-right,
body.xl-af-on .ast-scroll-to-top-left {
	left: 20px !important;
	right: auto !important;
	bottom: 20px !important;
}

/* ---- x = any Provider band: flush on the section above and the footer below ---- */
body.xl-af-on.xl-footer-band-photo .xl-footer-band.xl-footer-band--ready {
	margin-top: -1px !important;
	margin-bottom: 0 !important;
	padding-top: 32px;
	padding-bottom: 36px;
}
/* 1.7.9.23: these fixed sizes apply only while the photo is NOT moving with the scroll
   (phones, tablets, touch, reduced motion, or the switch off). While the script moves the
   photo it adds xl-fb-moving to the band and sets the size and position itself. */
body.xl-af-on.xl-footer-band-photo .xl-footer-band:not(.xl-fb-moving) .xl-footer-band__photo-img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	left: 0 !important;
	top: 0 !important;
	aspect-ratio: 1920 / 708;
	object-fit: cover !important;
	object-position: center 22% !important;
}
/* The overlay is lighter at the top so the photo, not a white strip, meets the section above. */
body.xl-af-on.xl-footer-band-photo .xl-footer-band__photo::after {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.80) 55%, rgba(255, 255, 255, 0.84) 100%);
	opacity: 1;
}
@media (max-width: 767px) {
	body.xl-af-on.xl-footer-band-photo .xl-footer-band:not(.xl-fb-moving) .xl-footer-band__photo-img {
		object-position: center 18% !important;
	}
}
body.xl-af-on #colophon {
	margin-top: 0;
}

/* ---- Standby form: only step 1 before the script builds the steps ---- */
body.xl-standby-v2.xl-af-on .xl-cv__card form:not(.xl-sbv2-ready) .xl-form > p:nth-child(n+4) {
	display: none !important;
}
body.xl-standby-v2.xl-af-on .xl-cv__card form:not(.xl-sbv2-ready) .xl-form::before {
	content: "Step 1 of 3";
	display: block;
	margin: 0 0 14px;
	text-align: center;
	font: 600 13px/1.3 "Work Sans", Helvetica, Arial, sans-serif;
	color: #001233;
}
body.xl-standby-v2.xl-af-on .xl-cv__card form:not(.xl-sbv2-ready) .xl-form::after {
	content: "Continue";
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	margin-top: 8px;
	border-radius: 10px;
	background: #4169E1;
	color: #ffffff;
	font: 600 16px/1 "Work Sans", Helvetica, Arial, sans-serif;
	pointer-events: none;
	opacity: 0.55;
}
body.xl-standby-v2.xl-af-on .xl-cv__card form:not(.xl-sbv2-ready) .wpcf7-response-output {
	display: none !important;
}
/* Our own inline field messages (replace browser tooltips). */
body.xl-af-on .xl-sbv2-msg {
	display: block;
	margin: 6px 0 0;
	padding: 0;
	font: 500 13px/1.4 "Work Sans", Helvetica, Arial, sans-serif;
	color: #b42318;
}
body.xl-af-on .xl-sbv2-msg::before {
	content: "!";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 6px;
	border-radius: 50%;
	background: #b42318;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	vertical-align: 1px;
}

/* ---- Sign-up modal: readable reCAPTCHA messages ---- */
body.xl-af-on .modal .captcha-error:not(:empty),
body.xl-af-on .xl-af-captcha-error {
	display: block;
	margin: 10px 0 6px;
	padding: 10px 12px;
	border: 1px solid #f1b5b0;
	border-radius: 8px;
	background: #fdf0ef;
	color: #b42318 !important;
	font: 500 14px/1.45 "Work Sans", Helvetica, Arial, sans-serif;
}
body.xl-af-on .xl-af-captcha-note {
	margin: 0 0 8px;
	font: 500 13px/1.45 "Work Sans", Helvetica, Arial, sans-serif;
	color: #001233;
}
body.xl-af-on .xl-af-captcha-note.is-warn {
	padding: 10px 12px;
	border: 1px solid #f1b5b0;
	border-radius: 8px;
	background: #fdf0ef;
	color: #b42318;
}
body.xl-af-on .modal .g-recaptcha {
	min-height: 78px;
	max-width: 100%;
	overflow: hidden;
}

/* ---- Footer: tighter, even line spacing (desktop and phone) ---- */
body.xl-af-on #colophon .footer-col .elementor-icon-list-item,
body.xl-af-on.xl-footer-compact #colophon .footer-col .elementor-icon-list-item {
	margin: 0 !important;
	padding: 0 !important;
}
body.xl-af-on #colophon .footer-col .elementor-icon-list-item > a,
body.xl-af-on #colophon .footer-col .elementor-icon-list-item > .elementor-icon-list-text,
body.xl-af-on.xl-footer-compact #colophon .footer-col .elementor-icon-list-item > a,
body.xl-af-on.xl-footer-compact #colophon .footer-col .elementor-icon-list-item > .elementor-icon-list-text {
	line-height: 19px !important;
	min-height: 0 !important;
}
body.xl-af-on #colophon .footer-col .elementor-icon-list-items {
	margin: 0 !important;
	padding: 0 !important;
}
body.xl-af-on #colophon .footer-col .elementor-widget-icon-list .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
}
body.xl-af-on #colophon .footer-col .elementor-widget-heading .elementor-widget-container {
	margin: 0 0 4px !important;
}
/* The two Specialties lists start on the same line. */
body.xl-af-on #colophon .footer-col .elementor-widget-wrap > .elementor-element:first-child {
	margin-top: 0 !important;
}
body.xl-af-on #colophon .footer-col .elementor-widget-wrap {
	padding-top: 0 !important;
	align-content: flex-start;
}
body.xl-af-on #colophon .footer-col .elementor-widget:not(:last-child) {
	margin-bottom: 0 !important;
}

/* ---- Footer on phones: tap-to-expand link groups, Specialties in 2 columns ---- */
@media (max-width: 767px) {
	body.xl-af-on #colophon .footer-col .elementor-icon-list-item > a,
	body.xl-af-on #colophon .footer-col .elementor-icon-list-item > .elementor-icon-list-text,
	body.xl-af-on.xl-footer-compact #colophon .footer-col .elementor-icon-list-item > a,
	body.xl-af-on.xl-footer-compact #colophon .footer-col .elementor-icon-list-item > .elementor-icon-list-text {
		line-height: 18px !important;
		font-size: 14px;
	}
	body.xl-af-on.xl-af-acc-on #colophon .xl-af-acc__head {
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		border-bottom: 1px solid rgba(126, 162, 255, 0.28);
		padding: 10px 0 !important;
		margin: 0 !important;
	}
	body.xl-af-on.xl-af-acc-on #colophon .xl-af-acc__head .elementor-heading-title {
		display: block;
		text-align: center;
		font-size: 20px !important;
		margin: 0 !important;
	}
	body.xl-af-on.xl-af-acc-on #colophon .xl-af-acc__head .elementor-heading-title::after {
		content: "";
		display: inline-block;
		vertical-align: middle;
		margin-left: 10px;
		width: 8px;
		height: 8px;
		margin-top: -3px;
		border-right: 2px solid #7EA2FF;
		border-bottom: 2px solid #7EA2FF;
		transform: rotate(45deg);
		transition: transform 0.2s ease;
	}
	body.xl-af-on.xl-af-acc-on #colophon .xl-af-acc__head[aria-expanded="true"] .elementor-heading-title::after {
		transform: rotate(-135deg);
		margin-top: 3px;
	}
	body.xl-af-on.xl-af-acc-on #colophon .xl-af-acc__head:focus-visible {
		outline: 2px solid #4169E1;
		outline-offset: 2px;
	}
	body.xl-af-on #colophon .xl-af-acc__panel[hidden] {
		display: none !important;
	}
	body.xl-af-on #colophon .xl-af-acc__panel {
		padding: 8px 0 6px;
	}
	body.xl-af-on #colophon .xl-af-acc__panel--grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 8px;
		max-width: 360px;
		margin: 0 auto;
	}
	body.xl-af-on #colophon .xl-af-acc__panel--grid .elementor-widget-icon-list {
		width: auto;
		min-width: 0;
	}
	body.xl-af-on #colophon .xl-af-acc__panel--grid .elementor-icon-list-items {
		display: block;
	}
	body.xl-af-on #colophon .xl-af-acc__panel--grid .elementor-icon-list-item,
	body.xl-af-on #colophon .xl-af-acc__panel--grid .elementor-icon-list-item > a {
		justify-content: flex-start !important;
		text-align: left !important;
	}
	body.xl-af-on #colophon .xl-af-acc__panel--grid .elementor-icon-list-text {
		padding-left: 6px;
		font-size: 13px;
		white-space: normal;
	}
	body.xl-af-on #colophon .xl-af-acc-gone {
		display: none !important;
	}
}

/* ---- Job card lists: one full-width column, tight even gaps, on archive and
   search-result lists. Specialty, location, region, state, tag, job archive and
   search results use this. The home page grid and the All Locations 3-column
   grid are not touched. */
body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .row.justify-content-center,
body.xl-af-on.post-type-archive-job:not(.home) .bootstrap-wrapper #dirpro_directories .row.justify-content-center {
	display: flex;
	/* the theme's Additional CSS sets flex-direction unset with important below 1026px */
	flex-direction: column !important;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 0 0 12px;
}
body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col {
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col > .card-border-round {
	margin: 0 !important;
}
@media (min-width: 768px) {
	body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col > .card-border-round.mb-2.bg-white {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: space-between;
		position: relative;
		height: auto;
		padding: 0 10px !important;
	}
	body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col .card-img-container {
		flex: 0 0 90px;
		width: 90px !important;
		height: auto !important;
		min-height: 0;
		margin: 0 !important;
		padding: 0;
		align-items: center;
		justify-content: center;
		border-radius: 0 !important;
	}
	body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col .card-img-top-listing {
		width: 90px !important;
		max-width: 100%;
		height: auto !important;
		margin: 0 auto;
	}
	body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col .card-body {
		flex: 1 1 auto;
		min-width: 0;
		min-height: 0;
		margin: 0;
		padding: 12px 124px 12px 15px !important;
	}
	body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col .card-body > p {
		margin: 0 0 2px !important;
	}
	body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col .card-body a.title {
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
	body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col p.client-contact {
		position: absolute !important;
		right: 20px !important;
		bottom: 50% !important;
		transform: translateY(50%);
		margin: 0 !important;
		width: 84px;
	}
	body.xl-af-on:not(.home):not(.xl-af-bylocation) #dirpro_directories .listingdata-col p.client-contact .btn {
		width: 100%;
		margin-top: 5px;
	}
}
/* The All Locations page has no left filter: the list fills the content width. */

/* ---- Filter field 5 (City, state, or region) matches fields 1 to 4 ---- */
body.xl-af-on .xl-loc-text input[type=text].form-control {
	display: block;
	width: 100%;
	height: 46px;
	min-height: 46px;
	padding: 10px 14px !important;
	border: 1px solid #cfd6e2;
	border-radius: 12px;
	background: #fff;
	color: #031232;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	box-shadow: none;
	box-sizing: border-box;
}
body.xl-af-on .xl-loc-text input[type=text].form-control::placeholder {
	color: #5b6578;
	opacity: 1;
}
body.xl-af-on .xl-loc-text input[type=text].form-control:focus {
	border-color: #3f6ae0;
	box-shadow: 0 0 0 4px rgba(63, 106, 224, 0.15);
	outline: 0;
}

/* All Locations page: same tight gap under the banner as the archives (the page template
   adds a 100px top margin to its first Elementor section). */
body.xl-af-on.xl-af-bylocation #content > .ast-container,
body.xl-af-on.xl-af-bylocation #primary {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.xl-af-on.xl-af-bylocation #primary .entry-content > .elementor > .elementor-top-section:first-child,
body.xl-af-on.xl-af-bylocation #primary .elementor-top-section:first-of-type,
body.xl-af-on.xl-af-bylocation .elementor-1438 .elementor-element-ce9ccf5 {
	margin-top: 0 !important;
}
body.xl-af-on.xl-af-bylocation #primary .elementor-widget-wrap.elementor-element-populated {
	padding-top: 28px;
}
/* 1.7.9.22: All Locations cards (3 columns). The theme pins View Job and Apply to the
   right edge of a card that is only about 230px wide, so they sat on top of the text, and
   the logo column shrank to a sliver. Same card style as the list pages, stacked for the
   narrow column: logo on top, text, then the two buttons side by side with a clear gap
   (12px above, 8px between, 40px tall, same blue and outline as the list cards). */
body.xl-af-on.xl-af-bylocation #dirpro_directories .listingdata-col > .card-border-round {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	height: 100%;
	padding: 14px 15px 16px !important;
}
body.xl-af-on.xl-af-bylocation #dirpro_directories .listingdata-col .card-img-container {
	flex: 0 0 auto;
	width: 100% !important;
	height: auto !important;
	min-height: 0;
	margin: 0 0 10px !important;
	padding: 0;
	align-items: center;
	justify-content: flex-start;
	border-radius: 0 !important;
}
body.xl-af-on.xl-af-bylocation #dirpro_directories .listingdata-col .card-img-top-listing {
	width: 90px !important;
	max-width: 100%;
	height: auto !important;
	margin: 0;
}
body.xl-af-on.xl-af-bylocation #dirpro_directories .listingdata-col .card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0 !important;
	margin: 0;
	padding: 0 !important;
}
body.xl-af-on.xl-af-bylocation #dirpro_directories .listingdata-col .card-body > p {
	margin: 0 0 2px !important;
}
body.xl-af-on.xl-af-bylocation #dirpro_directories .listingdata-col p.client-contact {
	position: static !important;
	transform: none;
	display: flex;
	flex-direction: row;
	gap: 8px;
	width: auto;
	margin: auto 0 0 !important;
	padding-top: 12px;
}
body.xl-af-on.xl-af-bylocation #dirpro_directories .listingdata-col p.client-contact .btn {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
	margin: 0;
	padding-left: 6px !important;
	padding-right: 6px !important;
	white-space: nowrap;
	justify-content: center;
	text-align: center;
}

/* The page title is already in the banner; hide the leftover theme heading. */
body.xl-af-on.xl-af-bylocation .entry-header,
body.xl-af-on:has(.xl-iba) h1.entry-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------
   1.7.9.21 Content pages (licensing, FAQ, referral, about, blog posts).
   The theme sets .entry-content p to margin-bottom 0 and underlines every link inside
   .entry-content. Button-style links keep no underline, paragraphs get normal spacing,
   and boxed content pages end 40px (32px on phones) above the next band instead of
   64px of page padding plus the theme's 60px content margin.
   ---------------------------------------------------------------- */
body.xl-af-on #content a.xl-btn,
body.xl-af-on #content a.xl-btn:hover,
body.xl-af-on #content a.xl-btn:focus,
body.xl-af-on #content a.xl-btn:active,
body.xl-af-on #content a.xl-btn:visited,
body.xl-af-on #content a.xl-ref__btn,
body.xl-af-on #content a.xl-ref__btn:hover,
body.xl-af-on #content a.xl-ref__btn:focus,
body.xl-af-on #content a.xl-ref__btn:visited,
body.xl-af-on #content a.elementskit-btn,
body.xl-af-on #content a.elementskit-btn:hover,
body.xl-af-on #content a.elementskit-btn:focus,
body.xl-af-on #content a.xl-cv-btn,
body.xl-af-on #content a[class*="__btn"],
body.xl-af-on #content a[class*="__btn"]:hover,
body.xl-af-on #content a[class*="__btn"]:focus {
	text-decoration: none !important;
}
body.xl-af-on #content a.xl-btn--ghost:hover,
body.xl-af-on #content a.xl-btn--ghost:focus,
body.xl-af-on #content a.xl-ref__btn--ghost:hover,
body.xl-af-on #content a.xl-ref__btn--ghost:focus {
	border-color: #4169E1;
	color: #2f55c9;
}
/* Paragraphs that sit directly after another paragraph. */
body.xl-af-on #content .xl-card > p + p,
body.xl-af-on #content .xl-ref p + p,
body.xl-af-on.single-post #content .entry-content p + p,
body.xl-af-on.single-post #content .elementor-widget-text-editor p + p {
	margin-top: 14px;
}
/* One standard gap under the last box of a boxed content page. */
body.xl-af-on #primary:has(.xl-lic, .xl-faq, .xl-ref) {
	margin-bottom: 0;
}
body.xl-af-on .xl-lic,
body.xl-af-on .xl-faq,
body.xl-af-on .xl-ref,
body.xl-af-on .xl-ref .xl-ref__body {
	padding-bottom: 40px !important;
}
@media (max-width: 767px) {
	body.xl-af-on .xl-lic,
	body.xl-af-on .xl-faq,
	body.xl-af-on .xl-ref,
	body.xl-af-on .xl-ref .xl-ref__body {
		padding-bottom: 32px !important;
	}
}

/* Field 1 (Locum Tenens) is a plain select because it has one choice; it matches fields 2 to 5. */
body.xl-af-on .form-search select[name="sfjob_type"]:not(.xl-ss__native),
body.xl-af-on #full_grid select[name="sfjob_type"]:not(.xl-ss__native) {
	box-sizing: border-box;
	height: 46px;
	min-height: 46px;
	padding: 10px 14px !important;
	border: 1px solid #cfd6e2;
	border-radius: 12px;
	background-color: #fff;
	color: #031232;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
}

/* ------------------------------------------------------------------
   1.7.9.22 Layout shift on phones: the form cards on Standby, Add Listing and For Recruiters
   get their xLocums wordmark row (about 32px) from a script a moment after the page
   paints. The card title keeps that room until the script has run, so the form below
   does not jump. */
@media (max-width: 480px) {
	body.xl-af-on .xl-cv__card:not([data-xl-fc-head]) .xl-cv__card-title,
	body.xl-af-on .xl-rc__card:not([data-xl-fc-head]) .xl-rc__card-title {
		margin-bottom: 37.6px;
	}
}

/* 1.7.9.22 Phones and tablets: the theme adds 50px of padding above the page content to
   clear an old floating header. The header is now reserved in the page (60px), so that
   padding left a 50px white band under it on the home page, Add Listing, All Listings
   and Get Locums Coverage. The reserved header already provides the space. */
@media (max-width: 1024px) {
	body.xl-af-on:not(.admin-bar) #page > #content.site-content {
		padding-top: 0 !important;
	}
}

/* ------------------------------------------------------------------
   1.7.9.24 Tablet widths (768 to 1100): iPad portrait and landscape.
   1. Profession pages and the All Locations page (Physicians, Nurse Practitioners, Physician Assistants, CRNAs,
      Physical Therapists, Allied Health). The page builder sets the single column of
      these pages to 60 percent wide between 768 and 1024, so the search filters were
      squeezed to about 120px, the card text was cut to one letter and the breadcrumb sat
      under the search box. The column now uses the full width, like the specialty list
      pages (search on the left, list on the right).
   2. The list pages: the job board script puts View Job and Apply side by side between
      481 and 812, which pushed Apply past the right edge of the card. They stack again,
      the same as on the desktop cards.
   3. Search column on tablets up to 1024: less padding inside the box, so the filter fields
      are about 180px wide instead of 150px and their placeholder text is not cut off.
   4. All Locations page: the full width column (see 1), and two cards per row between 901
      and 1100 instead of three squeezed ones (card text was about 140px wide).
   5. Profession pages: the job board pulls the list up 75px, which put the breadcrumb under
      the search box on tablets. The list now starts below the breadcrumb.
   Desktop (above 1100) and phone (below 768) are not touched.
   ---------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1100px) {
	body.xl-ph-on .elementor-section.elementor-top-section > .elementor-container > .elementor-column.elementor-col-100.elementor-top-column,
	body.xl-af-bylocation .elementor-section.elementor-top-section > .elementor-container > .elementor-column.elementor-col-100.elementor-top-column {
		width: 100% !important;
		max-width: 100% !important;
	}
	body.xl-ph-on #content section.py-5 {
		margin-top: 0 !important;
	}
}
@media (min-width: 768px) and (max-width: 812px) {
	body.xl-af-on:not(.xl-af-bylocation) #dirpro_directories .listingdata-col p.client-contact {
		display: block !important;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	body.xl-af-on .left-catbar .background-transparent-slider.p-3 {
		padding: 12px !important;
	}
	body.xl-af-on .left-catbar .background-transparent-slider .row > .col-md-12 {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}
}
@media (min-width: 901px) and (max-width: 1100px) {
	body.xl-af-bylocation #dirpro_directories .listingdata-col {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}
}
