/*
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.8.1
Requires PHP: 8.0
Version: 6.4.0
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: var(--white);
	--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: 15rem;
}

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,
button {
	text-decoration: none;
	color: var(--accent-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;
	}
}

.entry-wrapper p,
.entry-wrapper ul li,
.entry-wrapper ol li{
	line-height: 1.8; 
}

@media (min-width: 68.5em) {
	.entry-wrapper p,
	.entry-wrapper ul li,
	.entry-wrapper ol li{
		line-height: 1.9; 
	}
}
	
	

/*--------------------------------------------------------------
# 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);
	}
}

/* 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
--------------------------------------------------------------*/
.author-block .author-name{
	color: var(--primary-color);
}
.author-block-content span{
	color: var(--primary-color);
}

@media (min-width: 37.5em) {
	:where(.alignleft, .alignright):not(.wp-block-query .wp-block-post-featured-image) {
		max-width: 48%
	}
}

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

/* Button hover/focus styles */
:root :where(.wp-element-button, .wp-block-button__link):is(:hover, :focus-visible) {
	background-color: var(--white);
	color: var(--wp--preset--color--content);
}

.wp-block-button.is-style-outline .wp-element-button:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--white);
}

.wp-element-button{
	position: relative; 
	padding-right: 1.5rem; 
	font-size: 1rem !important; 
}

.wp-element-button:after{
	content:''; 
	position: absolute; 
	top: 0; 
	bottom: 0; 
	margin: auto; 
	right: .75rem; 
	width: 0;
  	height: 0;
	border-top: 6px solid transparent;
  	border-bottom: 6px solid transparent;
	border-left: 6px solid var(--wp--preset--color--content); 
	display: inline-block;
}

.sub-menu .wp-element-button::after{
		display: none;
	}	

@media (min-width: 68.5em) {
	.sub-menu .wp-element-button::after{
		display: block;
	}	
}

.play-video .wp-element-button:after{
	display: none; 
}

.play-video .wp-element-button svg{
	margin-top: -.25rem;
	transform: translateX(.25rem);
}

.wp-block-file__button.wp-element-button:after{
	display: none; 
}

@media (max-width: 68.49em) {
	.entry-content .wp-block-buttons {
		justify-content: var(--center-on-mobile); /* Center buttons on mobile but not in menu */
	}
}

/* Search block */
@media (max-width: 68.49em) {
	.wp-block-search {
		--search-white: var(--white);
		--search-button-bg: var(--primary-color);
	}
}

.wp-block-search__input {
	padding-left: 1rem;
	border-color: var(--search-white, currentColor);
	color: var(--search-white, currentColor);
	background: none;
	outline: 0;
}

.wp-block-search__button {
	margin-left: -0.1rem;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	background: var(--accent-color);
	border-color: var(--search-white, var(--accent-color));
}

.wp-block-search__button:is(:hover, :focus-visible) {
	background: var((--search-button-bg, var(--white)));
	color: var(--wp--preset--color--content);
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){
	padding: 0 !important; 
}

/*--------------------------------------------------------------
# Video Lightbox
--------------------------------------------------------------*/
#fuel_lightbox { position: fixed; inset: 0; z-index: 99999; background: var(--black, #000); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); max-width: 90dvw; max-height: 90dvh; padding: 0; overflow: visible; }
#fuel_lightbox .lightbox-close { text-transform: uppercase; position: absolute; inset: 0 0 auto auto; padding: 0.3rem 0.5rem; cursor: pointer; transition: opacity 0.3s; }
#fuel_lightbox iframe, #fuel_lightbox img { max-width: -webkit-fill-available; max-height: inherit; }
#fuel_lightbox img { width: 100%; height: 100%; }
#fuel_lightbox .lightbox-close {text-transform: uppercase;position: absolute;inset: 0.25rem 0.25rem auto auto;padding: 1rem 1rem;cursor: pointer;opacity: 1;background: red;color: var(--white);z-index: 99;border-radius: 0.5rem;} 
#fuel_lightbox .lightbox-close:is(:hover, :focus-visible) { background: var(--white); color: red; }

/* Fullscreen styling */
#fuel_lightbox.fullscreen { max-width: 100vw; max-height: 100vh; }

