/*
Theme Name: Fuel6
Theme URI: https://fuelmedical.com
Author: Fuel Medical
Description: A Fuel Medical block theme (2024)
Requires at least: 6.5
Tested up to: 6.7.1
Requires PHP: 8.0
Version: 6.3.8
Text Domain: fuel6
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Custom Properties
# Fuel Normalize
# Helper Classes
# WordPress Blocks
# Forms - Moved to css/gravity-forms.css
# Header
# Content
# Footer
# Animations
# print
# Safari 15.3 fallbacks
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Custom Properties
  Note: WordPress declares its variables in the body, so do the same to avoid scope issues.
--------------------------------------------------------------*/
body {
	/* Structure - 1100px - for use outside of contain class */
	--contain-padding: clamp(1rem, calc(50vw - 29.93rem), 19rem);

	/* Design - Change in theme.json */
	--primary-color: var(--wp--preset--color--primary);
	--accent-color: var(--wp--preset--color--accent);
	--white: var(--wp--preset--color--white);
	--grey: var(--wp--preset--color--grey);
	--black: var(--wp--preset--color--black);

	/* Top Level Primary Menu Colors - now managed on the block level */
	--wp--preset--color--menu-background: inherit;
	--wp--preset--color--menu-color: currentColor;
	--wp--preset--color--menu-hover-color: var(--white);
	--wp--preset--color--menu-hover-bg: var(--wp--preset--color--color-2);

	/* Sub Menu Colors */
	--wp--preset--color--sub-menu-background: var(--white);
	--wp--preset--color--sub-menu-color: var(--primary-color);
	--wp--preset--color--sub-menu-hover-color: var(--primary-color);
	--wp--preset--color--sub-menu-hover-bg: var(--wp--preset--color--color-3);

	/* Text */
	--title-font: var(--wp--preset--font-family--title);
	--title-color: var(--primary-color);

	--content-font: var(--wp--preset--font-family--content), sans-serif;
	--content-color: var(--wp--preset--color--content);
}

/*--------------------------------------------------------------
# Fuel Normalize
--------------------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html {
	font-size: clamp(125%, 1vw, 240%);
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
	min-width: 18rem;
}

iframe,
img,
svg,
audio,
video,
embed {
	vertical-align: middle;
	max-width: 100%;
}

img {
	object-fit: cover;
}

img:not([src*=".png"],
[src*=".gif"], [src*=".svg"]) {
	background: var(--grey);
}

a {
	text-decoration: none;
	color: var(--primary-color); 
	transition: color 300ms, background-color 300ms;
}

a[href^="tel:"] {
	white-space: nowrap;
}

a:hover {
	color: var(--primary-color);
}

[hidden] {
	display: none;
}

@media only screen and (min-width: 68.5em) {
	*[id] {
		scroll-margin-top: 3rem;
	}
}

#sidebar .gform_confirmation_wrapper {
	margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Helper Classes
--------------------------------------------------------------*/
.contain {
	--contain-padding: clamp(var(--mobile-padding, 1rem), calc(50vw - 29.93rem), var(--desktop-padding, 19rem));
	display: block;
	position: relative;
	margin: auto;
	padding-right: var(--contain-padding);
	padding-left: var(--contain-padding);
	width: 100%;
}

.icon-item {
	display: block;
	position: relative;
	margin: 1em 0;
	padding: 0 0 0 1.8em;
}

.icon-item svg {
	position: absolute;
	top: 0.15em;
	left: 0;
	width: 1.2em;
	height: 1.2em;
}

@media (min-width: 68.5em) {
	.mobile-only {
		display: none !important;
	}
}

@media (max-width: 68.49em) {
	.desktop-only {
		display: none !important;
	}

	body {
		--center-on-mobile: center;
	}

	.text-center-on-mobile {
		text-align: var(--center-on-mobile);
	}

	.center-on-mobile {
		justify-content: var(--center-on-mobile);
	}
}

.zebra > *:not(tbody):nth-child(odd) {
	background-color: var(--zebra, var(--grey));
}

/* Use on query loops to help change the order every other column */
.stagger > :nth-child(odd) .wp-block-columns {
	flex-direction: row-reverse;
}

/* Use to make link fill entire block - use when you can't wrap blocks with anchor tag */
.cover-link {
	position: absolute !important;
	inset: 0;
	width: 100%;
	z-index: 1;
	background: none !important;
}

:has(> .cover-link) {
	position: relative;
}

/*--------------------------------------------------------------
# WordPress Blocks
--------------------------------------------------------------*/
@media (min-width: 37.5em) {
	.alignleft,
	.alignright {
		max-width: 48%
	}
}

