/*
 * Volt Instruments site-wide tweaks (every page).
 * Buttons are square-cornered everywhere: Elementor, Jeg Elementor Kit, Header Footer Elementor,
 * MetForm and plain form buttons. !important beats per-widget radius set in Elementor.
 */
.elementor-button,
.elementor-button-wrapper .elementor-button,
.jkit-button,
.jeg-elementor-kit .jkit-button-wrapper a,
[class*="jkit-"] .jkit-readmore,
[class*="jkit-"] [class*="button"],
.hfe-button,
.hfe-menu-item.elementor-button,
.metform-btn,
.mf-btn-wraper button,
.wp-block-button__link,
.wp-element-button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	border-radius: 0 !important;
}

/*
 * Mega menu (scripts/setup/mega-menu.php): no dead clicks.
 * - Each item tile (.volt-mm-item, an Elementor icon box) is one link: the title link is stretched
 *   over the whole tile, so the icon, description and padding all click through.
 * - The intro column and the blue "Need something custom?" card (.volt-mm-card) are click targets
 *   too: their heading link (.volt-mm-stretch) covers the card; buttons and the phone link sit above.
 */
.volt-mm-item .elementor-widget-container,
.volt-mm-card > .elementor-widget-wrap,
.volt-mm-card > .elementor-element-populated {
	position: relative;
}
/* Elementor makes every widget relative; the card's heading widget must not be, or the stretched
   link only covers the heading. */
.volt-mm-card .elementor-element.volt-mm-stretch,
.volt-mm-card .volt-mm-stretch > .elementor-widget-container {
	position: static;
}
.volt-mm-item .elementor-icon-box-title a::after,
.volt-mm-stretch .elementor-heading-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.volt-mm-item,
.volt-mm-card {
	cursor: pointer;
}
.volt-mm-stretch .elementor-heading-title a {
	color: inherit;
	text-decoration: none;
}
.volt-mm-card .elementor-widget-button,
.volt-mm-card .elementor-widget-icon-list {
	position: relative;
	z-index: 2;
}
.volt-mm-item .elementor-icon-box-title a:focus-visible,
.volt-mm-stretch .elementor-heading-title a:focus-visible {
	outline: 2px solid #00adef;
	outline-offset: 2px;
}
.volt-mm-item:hover .elementor-icon-box-title a,
.volt-mm-item:focus-within .elementor-icon-box-title a {
	color: #00719c;
}
.volt-mm-cta {
	transition: background-color 0.25s ease;
}
.volt-mm-cta:hover > .elementor-widget-wrap,
.volt-mm-cta:hover > .elementor-element-populated {
	background-color: #0098d4 !important;
}

/* Closed JKit mega-menu panel sits 2px past the right edge and adds a horizontal scrollbar on
   desktop. `clip` (not `hidden`) keeps the sticky header working. */
html, body { overflow-x: clip; }

/* Footer on phones: Quick Links and Useful Links side by side, and room between the stacked columns. */
@media (max-width: 767px) {
	.elementor-84 .elementor-element-366748ab > .elementor-container {
		flex-wrap: wrap;
	}
	.elementor-84 .elementor-element-43ca2367,
	.elementor-84 .elementor-element-11ced4cd,
	.elementor-84 .elementor-element-2369f73c {
		margin-top: 36px;
	}
	.elementor-84 .elementor-element-43ca2367.elementor-column,
	.elementor-84 .elementor-element-11ced4cd.elementor-column {
		width: 50%;
	}
}

/* Header top bar: opening hours (in place of social icons until the business has accounts). */
.elementor-83 .elementor-element-654f998c .elementor-icon-list-text {
	white-space: nowrap;
	font-size: 14px;
	color: #fff;
}

/* Mega menu inside the mobile/tablet drawer: icon boxes keep the desktop layout (icon left of the
   text). Elementor's stacked mobile layout and JKit's `.jkit-menu li a { display: block }` stretched
   each round icon into a wide oval; !important beats Elementor's own !important on align-items. */
@media (max-width: 1024px) {
	.jkit-menu-wrapper .jkit-mega-menu-wrapper .elementor-widget-icon-box .elementor-icon-box-wrapper {
		display: flex;
		flex-direction: row !important;
		align-items: flex-start !important;
		gap: 14px;
		text-align: left !important;
	}
	.jkit-menu-wrapper .jkit-mega-menu-wrapper .elementor-icon-box-icon {
		flex: none;
		margin: 0;
	}
	.jkit-nav-menu .jkit-menu-wrapper .jkit-menu li .jkit-mega-menu-wrapper .elementor-icon-box-icon a.elementor-icon {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0 !important;
		line-height: 1;
	}
}

/* Blue buttons: white text on the bright brand blue #00adef is 2.6:1 (fails WCAG AA; PageSpeed flags the
   header "Get a Quote" and "Call Us Today"), so filled buttons use the darker brand blue #00719c (5.3:1)
   and show the bright blue on hover. The client originally chose the bright blue (Nov 2026): delete
   this block to go back to it. */
/* "body" prefix: Elementor prints the header template's CSS again inside <body>, after this file. */
body .elementor-widget-button .elementor-button,
body .elementor-83 .elementor-element.elementor-element-5f686302 .elementor-button,
body .vh .vh-btn-primary .elementor-button {
	background-color: #00719c;
}
body .elementor-83 .elementor-element.elementor-element-5f686302 .elementor-button:is(:hover, :focus-visible) {
	background-color: #00adef;
}

/* White mega-menu buttons: the blue text uses the darker brand blue so it reads on white (5.3:1). */
.elementor-117 .elementor-element.elementor-element-b773585 .elementor-button.elementor-button:not(:hover, :focus),
.elementor-118 .elementor-element.elementor-element-fc8644f .elementor-button.elementor-button:not(:hover, :focus) {
	color: #00719c;
	fill: #00719c;
}

/* Current page in the desktop menu: the darker brand blue reads on white (5.3:1; #00adef is 2.6:1).
   The selector repeats Elementor's own (header element 63a2bc4a) so it wins. */
.elementor-83 .elementor-element.elementor-element-63a2bc4a .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li:is(.current-menu-item, .current-menu-ancestor).menu-item > a,
.elementor-83 .elementor-element.elementor-element-63a2bc4a .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper .jkit-menu > li:is(.current-menu-item, .current-menu-ancestor).menu-item > a i {
	color: #00719c;
}

/* Mega menu quote card: JKit paints every icon inside a menu link black (".jkit-menu li > a svg"),
   which overrides the white set in Elementor for the phone icons. */
.jkit-nav-menu .jkit-menu-wrapper .jkit-menu .elementor-element-411751d .elementor-icon-list-icon svg,
.jkit-nav-menu .jkit-menu-wrapper .jkit-menu .elementor-element-d1312e5 .elementor-icon-list-icon svg {
	fill: #fff;
}