/* Needed for iPhone/iPad */
#fuel_lightbox[open], #fuel_lightbox[open] iframe { width: 100%; height: 100%; }
#fuel_lightbox.fullscreen .lightbox-close { inset: 1.2rem 0 auto; width: 5rem; margin: auto; }
#fuel_lightbox.fullscreen iframe, #fuel_lightbox.fullscreen img { width: 100vw; height: 100vh; object-fit: contain; }

/* Lightbox Animation */
#fuel_lightbox[open] { animation: lightBoxIn var(--s, 0.5s) var(--e, ease); }
#fuel_lightbox.close{ animation: lightBoxOut var(--s, 0.5s) var(--e, ease); }

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

@keyframes lightBoxOut { 
	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, 0)); }
}


/*--------------------------------------------------------------
# FM Carousel- home reviews
--------------------------------------------------------------*/

.fm-carousel{
	background: none !important ; 
}
.fm-carousel-container li{
	background: none; 
	flex-wrap: nowrap; 
}
.wp-block-fuel-carousel-slide:is(.image-slide, .video-slide) figure{
	width: initial; 
}
.fm-carousel:not(.vertical) li img:last-child {
  margin-bottom: 0;
}

.quote-with-image{
	display: flex;
  	flex-flow: column;
  	justify-content: space-between;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
@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: -8.5rem;
		z-index: 999;
	}
	.header-number svg{
		width: 1rem;
		height: 1.5rem; 
		margin-top: -.25rem; 
		background: var(--accent-color);
	}
}

.header > .wp-block-columns {
	background: var(--primary-color) !important ; 
	padding-bottom: 2rem !important ;  
	position: relative; 
}

.header > .wp-block-columns:before{
	content:''; 
	position: absolute; 
	left: 0; 
	bottom: 1.75rem ; 
	width: 100%; 
	height: 1px; 
	background: #fff; 
}

.header > .wp-block-columns:after{
	content:'Dr. Pablo Stolovitzky'; 
	position: absolute; 
	left: 0; 
	right: 0; 
	margin: auto;
	bottom: .65rem ; 
	width: 10rem; 
	height: 1rem; 
	color: #fff; 
}

.header-logo svg,
.footer-logo svg {
	width: auto;
	height: clamp(4.25rem, 3.532rem + 3.592vw, 5.5rem);
	transition: transform 0.3s ease;
}

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

.header-quicklinks{
	align-items: flex-start !important ;
	border-bottom: 1px solid var(--primary-color); 
}

.header-right{
	position: relative ; 
}

.header-quicklinks:before{
	content:'Dr. Pablo Stolovitzky'; 
	position: absolute; 
	left: 3rem ;
	top: .5rem; 
	width: 12rem; 
	height: 1rem; 
	color: var(--primary-color);
}

.header-quicklinks:after{
	content:''; 
	position: absolute; 
	right: -3rem;
	top: 2.3rem; 
	width: 3rem; 
	height: 1px; 
	background: var(--primary-color); 
}

.header-quicklinks a{
	color: var(--primary-color) !important ; 
	background: rgba(32, 76, 110, .1) !important ;
	padding-bottom: .4rem !important ;
	padding-top: .4rem !important ; 
	border-radius: 0 !important; 
}

.header-quicklinks a:is(:hover, :focus-visible) {
	color: #fff !important ; 
	background: rgba(32, 76, 110, 1) !important ;
}

a.header-number{
	background: linear-gradient(0deg, var(--primary-color), var(--primary-color)) no-repeat 0 bottom / 0 2px;
    transition: background-size 350ms;
	font-weight: 500; 
}

a.header-number:hover{
	background-size: 100% 2px !important ;
}

@media (min-width: 68.5em) {
	.header > .wp-block-columns{
		background: #fff !important ;
		padding-bottom: 0 !important 
	}
	.header > .wp-block-columns:before{
		display: none
	}

	.header > .wp-block-columns:after{
		display: none
	}	
	.header-quicklinks{
		gap: 7px !important ; 
	}
	.header-quicklinks:before{
		top: 2.5rem; 
		
	}
	.header-logo{
		z-index: 5; 
	}

	.header:before{
		content:''; 
		position: absolute; 
		left: 0; 
		top: 0; 
		width: 18.5rem;
		height: 100%; 
		background: #fff ; 
		z-index: 1 ;
 		clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
	}
	.header:after{
		content:''; 
		position: absolute; 
		left: 0; 
		top: 0; 
		width: 18rem;
		height: 100%; 
		background: var(--primary-color); 
		z-index: 2 ;
 		clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
	}
	
	.menu-styling-wrapper {
		border-top: 1px solid #fff; 
		z-index: 100;  
	}
}

