/*
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(--primary-color);
	transition: color 300ms, background-color 300ms;
}

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

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

[hidden] {
	display: none;
}

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

.slb_template_tag_item_title{
	display: none; 
}

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

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

.menu-notifications .notice{
	color: var(--primary-color);
}

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

.wp-block-button .wp-element-button{
	background: var(--accent-color); 
	color: var(--primary-color); 
	border: 1px solid var(--primary-color); 
	border-radius: 16px 4px 16px 4px;
}

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

.wp-block-button.is-style-outline .wp-element-button{
	background: #fff; 
}

.wp-block-button.is-style-outline .wp-element-button:is(:hover, :focus-visible) {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff ;
}

@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(--accent-color);
	color: var(--search-white, currentColor);
	background: none;
	outline: 0;
}

.entry-content .wp-block-search__input{
	color: var(--content-color);
}

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

.wp-block-search__button:is(:hover, :focus-visible) {
	background: var(--primary-color);
	color: #fff;
}

@media (max-width: 68.49em) {
    .stack-on-mobile {
        flex-direction: column;
    }
}

.cta6 > .wp-block-group{
	align-items: center; 
}

.main-header .wp-block-post-date{
	color: var(--primary-color); 
	text-align: center; 
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

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

@media (min-width: 68.5em) {
	.header:not(.block-editor-block-list__block) {
		position: sticky;
		top: -9.5rem;
		z-index: 999;
		z-index: 10000;
	}
}

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

.header-logo{
	margin-top: -.5rem !important ; 
	border-bottom: 1px solid var(--primary-color);
}

.header-logo svg{
	max-width: 16.5rem;
	width: 100%; 
  	height: 6.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);
}

.quicklink-background{
	position: absolute; 
	left: 0; 
	top: 0; 
}

.header-quicklinks a:is(:hover, :focus-visible) p{
	color: var(--primary-color); 
	z-index: 10; 
}

.quicklink-background{
	max-width: initial; 
}

.quicklink-background path{
	transition: fill .15s ease, opacity .15s ease ; 
}

.header-quicklinks a:is(:hover, :focus-visible) .quicklink-background path{
	fill: var(--accent-color) !important;
	opacity: 1; 
}

.review-star{
	z-index: 10; 
	color: var(--accent-color);
}

.request-background{
	max-width: initial; 
	position: absolute; 
	left: 0; 
	top: 0; 
	color: var(--accent-color);
}

.request-background path{
	transition: fill .15s ease, opacity .15s ease ; 
}

.header-quicklinks a:is(:hover, :focus-visible) .request-background path{
	fill: var(--accent-color) !important;
	opacity: 1; 
}

.header-quicklinks a:is(:hover, :focus-visible) .request-cal path {
	stroke: var(--primary-color); 
}

.request-cal{
	z-index: 10; 
}

.header-quicklinks a:is(:hover, :focus-visible) .review-star{
	fill: var(--primary-color) !important;
}

.header-quicklinks a:is(:hover, :focus-visible) .review-star path {
	stroke: var(--primary-color) !important;

}

.header-quicklinks a{
	position: relative; 
}

.quicklink-review{
	left: 0 !important ;
}


.hero-as-header p{
	z-index: 10; 
	position: relative; 
}

.hero-as-header:before{
	content: '';
  	position: absolute;
  	top: 0rem;
  	left: .1rem;
  	width: 100%;
  	height: 18rem;
  	background: linear-gradient(180deg,rgba(255, 255, 255, 1) 56%, rgba(255, 255, 255, 0) 100%);
  	z-index: 1;
}



.bio-template-default .footer{
	margin-top: -3rem !important ; 
}

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

@media (min-width: 68.5em) {
/* 	.footer{
		margin-top: 10rem !important ; 
	} */
	.bio-template-default .footer{
		margin-top: -6rem !important ; 
	}	
	
	.header-logo svg{
		max-width: 18.5rem;
	}
	.header-logo{
		padding-top: 1rem !important ; 
	}
	.header-quicklinks{
		overflow: hidden; 
	}
	.header-quicklinks p{
		font-size: 20px; 
		line-height: 1 !important; 
	}
}

