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

h3{
	color: var(--wp--preset--color--content);
}

.emergency strong{
	font-weight: 700; 
}

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


.wp-block-buttons .wp-block-button .wp-block-button__link {
	font-size: 1rem !important ; 
	border: none !important ;
	color: #fff !important; 
	background: var(--accent-color) !important; 
	border-radius: 5px !important; 
	font-family: var(--title-font) !important;
	padding-right: 1.5rem  !important ;
	padding-left: 1.5rem  !important ;
}

.wp-block-buttons .wp-block-button .wp-block-button__link:hover,
.wp-block-buttons .wp-block-button .wp-block-button__link:focus-visible {
	color: #fff !important;
	background: var(--primary-color) !important;
}

.home .wp-block-buttons .wp-block-button .wp-block-button__link{
	border: 1px solid #000 !important ;
	color: #000!important; 
	background: #fff !important; 
}

.home .wp-block-buttons .wp-block-button .wp-block-button__link:hover,
.home .wp-block-buttons .wp-block-button .wp-block-button__link:focus-visible {
	border: 1px solid #000 !important ;
	color: #fff !important; 
	background: var(--primary-color) !important; 
}

.sub-menu .wp-block-buttons .wp-block-button .wp-block-button__link{
	border: 1px solid #fff !important ;
	color: #000!important; 
	background: #fff !important; 
}


.sub-menu .wp-block-buttons .wp-block-button .wp-block-button__link:hover,
.sub-menu .wp-block-buttons .wp-block-button .wp-block-button__link:focus-visible {
	border: 1px solid #fff !important ;
	color: #fff !important; 
	background: var(--primary-color) !important; 
}

strong{
	font-weight: 500; 
}

.hours-rows,
.hours-row{
	display: block;
}

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

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

@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: #fff;
	background: none;
	outline: 0;
}

.copyright-section{
	z-index: 100; 
}

.footer .wp-block-search__input{
	color: #fff; 
}

p.social-link a{
	font-size: .9rem !important ; 
}

.wp-block-search__button {
	margin-left: -0.1rem;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	background: var(--search-white, var(--accent-color));
	color: var(--search-button-bg, white);
	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(--search-white, var(--accent-color));
}

.wp-block-post-date{
	color: #fff; 
}

/* remove arrow from details box in ios */
/* Target the summary element in the details box */
details > summary {
    /* Hide the default marker */
    list-style: none; 
}

/* Target the disclosure triangle itself (for WebKit/iOS) */
details > summary::-webkit-details-marker {
    /* Hide the marker completely */
    display: none;
}

/* Optional: If you want to remove the space it occupies */
/* details > summary::before {
    display: none;
} */

/*--------------------------------------------------------------
# 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-logo{
		width: 12rem !important ; 
	}
	.header-right{
		flex-basis: 70% !important ;
	}

}

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

@media (min-width: 82.5em) {
	.header-logo svg{
		height: 5.5rem; 
	}
}


.footer-logo svg {
	width: auto;
	height: clamp(4.25rem, 3.532rem + 3.592vw, 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);
}


.header-quicklinks a{
	color: #fff !important; 
	position: relative; 
}

.header-quicklinks a:before{
	content:''; 
	position: absolute; 
	right: 0;
	top: 0;
	bottom: 0; 
	margin: auto; 
	width: 1rem; 
	height: 1rem; 
	background: url('./images/headerlinks-arrow.svg') no-repeat; 
	transition: transform .5s ease; 
}

.header-quicklinks a:hover:before,
.header-quicklinks a:focus-visible:before{
	transform: translateX(.5rem);
}

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

.menu-notifications li::before{
	border-radius: 0; 
}

@media (min-width: 68.5em) {
	.header-number{
		margin-top: 2rem !important ; 
		background: linear-gradient(0deg, var(--white), var(--white)) no-repeat 0 bottom / 0 2px;
  		transition: background-size 350ms;
	}
	
	.header-number:hover{
		background-size: 100% 2px;
	}
	.header-number:focus-visible {
		background-size: 100% 2px;
	}
	
	.header-number .phone-number{
		font-size: 2.4rem !important ; 
		font-weight: 500; 
	}
	.header-quicklinks{
		position: absolute;
		right: 0; 
		padding-right: 3rem;
		padding-left: 3rem; 
		border-radius: 0 0 0 50px; 
		background: var(--primary-color);
	}
	a.header-number:hover {
		color: #fff; 
	}
	.header-number:hover .phone-number{
		color: #fff;
/* 		text-decoration: underline;  */
	}
	.header-number:focus-visible .phone-number{
		color: #fff;
		text-decoration: underline; 
	}
}
	

