/**
 * ESI Theme — Areas-served and NRS content styles
 * Ported from cannyon_ nrsstyles so Areas Served Main, state/city, and service templates render correctly.
 * Image paths are root-relative (/images/...) for portability.
 */

/* ─── ESI wrapper and breadcrumbs ─────────────────────────────────────────── */
.esi-areas-served {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}
.esi-page-title {
	margin: 20px 0 30px 0;
	font-size: 28px;
	font-weight: 600;
}
/* Breadcrumb nav (from includes/breadcrumbs.php) */
.esi-areas-served .mythemes-navigation,
nav.mythemes-navigation {
	list-style: none;
	margin: 0 0 15px 0;
	padding: 0;
}
.esi-areas-served .mythemes-navigation ul,
nav.mythemes-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.esi-areas-served .mythemes-navigation li,
nav.mythemes-navigation li {
	display: inline-block;
	font-size: 14px;
}
.esi-areas-served .mythemes-navigation li:not(:last-child)::after,
nav.mythemes-navigation li:not(:last-child)::after {
	content: " \00bb ";
	margin: 0 6px;
	color: #666;
}
.esi-areas-served .mythemes-navigation a,
nav.mythemes-navigation a {
	text-decoration: none;
	color: #27afb0;
}
.esi-areas-served .mythemes-navigation a:hover,
nav.mythemes-navigation a:hover {
	text-decoration: underline;
}

/* ─── Contact / CTA buttons (used in areas-served and shortcodes) ─────────── */
a.contact_button,
a.bottomcontact {
	display: inline-block;
	cursor: pointer;
	text-align: center;
	width: 140px;
	padding: 10px;
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 18px;
	border-radius: 4px;
	margin: 10px 10px 10px 0;
	background-color: #C14F1E;
}
a.contact_button:hover,
a.bottomcontact:hover {
	background-color: #555555;
	color: #ffffff !important;
}
.attentionbox {
	padding: 15px 30px;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	color: #27afb0;
	border: 5px dashed #27afb0;
	margin: 50px 0 0 0;
	overflow: hidden;
}
.attentionbox i {
	color: #30adae;
	width: 60px;
	height: 60px;
	text-align: center;
	float: left;
	font-size: 40px !important;
	margin: 0 30px 0 0;
}
.attentionbox .attentionbox-heading,
.attentionbox h2 {
	margin: 0 0 1em;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	line-height: 1.3;
	text-align: center;
}
.attentionbox a.contact_button,
.attentionbox a.bottomcontact {
	clear: both;
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0.5em;
}