@media (min-width: 119.5em) {
	.header-quick-link:last-child{
		padding-right: 6.5rem !important ; 
	}
}

.bio-template-default .contact-line{
	display: none; 
}

.bio-template-default .full-width-contact-wrapper:before{
	display: none; 
}

.bio-template-default .footer-top{
	background: initial; 
}

.footer .wp-block-group {
/* 	position: relative;  */
	z-index: 10; 
}

.footer-top{
	background: #fff; 
/* 	z-index: 100;  */
	z-index: 10; 
}

@keyframes fullWidthLine{
	to{
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.footer-top path:last-child{
		stroke-dasharray: 3840; 
		stroke-dashoffset: 3840; 
	}
	.footer.wp-block-template-part.js-intersected .footer-top path:last-child{
		animation: fullWidthLine 3s .5s ease forwards
	}
}

.top-footer-spacer-block{
	position: relative; 
}

.top-footer-spacer-block:after{
	content:'';
	position: absolute;
	top: -1.5rem;
	left: 0; 
	width: 100%; 
	height: 1rem; 
	background: var(--wp--preset--color--lightblue);  
	z-index: 10; 
}

@media (min-width: 68.5em) {
	.hero-as-header:before{
		display: none; 	
	}
	.header-logo{
		border-bottom: none; 
	}
}

	

/* header 3 */
.hero-as-header.hero-as-header {
	margin-top: -11.3rem;
}

@media (min-width: 68.5em) {
	.menu-styling-wrapper {
		transition: background 0.3s, max-width 0.3s, color 0.3s, box-shadow 0.3s;
	}
	
	.is-pinned .menu-styling-wrapper {
		background: #fff ;
		max-width: 100%;
		box-shadow: 0 2px 2px rgba(0, 0, 0, .25);
	}
	
	.is-pinned .menu-styling-wrapper a {
		color: var(--primary-color);
	}
		.header-fax{
		font-size: 1rem;
	}
	.header-number{
		font-size: 1.6rem !important ; 
		background: linear-gradient(0deg, var(--primary-color), var(--primary-color)) no-repeat 0 bottom / 0 2px;
    	transition: background-size 350ms;
	}
	.header-number:hover{
		background-size: 100% 2px;
  		color: var(--primary-color);
	}
	.header-number:focus-visible {
		background-size: 100% 2px;
  		color: var(--primary-color);
	}
	.header-phone-fax-group{
		text-align: right;
		display: block !important ;
	}
	.header-quick-link p{
		line-height: 1.2;
		z-index: 1; 
	}
	

}

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

/*--------------------------------------------------------------
# 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 ul.wp-block-list {
  list-style: none; /* remove default just in case */
  padding-left: 1.2rem;
}

.entry-content ul.wp-block-list li{
	position: relative; 
	padding-left: 1rem; 
}

.entry-content ul.wp-block-list li:before {
  	content: '';
	position: absolute;
	left:  -.65rem; 
	top: .35rem; 
	width: .75rem; 
	height: .75rem; 
	background: url('./images/bullet.svg');
	background-size: cover; 
	background-position: center; 
}

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

.location-card figure {
	border: 1px solid var(--primary-color); 
	border-radius: 16px 4px 40px 4px; 
	overflow: hidden; 
}

.location-card h3{
	font-size: clamp(1.4rem, 4vw, 2rem);
}

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

.location-card svg{
	color: var(--primary-color); 
}

.location-card a{
	color: var(--content-color); 
}

.wave-accent svg {
	width: 100% !important ;
	max-width: 800px !important ; 
}

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

