/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  Default GeneratePress child theme
Author:       Tom Usborne
Author URI:   https://tomusborne.com
Template:     generatepress
Version:      0.1
*/

/*
* Media Queries
* 
* Mobile only 
@media (max-width: 768px) {}
*
* Tablet and above
@media (min-width: 769px) {}
*
* Tablet only 
@media (min-width: 769px) and (max-width: 1024px) {}
*
* Tablet and smaller 
@media (max-width: 1024px) {}
*
* Desktop only 
@media (min-width: 1025px) {}
*/

.cf:before,
.cf:after {
	content: " ";
	display: table;
}

.cf:after {
	clear: both;
}

a.flex {
	display: flex;
}

body.nav-float-right #site-navigation {
	margin-right: auto;
}

a.header-phone-link {
	color: #000;
	text-decoration: none;
}

/* pb-accordion */

.pb-accordion {
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease-in-out;
	height: auto;
	gap: 20px;
}

.pb-accordion-item {
	align-items: center;
	border-radius: 16px;
	flex: 1 0 auto;
	flex-direction: column;
	display: flex;
	justify-content: flex-end;
	overflow: hidden;
	transition: flex 0.3s ease-in-out, opacity 0.3s ease-in-out;
	background-size: cover;
	background-position: center;
}

.pb-accordion-eyebrow {
	font-size: 40px;
	font-weight: 300;
}

.pb-accordion-headline,
.pb-accordion-content,
.pb-accordion-btn {
	color: #fff;
	transition: opacity 0.3s ease-in-out;
}

.pb-accordion-content {
	text-wrap: balance;
}

.pb-accordion-inner {
	align-items: flex-start;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
	color: #fff;
	display: flex;
	flex-direction: column;
	padding: 50px 20px 30px;
	transition: opacity 0.3s ease-in-out;
	width: 100%;
}

.pb-accordion-btn {
	background: #0a96ff;
	border-radius: 30px;
	display: inline-block;
	font-weight: 600;
	padding: 12px 20px;
	text-decoration: none;
	text-transform: uppercase;
}

.pb-accordion-btn:hover,
.pb-accordion-btn:focus {
	background: #fff;
	color: #008aed;
}

@media (min-width: 768px) {
	.pb-accordion {
		flex-direction: row;
		height: 50vh;
	}

	.pb-accordion-item {
		flex: 1 0 0;
	}

	.pb-accordion-item.expanded {
		flex: 4 0 0;
	}

	.pb-accordion:hover .pb-accordion-item:not(.expanded) .pb-accordion-inner {
		opacity: 0;
	}

	.pb-accordion-item.expanded .pb-accordion-headline,
	.pb-accordion-item.expanded .pb-accordion-content,
	.pb-accordion-item.expanded .pb-accordion-btn {
		opacity: 1;
	}

	.pb-accordion-item.expanded .pb-accordion-inner {
		opacity: 1;
	}
}

/* price-slider */

:root {
	--price-slider-bg: #29a3ff;
	--price-slider-track-height: 18px;
	--price-slider-thumb-size: 46px;
	--price-slider-track-fill: #0a0a0a;
	--price-slider-track-empty: #ffffff;
	--price-slider-tooltip-bg: #ffffff;
	--price-slider-tooltip-color: #1a8fe6;
	--price-slider-label-color: #ffffff;
}

.price-slider {
	width: 100%;
	max-width: 720px;
	padding: 60px 0 0;
}

.price-slider__track-wrap {
	position: relative;
	height: var(--price-slider-thumb-size);
	display: flex;
	align-items: center;
}

.price-slider__tooltip {
	position: absolute;
	bottom: 100%;
	left: 0;
	transform: translateX(-50%);
	margin-bottom: 10px;
	background: var(--price-slider-tooltip-bg);
	color: var(--price-slider-tooltip-color);
	font-weight: 800;
	font-size: 22px;
	padding: 8px 18px;
	border-radius: 8px;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 4px 16px rgba(0,0,0,0.10);
	z-index: 10;
}

