/*!
Theme Name: Assure Electric
Theme URI: https://www.brockledesign.co.uk/
Author: Brockle Design
Author URI: https://www.brockledesign.co.uk/
Description: Assure Electric theme by Brockle Design
Version: 1.0.2
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: assure-electric
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Assure Electric is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 768px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
## Added by Brockle Design
--------------------------------------------------------------*/
/* Brand colours and typography - set these per project, then use the variables throughout */
:root {
	--color-primary: #f46100;
	--color-primary-dark: #d05200;
	--color-secondary: #f46100;
	--color-text: #131313;
	--color-heading: #131313;
	--color-light: #f1f1f1;
	--color-dark: #131313;
	--color-white: #ffffff;

	--font-body: "Open Sans", Arial, sans-serif;
	--font-heading: var(--font-body);

	--header-background: var(--color-dark);
	--transition: 0.3s ease;
}
body,
button,
input,
select,
optgroup,
textarea {
	font-family: var(--font-body);
	color: var(--color-text);
}
body {
	/* Stops Page Builder full-width rows causing a horizontal scrollbar. "clip" (unlike "hidden") keeps the sticky header working. */
	overflow-x: clip;
}
body {
	font-size: 16px;
	line-height: 1.5;
}
/* Headings use the condensed width of Open Sans */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-stretch: 75%;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-heading);
	line-height: 1.1;
}
a,
a:visited {
	color: var(--color-primary);
	transition: color var(--transition);
}
a:hover,
a:focus,
a:active {
	color: var(--color-primary-dark);
}
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}
.container {
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}
.align-vertical {
	display: flex;
	align-items: center;
}
/* Text Appearance */
span.assure-electric-textappearance-bold {
	font-weight: 700;
}
span.assure-electric-textappearance-italic {
	font-style: italic;
}
span.assure-electric-textappearance-color {
	color: var(--color-primary);
}
/* Button Link */
a.assure-electric-button-link {
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--color-primary);
	border: 2px solid var(--color-primary);
	border-radius: 4px;
	padding: 10px 36px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	transition: color var(--transition), background var(--transition), border var(--transition);
}
a.assure-electric-button-link:hover {
	color: var(--color-white);
	background: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}