/* ─── Areas-served layout (main page + state/city contact pages) ───────────── */
.nrs-areascontainer {
	width: 100%;
	overflow: hidden;
	background-color: #ffffff;
	border-radius: 20px;
}
.nrs-areascontainer_nobg {
	width: 100%;
	overflow: hidden;
}
.nrs-areascontainer2 {
	width: 100%;
	margin: 30px 0 0 0;
}
.nrs-areasregionboxtitle {
	margin-top: 60px;
	margin-left: 20px;
	background-color: #27afb0;
	padding: 5px 14px;
	width: 170px;
	text-align: center;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	color: #fff;
	font-weight: 600;
}
.nrs-areasregionbox {
	width: 100%;
	background-color: #ffffff;
	padding: 50px;
}
.nrs-areasregionbox ul {
	column-count: 3;
	list-style: none;
}
.nrs-areasregionbox ul li:before {
	content: "\2022";
	color: #27afb0;
	font-weight: bold;
	font-size: 22px;
	display: inline-block;
	width: 18px;
	margin-left: -5px;
	margin-top: 5px;
}
.nrs-areasregionbox ul li a {
	text-decoration: none !important;
	font-size: 20px;
}
.nrs-areascontainerheaderimg {
	width: 100%;
	height: 120px;
	background-image: url("/images/about/caliper.jpg");
	background-position: center;
	text-align: center;
	display: inline-block;
	border-radius: 10px;
}
.nrs-areascontainermapimg {
	width: 100%;
	height: 200px;
	background-position: center;
	text-align: center;
	display: inline-block;
	box-shadow: 0 0 5px #aaa inset;
}
.nrs-areascontainerheadertext {
	text-align: center;
	display: inline-block;
	color: #000000;
	padding: 20px 80px;
	margin: 110px 0 0 0;
	font-weight: 600;
	font-size: 18px;
	border-radius: 6px;
	box-shadow: 0px 0px 8px #000000;
	background-color: #ffffff;
}
.nrs-areascontainerheadercontent {
	text-align: center;
	max-width: 90%;
	display: inline-block;
	color: #000000;
	padding: 20px 80px;
	margin: 50px 0 0 0;
	font-weight: 600;
	font-size: 18px;
	border-radius: 6px;
	box-shadow: 0px 0px 8px #000000;
	background-color: #ffffff;
}
.nrs-areascontainermaptext {
	text-align: center;
	display: inline-block;
	color: #000000;
	padding: 20px 80px;
	margin: 160px 0 0 0;
	font-weight: 600;
	font-size: 18px;
	border-radius: 6px;
	box-shadow: 0px 0px 8px #000000;
	background-color: #ffffff;
}
.nrs-areascontainerform {
	width: 50%;
	display: inline-block;
	float: left;
	padding: 50px 30px 50px 50px;
}
.nrs-areascontainercontact {
	width: 50%;
	display: inline-block;
	float: right;
	padding: 50px;
}
.nrs-areascontainerheadercontentA {
	font-size: 22px;
	color: #30556b;
	clear: both;
	display: inline-block;
	width: 100%;
	margin: 10px 0 20px 0;
}
.nrs-areascontainerheadercontentB {
	font-size: 16px;
	font-weight: 500;
	color: #000;
	clear: both;
	display: inline-block;
	width: 100%;
}
.nrs-areascontainerheadertextA {
	font-size: 22px;
	color: #000;
	clear: both;
	display: inline-block;
	width: 100%;
}
.nrs-areascontainerheadertextB {
	font-size: 16px;
	color: #27afb0;
	clear: both;
	display: inline-block;
	width: 100%;
}
h2.nrs-areascontainercontacth2:first-of-type {
	margin: 0 0 10px 0;
}
h2.nrs-areascontainercontacth2 {
	font-size: 24px;
	font-weight: 600;
	margin: 40px 0 10px 0;
	padding: 0;
	line-height: 26px;
}
.nrs-areascontainercontacttitle {
	margin: 6px 0 6px 0;
	font-size: 18px;
	font-weight: 600;
	color: #555555;
	clear: both;
	display: inline-block;
	width: 100%;
}
.nrs-areascontainercontactcopy {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #555555;
	clear: both;
	display: inline-block;
	width: 100%;
}
.nrs-areascontainercontacttext {
	font-size: 20px;
	color: #27afb0;
	clear: both;
	display: inline-block;
	width: 100%;
}
.nrs-areascontainercontact ul li a,
.nrs-areascontainercontact ul li a:visited {
	font-size: 20px;
	color: #27afb0 !important;
	clear: both;
	display: inline-block;
	width: 100%;
	text-decoration: none !important;
}
.nrs-areascontainercontact ul li a:hover {
	font-size: 20px;
	color: #fe6726 !important;
	text-decoration: none !important;
}