@media (min-width: 68.5em) {
	.is-position-sticky {
		top: 4rem;
	}
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* header 2 styles */
@media (min-width: 68.5em) {
	.header-logo a {
			display: block;
			transition: padding 0.5s, max-height 0.5s;
			max-height: 9.85rem;
		}
		
		.header:has(.is-pinned) .header-logo a {
			max-height: 3rem;
			padding: 0 !important;
		}
		
		.header-logo svg {
			max-height: inherit;
			padding: 0.1rem 0;
		}
	}

	@media (max-width: 68.49em) {
		.logo-menu {
			flex-direction: column;
		}
		.menu-styling-wrapper {
			background: var(--primary-color) !important;
			color: var(--white);
		}
	}


@media (max-width: 68.49em) {
	.header {
		position: relative;
		z-index: 998;
	}
}

@media (min-width: 68.5em) {
	.header:not(.block-editor-block-list__block) {
		position: sticky;
 		top: -3rem; 
		z-index: 999;
	}
	.header .desktop-only{
		background: rgba(3, 109, 145, .15) !important;
	}
	.header .dialog-trigger {
		padding: 0.5rem 1.6rem 0.5rem 1rem ;
		background-color: var(--primary-color); 
		border-radius: 0 0 0 20px; 
	}
	
	.header .dialog-trigger:hover,
	.header .dialog-trigger:focus-visible,
	.header .dialog-trigger[aria-expanded=true]{
		background: var(--wp--preset--color--light-green);
		color: var(--primary-color)
	}
	
	.header .dialog-trigger svg{
		color: var(--wp--preset--color--light-green); 
		transition: all .25s ease; 
	}
	
	.header .dialog-trigger:hover svg,
	.header .dialog-trigger:focus-visible svg,
	.header .dialog-trigger[aria-expanded=true] svg{
		color: var(--primary-color); 
		transform: rotate(180deg); 
	}
	.menu-label:focus-visible{
		color: var(--primary-color); 
	}
	.wp-block-fuel-menu-wrapper .sub-menu a:is(:hover, :focus-visible){
		color: var(--primary-color); 
	}
}

.wp-block-post-date{
	text-align: center; 
}

a.header-logo svg{
	width: auto;
	height: 4.25rem; 
	transition: transform 0.3s ease;
}

a.footer-logo svg{
	transition: transform 0.3s ease;
}

.header-logo:is(:hover, :focus-visible) svg,
a.footer-logo:is(:hover, :focus-visible) svg {
	transform: scale(1.05);
}

.header-quicklinks .wp-block-fuel-menu-item {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

.header-quicklinks a{
	padding: 0.5rem 1.6rem;
}

.header-quicklinks a:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--light-green);
}

.header-quicklinks svg {
	margin-right: 0.3rem;
	transform: translateY(-0.1rem);
}


/* center logo on mobile */
.header-logo a {
  display: block;
  text-align: center;
}

.main-header .wp-block-cover__background:before{
	content:'';
	position: absolute; 
	top: 0;
	left: 0; 
	width: 100%; 
	height: 100%; 
	background: url('./images/header-bg.svg') no-repeat; 
	background-size: 100%; 
}

@media (min-width: 38.5em) {
	.main-header .wp-block-cover__background:before{
		background: url('./images/secondary-header-pattern-desktop-two.svg') no-repeat; 
		left: initial;
		right: -7%; 
		width: 50%;
		background-size: cover; 
	}
}

@media (min-width: 68.5em) {
	.header-logo .flower{
		opacity: 1;
		transition: opacity .5s ease; 
	}
	.is-pinned-header .header-logo .flower{
		opacity: 0;
		transition: opacity .5s ease; 
	}
}

.main-header {
	background: var(--primary-color);
	clip-path: ellipse(100% 60% at 50% 39%);
}

/* dialog phone number box */
.content-cta-custom .dialog-trigger.button{
	background-color: transparent;
	color: var(--primary-color); 
	border: none; 
	display: block; 
	margin-top: 2em; 
	font-size: 1.5rem; 
	position: relative; 
	text-align: center; 
}

.content-cta-custom .dialog-trigger.button:before,
.content-cta .dialog-trigger.button:before{
	content:'';
	position: absolute; 
	left: 0;
	right: 0;
	margin: auto;
	top: 0 ;
	width: 1em;
	height: .5em;
	background: url('./images/dots.svg') no-repeat; 
}
.dialog-content-wrapper{
	background: var(--primary-color);
	color: #fff;
	
	background-repeat: no-repeat;
    background-position: right bottom;
	border-bottom: 1px solid var(--accent-color); 
}

.header .dialog-content-wrapper{
	width: 23rem;
	height: initial; 
}

.content-cta-dialog {
	margin-bottom: 1em;
	font-size: 1rem; 
}
.content-cta-dialog a {
	color: #fff; 
	text-decoration: underline; 
}
.content-cta-dialog a.phone {
	font-size: 1rem; 
}
.close-dialog {
	padding: .5rem;
	border: none;
	background: rgba(0, 0, 0, .2);
}
.content-cta a.button {
	background-color: transparent;
	color: var(--primary-color);
	border: none;
	display: block;
	margin-top: 1.5em;
	font-size: 1.5rem;
	position: relative;
	text-align: center;
}

