/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

:root {
	--cnvs-body-font: "Roboto", sans-serif;
	--cnvs-primary-font: "Roboto", sans-serif;
	--cnvs-secondary-font: "Roboto", sans-serif;
	/* Roe-Comm brand accent (drives links, heading underlines, hovers) */
	--cnvs-themecolor: #2e72ef;
	--cnvs-themecolor-rgb: 46, 114, 239;
	--cnvs-slider-caption-width: 1100px;
	--cnvs-heading-block-border: 2px solid #2e72ef;
}

.heading-block::after {
	width: 40px;
}

.feature-box.media-box h3 a {
	color: #333333;
}

/* ----------------------------------------------------------------
	NF3 shared component rules
-----------------------------------------------------------------*/

.top-advert {
	border: 0;
}

#header-wrap {
	background-color: #f5f5f5;
}

.breaking-news {
	background-color: #dedddb !important;
}

.breaking-news a {
	color: #222222;
}

.bg-danger {
	background-color: #970206 !important;
}

.grid-filter li.activeFilter a {
	background-color: #2e72ef;
}

.top-links-contact {
	padding: 12px;
	line-height: calc(var(--cnvs-topbar-height) - 24px);
	font-weight: var(--cnvs-topbar-font-weight);
	text-transform: var(--cnvs-topbar-font-transform);
	color: var(--cnvs-topbar-color);
}

.home-eco .grid-inner {
	padding: 1px;
}

#secondary ul,
#secondary ol {
	margin-left: 20px;
}

/* ----------------------------------------------------------------
	Roe-Comm — Design Colors (home/header/footer)
-----------------------------------------------------------------*/

/* Top bar — white with blue links */
#top-bar {
	background-color: #ffffff;
	border-bottom: 0;
}
#top-bar .top-links-contact,
#top-bar .top-links-contact a {
	color: #222222;
}
#top-bar .top-links-item > a {
	color: #2e72ef;
}

/* Header logo row — black */
#header {
	background-color: #000000;
}
.header-moto-logo {
	height: 56px;
	width: auto;
}

/* Nav bar */
.primary-menu .menu-container > .menu-item > .menu-link {
	font-weight: 600;
	letter-spacing: 1px;
}

/* Slider — capped height, darker overlay, centred caption */
.home-slider,
.home-slider .slider-inner {
	max-height: 680px;
}
.home-slider .swiper-slide-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.35);
}
.slider-caption h2 {
	font-size: 3.6rem;
	letter-spacing: 2px;
}
.slider-caption p {
	font-size: 1.5rem;
}

/* Red call-to-action buttons (Consult, Request a Site Survey) */
.btn-cta,
.btn-cta:focus {
	background-color: #930a12 !important;
	border-color: #930a12 !important;
	color: #ffffff !important;
}
.btn-cta:hover {
	background-color: #6e060c !important;
	border-color: #6e060c !important;
	color: #ffffff !important;
}

/* Dark navy "Learn More" button */
.btn-deepblue,
.btn-deepblue:focus {
	background-color: #152630 !important;
	border-color: #152630 !important;
	color: #ffffff !important;
}
.btn-deepblue:hover {
	background-color: #2e72ef !important;
	border-color: #2e72ef !important;
}

/* Solid blue buttons (Explore All Industries, Subscribe) */
.btn-blue,
.btn-blue:focus,
.subscribe-widget .btn-success {
	background-color: #2e72ef !important;
	border-color: #2e72ef !important;
	color: #ffffff !important;
}
.btn-blue:hover,
.subscribe-widget .btn-success:hover {
	background-color: #152630 !important;
	border-color: #152630 !important;
}

/* Service Elite band */
.header-stick .col-lg-3,
.oiw-home .dark .col-lg-3 {
	align-self: center;
}