@media (min-width: 992px) and (max-width: 1199px) {
	.nrs-areascontainerform {
		width: 50%;
		padding: 50px;
	}
	.nrs-areascontainercontact {
		width: 50%;
		padding: 50px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.nrs-areascontainerform {
		width: 50%;
		padding: 50px 20px;
	}
	.nrs-areascontainercontact {
		width: 50%;
		padding: 50px;
	}
	.nrs-areascontainerheadercontent {
		max-width: 100%;
		margin: 80px 0 0 0;
		box-shadow: none;
		border-radius: 0;
	}
}
@media only screen and (max-width: 767px) {
	.nrs-areascontainer2 {
		margin: 0;
	}
	.nrs-areascontainermapimg {
		height: 120px;
	}
	.nrs-areascontainerheadertext,
	.nrs-areascontainermaptext {
		padding: 20px 0;
		width: 250px;
		margin: 75px auto 0 auto;
	}
	.nrs-areascontainerform {
		width: 100%;
		padding: 50px 30px;
		border-bottom: 30px solid #f9f9f9;
	}
	.nrs-areascontainercontact {
		width: 100%;
		padding: 30px;
	}
	h2.nrs-areascontainercontacth2 {
		border-bottom: 5px solid #ddd;
		line-height: 34px;
		text-align: center;
	}
	.nrs-areascontainerheadercontent {
		text-align: left;
		max-width: 100%;
		padding: 20px 30px;
		margin: 80px 0 0 0;
		box-shadow: none;
		border-radius: 0;
	}
	.nrs-areasregionbox ul {
		column-count: 1;
	}
}
@media only screen and (max-width: 767px) {
	.attentionbox {
		padding: 15px;
		font-size: 16px;
	}
	.attentionbox i {
		width: 50px;
		height: 50px;
		font-size: 38px !important;
		margin: 10px 20px 0 0;
	}
}

/* ─── Contact page (Topline Contact template) ───────────────────────────────
   nrs-contactcontainer markup has no styles in old theme port; add layout
   and typography so the page doesn’t render unstyled. Design tokens: #ff4a34,
   #1f1f1f, #5f6368 (ESI design system). */
.esi-areas-served .nrs-contactcontainer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 40px;
	font-family: 'Aeonik', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #1f1f1f;
}
.esi-areas-served .nrs-contactcontainerheaderimg {
	background: #ff4a34;
	color: #fff;
	padding: 32px 20px 40px;
	margin: 0 -20px 24px;
}
.esi-areas-served .nrs-contactcontainerheadertext {
	display: block;
}
.esi-areas-served .nrs-contactcontainerheadertextA {
	font-size: 14px;
	font-weight: 500;
	opacity: 0.95;
}
.esi-areas-served .nrs-contactcontainerheadertextA::after {
	content: '';
	display: block;
	margin-top: 8px;
}
.esi-areas-served .nrs-contactcontainer2 {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}
.esi-areas-served .nrs-contactcontainerform {
	flex: 1 1 320px;
	min-width: 0;
	font-size: 18px;
	line-height: 1.5;
	color: #5f6368;
}
.esi-areas-served .nrs-contactcontainerform > br,
.esi-areas-served .nrs-contactcontainerform > text:first-child { display: none; }
.esi-areas-served .nrs-contactcontainerform ._form-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 24px;
	margin-top: 16px;
}
@media (min-width: 600px) {
	.esi-areas-served .nrs-contactcontainerform ._form-content {
		grid-template-columns: 1fr 1fr;
	}
	.esi-areas-served .nrs-contactcontainerform ._form_element:nth-child(n+5),
	.esi-areas-served .nrs-contactcontainerform ._button-wrapper {
		grid-column: 1 / -1;
	}
}
.esi-areas-served .nrs-contactcontainercontact {
	flex: 1 1 320px;
	min-width: 0;
}
.esi-areas-served .nrs-contactcontainercontacth2 {
	font-size: 24px;
	font-weight: 500;
	color: #1f1f1f;
	margin: 28px 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #d0d0d0;
}
.esi-areas-served .nrs-contactcontainercontacth2:first-child {
	margin-top: 0;
}
.esi-areas-served .nrs-contactcontainercontacttitle {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #1f1f1f;
	margin-top: 12px;
}
.esi-areas-served .nrs-contactcontainercontacttext {
	display: block;
	font-size: 16px;
	color: #5f6368;
	margin-bottom: 4px;
}
.esi-areas-served .nrs-contactcontainercontact a {
	color: #ff4a34;
	text-decoration: none;
}
.esi-areas-served .nrs-contactcontainercontact a:hover {
	text-decoration: underline;
}