.price-slider__tooltip::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-top: 9px solid var(--price-slider-tooltip-bg);
}

.price-slider__input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: var(--price-slider-track-height);
	background: transparent;
	cursor: pointer;
	position: relative;
	z-index: 2;
	margin: 0;
}

.price-slider__input::-webkit-slider-runnable-track {
	height: var(--price-slider-track-height);
	background: transparent;
	border-radius: 999px;
}

.price-slider__input::-moz-range-track {
	height: var(--price-slider-track-height);
	background: transparent;
	border: none;
	border-radius: 999px;
}

.price-slider__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: var(--price-slider-thumb-size);
	height: var(--price-slider-thumb-size);
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--price-slider-track-fill) 9px, transparent 9px),
		var(--price-slider-tooltip-bg);
	border: 1px solid rgba(0,0,0,0.35);
	margin-top: calc((var(--price-slider-track-height) - var(--price-slider-thumb-size)) / 2);
	position: relative;
	z-index: 3;
}

.price-slider__input::-moz-range-thumb {
	width: var(--price-slider-thumb-size);
	height: var(--price-slider-thumb-size);
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--price-slider-track-fill) 9px, transparent 9px),
		var(--price-slider-tooltip-bg);
	border: 1px solid rgba(0,0,0,0.35);
}

.price-slider__input:focus {
	outline: none;
}

.price-slider__track {
	position: absolute;
	top: 50%;
	left: calc(var(--price-slider-thumb-size) / 2);
	right: calc(var(--price-slider-thumb-size) / 2);
	height: var(--price-slider-track-height);
	transform: translateY(-50%);
	border-radius: 999px;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
	background: var(--price-slider-track-empty);
}

.price-slider__track-fill {
	height: 100%;
	background: var(--price-slider-track-fill);
	border-radius: 999px 0 0 999px;
	width: 0%;
}

.price-slider__labels {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	padding: 0 2px;
}

.price-slider__labels span {
	color: var(--price-slider-label-color);
	font-weight: 800;
	font-size: 24px;
	letter-spacing: -0.02em;
}

.price-slider__savings {
	text-align: center;
	margin-top: 48px;
}

.price-slider__savings-label {
	color: var(--price-slider-label-color);
	font-weight: 700;
	font-size: 28px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.price-slider__savings-value {
	color: var(--price-slider-label-color);
	font-weight: 900;
	font-size: 56px;
	letter-spacing: -0.03em;
	margin-top: 12px;
}

/* contact form */

.cu-md-filled.cu-form {
	--grid-gap: 16px;

	--input-color: #222;
	--input-bg: #f5f5f5;
	--input-bg-hover: #f0f0f0;
	--input-bg-focus: #ececec;
	--input-border: 1px solid #bbb;
	--input-border-color-hover: #9e9e9e;
	--input-border-color-focus: #6200ee;
	--input-border-radius: 4px;
	--input-font-size: 16px;
	--input-padding: 20px 16px 6px;

	--label-color: #626262;
	--label-color-focus: rgba(0, 0, 0, 0.6);
	--label-color-focus-within: #6200ee;
	--label-font-size: 18px;
	--label-font-size-active: 13px;
	--label-font-weight: 400;

	--submit-bg-color: #0a96ff;
	--submit-bg-color-hover: #008aed;
	--submit-color: #fff;
	--submit-color-hover: #fff;
	--submit-border-radius: 4px;
	--submit-font-size: 15px;
	--submit-font-weight: 600;
	--submit-letter-spacing: 1px;
	--submit-padding: 13px 15px;
	--submit-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%);

	--not-valid-color: #dc3232;
	--not-valid-font-weight: 600;
	--not-valid-margin-left: 14px;
}

.cu-form {
	container-type: inline-size;
}

.cu-form,
.cu-form * {
	box-sizing: border-box;
}

.cu-form label {
	display: block;
	font-size: 1rem;
	font-weight: 500;
	position: relative;
}

.cu-form .cu-label-text {
	display: inline-block;
	margin-bottom: 4px;
	width: 80%;
}