@media (min-width: 82.5em) {
	.header-quicklinks:before{
		top: .5rem; 
		left: 0; 
	}
}
	

/*--------------------------------------------------------------
# Full Width Contact form
--------------------------------------------------------------*/

.full-width-columns-wrapper {
	background: rgba(32, 76, 110, .2);
	padding-top: 2rem; 
	padding-bottom: 4rem; 
	position: relative; 
	overflow: hidden; 
}

.full-width-columns-wrapper {
	z-index: 10; 
}

.full-width-columns-wrapper > .wp-block-group{
	z-index: 10; 
}

.full-width-columns-wrapper:before{
	content:''; 
	position: absolute; 
	left: 0; 
	top: 0; 
	width: 15rem; 
	height: 100%; 
	background: rgba(255, 255, 255, 0.2);
	clip-path: polygon(0 0, 0% 100%, 100% 0);
}

.full-width-columns-wrapper:after{
	content:''; 
	position: absolute; 
	right: 0; 
	top: 0; 
	width: 15rem; 
	height: 100%; 
	background: rgba(255, 255, 255, 0.2);
	clip-path: polygon(0 0, 100% 100%, 100% 0);
	z-index: 1;
}

.full-width-columns-wrapper .wp-block-columns{
	position: relative; 
}

.full-width-columns-wrapper .wp-block-columns:after{
	content: ''; 
	position: absolute; 
	left: 0; 
	bottom: -1.75rem ;
	width: 100%; 
	height: 1px; 
	background: var(--primary-color); 
	transform: scaleX(0);
  	transform-origin: center;
  	transition: transform 0.5s 1s ease;
	z-index: 1;
}

.js-intersected.full-width-columns-wrapper .wp-block-columns:after{
	transform: scaleX(1);
}

.full-width-columns-wrapper p{
	font-size: clamp(.9rem, 4vw, 1rem); 
	line-height: 1.8 ; 
}

.full-width-columns-wrapper .wp-block-buttons{
	justify-content: center; 
}

.full-width-columns-wrapper h2{
	position: relative; 
}

.full-width-columns-wrapper h2:after{
	content: '';
  	position: absolute;
  	left: 0;
  	bottom: -.5rem;
  	width: 2rem;
  	height: 1px;
  	background: var(--primary-color);
}

.full-width-accents-right{
	position: absolute;
	right: 0;
	top: 0; 
	width: 15rem;
	height: 100%; 
	z-index: 0;
}

.full-width-accents-right:before {
	content: '' ; 
	position: absolute; 
	top: 0; 
	right: 0; 
	width: 15rem;
	height: 100%; 
	background: rgba(32, 76, 110, 0.05);
	clip-path: polygon(100% 0, 0 100%, 100% 100%);
	z-index: 1; 
}

.full-width-accents-right:after {
	content: '' ; 
	position: absolute; 
	top: 0; 
	right: -4rem; 
	width: 15rem;
	height: 100%; 
	background: rgba(32, 76, 110, 0.05);
	clip-path: polygon(0 0, 100% 100%, 100% 0);
	z-index: 1; 
}

.full-width-columns-wrapper p{
	z-index: 100; 
	position: relative; 
}
.full-width-columns-wrapper .wp-element-button{
	z-index: 100; 
	position: relative; 
}

@media (min-width: 68.5em) {
	.full-width-columns-wrapper .wp-block-buttons{
		margin-top: 3.5rem; 
		justify-content: right; 
	}
	.full-width-columns-wrapper {
		padding-top: 5rem; 
		padding-bottom: 9rem; 
	}
}

