/* Header Styles */

.header-banner {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 6;
	padding: 8px var(--gutter-size);
	text-align: center;
	background-color: #E43636;
}

.header-banner-text {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-white);
}

.header-banner-text a {
	color: inherit;
	text-decoration: underline;
}

.header-banner-text a:focus,
.header-banner-text a:hover {
	color: inherit;
	opacity: 0.85;
}

body.has-header-banner .header {
	top: var(--header-banner-height, 0);
}

body.has-header-banner {
	--header-mobile-offset: calc(var(--header-banner-height, 0px) + 86px + 1.75rem);
}

body.has-header-banner #mobile-navigation {
	top: var(--header-banner-height, 0);
	height: calc(100vh - var(--header-banner-height, 0px));
}


.header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 5;
	transition: 200ms ease-out;
}

.header-search {
	opacity: 0;
}

body.home .header {
	opacity: 0;
}

body.scrolled .header {
	background-color: var(--color-primary);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
}

.header>.row {
	height: 100%;
	max-width: calc(1920px + calc(var(--gutter-size) * 2));
}

.header a {
	text-decoration: none;
}

.header-desktop {
	display: none;
}

.header-logo {
	width: 186px;
	display: block;
}

.header-logo img {
	width: 100%;
	display: block;
}

.header-mobile-inner {
	height: 86px;
	display: flex;
	align-items: center;
	padding-left: var(--gutter-size);
	padding-right: var(--gutter-size);
}

.header-mobile-call-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 8px;
	width: 100%;
	padding: 2px var(--gutter-size);
	font-size: 1.1rem;
	color: var(--color-white);
	background-color: var(--color-alternate-ada);
	text-decoration: none;
}

.header-mobile-call-bar:focus,
.header-mobile-call-bar:hover {
	color: var(--color-body-text);
}

.header-mobile-call-bar i {
	font-size: 0.813rem;
	line-height: 0;
}

.header-mobile-buttons {
	display: flex;
	margin-left: 4%;
	flex: 1;
	column-gap: 10px;
	justify-content: flex-end;
	align-items: center;
}

.header-mobile-buttons button,
.header-mobile-buttons .button {
	padding: 0;
	display: flex;
	font-size: 1.188rem;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50px;
}

.header-mobile-buttons .button {
	font-size: 0.938rem;
}

.header-mobile-buttons .button i,
.header-mobile-buttons .mobile-menu-toggle i {
	line-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-right {
	display: none;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
}

.header-phone {
	display: inline-flex;
	align-items: center;
}

.header-right-bottom {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

.header-nav-cta {
	display: none;
}

.mega-menu {
	display: none;
}

@media screen and (min-width: 768px) {
	.header-mobile-buttons {
		column-gap: 24px;
	}

	.header-mobile-buttons .button {
		width: auto;
		height: auto;
		font-size: 1.188rem;
		background-color: transparent;
		letter-spacing: 0;
	}

	.header-mobile-buttons .button i {
		margin-right: 9px;
		font-size: 0.813rem;
		color: var(--color-alternate);
	}
}

@media screen and (max-width: 1024px) {
	.single-attorneys {
		--header-mobile-offset: calc(86px + 1.75rem);
	}

	.single-attorneys .header-mobile {
		background-color: var(--color-primary);
	}

	.single-attorneys .header-mobile-inner {
		background-color: var(--color-primary);
	}
}

@media screen and (min-width: 1025px) {
	.header {
		padding-bottom: 16px;
	}

	.header-mobile {
		display: none;
	}

	.header-desktop {
		display: block;
	}

	.header-desktop:before {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 40px;
		background-color: var(--color-black);
		content: '';
		pointer-events: none;
	}

	.header-logo {
		padding: 0;
		width: 250px;
		margin-top: 21px;
	}

	.header-right {
		display: flex;
		flex: 1;
	}

	.header-inner {
		padding-left: var(--gutter-size);
		padding-right: var(--gutter-size);
		display: flex;
		justify-content: space-between;
		height: 100%;
		position: relative;
	}

	.header-right-top {
		display: flex;
		align-items: stretch;
		justify-content: flex-end;
		width: 100%;
		margin-bottom: 15px;
	}

	.header-right-top-nav {
		margin: 0;
		display: flex;
		line-height: 40px;
		justify-content: flex-end;
		align-items: center;
	}

	.header-right-top-nav>li {
		position: relative;
		display: inline-flex;
		align-items: center;
	}

	.header-right-top-nav>li:after {
		margin: 0 17px;
		display: inline-block;
		width: 1px;
		height: 15px;
		opacity: 0.2;
		background-color: var(--color-white);
		content: '';
	}

	.header-right-top-nav>li:last-of-type:after {
		display: none;
	}

	.header-right-top-nav>li>a {
		display: inline-block;
		font-size: 0.938rem;
		font-weight: 500;
		color: var(--color-white);
		opacity: 0.7;
		transition: opacity 200ms ease-out, color 200ms ease-out;
	}

	.header-right-top-nav>li>a:focus,
	.header-right-top-nav>li>a:hover {
		color: var(--color-white);
		opacity: 1;
	}

	.header-right-top-nav>li.menu-item-has-children>a:focus,
	.header-right-top-nav>li.menu-item-has-children>a:hover,
	.header-right-top-nav>li.menu-item-has-children:hover>a,
	.header-right-top-nav>li.menu-item-has-children.active>a {
		color: var(--color-alternate);
		opacity: 1;
	}

	.header-right-top-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		display: none;
		width: 280px;
		margin: 0;
		padding: 10px 10px;
		background-color: var(--color-white);
		z-index: 6;
		list-style: none;
		line-height: normal;
	}

	.header-right-top-nav .sub-menu li {
		display: block;
		width: 100%;
	}

	.header-right-top-nav>li.active>.sub-menu {
		display: block;
		-webkit-animation: menuSlideDown 200ms both;
		animation: menuSlideDown 200ms both;
	}

	.header-phone {
		margin-right: calc(-1 * var(--gutter-size));
		padding: 0 calc(24px + var(--gutter-size)) 0 24px;
		column-gap: 10px;
		height: 40px;
		margin-left: 24px;
		font-size: 1.063rem;
		font-weight: 700;
		color: var(--color-white);
		background-color: var(--color-alternate-ada);
		white-space: nowrap;
		transition: background-color 200ms ease-out, color 200ms ease-out;
	}

	.header-phone-label {
		font-weight: 500;
	}

	.header-phone-number {
		font-weight: 700;
	}

	.header-phone:focus,
	.header-phone:hover {
		color: var(--color-white);
		background-color: var(--color-alternate);
	}

	.header-phone i {
		font-size: 0.938rem;
		color: var(--color-white);
		line-height: 0;
	}
}

@media screen and (min-width: 1200px) {
	.header-logo {
		width: 297px;
	}
}

@media screen and (min-width: 1290px) {
	.header-nav-cta {
		display: inline-flex;
	}
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background-color: var(--color-secondary);
	border: 2px solid var(--color-secondary);
	border-radius: 6px;
	color: var(--color-white);
	font-size: 1.125rem;
	cursor: pointer;
	transition: border-color 200ms ease, background 200ms ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
	border-color: var(--color-red);
	background-color: var(--color-red);
}

/* Mobile Navigation Panel */
#mobile-navigation {
	padding-bottom: 50px;
	z-index: 100;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--color-primary);
	overflow: auto;
	display: none;
}

