/* Remove the obsolete left-side theme logo; retain the branded right logo. */
.header-area > .logo:first-child {
	display: none;
}

/* Keyboard navigation and focus visibility. */
.innercare-skip-link {
	position: fixed;
	z-index: 100001;
	top: 8px;
	left: 8px;
	padding: 12px 16px;
	background: #fff;
	color: #123b5d !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-150%);
}

.innercare-skip-link:focus {
	transform: translateY(0);
}

#wrapper a:focus-visible,
#wrapper button:focus-visible,
.innercare-notice-banner a:focus-visible,
.innercare-notice-banner button:focus-visible,
.innercare-skip-link:focus-visible {
	outline: 3px solid #005fcc !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 2px #fff !important;
}

/*
 * Give the desktop navigation enough room for an additional top-level item.
 */
@media only screen and (min-width: 1200px) {
	.header-area {
		width: 96%;
		max-width: 1440px;
	}

	#atp_menu {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
	}

	#atp_menu > li {
		flex: 0 0 auto;
	}

	#atp_menu > li > a {
		padding: 13px 11px;
		font-size: 12px;
	}

	#atp_menu > li > a.sf-with-ul {
		padding-right: 17px;
	}
}

/*
 * Switch to LifeCare's existing mobile navigation before links can collide
 * with the logo.
 */
@media only screen and (min-width: 960px) and (max-width: 1199px) {
	.header-area {
		width: 92%;
	}

	.sf-menu {
		display: none !important;
	}

	.iva-mobile-dropdown {
		display: block;
		width: 44px;
		height: 44px;
		background:
			linear-gradient(#666, #666) center 13px / 24px 2px no-repeat,
			linear-gradient(#666, #666) center 21px / 24px 2px no-repeat,
			linear-gradient(#666, #666) center 29px / 24px 2px no-repeat;
		cursor: pointer;
	}

	.menuwrap {
		position: absolute;
		top: 50%;
		right: 15px;
		display: block;
		margin-top: -20px;
	}
}

/* Professional full-width notice above the site header. */
.innercare-notice-banner {
	position: relative;
	z-index: 100000;
	width: 100%;
	padding: 11px 52px 11px 20px;
	border-top: 3px solid #ffd82b;
	border-bottom: 3px solid #ffd82b;
	background: #123b5d;
	color: #fff;
	opacity: 0;
	transition: opacity 160ms ease;
}

.innercare-notice-banner[hidden] {
	display: none !important;
}

.innercare-notice-banner.is-visible {
	opacity: 1;
}

.innercare-notice-content {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: center;
	max-width: 1170px;
	margin: 0 auto;
}

.innercare-notice-label {
	padding: 5px 10px;
	border-radius: 3px;
	background: #b4232d;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.innercare-notice-banner p {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.innercare-notice-message {
	color: #fff;
}

.innercare-notice-link {
	display: inline-block;
	min-height: 44px;
	padding: 8px 16px;
	border-radius: 4px;
	background: #00ccff;
	color: #17324a !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.innercare-notice-link:hover,
.innercare-notice-link:focus {
	background: #fff;
	color: #17324a !important;
}

.innercare-notice-close {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font: 700 24px/44px Arial, sans-serif;
	cursor: pointer;
	opacity: 0.85;
}

.innercare-notice-close:hover,
.innercare-notice-close:focus {
	opacity: 1;
}

@media only screen and (max-width: 700px) {
	.innercare-notice-banner {
		padding: 12px 45px 12px 14px;
	}

	.innercare-notice-content {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 8px 12px;
	}

	.innercare-notice-banner p {
		flex: 1 1 200px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.innercare-notice-banner {
		transition: none;
	}
}

/*
 * Clinic-location pages use a shared two-column content pattern, but older
 * editor markup inserts stray line breaks before the right column. Normalize
 * the alignment and retain the Blythe cyan/dark-gray visual treatment.
 */
#main.leftsidebar .two_third + br {
	display: none !important;
}

#main.leftsidebar .one_third.last > br:first-child {
	display: none !important;
}

#main.leftsidebar .two_third,
#main.leftsidebar .one_third.last {
	vertical-align: top;
	color: #555;
}

#main.leftsidebar .one_third.last > h3:first-of-type {
	margin-top: 0 !important;
}

#main.leftsidebar .two_third > h2:first-child .section_row {
	background-color: #00ccff !important;
}

#main.leftsidebar .two_third > h2:first-child,
#main.leftsidebar .two_third > h2:first-child strong,
#main.leftsidebar .two_third h3,
#main.leftsidebar .one_third.last h2,
#main.leftsidebar .one_third.last h3,
#main.leftsidebar .one_third.last strong {
	color: #555 !important;
}

#main.leftsidebar .two_third p,
#main.leftsidebar .two_third li,
#main.leftsidebar .one_third.last p,
#main.leftsidebar .one_third.last li,
#main.leftsidebar .iva_bh_shortcode {
	color: #555;
}

#main.leftsidebar .two_third a,
#main.leftsidebar .one_third.last a {
	color: #007a99;
}

#main.leftsidebar .two_third .fa-li {
	color: #00ccff !important;
}

#main.leftsidebar .sub_nav li.current_page_item > a,
#main.leftsidebar .sub_nav li.current_page_item > a:hover {
	background-color: #00ccff !important;
	color: #17324a !important;
}

@media print {
	.innercare-notice-banner,
	.innercare-skip-link,
	header,
	.iva-mobile-menu,
	#google_translate_element,
	.skiptranslate,
	footer {
		display: none !important;
	}

	html,
	body,
	#wrapper,
	#main,
	.pagemid,
	.section_inner,
	.inner {
		width: auto !important;
		max-width: none !important;
		background: #fff !important;
		color: #000 !important;
		box-shadow: none !important;
	}

	a {
		color: #000 !important;
		text-decoration: underline;
	}

	img {
		max-width: 100% !important;
		height: auto !important;
	}
}