/* Pricing "Explore" buttons — brand blue, highlighted (R5) dark */
.pricing-action .btn-danger {
	background-color: #2e72ef;
	border-color: #2e72ef;
}
.pricing-action .btn-danger:hover {
	background-color: #152630;
	border-color: #152630;
}
.pricing-highlight .pricing-action .btn-danger {
	background-color: #333333;
	border-color: #333333;
}
.pricing-highlight .pricing-action .btn-danger:hover {
	background-color: #000000;
	border-color: #000000;
}
.pricing-price img {
	max-height: 260px;
	width: auto;
}

/* Our Services — short rule under each title */
#section-services .fbox-content h3::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin: 18px auto 0;
	background-color: #333333;
}
#section-services .fbox-content h3 a {
	color: #333333;
}

/* Industries — light grey band behind CTA */
.industries-wrap {
	background-color: #ffffff;
}
.industries-cta {
	background-color: #f9f9f9;
	padding: 40px 0;
}

/* Associations logos — vertically centred */
.assoc-logos .oc-item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
}
.assoc-logos .oc-item img {
	width: auto;
	max-width: 100%;
	max-height: 110px;
}

/* Footer — black body, charcoal copyright bar */
#footer {
	background-color: #000000;
}
#copyrights {
	background-color: #333333;
}
.footer-moto-logo {
	max-width: 290px;
}

/* Headings & buttons — match design typography */
.heading-block {
	--cnvs-heading-block-border: 2px solid #2e72ef;
}
.heading-block h2 {
	font-weight: 500;
	letter-spacing: 1px;
}
.btn-cta,
.btn-deepblue,
.btn-blue,
.pricing-action .btn {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1rem;
}
.pricing-title h3 {
	text-transform: none;
	font-weight: 400;
	font-size: 1.375rem;
	letter-spacing: 0;
}

/* Hero caption — two-line title as per design */
.home-slider .slider-caption.slider-caption-center {
	max-width: 1100px;
}
@media (min-width: 992px) {
	.home-slider .slider-caption h2 {
		font-size: 3.2rem;
	}
}

/* Footer "Email Us" link */
#post-list-footer a[href="/contact-us.htm"] {
	color: #3b82f6;
}

/* Header logo row — match design: 96px black band, logo 375px wide, vertically centred */
#header > .container > .header-row {
	min-height: 96px;
	align-items: center;
}
#header #logo {
	align-self: center;
}
#header #logo img {
	width: 375px;
	max-width: 100%;
	height: auto;
	max-height: none;
}

/* ================================================================
   Inner-page title banner (from goiwt.com)
   The footer script prepends .linear-gradient-overlay into
   #secondary-header, but that element is an <img>, which can't hold
   children, so the overlay never renders and the title/breadcrumbs
   sit on a bare photo. Darken the banner from the section instead.
   ================================================================ */

.page-title.page-title-parallax { position: relative; }
.page-title.page-title-parallax::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, .6);
	pointer-events: none;
}
.page-title.page-title-parallax > .container {
	position: relative;
	z-index: 2;
}

/* Banner photos come in different heights (the DAS one is 1920x235,
   the rest ~600px). The footer script sets the photo as a background
   on #secondary-header, which repeats by default, so a short photo
   tiles and shows twice. Scale it to fill the banner instead. */
#secondary-header {
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}


/* ================================================================
   canvas-site-fixes: product-images
   Product pages: show product shots at natural size.
   Canvas stretches product shots to the full column
   (.product .product-image img { width: 100% }), but the shared
   Motorola product images aren't cropped to one ratio. They come in
   two fixed widths and were drawn to sit at natural size:
     ~206px wide - portables (206x638 .. 206x882)
     ~440px wide - mobiles, repeaters, base stations
   Stretching blows portables up to ~2x; a single percentage (the old
   65% fix) that tames portables shrinks the mobiles too far. So don't
   scale: natural size, with max-width only as a ceiling for the wide
   ones. Origin: wirelessvoicedata.com.
   ================================================================ */

.product { padding-top: 0; }
.product-image { padding-top: 0; margin-top: 0; }

#secondary {
	/* ceiling only - bites the 440px mobiles, never the 206px portables */
	--product-image-max-width: 100%;
}