#mobile-navigation.active {
	display: block;
	-webkit-animation: fadeInRight 400ms cubic-bezier(0.87, 0, 0.13, 1);
	animation: fadeInRight 400ms cubic-bezier(0.87, 0, 0.13, 1);
}

.mobile-navigation-top-inner {
	height: 86px;
	align-items: center;
	padding-left: var(--gutter-size);
	padding-right: var(--gutter-size);
	display: none;
}

.mobile-navigation-top-inner img {
	max-width: 70%;
	height: auto;
}

#mobile-navigation.active .mobile-navigation-top-inner {
	display: flex !important;
}

#mobile-navigation ul {
	margin: 0 35px 15px;
}

#mobile-navigation ul li {
	padding: 0;
	position: relative;
	display: block;
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

#mobile-navigation ul li:last-of-type {
	border: none;
}

#mobile-navigation ul li::before {
	display: none;
}

#mobile-navigation li>a {
	padding: 17px 0;
	display: flex;
	justify-content: space-between;
	text-decoration: none;
	font-size: 0.938rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-white);
	letter-spacing: 0.094rem;
}

#mobile-navigation li>a:hover,
#mobile-navigation li>a:active,
#mobile-navigation li>a:focus {
	color: var(--color-white);
	background: transparent;
}

#mobile-navigation .sub-menu {
	margin: 0;
	background-color: transparent;
	z-index: 1;
	overflow: auto;
	display: none;
	width: 100%;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

#mobile-navigation ul li.sub-menu-open>.sub-menu {
	display: block;
}

#mobile-navigation .menu-item-has-children>a::after {
	content: "\2b";
	font-family: "Font Awesome 6 Pro";
	font-size: 1.125rem;
	color: var(--color-alternate);
	font-weight: 700;
}

#mobile-navigation .sub-menu-open.menu-item-has-children>a::after {
	content: "\f068";
}

.mobile-menu-accordion #mobile-navigation .sub-menu li {
	border-bottom: none;
}

.mobile-menu-accordion #mobile-navigation .sub-menu a {
	padding: 8px 15px;
	color: var(--color-white);
}

.mobile-menu-accordion #mobile-navigation .sub-menu a:hover,
.mobile-menu-accordion #mobile-navigation .sub-menu a:active,
.mobile-menu-accordion #mobile-navigation .sub-menu a:focus {
	color: var(--color-alternate);
}

.mobile-navigation-close {
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 45px;
	height: 45px;
	background: var(--color-secondary);
	margin-left: auto;
	color: var(--color-white);
	font-size: 1rem;
	border-radius: 50px;
}

.mobile-navigation-close:focus,
.mobile-navigation-close:hover {
	color: var(--color-secondary);
}

.mobile-navigation-previous {
	margin-bottom: 10px;
	border: none !important;
}

#mobile-navigation .button {
	margin: 0 35px;
}

/* Overlay when mobile menu is open */
#container.active::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: none;
}

@media screen and (min-width: 1025px) {
	#mobile-navigation {
		display: none !important;
	}

	.mobile-navigation-top-inner {
		display: none;
	}
}