@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: nowrap;
		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;
		margin-bottom: 0.8rem;
		border-radius: 8px 0 24px 0;
		position: relative;
	}
	
	.sub-menu .bio-list .bio-image{
		height: 236px; 
	}

	.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-cred {
		color: #fff ;
	}
	.sub-menu .bio-name{
		position: relative; 
		padding-bottom: .5rem; 
	}
	.sub-menu .bio-name:after{
		content:'';
		position: absolute; 
		left: 0;
		right: 0; 
		bottom: .25rem; 
		height: 1px;
		width: 39px; 
		margin: auto; 
		background: #fff; 
	}
	.entry-content .bio-name{
		position: relative; 
		padding-bottom: 1rem; 
	}
	.entry-content .bio-name:after{
		content:'';
		position: absolute; 
		left: 0;
		right: 0; 
		bottom: .5rem; 
		height: 1px;
		width: 3rem; 
		margin: auto; 
		background: var(--primary-color); 
	}
	.entry-content .bio-list .bio-cred {
		color: var(--primary-color);
	}
	.entry-content .bio-list .bio-image {
		height: 12rem;
	}
	.entry-content .bio-image svg{
		position: absolute;
  		bottom: 0 ;
  		left: 0;
	}
	.sub-menu .bio-image svg{
		position: relative;
    	bottom: 1.25rem;
    	left: 0;
	}
}

/* location section */
.home-locations-wrapper .hours{
	color: var(--content-color); 
}

.home-loc-hours {
	align-items: start !important ; 
}

.location-section-map{
	margin: auto !important ; 
}

@media (min-width: 68.5em) {
	#location_section{
		max-width: initial ;
	}
	.location-card-info{
		gap: 10px !important ; 
	}
}

.sub-menu .synced-pattern-menu-location-section h2{
	color: #fff !important ; 
	font-weight: 600 ; 
	font-size: .9rem !important ; 
	margin: 1rem 0 0;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.15);
}

.sub-menu .location h3{
	display: none; 
}

@media (min-width: 68.5em) {
	.sub-menu .synced-pattern-menu-location-section h2{
		font-size: 1rem !important ; 
	}
	.sub-menu .synced-pattern-menu-location-section h2{
		background: none; 
		border-bottom: 1px solid var(--accent-color); 
		padding: 0.5rem 0 ;
		margin: 1rem 0 0 1.5rem;
	}
}

.content-cta p{
	font-size: clamp(.9rem, 4vw, 1rem) !important ;	
	padding-top: 2rem !important ; 
}

.content-cta a{
	font-size: clamp(1.4rem, 4vw, 1.6rem) !important ;	
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}


@keyframes circle {
  to {
    transform: scale(1);
  }
}

.content-cta svg path:first-child{
	stroke-dasharray: 390;
  	stroke-dashoffset: 390;
}

.content-cta svg path.second-line{
	stroke-dasharray: 720;
  	stroke-dashoffset: 720;
}

.content-cta svg circle{
	transform-box: fill-box;
  	transform-origin: center;
	transform: scale(0); 
}

.content-cta.js-intersected svg path:first-child{
	animation: dash 1s linear forwards;
}
.content-cta.js-intersected svg path.second-line{
	animation: dash 1.8s linear forwards;
}
.content-cta.js-intersected svg circle{
	animation: circle .25s .9s linear forwards;
}

.content-cta{
	overflow: hidden; 
}

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

.content-cta a:hover{
	background-size: 100% 2px;
    color: var(--primary-color);
}

.content-cta > svg {
	opacity: 1;
    position: absolute;
	left: 0; 
	right: 0; 
	margin: 0 auto; 
	width: 100%; 
}

@media (min-width: 68.5em) {
	.content-cta > svg{
		max-width: 100%; 
	}
}

.js-wave-divider{
	position: absolute;
	bottom: -.2rem; 
}

.manufacturer .js-wave-divider{
	display: none;
}