/* the id outranks Canvas's .product .product-image img */
#secondary .product .product-image img {
	width: auto;
	height: auto;
	max-width: var(--product-image-max-width);
	/* Canvas leaves the img display:block, so centre it once it
	   is no longer full width */
	margin-left: auto;
	margin-right: auto;
}


/* ================================================================
   canvas-site-fixes: copy-lists
   Lists in the page copy.
   Canvas zeroes list padding, so bullets and numbers in the main
   copy hang outside the text column. Indent plain (classless) lists
   inside #secondary only. The header and footer sit outside
   #secondary; the sidebar widgets are excluded by .column-aside;
   tabs, nav and other component lists carry a class and are skipped.
   ================================================================ */

#secondary ul:not([class]):not(.column-aside ul),
#secondary ol:not([class]):not(.column-aside ol) {
	padding-left: 1.5rem;
}

/* ================================================================
   Ecosystem grid (css/oiw-ecosystem.css + js/oiw-ecosystem.js, from simondev.oiw12.com)
   Colours for the --oiw-* variables it uses, in the alt homepage's palette,
   and the .expr-eyebrow label it uses for its heading.
   ================================================================ */
.oiw-eco-section {
	--oiw-text: #111d29;
	--oiw-muted: #586570;
	--oiw-accent: #007aa7;
	--oiw-label: #0083b4;
	--oiw-border: #dae2e7;
	--oiw-band-bg: #102633;
	--oiw-surface: #f2f5f7;
}
/* white band on the alt homepage (oiw-ecosystem.css makes it grey; loads after this file) */
.roe-refresh .oiw-eco-section {
	background: #fff;
}
.expr-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: #0083b4;
	margin-bottom: 22px;
}
.expr-eyebrow:before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	background: currentColor;
	width: 22px;
	height: 1px;
	margin-right: 10px;
}

/* ================================================================
   Landing cards (from goiwt.com / wirelessvoicedata.com)
   oiw-footer-scripts.htm swaps each .oiw-landing block for the
   includes/landing-page.htm template, which lands a Bootstrap
   col-* inside an .oiw-row. In this BS5 theme a col-* carries no
   padding of its own - the gutter comes from `.row > *`, and
   .oiw-row is not .row, so without this the cards butt together.
   Vertical spacing already comes from `.oiw-row-40 > *`.
   ================================================================ */

.oiw-row > [class*="col-"] {
	padding-right: 15px;
	padding-left: 15px;
}

.services-classic-figure img { width: 100%; height: auto; display: block; }

/* Our History: headquarters photo beside the copy (full width on phones) */
.history-photo {
	float: right;
	width: 42%;
	max-width: 380px;
	height: auto;
	margin: 0 0 20px 30px;
}
@media (max-width: 767.98px) {
	.history-photo {
		float: none;
		display: block;
		width: 100%;
		max-width: none;
		margin: 0 0 20px;
	}
}

/* Associations page: logos in bordered tiles, 3 across (2 on tablets/phones) */
.assoc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 30px 0;
}
.assoc-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 170px;
	padding: 24px;
	background: #fff;
	border: 1px solid #dae2e7;
}
.assoc-tile img {
	max-width: 100%;
	height: auto;
	max-height: 120px;
}
@media (max-width: 991.98px) {
	.assoc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.assoc-tile { min-height: 140px; padding: 16px; }
}

/* ================================================================
   Accessories tab accordions (shared include, old "accordion_five" cards)
   The toggle link's icon font (material-icons-remove) isn't on this site,
   so the link is 0x0 and nothing can be clicked. Bootstrap's collapse JS
   works - stretch the link over the whole header and draw a +/- sign.
   (Servers with the newer oiw-panel version of the include don't use this.)
   ================================================================ */