@media (prefers-reduced-motion: no-preference) {
	.full-width-columns-wrapper:before{
		transform: translateX(-15rem);
		transition: transform .5s 1s ease;   
	}
	.js-intersected.full-width-columns-wrapper:before{
		transform: translateX(0);
	}
	.full-width-accents-right:before{
		transform: translateX(15rem);
		transition: transform .5s 1s ease;   
	}
	.js-intersected.full-width-columns-wrapper .full-width-accents-right:before{
		transform: translateX(0);
	}
	.full-width-accents-right:after{
		transform: translateX(15rem);
		transition: transform .5s 2s ease;
	}
	.js-intersected.full-width-columns-wrapper .full-width-accents-right:after{
			transform: translateX(0);
	}
	.full-width-columns-wrapper:after{
		transform: translateX(15rem);
		transition: transform .5s 1.5s ease;   
	}
	.js-intersected.full-width-columns-wrapper:after{
			transform: translateX(0);
	}
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.wp-block-template-part {
	margin: 0;
}

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

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

.entry-content .wp-block-list li::marker {
	color: var(--wp--preset--color--primary);
}

/* 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;
	}
}

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

		& .location h3 {
			margin-left: -1rem !important;
			width: calc(100% + 2rem);
		}
	}
}

/* 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;
}

.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;
}

.menu-bio-link img{
	border: 1px solid #fff; 
	border-radius: 50%;
	width: 11rem;
	height: 11rem; 
}

.menu-bio-link p{
	text-align: center; 
}

@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);
	}

	.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(even) {
		background: rgba(255, 255, 255, 0.1);
	}

	.sub-menu .bio-list .bio-box.bio-box {
		padding: 0.2rem 1rem;
	}
}

@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;
	}

	.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;
		aspect-ratio: 1 / 1.2;
		border-bottom: 0.4rem solid var(--primary-color);
		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);
	}
}

/* Variation wrapper */
.quote-with-image {
  	margin: 2rem 0 0 0 ;
}

/* Citation row */
.quote-with-image .quote-citation-wrapper {
  	display: flex;
  	justify-content: flex-end; 
  	gap: 0.5rem;
  	align-items: center;
  	margin-top: 0.5rem;
}

/* Image next to citation */
.quote-with-image .quote-citation-image img {
  	width: 40px;
  	height: 40px;
  	border-radius: 50%;
  	object-fit: cover;
	
}

.quote-citation-image{
	order: 1;
}
.quote-citation-wrapper {
	font-style: normal !important ;
	font-weight: 700; 
}

.quote-citation-wrapper p{
	position: relative; 
	margin-top: 0 !important ; 
	padding-bottom: 1rem !important ; 
}

.quote-citation-wrapper p:after {
	content: '';
  	position: absolute;
  	bottom: .5rem;
  	right: 0;
  	width: 2rem;
  	height: 1px;
  	background: var(--accent-color);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer a {
	display: block;
	width: fit-content;
	background: linear-gradient(0deg, var(--white), var(--white)) no-repeat 0 bottom / 0 2px;
	transition: background-size 350ms;
}

.footer svg{
	color: var(--accent-color) !important ; 
	
}

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

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

.footer-socials a {
	transition: transform 0.3s ease;
	font-size: 1.2rem;
}

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

#footer-locations h3{
	position: relative; 
	font-size: clamp(1rem, 4vw, 1.2rem) !important ; 
}

#footer-locations h3:after{
	content:''; 
	position: absolute; 
	left: 0;
	bottom: -.5rem; 
	width: 2rem;
	height: 1px; 
	background: #fff; 
}

#footer-locations .wp-block-query ul {
	margin-left: 0 !important ; 
	margin-right: 0 !important ; 
}

#footer-locations .wp-block-query{
	max-width: 100% !important; 
	margin-left: 0 !important ; 
	margin-right: 0 !important ; 
}

.footer-bio-link{
	text-align: center; 
	max-width: 13rem;
  	margin-left: auto !important;
  	margin-right: auto !important;
}

.footer-bio-link img{
	width: 5rem; 
	height: 5rem; 
	margin-bottom: 1rem; 
	border: 1px solid #fff; 
	border-radius: 50%; 
}

.footer-bio-link p{
	position: relative; 
	margin-top: .5rem; 
}