a.assure-electric-button-link.assure-electric-button-link-wire {
	color: var(--color-primary);
	background: transparent;
	border-color: var(--color-primary);
}
a.assure-electric-button-link.assure-electric-button-link-wire:hover {
	color: var(--color-white);
	background: var(--color-primary);
	border-color: var(--color-primary);
}
a.assure-electric-button-link.assure-electric-button-link-white {
	color: var(--color-primary);
	background: var(--color-white);
	border-color: var(--color-white);
}
a.assure-electric-button-link.assure-electric-button-link-white:hover {
	color: var(--color-primary-dark);
	background: var(--color-light);
	border-color: var(--color-light);
}
/* Wire on dark backgrounds: white text, orange border */
a.assure-electric-button-link.assure-electric-button-link-wire.assure-electric-button-link-white {
	color: var(--color-white);
	background: transparent;
	border-color: var(--color-primary);
}
a.assure-electric-button-link.assure-electric-button-link-wire.assure-electric-button-link-white:hover {
	color: var(--color-white);
	background: var(--color-primary);
	border-color: var(--color-primary);
}
/* Dark: used on orange backgrounds */
a.assure-electric-button-link.assure-electric-button-link-dark {
	color: var(--color-white);
	background: var(--color-dark);
	border-color: var(--color-dark);
}
a.assure-electric-button-link.assure-electric-button-link-dark:hover {
	color: var(--color-dark);
	background: var(--color-white);
	border-color: var(--color-white);
}
/* HEADER */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: var(--header-background);
}
/* Keep the sticky header below the WordPress admin bar when logged in (admin bar breakpoints) */
.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}
@media screen and (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}
.main-navigation .align-vertical {
	justify-content: space-between;
	gap: 30px;
	padding: 16px 0;
	transition: padding var(--transition);
}
.main-navigation .site-branding {
	flex-shrink: 0;
}
.main-navigation .site-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
}
.main-navigation .site-title a {
	color: var(--color-white);
}
.main-navigation a.custom-logo-link {
	display: flex;
}
.main-navigation a.custom-logo-link img {
	max-width: 264px;
	height: auto;
	transition: max-width var(--transition);
}
.main-navigation .assure-electric-main-menu {
	margin: 0 auto;
}
.main-navigation .assure-electric-main-menu ul {
	align-items: center;
}
.main-navigation .assure-electric-main-menu ul li a {
	padding: 8px 10px;
	margin: 0 4px;
	white-space: nowrap;
	font-size: 14px;
	text-transform: uppercase;
	color: var(--color-white);
	border-bottom: 2px solid transparent;
	transition: color var(--transition), border-color var(--transition);
}
.main-navigation .assure-electric-main-menu ul li a:hover {
	color: var(--color-primary);
}
.main-navigation .assure-electric-main-menu > ul > li.current-menu-item > a,
.main-navigation .assure-electric-main-menu > ul > li.current-menu-ancestor > a,
.main-navigation .assure-electric-main-menu > ul > li.current-page-ancestor > a {
	border-bottom-color: var(--color-primary);
}
/* Submenu indicator + dropdown */
.main-navigation .assure-electric-main-menu ul li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.main-navigation .assure-electric-main-menu ul ul {
	flex-direction: column;
	align-items: stretch;
	min-width: 270px;
	background: var(--header-background);
	border-top: 3px solid var(--color-primary);
	padding: 6px 0;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.main-navigation .assure-electric-main-menu ul ul li a {
	width: auto;
	margin: 0;
	padding: 11px 20px;
	font-size: 13px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.main-navigation .assure-electric-main-menu ul ul li:last-child a {
	border-bottom: 0;
}
.main-navigation .assure-electric-main-menu ul ul li.current-menu-item > a {
	color: var(--color-primary);
}
.main-navigation .assure-electric-main-menu ul ul li.menu-item-has-children > a::after {
	transform: translateY(-1px) rotate(-45deg);
}
/* Header - Contact (quote button + numbers) */
.assure-electric-header-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	flex-shrink: 0;
}
a.assure-electric-button-link.assure-electric-header-quote {
	padding: 8px 32px;
	font-size: 12px;
}
.assure-electric-header-numbers {
	display: flex;
	gap: 20px;
}
a.assure-electric-header-phonenumber,
a.assure-electric-header-mobilenumber {
	white-space: nowrap;
	text-decoration: none;
	font-size: 14px;
	color: var(--color-white);
}
a.assure-electric-header-phonenumber i,
a.assure-electric-header-mobilenumber i {
	margin-right: 6px;
	font-size: 17px;
	color: var(--color-primary);
}
a.assure-electric-header-phonenumber:hover,
a.assure-electric-header-mobilenumber:hover {
	color: var(--color-primary);
}
.main-navigation .assure-electric-mobile-quote {
	display: none;
}
.main-navigation .assure-electric-mobile-menu {
	display: none;
}
/* HEADER - SCROLL */
.main-navigation.navbar-shrink .align-vertical {
	padding: 8px 0;
}
.main-navigation.navbar-shrink a.custom-logo-link img {
	max-width: 200px;
}
/* PAGE */
/* Extra bottom padding leaves room for the Call to Action Box, which overlaps the end of the page */
.site-main {
	padding: 60px 0 150px;
}
.entry-header {
	text-align: center;
	margin-bottom: 40px;
}
h1.entry-title {
	margin: 0;
	font-size: 54px;
	line-height: 1.1;
}
/* Orange line under page titles, matching the Section Title widget */
.assure-electric-entry-divider {
	width: 330px;
	max-width: 100%;
	height: 4px;
	margin: 26px auto 0;
	background: var(--color-primary);
}
.archive-description {
	margin-top: 15px;
}
.page article.page {
	margin-bottom: 0;
}
/* Page Builder pages: the last row provides the room for the Call to Action Box (about 150px bottom padding) */
.siteorigin-panels .site-main {
	padding-bottom: 0;
}
.entry-content ul li::marker {
	color: var(--color-primary);
}
/* Rows with an ID (Page Builder row "Row ID") can be linked to, e.g. /page/#my-row: leave room for the sticky header */
.panel-row-style[id] {
	scroll-margin-top: 110px;
}
/* Opening paragraph on service pages: <p class="assure-electric-page-lead"> */
.assure-electric-page-lead {
	font-size: 18px;
	line-height: 1.45;
	font-weight: 700;
}
/* Service page image cell (CSS class "assure-electric-service-image") */
.assure-electric-service-image img {
	border-radius: 4px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}
.assure-electric-faq-list {
	max-width: 820px;
	margin: 0 auto;
}
/* FAQs: <details class="assure-electric-faq"><summary>Question</summary><p>Answer</p></details> */
details.assure-electric-faq {
	margin-bottom: 12px;
	background: var(--color-white);
	border: 1px solid #e2e2e2;
	border-radius: 4px;
}
details.assure-electric-faq summary {
	position: relative;
	padding: 18px 56px 18px 22px;
	font-family: var(--font-heading);
	font-stretch: 75%;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
	transition: color var(--transition);
}
details.assure-electric-faq summary::-webkit-details-marker {
	display: none;
}
details.assure-electric-faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 22px;
	font-size: 28px;
	line-height: 1;
	color: var(--color-primary);
	transform: translateY(-50%);
}
details.assure-electric-faq[open] summary::after {
	content: "\2212";
}
details.assure-electric-faq summary:hover {
	color: var(--color-primary);
}
details.assure-electric-faq p {
	margin: 0;
	padding: 0 22px 20px;
	font-size: 15px;
}
/* Buttons added in page content: <p class="assure-electric-page-buttons"><a class="assure-electric-button-link" ...> */
.assure-electric-page-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}
/* No Header template + front page: Page Builder content runs straight up to the header */
.page-template-page-noheader .site-main,
.home.page .site-main {
	padding: 0;
}
.page-template-page-noheader .entry-content,
.home.page .entry-content {
	margin-top: 0;
}
/* Page Builder utility: add "assure-electric-image-cover" to a cell's CSS class so its image fills the cell */
.assure-electric-image-cover .so-panel,
.assure-electric-image-cover .sow-image-container,
.assure-electric-image-cover .sow-image-container > a {
	height: 100%;
}
.assure-electric-image-cover .sow-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Page Builder utility: add "assure-electric-row-wide" to a Full Width Stretched row's CSS class for a 60px side gutter.
   !important is needed because Page Builder's stretch script sets the side padding inline. */