.close-dialog{
	color: var(--accent-color);
}

.close-dialog:focus-visible, .close-dialog:hover {
	background-color: rgba(255, 255, 255, .25);
  	border-color: transparent;
  	color: #fff;
}

.dialog-trigger {
	font-size: 1rem; 
	color: var(--primary-color);
	font-weight: 700; 
}

.dialog-trigger svg{
	width: 1rem; 
	height: 1rem; 
	margin-top: -.25rem; 
}
.dots{
	display: none; 
}

.content-cta-dialog .phone {
	display: block; 
}

.wp-block-categories a,
.cat-item {
	color: #fff; 
}

@media (min-width: 38.5em) {
	.list-col-2 {
		column-count: 2;
		column-gap: 2em;
		margin-left: 1rem;
	}
}
@media (min-width: 68.5em) {
	.content-cta-dialog {
		display: flex;
    	justify-content: space-between;
	}
	.dialog-content-wrapper{
		width: 500px;
		height: 9em; 
	}
	.dots{
		display: block; 
	}
}
.dots {
	flex: 1 1 auto;
    border-bottom: 2px dotted #fff;
    margin: 0 2px;
	transform: translateY(-.3em); 

}

.phone-tree .dots {
	transform: translateY(-.4em); 
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.apple-button{
	z-index: 100; 
}

.wp-site-blocks {
	margin: auto;
}

#main {
	margin: 0;
	font-size: var(--wp--preset--font-size--content);
}

.entry-content .wp-block-list li {
	margin: 1em 0 0 0;
}

/* Location card loop - Used in content, and menu */
/* If a grid has only one column, make it full width */
.location-cta .wp-block-post-template.is-layout-grid:not(:has(li:nth-child(2))) {
	grid-template-columns: 1fr
}

/* If a grid has three columns, make it flex */
.location-cta .wp-block-post-template.is-layout-grid:has(li:nth-child(3)) {
	display: flex;
	flex-wrap: wrap;

	& .wp-block-post {
		flex: 1 1 15rem;
	}
}

.location-card svg {
	vertical-align: bottom;
}

.sub-menu .location-card {
	background: none !important;
	padding-top: 0 !important;

	& .wp-block-post-title {
		padding-bottom: 0.5rem;
		font-size: var(--wp--preset--font-size--content);
		font-family: var(--content-font);
		font-weight: bold;
	}

	& > .wp-block-group:first-of-type {
		margin-top: 1.3rem;
	}
}

.entry-content li::marker {
    color: var(--accent-color);
}

@media (max-width: 68.49em) {
	.sub-menu { 
		& .location-cta svg {
			color: var(--white);
		}

		& .location-card {
			padding: 0 !important;
		}

		& .location-cta > ul {
			gap: 1rem;
		}

		& .location h3 {
			border-color: var(--white) !important;
		}
	}
}

/* Bio grid custom loop */
.bio-list .bio-box {
	display: grid;
	grid-template-areas:
		"img label";
	justify-content: start;
}

.bio-list .bio-image {
	grid-area: img;
	width: 2rem;
	height: 3rem;
	margin-right: 0.5rem;
	overflow: hidden;
	border-radius: 50%; 
	position: relative; 
}

.entry-wrapper .wp-block-group .bio-list .bio-image{
	width: 3rem; 	
	height: 3rem; 
}  

.bio-list .bio-image {
	grid-area: img;
	width: 2rem;
	height: 3rem;
	margin-right: 0.5rem;
	overflow: hidden;
	border-radius: 50%; 
	position: relative; 
}

.bio-list img {
	width: 100%;
	height: 100%;

}

.bio-list .bio-label {
	grid-area: label;
	line-height: normal;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
}

.bio-list .bio-label span {
	flex: 1 1 100%;
}

.bio-list .bio-cred {
	font-size: 0.8rem;
}

.bio-list .bio-box .bio-image:after{
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0; 
	right: 0; 
	margin: auto;
	width: 100%; 
	height: 100%;
	border: 1px solid #fff;
	border-radius: 50%; 
	transform: scale(.9);
	transition: border .5s ease; 
}

.bio-list .bio-box:hover .bio-image:after{
	border: 1px solid var(--accent-color);
}

.bio-name{
	color: var(--primary-color);
	font-size: 1.2rem; 
}

.bio-cred{
	font-size: 1rem !important; 
	margin-top: .5rem;
}

.single-bio .bio-cred{
	font-size: 1rem !important; 
}

.single-bio .bio-details:after {
	content:'';
	position: absolute; 
	bottom: -1.25rem;
	left: 0;
	right: 0; 
	margin: auto; 
	width: .5rem;
	height: .5rem; 
	background: var(--accent-color); 
	border-radius: 50%;
}