#oiw-accessory .card-custom {
	border: 1px solid #dae2e7;
	border-radius: 0;
	margin-bottom: 10px;
}
#oiw-accessory .card-header {
	position: relative;
	padding: 14px 50px 14px 18px;
	background: #f4f6f8;
	border: 0;
}
#oiw-accessory .card-standing-team-title h2 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
}
#oiw-accessory .card-standing-toogle {
	position: absolute;
	inset: 0;
	z-index: 1;
}
#oiw-accessory .card-standing-toogle::after {
	content: "\2212";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	line-height: 1;
	color: var(--cnvs-themecolor);
}
#oiw-accessory .card-standing-toogle.collapsed::after {
	content: "+";
}
#oiw-accessory .card-body {
	padding: 16px 18px;
}

/* ================================================================
   Content page photo (beside the copy, full width on phones) +
   Equipment Repair page: callout, checklist, document buttons
   ================================================================ */
.page-photo {
	float: right;
	width: 40%;
	max-width: 360px;
	height: auto;
	margin: 0 0 20px 30px;
}
@media (max-width: 767.98px) {
	.page-photo { float: none; display: block; width: 100%; max-width: none; margin: 0 0 20px; }
}
.repair-callout {
	display: flow-root; /* sits beside the floated photo instead of under it */
	margin: 24px 0;
	padding: 20px 24px;
	background: #f4f6f8;
	border-left: 4px solid var(--cnvs-themecolor);
}
.repair-callout p { margin: 0; }
.repair-lead {
	font-size: 1.125rem;
	font-weight: 500;
	color: #111d29;
}
.repair-subhead {
	font-size: 1.25rem;
	margin: 28px 0 16px;
}
.repair-checklist {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 28px;
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}
.repair-checklist li {
	position: relative;
	padding-left: 30px;
}
.repair-checklist li::before {
	content: "\f26a";
	font-family: bootstrap-icons;
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--cnvs-themecolor);
}
@media (max-width: 575.98px) {
	.repair-checklist { grid-template-columns: 1fr; }
}
.repair-docs {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.repair-doc {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	background: #fff;
	border: 1px solid #dae2e7;
	font-weight: 600;
	color: #111d29;
}
.repair-doc i { font-size: 22px; color: #c62828; }
.repair-doc:hover { border-color: var(--cnvs-themecolor); color: var(--cnvs-themecolor); }

/* ================================================================
   Grid cards + accordions built by oiw-footer-scripts.htm
   (grid-page.htm, grid-page-no-link.htm, accordion.htm).
   Same as twowayradio.com, in Roe-Comm colours.
   ================================================================ */
.oiw-solution-card { position: relative; height: 100%; padding-bottom: 6px; border-bottom: 1px solid #dae2e7; color: #111d29; }
.oiw-image-wrap { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #f4f6f8; }
.oiw-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.oiw-solution-card:hover .oiw-image-wrap img { transform: scale(1.04); }
.oiw-solution-body { padding: 24px 0 22px; }
.oiw-card-number { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cnvs-themecolor); margin-bottom: .7rem; }
.oiw-solution-body h2 {
  font-size: 1.35rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
  margin: 0 0 .8rem; padding: 0; color: #111d29; text-transform: none; text-align: left; border: 0;
}
.oiw-solution-body h2 a { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; color: #111d29; text-decoration: none; }
.oiw-solution-body h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.oiw-solution-card:hover h2 a { color: var(--cnvs-themecolor); }
.oiw-solution-arrow { color: var(--cnvs-themecolor); font-weight: 700; flex-shrink: 0; transition: transform .2s; }
.oiw-solution-card:hover .oiw-solution-arrow { transform: translate(2px, -2px); }
.oiw-solution-body p { font-size: .95rem; line-height: 1.6; color: #5a6670; margin: 0; }
.oiw-solution-body p a { position: relative; z-index: 2; }
.oiw-solution-card.no-link .oiw-solution-arrow, .oiw-solution-card.no-link h2 a::after { display: none; }
.oiw-solution-card.no-link:hover .oiw-image-wrap img { transform: none; }
.oiw-row > .isotope-item { padding-left: 15px; padding-right: 15px; }
@media (max-width: 575.98px) {
  html body .oiw-row { margin-left: -12px; margin-right: -12px; }
  html body .oiw-row > .isotope-item { padding-left: 12px; padding-right: 12px; }
}

.oiw-acc.toggle { background: #fff; border: 1px solid #dae2e7; border-radius: 10px; margin: 0 0 12px; box-shadow: 0 1px 2px rgba(17,25,35,.04); transition: box-shadow .2s, border-color .2s; overflow: hidden; }
.oiw-acc.toggle:hover { box-shadow: 0 6px 18px rgba(17,25,35,.08); }
.oiw-acc.toggle.toggle-active { border-color: var(--cnvs-themecolor); box-shadow: inset 4px 0 0 var(--cnvs-themecolor), 0 6px 18px rgba(46,114,239,.10); }
.oiw-acc .toggle-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; margin: 0; cursor: pointer; user-select: none; }
.oiw-acc .toggle-title { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.4; color: #111d29; }
.oiw-acc .toggle-title a { color: inherit; text-decoration: none; }
.oiw-acc .toggle-header:hover .toggle-title { color: var(--cnvs-themecolor); }
.oiw-acc .oiw-acc-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #e8f0fd; position: relative; transition: transform .25s, background .25s; }
.oiw-acc .oiw-acc-icon::before { content: ""; position: absolute; left: 10px; top: 8px; width: 8px; height: 8px; border-right: 2px solid var(--cnvs-themecolor); border-bottom: 2px solid var(--cnvs-themecolor); transform: rotate(45deg); }
.oiw-acc.toggle-active .oiw-acc-icon { transform: rotate(180deg); background: var(--cnvs-themecolor); }
.oiw-acc.toggle-active .oiw-acc-icon::before { border-color: #fff; }
.oiw-acc .toggle-content { padding: 0; margin: 0; border: 0; }
.oiw-acc .oiw-panel-body { padding: 0 20px 18px; color: #5a6670; }
.oiw-acc .oiw-panel-body > *:last-child { margin-bottom: 0; }

/* ================================================================
   Form pages (Contact Us, Request a Quote, Airtime Quote, Newsletter)
   Same as twowayradio.com's contact/request pages, in Roe-Comm colours.
   ================================================================ */
.roe-intro { max-width: 760px; margin: 0 0 44px; }
.roe-intro .roe-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cnvs-themecolor); margin: 0 0 .9rem; }
.roe-intro h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #111d29; margin: 0 0 1rem; }
.roe-intro p { color: #5a6670; font-size: 1.05rem; line-height: 1.65; margin: 0; }
.roe-intro p + p { margin-top: 1rem; }
.roe-intro-sm { margin: 70px 0 34px; }
.roe-form { margin: 0 0 30px; }
.roe-btn { display: inline-flex; align-items: center; gap: .45em; padding: 1rem 1.5rem; border-radius: 4px; background: var(--cnvs-themecolor); color: #fff !important; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none !important; transition: background-color .2s; }
.roe-btn:hover { background: #1f5fd6; }
.roe-link { font-weight: 700; font-size: .95rem; color: var(--cnvs-themecolor); }
.roe-link:hover { color: #1f5fd6; text-decoration: underline; }
.roe-office { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #dae2e7; background: #fff; }
.roe-office-map { min-height: 320px; background: #f4f6f8; }
.roe-office-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.roe-office-body { padding: 28px 30px 30px; }
.roe-office-body h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; color: #111d29; margin: 0 0 .9rem; }
.roe-office-body p { font-size: 1.05rem; line-height: 1.65; color: #5a6670; margin: 0 0 1.4rem; }
.roe-office-body .roe-office-numbers { font-size: .95rem; }
.roe-office-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; }
@media (max-width: 991.98px) {
	.roe-office { grid-template-columns: 1fr; }
	.roe-office-map { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 575.98px) {
	.roe-office-body { padding: 22px 20px 24px; }
}