.panel-row-style.assure-electric-row-wide {
	padding-right: 60px !important;
	padding-left: 60px !important;
}
/* Page Builder utility: add "assure-electric-row-keep-tablet" to a 3-column row to keep it on one line on tablets
   instead of Page Builder's 2 per row. Rules are in SIZING. */
/* Page Builder utility: add "assure-electric-row-stack-tablet" to a two-column row's CSS class to stack its cells
   on tablets (768-991px) as well as mobile. Rules are in SIZING. */
/* BLOG */
/* Blog - Listing */
.assure-electric-post-archive-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 60px;
	margin-bottom: 60px;
}
.assure-electric-post-archive-wrapper .assure-electric-post-archive-list-wrapper {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}
.no-sidebar .assure-electric-post-archive-wrapper .assure-electric-post-archive-list-wrapper {
	grid-template-columns: repeat(3, 1fr);
}
.assure-electric-post-archive-wrapper .assure-electric-post-archive-list-wrapper > .no-results {
	grid-column: 1 / -1;
}
/* Blog - Card (also used by the Posts Loop widget) */
article.assure-electric-post-archive-item-wrapper {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--color-light);
}
article.assure-electric-post-archive-item-wrapper a.assure-electric-post-archive-item-image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}
article.assure-electric-post-archive-item-wrapper a.assure-electric-post-archive-item-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
article.assure-electric-post-archive-item-wrapper a.assure-electric-post-archive-item-image:hover img {
	transform: scale(1.05);
}
article.assure-electric-post-archive-item-wrapper .assure-electric-post-archive-item-content-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 30px;
}
article.assure-electric-post-archive-item-wrapper .assure-electric-post-archive-item-header {
	margin-bottom: 15px;
}
article.assure-electric-post-archive-item-wrapper .assure-electric-post-archive-item-title {
	margin: 0 0 10px;
	font-size: 24px;
}
article.assure-electric-post-archive-item-wrapper .assure-electric-post-archive-item-title a {
	text-decoration: none;
	color: var(--color-heading);
}
article.assure-electric-post-archive-item-wrapper .assure-electric-post-archive-item-title a:hover {
	color: var(--color-primary);
}
article.assure-electric-post-archive-item-wrapper .assure-electric-post-archive-item-date {
	color: var(--color-primary);
	font-size: 14px;
	text-transform: uppercase;
}
article.assure-electric-post-archive-item-wrapper .assure-electric-post-archive-item-excerpt {
	font-size: 15px;
	margin-bottom: 20px;
}
article.assure-electric-post-archive-item-wrapper a.assure-electric-button-link {
	margin-top: auto;
}
/* Blog - List - Sidebar */
.assure-electric-post-archive-wrapper .assure-electric-post-archive-sidebar-wrapper {
	flex: 0 0 30%;
	background: var(--color-light);
	padding: 30px;
}
.assure-electric-post-archive-wrapper .assure-electric-post-archive-sidebar-wrapper .widget {
	margin-bottom: 40px;
}
.assure-electric-post-archive-wrapper .assure-electric-post-archive-sidebar-wrapper .widget:last-child {
	margin-bottom: 0;
}
.assure-electric-post-archive-wrapper .assure-electric-post-archive-sidebar-wrapper h2.widget-title {
	margin-top: 0;
	font-size: 24px;
}
.assure-electric-post-archive-wrapper .assure-electric-post-archive-sidebar-wrapper .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.assure-electric-post-archive-wrapper .assure-electric-post-archive-sidebar-wrapper .widget ul li a {
	display: block;
	margin: 10px 0;
	text-decoration: none;
	color: var(--color-text);
}
.assure-electric-post-archive-wrapper .assure-electric-post-archive-sidebar-wrapper .widget ul li a:hover {
	color: var(--color-primary);
}
/* Blog - Single */
.assure-electric-post-single-item-wrapper .assure-electric-post-single-item-image {
	margin-bottom: 40px;
}
.assure-electric-post-single-item-wrapper .assure-electric-post-single-item-image img {
	display: block;
	width: 100%;
	max-height: 450px;
	object-fit: cover;
}
.assure-electric-post-single-item-wrapper .assure-electric-post-single-item-date {
	margin-top: 15px;
	color: var(--color-primary);
	font-size: 14px;
	text-transform: uppercase;
}
.assure-electric-post-single-item-wrapper .assure-electric-post-single-item-header {
	margin-bottom: 40px;
}
nav.post-navigation,
nav.posts-navigation {
	margin: 30px 0;
}
nav.post-navigation .nav-links a,
nav.posts-navigation .nav-links a {
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--color-primary);
	border-radius: 4px;
	padding: 12px 36px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	transition: background var(--transition);
}
nav.post-navigation .nav-links a:hover,
nav.posts-navigation .nav-links a:hover {
	background: var(--color-primary-dark);
}
/* CONTACT FORM */
/* Wrap CF7 fields in <div class="assure-electric-contactform-input-wrapper"><label>Name [text* your-name]</label>...</div> */
.wpcf7 .assure-electric-contactform-input-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}
.wpcf7 .assure-electric-contactform-input-wrapper label {
	flex: 1 1 calc(50% - 20px);
	font-size: 14px;
	font-weight: 600;
}
.wpcf7 .assure-electric-contactform-input-wrapper label:last-child {
	flex-basis: 100%;
}
.wpcf7 .assure-electric-contactform-input-wrapper label input,
.wpcf7 .assure-electric-contactform-input-wrapper label textarea,
.wpcf7 .assure-electric-contactform-input-wrapper label select {
	margin-top: 5px;
	width: 100%;
	padding: 14px 18px;
	color: var(--color-text);
	background: var(--color-light);
	font-size: 15px;
	font-weight: 400;
	border: 1px solid var(--color-light);
	border-radius: 4px;
	transition: border-color var(--transition);
}
.wpcf7 .assure-electric-contactform-input-wrapper label input:focus,
.wpcf7 .assure-electric-contactform-input-wrapper label textarea:focus,
.wpcf7 .assure-electric-contactform-input-wrapper label select:focus {
	outline: none;
	border-color: var(--color-primary);
}
.wpcf7 input[type="submit"] {
	display: inline-block;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--color-primary);
	border: 2px solid var(--color-primary);
	border-radius: 4px;
	padding: 12px 40px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: background var(--transition), border var(--transition);
}
.wpcf7 input[type="submit"]:hover {
	background: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}