@media (min-width: 68.5em) {
	.entry-wrapper .wp-block-group .bio-list .bio-image{
		width: auto; 	
		height: auto; 
	} 
}

@media (max-width: 68.49em) {
	
	#main .bio-list .bio-box {
		padding: 0.3rem 1rem;
		margin-left: -1rem;
		width: calc(100% + 2rem);
	}

	#main .bio-list .bio-box:nth-child(odd) {
		background: rgba(0, 0, 0, 0.1);
	}

	/* Menu styling */
	.sub-menu .bio-list .bio-box.bio-box {
		margin-left: -1rem;
	}

	.sub-menu .bio-box::after,
	#main .bio-box::after {
		content: '';
		--link-svg: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="18" height="18"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M10.37 7.63a3.88 3.88 0 0 0-5.49 0l-2.74 2.74a3.88 3.88 0 0 0 5.49 5.5L9 14.48"></path><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.63 10.37a3.88 3.88 0 0 0 5.49 0l2.74-2.74a3.88 3.88 0 1 0-5.49-5.5L9 3.52"></path></svg>');
		background-color: currentColor;
		-webkit-mask: var(--link-svg);
		mask: var(--link-svg);
		position: absolute;
		inset: 0 8vw 0 auto;
		width: 0.9rem;
		height: 0.9rem;
		margin: auto;
		transition: background-color 0.3s ease;
	}

	.sub-menu .bio-list .bio-box:not(:hover, :focus-visible):nth-child(odd) {
		background: rgba(255, 255, 255, 0.1);
	}
}

@media (min-width: 68.5em) {
	.bio-list {
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
		align-items: flex-start;
		margin-top: 1rem;
	}

	.bio-list .bio-box {
		grid-template-areas:
			"img"
			"label";
		flex: 0 1 calc(25% - 1rem);
		min-width: 7.5rem; /* Adjust to prevent names from wrapping */
		text-align: center;
		margin-bottom: 2rem; 
	}

	.bio-list .bio-box:after{
		content:'';
		position: absolute; 
		bottom: -1.25rem;
		left: 0;
		right: 0; 
		margin: auto; 
		width: .5rem;
		height: .5rem; 
		background: var(--accent-color); 
		border-radius: 50%;
	}

	.sub-menu .bio-list .bio-box {
		flex: 0 1 calc(20% - 1rem);
	}

	.bio-list.bio-list .bio-box:is(:hover, :focus-visible) {
		background: none;
	}

	.bio-list .bio-image {
		display: block;
		width: 100%;
		height: auto;
		margin-bottom: 0.8rem;
	}

	.bio-list .bio-image img {
		transition: transform 0.3s;
	}

	.bio-list .bio-box:is(:hover, :focus-visible) .bio-image img {
		transform: scale(1.1);
	}

	.bio-list .bio-cred {
		color: var(--content-color);
	}
	
	.sub-menu .bio-list .bio-name,
	.sub-menu .bio-list .bio-cred {
		color: #fff;
	}
}

.map-infopanel-button{
	position: relative;
	padding-right: 3rem; 
}

.map-infopanel-button:after{
	content:'';
	position: absolute; 
	right: 1.5rem;
	top: 0; 
	bottom: 0;
	margin: auto; 
	width: .75rem;
	height: .75rem; 
	background: url('./images/blue-arrow.svg') no-repeat;
	background-size: 100%; 
	transition: transform .25s ease; 
}

.map-infopanel-button:hover:after,
.map-infopanel-button:focus-visible:after{
	transform: translateX(.25rem);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

/* my footer styles */

.footer{
	position: relative; 
}

.footer:before{
	content: '';
	position: absolute; 
	bottom: 3rem;
	left: 0; 
	right: 0; 
	margin: auto; 
	width: 19rem;
  	height: 15rem; 
	background: url('./images/footer-flower.svg') no-repeat;
	background-size: 100%; 
	background-position: bottom; 
}

#menu-social svg {
	margin-right: .25rem;
}

@media (prefers-reduced-motion: no-preference) {
	.footer:before{
		opacity: 0; 
		transition: opacity 1s 1s ease; 		
	}
	
	.js-intersected.footer:before{
		opacity: 1; 
	}
}

.footer-loc-heading{
	font-size: 1rem; 
	color: #fff;
	border-bottom: 1px solid #fff;
	padding-bottom: .5rem; 
	font-weight: 700; 
}

@media (min-width: 68.5em) {
	.footer{
		overflow: hidden; 
	}
	.footer:before{
		left: initial; 
		right: -3rem;
		bottom: 0; 
		width: 43rem; 
		height: 33rem; 
	}
	#foot_content{
		margin-bottom: 6em !important;
    	margin-top: 3rem;
	}
	.footer-loc-heading{
		margin-bottom: 1rem; 
	}
	
	.footer .wp-block-navigation {
		margin-block-start: 0; 
	}
	.footer .wp-block-navigation-link {
		margin-bottom: .3rem; 
	}
	#footer-locations,
	.footer-connect {
		margin-right: 2rem;
	}
}