@keyframes overviewLine{
	to{
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.js-wave-divider svg path:last-child{
		stroke-dasharray: 440; 
		stroke-dashoffset: 440; 
	}
	
	.wp-block-media-text__media.js-intersected .js-wave-divider svg path:last-child{
		animation: overviewLine 1s 1s ease forwards;
	}
}


	
/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/

.wp-block-fuel-carousel-slide:is(.image-slide, .video-slide) figure{
	width: initial; 
	height: initial; 
}

.fm-carousel:not(.vertical) li img:last-child{
	margin-bottom: 0; 
}

.fm-carousel-container li{
	justify-content: center; 
}

.has-bullets .fm-carousel-bullets{
	opacity: 0; 
}

/* Awards Carousel */
.imgBox {
	position: relative;
	display: flex;
	width: 100%;
	overflow: hidden;
/* 	margin-top: 3.3rem; */
	margin-top: 0; 
	
}

.imgBox:hover .imgBox-container { 
	animation-play-state: paused; 
}
.imgBox-container {
	white-space: nowrap; 
	animation: scroll 45s linear infinite; 
	animation-delay: calc(45s*-1);
	display: flex;
	align-items: center;
	justify-content: center;
}
.imgBox-container:nth-child(2) { 
	animation: scroll2 45s linear infinite; 
	animation-delay: calc(45s/-2);
}
.imgBox-container img {
	display: block;
	max-width: 15rem;
	height: 12rem;
	height: 7.2rem;
	padding: 1rem 2.5rem;
	padding: 1rem 2rem;
	background: none; 

}

@media (min-width: 68.5em) { 
	.imgBox-container { 
		animation: scroll 60s linear infinite; 
		animation-delay: calc(60s*-1);
	}
	.imgBox-container:nth-child(2) { 
		animation: scroll2 60s linear infinite;  
		animation-delay: calc(60s/-2); 
	}
	.imgBox-container img { 
		display: block; 
	}
	.imgBox {
		margin-top: 3.3rem; 
	}
}

@keyframes scroll { 
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes scroll2 { 
  0% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

/*--------------------------------------------------------------
# Full width contact form 
--------------------------------------------------------------*/

.full-contact-form h2{
	font-size: 1.4rem !important ; 
}

.full-contact-form .wp-block-spacer{
	display: none; 
}

.full-width-contact-wrapper{
	position: relative; 
	z-index: 10; 
}

.full-width-contact-wrapper .wp-block-group{
	z-index: 20 !important ; 
	position: relative !important ; 
}

.full-width-contact-wrapper:after{
	content:''; 
	position: absolute; 
	left: 0; 
	bottom: 3rem; 
	width: 62px;
  	height: 57px;
	background: url('./images/starfish.svg') no-repeat; 
	z-index: 0;  
	background-size: 100%; 
}

.full-width-contact-wrapper:before{
	content:''; 
	position: absolute; 
	left: 0; 
	bottom: 0; 
	width: 100%;
  	height: 2rem;
	background: url('./images/fullwidth-contact-form-bottom-wave.svg') no-repeat; 
	background-size: cover; 
	background-position: bottom; 
	z-index: 1000;  
}

.page-template-page_fullwidth:not(.home) .full-width-contact-wrapper:before{
	display: none; 
}

.fullwidth-contact-form-bottom-wave{
	margin-top: -4rem; 
	position: relative; 
	z-index: 100;
	
}

@media (min-width: 63.5em) {
	.fullwidth-contact-form-bottom-wave{
		margin-top: -6rem; 
	}
}

.contact-line{
	position: absolute;
	bottom 0; 
	left: 0; 
	width: 100%; 
	height: auto; 
	max-width: 100%; 
	z-index: 1001; 
}

.page-template-page_fullwidth:not(.home) .contact-line{
	display: none; 
}

.page-template-page_fullwidth .top-footer-spacer-block{
/* 	z-index: 1000;  */
	z-index: 10; 
}


.page-template-page_fullwidth .top-footer-spacer-block:after{
	height: 4rem; 
}

.page-template-page-culture-careers .footer{
	margin-top: 2rem !important;
}

.page-template-page-culture-careers .footer-top{
	background: initial;
	margin-top: -1.5rem; 
}
.page-template-page-culture-careers #contact_section {
	margin-bottom: -3rem;
}

.page-template-page-culture-careers #contact_section{
	z-index: 1;
	position: relative; 
}

.footer-bg{
	padding-top: 0 ; 
	margin-top: 0;
  	z-index: 1000;
}

.page-template-page-culture-careers #contact_section:after {
	content: '';
  	position: absolute;
  	left: 0;
 	bottom: 2rem;
  	width: 7.5rem;
  	height: 6.5rem;
  	background: url('./images/starfish.svg') no-repeat;
	background-size: 90%; 
	background-position: center; 
  	z-index: 0;
}