/*--------------------------------------------------------------
# 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%;
	color: var(--wp--preset--color--text);
}

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

.add-header-accent{
	font-size: 1.2rem; 
	text-align: center; 
	position: relative; 
	padding-bottom: 1.5rem; 
}

.add-header-accent:after {
	content: '';
  	position: absolute;
  	bottom: 0;
  	left: 0;
  	right: 0;
  	margin: auto;
  	width: 8.5rem;
 	height: 6px;
  	background: url('./images/line-circle.svg') no-repeat;
    background-size: auto;
  	background-size: 100%;
}

@media (min-width: 68.5em) {
	.add-header-accent{
		font-size: 2rem; 
	}
}


@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); */
		background: rgba(42, 179, 250, .25);

	}

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

.back-link .nu-plus-svg{
		display: none; 
	}

@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 */
		margin-bottom: 0; 
	}

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

/*--------------------------------------------------------------
# Contact Section 
--------------------------------------------------------------*/

.contact-column-left h2{
	position: relative;
	padding-bottom: 2rem; 
}

.contact-column-left h2:after{
	content: '';
  	position: absolute;
  	bottom: 0;
  	left: 0;
  	right: 0;
  	margin: auto;
  	width: 8.5rem;
  	height: 6px;
  	background: url('./images/white-line.svg') no-repeat;
    background-size: 100%;
}

@media (min-width: 68.5em) {
	.contact-column-left h2{
		margin-bottom: 1rem; 
	}
	.contact-column-left h2:after{
		right: initial;
		left: 1rem; 
	}
}


#contact_section.wp-block-cover{
	position: relative; 
	z-index: 10; 
}

#contact_section.wp-block-cover:after{
	content:''; 
	position: absolute;
	left: 0;
	top: 0; 
	width: 100%;
	height: 100%; 
	background: linear-gradient(270deg, rgba(40, 92, 116, 0.25) 1.44%, #285C74 76.02%);
	z-index: 0;
}

.wp-block-cover__inner-container{
	position: relative; 
	z-index: 20;
}

#contact_section .contact-column-left h2, 
#contact_section .contact-column-left p{
	color: #fff; 
}

#contact_section .contact-column-left h2{
	font-size: 1.6rem !important ;
}

#contact_section .contact-column-left p{
	font-size: 1.2rem !important ; 
	font-family: var(--title-font);
	text-align: center; 
	line-height: 1.3;
	padding-left: 2rem;
	padding-right: 2rem; 
	padding-bottom: 2rem; 
}

#contact_section .gfield{
	border: 1px solid var(--wp--preset--color--text);
}

.fullwidth-contact-wrapper .wp-block-cover__inner-container{
	padding-left: 0 !important;
}

.contact-column-right-group{
	border-radius: 0 25px 25px 0; 
	max-width: 21rem; 
}

.contact-column-right-group:after{
	content:''; 
	position: absolute; 
	right: -1rem;
	top: -2rem;
	width: 38px;
	height: 330px;
	border-radius: 0 0 25px 0;
	background: var(--primary-color);
	z-index: -1; 
}

@media (min-width: 68.5em) {
	#contact_section .contact-column-left h2{
		font-size: 2rem !important ;
		text-align: left;
		padding-left: 1rem; 
	}

	#contact_section .contact-column-left p{
		font-size: 1.6rem !important ; 
		text-align: left;
		padding-left: 1rem; 
	}
	.contact-column-right-group{
		border-radius: 0 0 25px 25px; 
		max-width: 25rem; 
		padding-top: 4rem !important ; 
		padding-left: 3rem !important ;
		padding-right: 3rem !important ; 
		transform: translateY(-7rem); 
	}
	.contact-column-right-group:after{
		top: 0; 
		right: -38px; 
	}
	#contact_section{
		padding-bottom: 0 !important 
	}
}



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

#location_section .map-mobile-view-bar{
	color: #fff !important; 
}

/* .wp-block-fuel-interactive-map details:not(.wp-block-fuel-fuel-toggle-block) {
	height: 8rem;
  	overflow: hidden;
} */

.map-back{
	background: var(--primary-color);
	font-family: var(--title-font) !important ;
	font-size: 1rem !important ; 
	box-shadow: 0px 4px 4px 0px #00000040;
}

.map-back svg {
	margin-top: .15rem !important ;
	color: var(--accent-color); 
}