/* FOOTER */
/* Footer - Call to Action Box */
.assure-electric-ctabox-wrapper {
	/* flow-root stops the box's negative margin collapsing through the wrapper */
	display: flow-root;
	background: var(--color-dark);
	padding-bottom: 55px;
}
.assure-electric-ctabox {
	position: relative;
	display: flex;
	align-items: center;
	gap: 40px;
	margin-top: -94px;
	padding: 25px 60px 28px;
	background: var(--color-primary);
	border-radius: 4px;
	color: var(--color-white);
}
.assure-electric-ctabox .assure-electric-ctabox-content {
	flex: 1;
	max-width: 720px;
}
h2.assure-electric-ctabox-title {
	margin: 0 0 12px;
	font-size: 48px;
	color: var(--color-white);
}
.assure-electric-ctabox .assure-electric-ctabox-text {
	font-size: 15px;
	line-height: 1.3;
}
.assure-electric-ctabox .assure-electric-ctabox-text p:last-child {
	margin-bottom: 0;
}
.assure-electric-ctabox .assure-electric-ctabox-button {
	margin-left: auto;
	flex-shrink: 0;
}
/* Footer - Widgets */
.footer-widgets {
	background: var(--color-dark);
	color: var(--color-white);
	padding: 0 0 60px;
}
.footer-widgets .container {
	display: flex;
	gap: 30px;
}
.footer-widgets .container .widget-content {
	flex: 1;
}
.footer-widgets .container .widget-content h3.widget-title {
	margin: 0 0 18px;
	color: var(--color-white);
	font-size: 30px;
	white-space: nowrap;
}
.footer-widgets .container .widget-content img {
	max-width: 236px;
}
.footer-widgets .container .widget-content ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-widgets .container .widget-content ul li {
	margin-bottom: 13px;
	font-size: 14px;
	text-transform: uppercase;
}
.footer-widgets .container .widget-content a {
	text-decoration: none;
	color: var(--color-white);
}
.footer-widgets .container .widget-content a:hover {
	color: var(--color-primary);
}
.footer-widgets .container .widget-content .assure-electric-social-icons-item a {
	color: var(--color-primary);
}
.footer-widgets .container .widget-content .assure-electric-social-icons-item a:hover {
	color: var(--color-white);
}
/* Footer - Site Info */
footer.site-footer {
	background: var(--color-dark);
	color: var(--color-white);
	text-align: center;
	font-size: 12px;
}
footer.site-footer .site-info {
	padding: 18px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}