.contact-line-dot{
	position: absolute;
  	top: -3rem;
  	left: -50%;
  	width: 100%;
	
}

.page-template-page-culture-careers #contact_section h2{
		padding-top: 1.5rem !important ; 
	}

@media (min-width: 38.5em) {
	.page-template-page-culture-careers .footer-top{
		margin-top: -2.5rem; 
	}
}

@media (min-width: 44.5em) {
	.page-template-page-culture-careers .footer-top{
		margin-top: -3.5rem; 
	}
}

@media (min-width: 68.5em) {
	.page-template-page-culture-careers #contact_section h2{
		padding-top: 3rem !important ; 
	}
	.page-template-page-culture-careers .footer{
		margin-top: 2rem !important;
	}
	.page-template-page-culture-careers .footer-top{
		margin-top: -5rem;
	}
	.page-template-page-culture-careers #contact_section {
		margin-bottom: -3rem;
	}
	.full-career-form-col-left{
		padding-top: 2.5rem !important ; 
	}
	.page-template-page-culture-careers #contact_section:after {
		width: 22rem;
    	height: 19rem;
	}
	
	.full-width-contact-wrapper h2{
		font-size: 2rem !important ; 
		margin-top: 1rem !important ; 
		padding-bottom: 2rem !important ; 
	}
	.contact{
		padding-bottom: 8rem !important; 
	}
}

@media (min-width: 82.5em) {
	.page-template-page-culture-careers .footer-top{
		margin-top: -6rem;
	}
}

@media (min-width: 92.5em) {
	.page-template-page-culture-careers .footer-top{
		margin-top: -7rem;
	}
}

@media (min-width: 102.5em) {
	.page-template-page-culture-careers .footer-top{
		margin-top: -8rem;
	}
}
		


@keyframes contactLine{
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes contactCircle{
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
	.contact-line {
		stroke-dasharray: 2840;
		stroke-dashoffset: 2840;
	}
	#contact_section.js-intersected .contact-line {
		animation: fullWidthLine 2.5s 1s ease-out forwards; 
	}
	.contact-line-dot path{
		stroke-dasharray: 1840;
    	stroke-dashoffset: 1840;
	}
	.contact-line-dot circle{
		transform: scale(0); 
		transform-box: fill-box;
  		transform-origin: center;
	}
	#contact_section.js-intersected .contact-line-dot path{
		animation: fullWidthLine 2s 1s ease-out forwards;   
	}
	#contact_section.js-intersected	.contact-line-dot circle{
		animation: contactCircle .25s 1.75s ease-out forwards;
	}
}

@media (prefers-reduced-motion: no-preference) and (min-width: 39rem){
	.contact-line-dot{
		left: 0; 
		width: 50%; 
		max-width: 50%;
		height: auto; 
	}
}

@media (min-width: 48.5em) {
	.full-width-contact-wrapper:before{
		height: 3rem;
	}
}

@media (min-width: 56.5em) {
	.full-width-contact-wrapper:before{
		height: 4rem;
	}
}

@media (min-width: 68.5em) {
	.full-width-contact-wrapper:after{
		width: 22rem;
  		height: 19rem;
	}

}

@media (min-width: 76.5em) {
	.full-width-contact-wrapper:before{
		height: 6rem;
	}
}

@media (min-width: 83.5em) {
	.full-width-contact-wrapper:before{
		height: 7.5rem;
	}
}

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

.home .top-footer-spacer-block{
	display: none; 
}