.footer-loc-link-wrapper {
	display: flex;
  	gap: .5rem;
  	margin-block-start: 0;
  	margin-top: .5rem;
  	margin-bottom: .5rem;
}

.footer-loc-link-wrapper svg{
	color: var(--accent-color);
	align-self: center; 
}



.footer-connect p{
	margin-block-start: 0; 
	margin: 1rem 0;
}


/* start of default footer styles */
.footer {
	margin: 0;
}

.footer a,
#menu-social a {
	display: block;
	width: fit-content;
	background: linear-gradient(0deg, var(--wp--preset--color--light-green), var(--wp--preset--color--light-green)) no-repeat 0 bottom / 0 2px;
	font-size: .9rem !important ; 
}

#menu-social a {
	margin-top: .5rem;
    margin-bottom: .5rem;
}

.menu-social a.icon-item {
	background-position-x: 1.6rem;
}

.footer a:not(.footer-logo):is(:hover, :focus-visible) {
	background-size: 100% 2px;
	color: var(--wp--preset--color--light-green);
}

#menu-social a:not(.footer-logo):is(:hover, :focus-visible) {
	background-size: 100% 2px;
	color: var(--wp--preset--color--light-green);
}

@media (prefers-reduced-motion: no-preference) {
	.footer a,
	#menu-social a {
		transition: background-size 350ms;
	}
	.footer a:not(.footer-logo):is(:hover, :focus-visible) {
		background-size: 100% 2px;
		color: var(--wp--preset--color--light-green);
	}

	#menu-social a:not(.footer-logo):is(:hover, :focus-visible) {
		background-size: 100% 2px;
		color: var(--wp--preset--color--light-green);
	}
}



.footer-socials a {
	transition: transform 0.3s ease;
}

.footer-socials a:is(:hover, :focus) {
	background: none;
	transform: scale(1.2);
}

/* 850px - Mobile breakpoint for copyright section */
@media only screen and (max-width: 53.125em) {
	.copyright-wrapper {
		flex-direction: column;
		text-align: center;
	}

	.policy-menu {
		justify-content: center;
	}
}

/* Policy menu */
.policy-menu li:nth-child(n+1):not(:last-child)::before {
	content: '|';
	position: absolute;
	right: -0.6rem;
}