.footer-bio-link p:before{
	content:'';
	position: absolute; 
	left: 0; 
	right: 0; 
	top: -.75rem; 
	margin: auto; 
	width: 2rem; 
	height: 1px; 
	background: #fff; 
}

/* 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.75rem;
}

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/

.wp-block-fuel-interactive-map{
	z-index: 100; 
}

.wp-block-fuel-interactive-map {
	border: 1px solid var(--primary-color);
}

.wp-block-fuel-interactive-map:before{
	content:''; 
	position: absolute; 
	left: -.5rem; 
	top: -.5rem; 
	width: 1.5rem; 
	height: 1.5rem; 
	border-top: 1px solid var(--primary-color);
	border-left: 1px solid var(--primary-color);
	z-index: 0;
}

.wp-block-fuel-interactive-map:after{
	content:''; 
	position: absolute; 
	right: -.5rem; 
	bottom: -.5rem; 
	width: 1.5rem; 
	height: 1.5rem; 
	border-right: 1px solid var(--primary-color);
	border-bottom: 1px solid var(--primary-color);
	z-index: 0;
}

@media (min-width: 68.5em) {
	.wp-block-fuel-interactive-map:before {
		left: -1rem; 
		top: -1rem; 
		width: 2rem; 
		height: 2rem; 
	}
	.wp-block-fuel-interactive-map:after {
		right: -1rem; 
		bottom: -1rem; 
		width: 2rem; 
		height: 2rem; 
	}
}

@media (prefers-reduced-motion: no-preference) and (min-width: 68.5rem){
	.wp-block-fuel-interactive-map:before{
		opacity: 0;
		transform: translate(-1rem, -1rem); 
		transition: transform .5s .5s ease, opacity .5s .5s ease; 
	}
	.wp-block-fuel-interactive-map:after {
		opacity: 0;
		transform: translate(1rem, 1rem); 
		transition: transform .5s .5s ease, opacity .5s .5s ease; 
	}
	.location-wrapper.js-intersected .wp-block-fuel-interactive-map:before,
	.location-wrapper.js-intersected .wp-block-fuel-interactive-map:after{
		opacity: 1;
		transform: translate(0, 0); 
	}
}
	

.map-mobile-view-bar{
	background: var(--primary-color); 
	color: #fff; 
	font-size: .9rem; 
	z-index: 100; 
}

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

.wp-block-fuel-interactive-map .map-sidebar{
	background: var(--primary-color);
	color: #fff; 
}

.wp-block-fuel-interactive-map:not(.block-editor-block-list__block) {
    max-height: 500px;
}

.map-nav-item{
 	height: 33.3%;
}

.map-nav-item-btn:is(:hover, :focus, .map-active){
	background: linear-gradient(to left, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.map-nav-item:nth-child(odd){
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);

}

.map-nav-item-btn{
	height: 100%; 
	font-size: 1.2rem; 
}

.map-back{
	color: var(--primary-color); 
	text-align: left; 
	padding: .4rem .7rem !important;
	display: flex;
	align-items: center; 
}

.map-back:hover,
.map-back:focus-visible{
	color: #fff;
}

.map-back:hover svg,
.map-back:focus-visible svg{
	color: #fff
}

.map-back svg{
	color: var(--primary-color); 
	width: 1.25rem;
  	height: 1.25rem;
}

.map-quick-links{
	background: rgba(255, 255, 255, .1); 
}

.map-quick-links svg path:last-child{
	fill: var(--primary-color) !important ; 
}

.map-quick-links a:hover svg path:last-child{
	fill: var(--primary-color) !important ; 
}

.map-quick-links a:focus-visible svg path:last-child{
	fill: var(--primary-color) !important ; 
}

.map-quick-links a:is(:hover, :focus-visible) svg{
	color: #fff !important ; 

}

.infoPanel-padding .button {
	background-color: var(--wp--preset--color--accent);
  	border-radius: 0px;
  	border-color: var(--wp--preset--color--accent);
  	border-width: 1px;
  	border-style: solid;
 	color: var(--wp--preset--color--content);
  	font-family: inherit;
  	font-size: inherit;
  	font-weight: 700;
 	line-height: normal;
  	padding-top: 0.5rem;
  	padding-right: 1.5rem;
  	padding-bottom: 0.5rem;
  	padding-left: 1rem;
  	text-decoration: none;
	position: relative; 
}

.infoPanel-padding .button:after{
	content: '';
  	position: absolute;
  	top: 0;
    bottom: 0;
    margin: auto;
    right: .75rem;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--wp--preset--color--content);
    display: inline-block;
	transition: transform .25s ease; 
}

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

.infoPanel-padding .button:hover,
.infoPanel-padding .button:focus-visible{
	background: #fff;
}

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

.get-my-location.button{
	background-color: var(--wp--preset--color--accent);
  	border-radius: 0px;
  	border-color: var(--wp--preset--color--accent);
  	border-width: 1px;
  	border-style: solid;
 	color: var(--wp--preset--color--content);
  	font-family: inherit;
  	font-size: inherit;
  	font-weight: 700;
 	line-height: normal;
  	padding-top: 0.5rem;
  	padding-right: 1rem;
  	padding-bottom: 0.5rem;
  	padding-left: 1rem;
  	text-decoration: none;
	margin: 0 auto; 
}

.get-my-location.button:hover,
.get-my-location.button:focus-visible {
	background: #fff;
}

.map-info h3{
	font-size: 1rem; 
	font-weight: 700; 
}
.map-loc-header{
	background: none; 
}

.infoPanel-padding:not(:has(> .icon-item)){
	padding-top: .75rem !important ; 
}

.infoPanel-padding:not(:has(.icon-item:last-child)){
	padding-bottom: .75rem !important ; 
}

/* background for filters */
.wp-block-fuel-interactive-map details:not(.wp-block-fuel-fuel-toggle-block) summary{
	background: none; 
}
.wp-block-fuel-interactive-map details:not(.wp-block-fuel-fuel-toggle-block) summary:is(:hover, :focus-visible){
	background: none; 
}
div.wp-block-fuel-interactive-map .map-filter-panel{
	background: #1B415E; 
}