.cu-form .cu-label-text,
.cu-form .wpcf7-list-item-label,
.cu-form .cu-form-subhead {
	color: var(--label-color);
}

.cu-form .wpcf7-form-control-wrap {
	display: inline-block;
}

.cu-form .cu-hr {
	background-color: var(--label-color);
	margin: 8px 0;
}

.cu-form .cu-form-subhead {
	display: block;
}

.cu-form .wpcf7-form-control-wrap,
.cu-form .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
}

.cu-checkbox-container.cu-display-column .wpcf7-form-control,
.cu-radio-container.cu-display-column .wpcf7-form-control {
	display: flex;
	flex-direction: column;
}

.cu-checkbox-container label,
.cu-radio-container label {
	display: inline-flex;
	justify-content: space-between;
}

.cu-checkbox-container .wpcf7-list-item-label,
.cu-radio-container .wpcf7-list-item-label {
	margin-left: 6px;
}

.cu-form .wpcf7-list-item.first,
.cu-form .cu-display-column .wpcf7-list-item {
	margin-left: 0;
}

.cu-form .wpcf7-not-valid-tip {
	color: var(--not-valid-color);
	margin-top: 2px;
}

.cu-form .wpcf7-spinner {
	display: none;
}

.cu-form input[type="text"],
.cu-form input[type="email"],
.cu-form input[type="tel"],
.cu-form input[type="url"],
.cu-form textarea,
.cu-form select {
	background-color: var(--input-bg);
	border: var(--input-border);
	border-radius: var(--input-border-radius);
	color: var(--input-color);
	font-size: var(--input-font-size);
	padding: var(--input-padding);
}

.cu-form input[type="text"]:hover,
.cu-form input[type="email"]:hover,
.cu-form input[type="tel"]:hover,
.cu-form input[type="url"]:hover,
.cu-form textarea:hover,
.cu-form select:hover {
	background-color: var(--input-bg-hover);
	border-color: var(--input-border-color-hover);
}

.cu-form input[type="text"]:focus,
.cu-form input[type="email"]:focus,
.cu-form input[type="tel"]:focus,
.cu-form input[type="url"]:focus,
.cu-form textarea:focus,
.cu-form select:focus {
	background-color: var(--input-bg-focus);
	border-color: var(--input-border-color-focus);
	color: var(--input-color);
	outline: none;
}

.cu-form select {
	background-color: var(--input-bg);
	color: var(--input-color);
}

.cu-form select:focus,
.cu-form select:hover {
	background-color: var(--input-bg);
	color: var(--input-color);
}

.cu-form select option {
	color: var(--input-color);
}

.cu-form input[type="submit"] {
	background-color: var(--submit-bg-color);
	border-radius: var(--submit-border-radius);
	box-shadow: var(--submit-shadow);
	color: var(--submit-color);
	font-size: var(--submit-font-size);
	font-weight: var(--submit-font-weight);
	letter-spacing: var(--submit-letter-spacing);
	padding: var(--submit-padding);
	text-transform: uppercase;
	width: 100%;
}

.cu-form input[type="submit"]:hover,
.cu-form input[type="submit"]:focus {
	background-color: var(--submit-bg-color-hover);
	color: var(--submit-color-hover);
}

.cu-form .submitting input.c6-submit {
	display: none;
}

.cu-form .submitting .wpcf7-spinner {
	display: inline-block;
}

.cu-form~div.wpcf7-response-output {
	color: var(--label-color);
	margin: 20px 0 0;
}

.cu-md-filled .cu-label-text {
	color: var(--label-color);
	font-size: var(--label-font-size);
	font-weight: var(--label-font-weight);
	left: 15px;
	pointer-events: none;
	position: absolute;
	top: 14px;
	transition: top 150ms ease-in-out;
	will-change: transform;
	z-index: 2;
}

.cu-md-filled .cu-label-text.position-static {
	position: static;
}