.map-nav-item-btn:is(:hover, :focus, .map-active){
	box-shadow: 0px 4px 4px 0px #00000040;
	background: linear-gradient(90deg, #008ECF 20.95%, rgba(74, 74, 74, 0) 100%);
}

.map-quick-links{
	box-shadow: 0px 4px 4px 0px #00000040;
	position: relative; 
	z-index: 10; 
}

.map-quick-links a{
	z-index: 100; 
}

.map-quick-links svg path:first-child{
	fill: none; 
}

.map-quick-links:before{
	content:''; 
	position: absolute; 
	left: 0;
	top: 0; 
	width: 100%; 
	height: 100%; 
	background: linear-gradient(90deg, #008ECF 20.95%, rgba(74, 74, 74, 0) 100%);
	z-index: 1; 
}

.map-sidebar {
	background: #285c74;	
	color: #fff; 
}
.wp-block-fuel-interactive-map details:not(.wp-block-fuel-fuel-toggle-block) summary{
	font-family: var(--title-font); 
	background: var(--primary-color); 
}

.map-info h3{
	font-family: var(--content-font);
}

.map-info h4{
	font-family: var(--content-font);
	font-size: 1.2rem; 
	padding-bottom: 1rem; 
}

.custom-meta-icon{
	position: relative;
	display: block;
	padding-left: 1.8rem; 
}

.custom-meta-icon:before{
	content:'';
	position: absolute;
	top: .25rem;
	left: 0;
	width: 1rem;
	height: 1rem; 
	background: url('./images/clock-white.svg') no-repeat;
	background-size: cover; 
}

.map-info .button{
	color: #fff !important ;
	text-decoration: underline; 
}

.custom-loc-info .custom-meta-icon{
	padding-left: 0; 
}

.custom-loc-info .custom-meta-icon:before {
	display: none; 
}

.filter-contents{
	height: 7rem;
	padding: .5rem 1.5rem;
	align-content: center;
}

.filter-controls {
 	font-size: .7rem;
}

.map-filter-panel summary{
	padding-left: 2.5rem !important ; 
}

.map-filter-panel summary:before{
	content:'';
	position: absolute;
	left: 1.5rem; 
	top: 0; 
	bottom: 0; 
	margin: auto; 
	width: .25rem;
	height: .25rem; 
	background: var(--accent-color);
}

.get-my-location{
	padding: .25rem 1rem .25rem 2rem;
	color: #fff !important ;
	background: rgba(42, 179, 250, .35) !important ;
	position: relative; 
}

.get-my-location:before{
	content:''; 
	position: absolute; 
	left: .75rem;
	top: 0;
	bottom: 0; 
	width: 1rem;
	height: 1rem; 
	margin: auto; 
	background: url('./images/white-marker.svg') no-repeat; 
}

@media (min-width: 68.5em) {
	.map-nav-panel {	
		display: flex;
		flex-flow: column;
		justify-content: space-between;
		overflow: hidden; 
	}
	.map-nav-item-btn{
		padding: 1rem 1.5rem;
	}
	.wp-block-fuel-interactive-map {
		height: initial;
	}
}




/*--------------------------------------------------------------
# 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;
	line-height: 1; 
}

.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-logo path {
	fill: var(--white);
}

.footer-socials{
	gap: 10px !important; 
}

.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{
	column-count: 2;
	text-align: left;
	width: initial; 
	z-index: 100; 
}

.footer .wp-block-search__inside-wrapper input::placeholder{
	color: #fff; 
}

.footer .wp-block-search__button{
	color: #fff;
	background: none;
	border: none; 
}

.copyright-wrapper{
	color: #fff;
}

.footer h3{
	color: #fff;
}

.footer p{
	color: #fff; 
}

#menu-footer{
	column-count: 2;
  	column-gap: 20px;
  	display: block;
}

.footer h3.wp-block-heading {
	font-size: 1rem !important ; 
	position: relative; 
	padding-bottom: 1rem; 
	font-weight: 500; 
}

.footer h3.wp-block-heading:after{
	content:''; 
	position: absolute; 
	bottom: 0;
	left: 0;
	width: 100%; 
	height: 1px; 
	background: #fff; 
}

#menu-footer.wp-block-navigation__container li a{
	line-height: 1;
	margin-bottom: .75rem;
	padding-bottom: .2rem;
}

.footer-tagline{
	font-size: 1.2rem; 
	font-family: var(--title-font);
	text-align: center; 
}

.footer-background-elements{
	position: relative; 
}

.footer-background-elements:after{
	content:'';
	position: absolute; 
	right: 0;
	bottom: 25%;
	width: 10rem;
	height: 15rem; 
	background: url('./images/full-footer-face.svg') no-repeat;
	background-size: cover; 
	z-index: 10; 
}

.column-quick-links{
	margin-top: 2rem !important ; 
	z-index: 100; 
}

.footer a.footer-location-link{
	margin-top: .75rem; 
	padding-bottom: 0.2rem;
}

.footer a.footer-location-link:first-child{
	margin-top: 0; 
}

@media (min-width: 49em) {
	.column-quick-links{
		margin-top: 0 !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;
	}
}

@media (min-width: 68.5em) {
	.footer-tagline{
		font-size: 1.6rem; 
		text-align: left; 
		margin-top: 1rem !important; 
	}
	.column-quick-links{
		margin-top: 0 !important ; 
	}
	.footer-background-elements:after{
		top: 0;
		right: 10%; 
		height: 100%;
		width: 18rem;
	}
}

.footer .wp-block-search__inside-wrapper{
	border-color: #fff; 
	border-radius: 5px; 
}

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

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