/*--------------------------------------------------------------
# full width contact section 
--------------------------------------------------------------*/
.full-width-contact-wrapper {
	background-image: 
 		linear-gradient(180deg, #F7FBED 0%, rgba(247, 251, 237, 0.1) 100%),
    	url('./images/contact-section-bg.svg'); 
  	background-size: cover, 70%;
  	background-position: center, right bottom;
  	background-repeat: no-repeat;
	padding-top: 1.5rem;
	padding-bottom: 17rem; 
	position: relative;
	
}

.full-width-contact-wrapper:before{
	content:''; 
	position: absolute; 
	bottom: -4rem;
  	left: -3rem;
  	width: 20rem;
  	height: 20rem;
	background: url('./images/contact-image.jpg') no-repeat;
	background-size: 100%;
	border-radius: 50%;
}


@media (prefers-reduced-motion:no-preference) {
	.full-width-contact-wrapper:before {
		opacity: 0; 
		transform: scale(.5)  translate(-11rem, 15rem); 
		transition: opacity .5s 1s ease, transform .5s 1s ease;
	}
	.js-intersected.full-width-contact-wrapper:before{
		opacity: 1; 
		transform: scale(1) translate(0, 0); 
	} 
	
	.full-width-contact-wrapper:after{
		opacity: 0; 
		transform: scale(.5)  translate(-11rem, 15rem); 
		transition: opacity .5s .5s ease, transform .5s 1s ease; 
	}
	.js-intersected.full-width-contact-wrapper:after{
		opacity: 1; 
 		transform: scale(1) translate(0, 0);  
	} 
	
}

.full-width-contact-wrapper:after{
	content:''; 
	position: absolute; 
	bottom: -4rem;
	left: -3rem;
	width: 19rem;
	height: 19rem;
	border: 1px solid #fff;
	background-size: 100%;
	border-radius: 50%;
} 

.full-width-contact-wrapper h2{
	color: #fff; 
	
}

p.contact-top-paragraph{
	margin-top: .75rem; 
}

.wp-block-template-part {
	margin-block-start: 0 ;
}

.full-width-contact-wrapper .wp-block-group{
	background: var(--primary-color);
	border-radius: 8px; 
}

.full-width-contact-wrapper .wp-block-group h2{
	font-weight: 900;
 	text-transform: uppercase;
  	letter-spacing: .5rem;
	font-size: 1.2rem; 
	margin-top: .5rem !important ; 
}

.full-width-contact-wrapper .wp-block-group h2.has-primary-background-color{
	background-color: transparent !important; 
}

.full-width-contact-wrapper .wp-block-group p{
	color: #fff;
	font-weight: 400 !important; 
	font-size: .8rem !important; 
}

.full-width-contact-wrapper .wp-block-group .button{
	background: #fff; 
	border-color: #fff;
	color: var(--primary-color); 
}

.full-width-contact-wrapper .wp-block-cover {
	padding: .5rem 1em 1em 1em;
}

.full-width-contact-wrapper .wp-block-group .gform_submission_error p { 
	color: #c02b0a;
}

/* full width contact form gradient */
.full-width-contact-gradient{
	width: 100%;
  	height: 22%;
  	position: absolute;
  	top: 0;
  	left: 0;
  	right: 0;
  	margin: auto !important ;
  	border-radius: 0 !important ;
	background: linear-gradient(180deg,rgba(255, 255, 255, 1) 56%, rgba(255, 255, 255, 0) 100%) !important ;
	z-index: 1;
}
.full-width-form-wrapper{
	z-index: 10;
  	position: relative;
}

.full-width-form-inner-wrap {
	max-width: 25rem;
}

.map-mobile-view-bar{
	position: relative; 
}

.map-mobile-view-bar:before{
	content:''; 
	position: absolute; 
	left: 0 ; 
	right: 0 ;
	top: .2rem; 
	bottom: 0; 
	margin: auto; 
	width: .75rem;
	height: .75rem; 
	background: url('./images/list-map.svg') no-repeat;
	background-size: 100%; 
/* 	transition: transform .25s ease;  */
	transform: translateX(2.5rem);
} 

.home .map-mobile-view-bar{
	position: relative; 
}

.home .map-mobile-view-bar:before{
	content:''; 
	position: absolute; 
	left: 0 ;
	right: 0 ;
	top: .2rem; 
	bottom: 0; 
	margin: auto; 
	width: .75rem;
	height: .75rem; 
	background: url('./images/list-map.svg') no-repeat;
	background-size: 100%; 
/* 	transition: transform .25s ease;  */
	transform: translateX(2.5rem);
} 

@media (min-width: 68.5em) {
	.full-width-contact-wrapper{
		padding-top: 6.5rem; 
		padding-bottom: 6.5rem; 
	}
/* 	.full-width-contact-wrapper:after{
		bottom: -5rem;
		left: -5rem;
		width: 29rem;
		height: 29rem;
	}
	.full-width-contact-wrapper:before{
		bottom: -5rem;
		left: -5rem;
		width: 30rem;
		height: 30rem;
	} */
	.full-width-contact-wrapper:after{
		bottom: -6rem;
		left: -6rem;
		width: 40rem;
		height: 40rem;
	}
	.full-width-contact-wrapper:before{
		bottom: -6rem;
		left: -6rem;
		width: 41rem;
		height: 41rem;
	}
}

/* @media (min-width: 87.5em) {
	.full-width-contact-wrapper:after{
		bottom: -6rem;
		left: -6rem;
		width: 40rem;
		height: 40rem;
	}
	.full-width-contact-wrapper:before{
		bottom: -6rem;
		left: -6rem;
		width: 41rem;
		height: 41rem;
	}
} */

/* map section */
.map-wrapper h2{
	text-align: center; 
	font-weight: 900;
  	text-transform: uppercase;
  	letter-spacing: .6rem;
	font-size: 1.2rem; 
	margin-bottom: 1.75rem;
}

li.map-nav-item button{
	color: var(--primary-color); 
	font-family: var(--title-font); 
	font-weight: 700; 
	border-bottom: 1px solid var(--primary-color); 
}

.google-map-container,
.map-mobile-view-bar {
	background: none;
	color: var(--primary-color); 
}

.wp-block-fuel-interactive-map{
	background: #fff; 
}

button.map-back{
	color: var(--primary-color); 
	text-align: left; 
	background: var(--wp--preset--color--light-green);
}

button.map-back:hover{
	background: var(--wp--preset--color--light-green); 
}

button.map-back svg{
	color: var(--primary-color); 
}

.map-info {
	background: var(--primary-color); 
	color: #fff; 
}

.map-info .hours-row{
	display: block; 
}

.infoPanel-padding h3{
	font-size: 1rem; 
}

.map-loc-info svg {
	color: var(--accent-color); 
}

.map-info .map-loc-info svg{
	height: 1.1rem; 
}
.col2{
	display: none; 
}

.col1 h3,
.entry-content .col1 h3{
	font-size: .9rem !important ; 
}

.col1 summary{
	list-style: none; 
}

.col1 summary h3{
	position: relative; 
}

.col1 summary h3:before {
    content: '';
    position: absolute;
    right: .35rem;
    top: 0;
    bottom: 0;
    margin: auto;
    height: .75rem;
    width: 1px;
    border-left: 1px solid #fff;
	transition: transform .25s ease;
}

.col1 summary h3:after {
	content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: .75rem;
    height: 1px;
    border-bottom: 1px solid #fff;
}
.col1 summary h3:hover:before, 
.col1 summary h3:focus-visible:before {
	transform: rotate(90deg);
}

.map-loc-footer{
	padding-bottom: 2rem; 
}

.map-loc-footer .button {
	background: #fff;
	color: var(--primary-color) !important; 
}

.map-loc-footer .button:hover {
	background: var(--wp--preset--color--light-green) !important;
}

.map-loc-info ul{
	padding-top: 1rem; 
	padding-bottom: 1rem; 
}

.col1 .bio-name{
	font-size: .9rem; 
}

.col1 .bio-cred{
	font-size: .7rem !important; 
	margin-top: 0; 
}

.provider-list .bio-image{
	height: initial !important; 
}
.provider-list .bio-image img {
	border-radius: 50%; 
}

.filter-contents{
	background: var(--primary-color); 
	padding-bottom: 1rem; 
}

.filter-contents select {
	border-radius: 0; 
	color: var(--primary-color); 
	background: #fff; 
	border: none; 
	font-size: 16px; 
}

.sub-menu .map-filter-panel{
	background: var(--primary-color); 
}

.sub-menu .wp-block-fuel-interactive-map details{
	background: var(--primary-color); 
/* 	z-index: 10;  */
}

.wp-block-fuel-interactive-map details:before{
	content:''; 
	position: absolute; 
	left: 0; 
	top: 0; 
	width: 100%; 
	height: 100%; 
	background: #000; 
	opacity: .1; 
	z-index: -1;
}

.sub-menu .wp-block-fuel-interactive-map details summary{
	background: none; 
	font-weight: 700;
  	color: var(--wp--preset--color--light-green);
}

.sub-menu li.map-nav-item button{
	background: var(--primary-color);
  	color: #fff;
	
}

.map-loc-info details{
	margin-bottom: .5rem !important;
}

.map-loc-info summary{
	background: rgba(0, 0, 0, .1) !important;
	 
}

.map-loc-info summary h3{
	font-weight: 700; 	
	color: #fff !important ; 
	
}

.sub-menu li.map-nav-item {
	border-bottom: 1px solid var(--wp--preset--color--light-green); 
}

.sub-menu .map-nav-item-btn:is(:hover, :focus, .map-active){
	color: var(--wp--preset--color--light-green); 
}

.sub-menu .map-nav-panel{
	background: var(--primary-color); 
}

.filter-controls.Providers,
.filter-controls.Services{
	width: 45%; 
	margin-top: 1rem !important; 
}

.filter-controls.Providers label,
.filter-controls.Services label {
	font-size: .7rem; 
	color: #fff; 
}

.wp-block-fuel-interactive-map .get-my-location.button{
	align-self: center; 
	margin-top: 1rem; 
}

.map-mobile-view-bar:is(:hover, :focus-visible){
	background: var(--accent-color);
}

.map-back{
	font-family: var(--content-font);
}
 
.map-filter-panel.map-sidebar[open] {
/* 	height: 10.5rem;
    overflow: hidden; */
	background: var(--primary-color);
}

.provider-list a {
  background: hsla(0,0%,100%,.1);
}

.map-info-panel a:not(.button):is(:hover, :focus-visible) {
  	text-decoration: underline;
	
}

@media (min-width: 68.5em) {
	.map-wrapper{
		padding-top: 2rem ;
		padding-bottom: 5.5rem; 
	}
	.map-wrapper h2 {
		text-align: left; 
		font-size: 1.6rem; 
		opacity: 0; 
		transition: opacity 1s .5s ease; 
	}
	.js-intersected.map-wrapper h2{
		opacity: 1;
	}
	body:not(.js-active) .js-intersect.map-wrapper h2, 
	.js-intersected.map-wrapper h2 { 
   	    opacity:1
	}
		.home .map-nav-panel.map-sidebar{
		overflow-y: initial;
	}
	
	.home .map-nav-panel.map-sidebar{
		overflow-y: initial;
	}
	
	.home .map-info-panel.map-sidebar{
		overflow-y: auto; 
	}
	
	.home .map-nav-item-btn{
		position: relative; 
	}
	.home .map-nav-item-btn:before{
		content:''; 
		position: absolute; 
		left: -.35rem; 
		top: 0;
		bottom: 0; 
		margin: auto; 
		width: .7rem; 
		height: .7rem; 
		border-radius: 50%; 
		background: var(--accent-color); 
	}
	
	.home .map-nav-item-btn:hover:before,
	.home .map-nav-item-btn:focus-visible:before{
		background: var(--primary-color); 
	}
	
	.home .map-nav-item-btn:is(:hover, :focus, .map-active) {
  		background: #fff ;
  		color: var(--primary-color);
	}
	
	.sub-menu .map-nav-panel {
    	border-radius: 0 0 0 8px;
    	display: flex;
    	flex-flow: column;
    	justify-content: space-around;
  	}
	.sub-menu .map-nav-item {
    	flex-basis: 100%;
  	}
	.sub-menu .map-nav-item-btn {
   		height: 100%;
  	}
	
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(var(--spin-rotation, 360deg));
	}
}

