/* Old Elementor heroes used an 86px top margin to clear the absolute header.
   Elementor applies it as margin-block-start, so both have to be cleared. */
.elementor-1867 .elementor-element.elementor-element-f9b9462 {
	--margin-top: 0px !important;
	--margin-block-start: 0px !important;
	margin-top: 0 !important;
	margin-block-start: 0 !important;
}

/* Empty in-page "Header" container above the build-on-your-lot hero. */
.elementor-13102 > .elementor-element-88cb70b {
	display: none;
}

.dth-site-header {
	position: relative;
	z-index: 1000;
	background: #fff;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	overflow: visible;
}

.dth-site-header__bar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "logo nav end";
	align-items: center;
	gap: 16px;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 20px;
	min-height: 86px;
}

.dth-site-header__logo { grid-area: logo; }
.dth-site-header__nav { grid-area: nav; }
.dth-site-header__end {
	grid-area: end;
	display: flex;
	align-items: center;
	gap: 4px;
}

.dth-site-header__logo {
	flex: 0 0 auto;
	line-height: 0;
}

.dth-site-header__logo img {
	display: block;
	width: 129px;
	height: auto;
}

.dth-site-header__nav {
	display: flex;
	justify-content: center;
	min-width: 0;
	overflow: visible;
}

.dth-nav,
.dth-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dth-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.dth-nav > .dth-nav-cta,
.dth-nav > .dth-nav-portal {
	display: none;
}

.dth-nav > li {
	position: relative;
}

.dth-nav > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	color: #00529b;
	cursor: pointer;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.dth-nav > li.menu-item-has-children > a::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #00529b;
}

.dth-nav > li > a::before {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	background: #0074c8;
	opacity: 0;
}

.dth-nav > li.menu-item-has-children > a::before {
	right: 28px;
}

.dth-nav > li:hover > a,
.dth-nav > li:focus-within > a,
.dth-nav > li.is-hover > a {
	color: #0074c8;
}

.dth-nav > li:hover > a::after,
.dth-nav > li:focus-within > a::after,
.dth-nav > li.is-hover > a::after {
	border-top-color: #0074c8;
}

.dth-nav > li:hover > a::before,
.dth-nav > li:focus-within > a::before,
.dth-nav > li.is-hover > a::before {
	opacity: 1;
}

.dth-nav .dropdown-menu-toggle,
.dth-nav .menu-link > .ast-icon {
	display: none;
}

.dth-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	padding: 8px 0;
	background: #fff;
	border: 1px solid #e6e6e6;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	z-index: 30;
}

.dth-nav > li:hover > .sub-menu,
.dth-nav > li:focus-within > .sub-menu,
.dth-nav > li.is-hover > .sub-menu {
	display: block;
}

.dth-nav .sub-menu a {
	display: block;
	padding: 8px 18px;
	color: #1a2e42;
	cursor: pointer;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
}

.dth-nav .sub-menu a:hover,
.dth-nav .sub-menu a:focus {
	background: #e6ebf0;
	color: #0074c8;
}

.dth-site-header__util {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 0 0 auto;
	padding-left: 20px;
	border-left: 1px solid #e3e6ea;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.dth-site-header__util a {
	color: #1a2e42;
	text-decoration: none;
}

.dth-site-header__util a.dth-hdr-portal:hover,
.dth-site-header__util a.dth-hdr-portal:focus {
	color: #003a6e;
}

.dth-site-header__util a.dth-hdr-cta {
	background: #0074c8;
	color: #fff;
	border-radius: 2px;
	padding: 10px 22px;
	font-weight: 700;
}

.dth-site-header__util a.dth-hdr-cta:hover,
.dth-site-header__util a.dth-hdr-cta:focus {
	background: #003a6e;
	color: #fff;
}

.dth-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex: 0 0 auto;
}

.dth-nav-toggle__bars {
	display: block;
	width: 20px;
	height: 2px;
	background: #1a2e42;
	box-shadow: 0 -6px 0 #1a2e42, 0 6px 0 #1a2e42;
}

@media (max-width: 1024px) {
	.dth-site-header__bar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 8px 12px;
		min-height: 70px;
	}

	.dth-site-header__logo { flex: 0 0 auto; }
	.dth-site-header__logo img { width: 100px; max-width: 100px; }

	.dth-site-header {
		position: relative;
	}

	.dth-site-header__end {
		position: absolute;
		top: 0;
		right: 12px;
		bottom: 0;
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0;
		height: 70px;
	}

	.dth-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 42px;
	}

	.dth-site-header__util {
		gap: 14px;
		padding-left: 0;
		border-left: 0;
		font-size: 13px;
	}

	.dth-site-header__util a.dth-hdr-portal { display: none !important; }

	.dth-site-header__util a.dth-hdr-cta {
		padding: 8px 12px;
	}

	.dth-site-header__nav {
		display: none;
		grid-area: auto;
		position: absolute;
		width: 0;
		height: 0;
		overflow: hidden;
		justify-content: flex-start;
		padding: 4px 6px 12px;
	}

	.dth-site-header.is-open .dth-site-header__nav {
		grid-area: nav;
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		flex: 1 0 100%;
	}

	.dth-site-header.is-open .dth-site-header__nav { display: block; }

	.dth-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.dth-nav > li > a { padding: 12px 8px; }

	.dth-nav .sub-menu,
	.dth-nav > li:hover > .sub-menu,
	.dth-nav > li:focus-within > .sub-menu {
		display: none;
		position: static;
		min-width: 0;
		padding: 0 0 8px 12px;
		border: 0;
		box-shadow: none;
	}

	.dth-nav > li.is-open > .sub-menu { display: block; }
}

@media (max-width: 767px) {
	.dth-site-header__util a.dth-hdr-cta { padding: 8px 12px; }
}