.map-filter-panel summary:before{
	content:''; 
	position: absolute; 
	top: 0; 
	bottom: 0; 
	margin: auto; 
	background: var(--accent-color); 
	border-radius: 50%; 
	right: .45rem;
	width: 1.25rem;
	height: 1.25rem;
}

.map-filter-panel summary::after{
	background: var(--primary-color); 
	inset: 0 .6rem 0 auto;
	width: .8rem;
	height: .8rem;
}

.wp-block-fuel-interactive-map details:not(.wp-block-fuel-fuel-toggle-block) summary:is(:hover, :focus-visible):after {
	background: var(--primary-color); 
}

.sub-menu .infoPanel-padding .button{
	color: var(--wp--preset--color--content) !important ; 
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::marker {
  content: none;
}

details summary {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer; /* keep it clear it's interactive */
  outline: none;
}

details summary {
  list-style: none;           /* required for iOS Safari */
}

details summary::-webkit-details-marker {
  display: none;              /* hide WebKit marker */
}




/*--------------------------------------------------------------
# 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;
	}

	body:not(.js-active) .js-intersect.popin>*, /* NO JS */
	.popin.js-intersected>* {
		--delay: calc(var(--i, 0) * 200ms);
		animation: popAnimation 400ms ease var(--delay) forwards
	}

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

	body:not(.js-active) .js-intersect.fadein-items>*, /* NO JS */
	.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;
	}

	body:not(.js-active) .js-intersect:is(.fadein, .fadeup, .fadedown, .fadeleft, .faderight), /* NO JS */
	.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 {
	* {
		background: transparent !important;
		color: initial !important;
		--wp--preset--color--white: initial !important;
	}

	.main-header {
		all: unset;
	}

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

	nav,
	#sidebar,
	.header,
	.footer,
	.pagination,
	.wp-prev-next,
	.main-header img,
	.wp-block-cover__image-background,
	.wp-block-cover__background,
	main + * {
		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);
		}
	}
}

/* 
 * iPhone bug fix for buttons
 * https://www.notion.so/fueldigital/iPhone-button-contrast-fix-47918141a741472fbc1fba3aa5919ca4 
 */
 @supports (-webkit-touch-callout: none) {
	.entry-content a.wp-block-button__link{
		transition: none;
  	}
}