@keyframes fadein {
	0% {
		opacity: var(--o1, 0);
		transform: translate(var(--x1, 0), var(--y1, 5rem));
	}
	100% {
		opacity: var(--o2, 1);
		transform: translate(var(--x2, 0), var(--y2, 0));
	}
}

@keyframes fadeout {
	0% {
		opacity: var(--o2, 1);
		transform: translate(var(--x2, 0), var(--y2, 0));
	}
	100% {
		opacity: var(--o1, 0);
		transform: translate(var(--x1, 0), var(--y1, 5rem));
	}
}

@keyframes point {
	0% {
		transform: translate(0, 0);
	}
	50% {
		transform: translate(var(--x, 1rem), var(--y, 0));
	}
	100% {
		transform: translate(0, 0);
	}
}

/* popAnimation Example: https://jsfiddle.net/KTC_88/8xkLv520/ */
@keyframes popAnimation {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}
	80% {
		transform: scale(1.1)
	}
	100% {
		transform: scale(1);
		opacity: 1
	}
}

/**
 * Animation helper classes.
 */
@media (prefers-reduced-motion:no-preference) {

	/* Add to wrappers to animate children */
	.popin>* {
		transform: scale(0.5);
		opacity: 0;
	}

	.popin.js-intersected>* {
		--delay: calc(var(--i, 0) * 200ms);
		animation: popAnimation 400ms ease var(--delay) forwards
	}

	.fadein-items>* {
		opacity: 0;
		transform: translateY(0);
	}

	.fadein-items.js-intersected>* {
		--delay: calc(var(--i, 0) * 200ms);
		animation: fadein var(--time, 400ms) ease var(--delay) forwards;
	}

	/* Add directly to element that will be affected */
	.fadein {
		opacity: 0;
		transform: translateY(0);
		--y1: 0;
	}

	.fadeup {
		opacity: 0;
		transform: translateY(5rem);
	}

	.fadedown {
		opacity: 0;
		transform: translateY(-5rem);
		--y1: -5rem;
	}

	.fadeleft {
		opacity: 0;
		transform: translateX(-5rem);
		--x1: -5rem;
		--y1: 0;
	}

	.faderight {
		opacity: 0;
		transform: translateX(5rem);
		--x1: 5rem;
		--y1: 0;
	}

	.js-intersected:is(.fadein, .fadeup, .fadedown, .fadeleft, .faderight) {
		animation: fadein var(--time, 300ms) var(--easing, ease) var(--delay, 0s) forwards
	}
}