@media (min-width: 68.5em) {
	.home .top-footer-spacer-block{
		display: block; 
	}	
}

.footer{
/* 	z-index: 100; */
    position: relative;
}

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

.footer a:hover svg circle {
	background: var(--primary-color) !important ; 
	fill: var(--primary-color) !important ; 
}

.footer #footer-locations a:hover svg path:last-child{
	fill: #fff; 
}

.footer-socials a:hover svg path:last-child{
	fill: var(--primary-color); 
}

.location-card a {
	width: fit-content;
	background: linear-gradient(0deg, var(--primary-color), var(--primary-color)) no-repeat 0 bottom / 0 2px;
	transition: background-size 350ms;
	color: var(--wp--preset--color--content);	
}

.location-card a:hover{
	background-size: 100% 2px;
}

.footer .fax{
	flex-flow: row;
  	display: flex !important ;
}


.location-card a {
	width: fit-content;
	background: linear-gradient(0deg, var(--primary-color), var(--primary-color)) no-repeat 0 bottom / 0 2px;
	transition: background-size 350ms;
	color: var(--wp--preset--color--content);	
}

.location-card a:hover{
	background-size: 100% 2px;
}

.location-card .address-row.wp-block-group:hover svg circle{
	fill: var(--primary-color);
	opacity: 1; 
	
}
.location-card .address-row.wp-block-group:hover svg path{
	fill: #fff;
	
}

.location-card .phone-row.wp-block-group:hover svg circle{
	fill: var(--primary-color);
	opacity: 1; 
}
.location-card .phone-row.wp-block-group:hover svg path{
	fill: #fff;
}

/* menu svg link */
.sub-menu .location-card .address-row.wp-block-group:hover svg circle{
	fill: #fff;
	
}
.sub-menu .location-card .address-row.wp-block-group:hover svg path{
	fill: var(--primary-color);
}
.sub-menu .location-card .phone-row.wp-block-group:hover svg circle{
	fill: #fff;
	opacity: 1; 
}
.sub-menu .location-card .phone-row.wp-block-group:hover svg path{
	fill: var(--primary-color);
}

@media (min-width: 68.5em) {
	.sub-menu .location-card a {
		width: fit-content;
		background: linear-gradient(0deg, #fff, #fff) no-repeat 0 bottom / 0 2px;
		transition: background-size 350ms;
			
	}

	.sub-menu .location-card a:hover{
		background-size: 100% 2px;
	}	
	
	.sub-menu .location-card a:hover svg circle {
		background: #fff !important ; 
		fill: var(--primary-color) !important ; 
	}

	.sub-menu .location-card a:hover svg path:last-child{
		fill: #fff; 
	}

	.sub-menu .location-card a:hover svg path:last-child{
		fill: var(--primary-color); 
	}
}



.location-card a:hover svg path:last-child{
	fill: #fff; 
}

.location-card a:hover svg circle {
	background: var(--primary-color) !important ; 
	fill: var(--primary-color) !important ; 
}



.footer .fax{
	font-size: .9rem !important ; 
}

.footer .hours {
	font-size: .9rem !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(--content-color);
}

.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-socials svg{
	color: var(--primary-color); 
}

#footer-locations svg{
	width: 1.2rem !important ; 
	height: 1.2rem !important ; 
	font-size: 1rem; 
	color: var(--primary-color); 
}

.footer h3{
	font-size: 1rem !important ; 
	letter-spacing: 2px; 
	border-bottom: 1px solid var(--primary-color); 
	padding-bottom: .5rem; 
}

.fax{
	display: block;
}

.fax svg{
	margin-right: .4rem;	
}
.footer .policy-menu a{
	font-size: .8rem !important ; 
}

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

@media (min-width: 68.5em) {
	.footer h3{
		font-size: 1.2rem !important ; 
	}	
	#footer-locations svg{
		width: 1.3rem !important ; 
		height: 1.3rem !important ; 
		font-size: 1rem !important ; 
	}
	#footer-socials{
		margin-top: -1.25rem; 
	}
}


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