.cu-md-filled .cu-label.is-active .cu-label-text,
.cu-md-filled .cu-label.is-select .cu-label-text,
.cu-md-filled .cu-label:focus-within .cu-label-text {
	color: var(--label-color-focus);
	font-size: var(--label-font-size-active);
	top: 3px;
}

.cu-md-filled .cu-label:focus-within .cu-label-text {
	color: var(--label-color-focus-within);
}

.cu-md-filled .cu-label:focus-within input[type="text"],
.cu-md-filled .cu-label:focus-within input[type="email"],
.cu-md-filled .cu-label:focus-within input[type="tel"],
.cu-md-filled .cu-label:focus-within input[type="url"],
.cu-md-filled .cu-label:focus-within textarea {
	background-color: var(--input-bg-focus);
}

.cu-md-filled .is-select select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 26px;
}

.cu-md-filled .is-select .wpcf7-form-control-wrap {
	position: relative;
}

.cu-md-filled .is-select .wpcf7-form-control-wrap::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' width='24'%3E%3Cpath d='m12 15-5-5h10Z'/%3E%3C/svg%3E");
	content: "";
	height: 24px;
	pointer-events: none;
	position: absolute;
	right: 6px;
	top: 14px;
	width: 24px;
}

.cu-md-filled option {
	color: var(--input-color);
}

.cu-md-filled .wpcf7-not-valid-tip,
.cu-md-filled .cu-form-hint {
	margin-left: var(--not-valid-margin-left);
}

.cu-md-filled .wpcf7-not-valid-tip {
	font-weight: var(--not-valid-font-weight);
}

.cu-fields {
	display: grid;
	grid-gap: var(--grid-gap);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cu-field {
	grid-column: 1 / -1;
}

.cu-field--half {
	grid-column: span 2;
}

.cu-grid {
	display: grid;
	grid-gap: var(--grid-gap);
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.cu-col-span-full {
	grid-column: 1/-1;
}

.wpcf7-checkbox label {
	align-items: flex-start;
}

.wpcf7-checkbox input {
	margin-top: 6px;
}

.wpcf7-checkbox .wpcf7-list-item-label {
	font-weight: 400;
}

.cu-label--has-icon {
	position: relative;
}

.cu-label--has-icon .cu-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	color: #767676;
	transition: color 150ms ease-in-out;
	pointer-events: none;
}

.cu-md-filled .cu-label--has-icon input,
.cu-md-filled .cu-label--has-icon textarea {
	padding-right: 38px;
}

.cu-label--has-icon:focus-within .cu-icon {
	color: var(--input-border-color-focus);
}

@container (min-width: 872px) {
	.cu-fields {
		grid-template-columns: repeat(9, minmax(0, 1fr));
	}

	.cu-fields > .cu-field {
		grid-column: span 2;
	}

	.cu-fields > .cu-field--submit {
		grid-column: span 1;
	}

	.cu-fields > .cu-col-span-full {
		order: 1;
	}

	.cu-layout-horizontal .cu-fields {
		grid-template-columns: repeat(9, minmax(0, 1fr));
	}

	.cu-layout-horizontal .cu-field {
		grid-column: span 2;
	}

	.cu-layout-horizontal .cu-field--half {
		grid-column: span 2;
	}

	.cu-layout-horizontal .cu-field--submit {
		grid-column: span 1;
	}

	.cu-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

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

	.cu-col-span-1 { grid-column: span 1/span 1; }
	.cu-col-span-2 { grid-column: span 2/span 2; }
	.cu-col-span-3 { grid-column: span 3/span 3; }
	.cu-col-span-4 { grid-column: span 4/span 4; }
	.cu-col-span-5 { grid-column: span 5/span 5; }
	.cu-col-span-6 { grid-column: span 6/span 6; }
	.cu-col-span-7 { grid-column: span 7/span 7; }
	.cu-col-span-8 { grid-column: span 8/span 8; }
	.cu-col-span-9 { grid-column: span 9/span 9; }
	.cu-col-span-10 { grid-column: span 10/span 10; }
	.cu-col-span-11 { grid-column: span 11/span 11; }
	.cu-col-span-12 { grid-column: span 12/span 12; }
}