/* Used to make images in links grow when link is hovered - simply add .hover-img-grow to link or image block */
figure.hover-img-grow,
.hover-img-grow figure {
	overflow: hidden;
}

.hover-img-grow img {
	transition: transform var(--time, 0.3s);
}

a:has(+ .hover-img-grow):is(:hover, :focus-visible)+figure img,
a:has(.hover-img-grow):is(:hover, :focus-visible) img,
a.hover-img-grow:is(:hover, :focus-visible) img {
	transform: scale(var(--scale, 1.1));
}

/*--------------------------------------------------------------
# Print
--------------------------------------------------------------*/
@media print {
	@page {
		margin: 0.5cm;
	}

	* {
		background: transparent !important;
		color: black !important;
		text-shadow: none !important;
		-webkit-filter: none !important;
		filter: none !important;
		-ms-filter: none !important;
	}

	a,
	a:visited {
		color: #444 !important;
		text-decoration: underline;
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h1,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h1,
	h2,
	h3 {
		page-break-after: avoid;
	}

	.main-header {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.main-title {
		margin: 0;
		padding-bottom: 1rem;
		border-bottom: 2px solid #000;
	}

	.primary-menu,
	#sidebar,
	.header,
	.footer,
	.page-navigation,
	.pagination,
	.wp-prev-next,
	.respond-form {
		display: none !important;
	}
}

/*--------------------------------------------------------------
# Safari 15.3 fallbacks
  Safari 15.3 and under bug fixes - welcome to the new IE
--------------------------------------------------------------*/
@media not all and (min-resolution: 0.001dpcm) {
	@supports (-webkit-appearance: none) {
		/* Hide Dialog (not supported) */
		dialog {
			display: none;
			background-color: var(--white);
			z-index: 9999;
		}

		dialog[open] {
			display: block;
		}

		/* menu fixes */
		.js-active .sub-menu-trigger[aria-expanded=true]+.sub-menu .sub-animate>* {
			background: var(--white);
		}

		.primary-menu .menu-label:hover {
			color: var(--white);
		}
	}
}