footer.site-footer .assure-electric-footer-additionalinfo {
	margin-bottom: 10px;
}
footer.site-footer a {
	text-decoration: none;
	color: var(--color-white);
}
footer.site-footer a:hover {
	color: var(--color-primary);
}
/* ANIMATION */
/* .fade-on-scroll is only hidden once js/fade-on-scroll.js has run, so content stays visible without JS */
.assure-electric-fade-ready .fade-on-scroll {
	opacity: 0;
}
.assure-electric-fade-ready .fade-on-scroll.fade-on-scroll-visible {
	opacity: 1;
	animation: assure-electric-fade-in 0.8s ease;
}
@keyframes assure-electric-fade-in {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* SIZING */
/* Small desktops (992-1199px): tighten the header so the logo, menu, quote button and phone number fit the 970px container */
@media (max-width: 1199px) {
	.main-navigation .align-vertical {
		gap: 20px;
	}
	.main-navigation a.custom-logo-link img {
		max-width: 210px;
	}
	.main-navigation .assure-electric-main-menu ul li a {
		margin: 0 3px;
		padding: 8px 6px;
	}
	a.assure-electric-header-mobilenumber {
		display: none;
	}
}
/* Tablets: stack rows marked "assure-electric-row-stack-tablet" (Page Builder only collapses two-column rows at 767px) */
@media (min-width: 768px) and (max-width: 991px) {
	/* Same approach as Page Builder's own mobile collapse; !important beats its row-specific rules */
	.panel-row-style.assure-electric-row-stack-tablet {
		flex-direction: column !important;
	}
	.panel-row-style.assure-electric-row-stack-tablet > .panel-grid-cell {
		width: 100% !important;
		margin: 0 0 40px !important;
	}
	.panel-row-style.assure-electric-row-stack-tablet > .panel-grid-cell:last-child {
		margin-bottom: 0 !important;
	}
	/* Keep rows marked "assure-electric-row-keep-tablet" on one line (e.g. 3 cards), instead of Page Builder's 2 per row */
	.panel-row-style.assure-electric-row-keep-tablet {
		flex-wrap: nowrap !important;
	}
	.panel-row-style.assure-electric-row-keep-tablet > .panel-grid-cell {
		flex: 1 1 0 !important;
		margin: 0 20px 0 0 !important;
		padding: 0 !important;
	}
	.panel-row-style.assure-electric-row-keep-tablet > .panel-grid-cell:last-child {
		margin-right: 0 !important;
	}
}
/* Header collapses at 991px, not 767px: the logo, menu and quote/phone block don't fit the 750px container */
@media (max-width: 991px) {
	/* HEADER */
	button.menu-toggle {
		display: block;
		margin: 0;
		padding: 0;
		font-size: 32px;
		line-height: 32px;
		color: var(--color-white);
		background: transparent;
		border: 0;
		cursor: pointer;
	}
	.main-navigation .align-vertical {
		flex-wrap: wrap;
		gap: 20px;
	}
	.main-navigation .assure-electric-main-menu {
		display: none;
	}
	.main-navigation a.custom-logo-link img {
		max-width: 220px;
	}
	.assure-electric-header-contact {
		margin-left: auto;
	}
	a.assure-electric-button-link.assure-electric-header-quote,
	a.assure-electric-header-mobilenumber {
		display: none;
	}
	a.assure-electric-header-phonenumber i {
		margin: 0;
		font-size: 26px;
	}
	/* Phone number shows as an icon only, but the number is kept for screen readers */
	a.assure-electric-header-phonenumber .assure-electric-header-phonenumber-text {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.main-navigation .assure-electric-mobile-menu {
		width: 100%;
	}
	/* HEADER - TOGGLED */
	.main-navigation.toggled .assure-electric-mobile-menu {
		display: block;
	}
	.main-navigation.toggled .assure-electric-mobile-menu ul {
		padding: 10px 0 0;
	}
	.main-navigation .assure-electric-mobile-menu ul li a {
		padding: 10px 0;
		font-size: 16px;
		text-transform: uppercase;
		color: var(--color-white);
	}
	.main-navigation .assure-electric-mobile-menu ul li a:hover,
	.main-navigation .assure-electric-mobile-menu ul li.current-menu-item > a {
		color: var(--color-primary);
	}
	.main-navigation .assure-electric-mobile-menu ul ul {
		position: static;
		left: auto;
		float: none;
		box-shadow: none;
		padding: 0 0 0 15px;
		border-left: 2px solid var(--color-primary);
	}
	.main-navigation .assure-electric-mobile-menu ul ul li a {
		padding: 7px 0;
		font-size: 14px;
	}
	.main-navigation .assure-electric-mobile-menu ul ul a {
		width: auto;
	}
	.main-navigation.toggled .assure-electric-mobile-quote {
		display: block;
		width: 100%;
		padding-bottom: 10px;
	}
	/* PAGE */
	/* Cover images get a fixed height once their row stacks */
	.assure-electric-row-stack-tablet .assure-electric-image-cover .sow-image-container img {
		height: 420px;
	}
	/* FOOTER */
	.assure-electric-ctabox {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 30px 40px;
	}
	.assure-electric-ctabox .assure-electric-ctabox-button {
		margin-left: 0;
	}
	.footer-widgets .container {
		flex-wrap: wrap;
		row-gap: 40px;
	}
	.footer-widgets .container .widget-content {
		flex: 1 1 calc(50% - 15px);
	}
}
@media (max-width: 767px) {
	.container {
		width: 100%;
	}
	/* HEADER */
	.main-navigation a.custom-logo-link img,
	.main-navigation.navbar-shrink a.custom-logo-link img {
		max-width: 180px;
	}
	/* PAGE */
	.site-main {
		padding: 40px 0 120px;
	}
	.panel-row-style.assure-electric-row-wide {
		padding-right: 15px !important;
		padding-left: 15px !important;
	}
	.assure-electric-image-cover .sow-image-container img {
		height: 300px;
	}
	h1.entry-title {
		font-size: 36px;
	}
	/* BLOG */
	.assure-electric-post-archive-wrapper {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}
	.assure-electric-post-archive-wrapper .assure-electric-post-archive-list-wrapper,
	.no-sidebar .assure-electric-post-archive-wrapper .assure-electric-post-archive-list-wrapper {
		grid-template-columns: 1fr;
	}
	.assure-electric-post-archive-wrapper .assure-electric-post-archive-sidebar-wrapper {
		flex-basis: auto;
	}
	/* CONTACT FORM */
	.wpcf7 .assure-electric-contactform-input-wrapper label {
		flex-basis: 100%;
	}
	.assure-electric-contact-address {
		text-align: center;
	}
	/* FOOTER */
	.assure-electric-ctabox {
		align-items: center;
		margin-top: -70px;
		padding: 30px 20px;
		text-align: center;
	}
	h2.assure-electric-ctabox-title {
		font-size: 36px;
	}
	.footer-widgets .container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-widgets .container .widget-content {
		flex-basis: auto;
	}
}
@media (min-width: 768px) {
	.container {
		width: 750px;
	}
}
@media (min-width: 992px) {
	.container {
		width: 970px;
	}
}
@media (min-width: 1200px) {
	.container {
		width: 1170px;
	}
}
