/*
Theme Name: Fuel5 Junior
Theme URI: http://fuelmedical.com/
Description: Base child theme for all fuel medical development projects.
Author: Fuel Medical
Author URI: http://fuelmedical.com/
Template: fuel
Version: 5.0.12
Text Domain: fmj
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Custom Properties
# Fonts
# Normalize
# Fuel Normalize
# Custom Elements
# Forms
## Search Form
# Accessibility
# Header
# Footer
# Map
# Animations

# Print
# IE11 Notice
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/

@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
        url('fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Medium'), local('Montserrat-Medium'),
        url('fonts/Montserrat-Medium.woff2') format('woff2'),
        url('fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans Regular'), local('OpenSans-Regular'),
        url('fonts/OpenSans-Regular.woff2') format('woff2'),
        url('fonts/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
        url('fonts/OpenSans-SemiBold.woff2') format('woff2'),
        url('fonts/OpenSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
        url('fonts/OpenSans-ExtraBold.woff2') format('woff2'),
        url('fonts/OpenSans-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans Italic'), local('OpenSans-Italic'),
        url('fonts/OpenSans-Italic.woff2') format('woff2'),
        url('fonts/OpenSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}


/*--------------------------------------------------------------
# Custom Properties
--------------------------------------------------------------*/
:root {
	/* Structure */
	--contain-padding: clamp(9vw, calc(50vw - 30rem), 18rem);

	/* Design */
	--primary-color: #0A89AF;
	--accent-color: #CFDE45;
	--third-color: #135589;
	--fourth-color: #091434;
	--fifth-color: #0085AD;
;

	/* Text */
	--title-font: 'Montserrat', sans-serif;
	--title-color: var(--primary-color);

	--content-font: 'Open Sans', sans-serif;
	--content-color: #4a4a4a;

	/* Accessibility */
	--outline-color: #69F;
}


@media (min-width: 68.5em) {
    .clamp {
        font-size: 1rem;
        font-size: clamp(0.8rem, 1.2vw, 1rem);
    }
}

/*--------------------------------------------------------------
# Normalize v8.0.1
--------------------------------------------------------------*/
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

/*--------------------------------------------------------------
# Fuel Normalize
--------------------------------------------------------------*/
*, *::before, *::after {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html {
	font-family: sans-serif;
	font-size: 125%;
	line-height: 1.5;
	-webkit-overflow-scrolling: touch;
}
body {
	position: relative;
	min-width: 18rem;
	font-family: var(--content-font);
	font-size: 1em;
	line-height: 1.5;
	color: var(--content-color);
	background: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em 0;
	font-family: var(--title-font);
	font-weight: 600;
	line-height: normal;
	color: var(--title-color);
}

h1 {
	font-size: clamp(1.4rem, 4vw, 2.4rem);
}
h2 {
	font-size: clamp(1.6rem, 4vw, 2rem);
}
h3 {
	font-size: clamp(1.2rem, 4vw, 1.6rem);
}
h4 {
	font-size: clamp(1rem, 4vw, 1.4rem);
}
h5 {
	font-size: clamp(0.9rem, 4vw, 1.2rem);
}
h6 {
	font-size: clamp(0.8rem, 4vw, 1rem);
}

p {
	margin: 0 0 1.2em;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
li {
	margin: 0;
}

iframe, img, svg, audio, canvas, video, object, embed {
	vertical-align: middle;
	max-width: 100%;
}
img, svg {
	height: auto;
}
img {
	object-fit: cover;
}
img[src*=".jpg"] {
	background: #eee;
}
iframe {
	margin: 0 auto 3rem auto;
}

figure {
	margin: 0;
}
blockquote {
	margin: 0 0 1.6em;
}

table {
	margin: 0 0 1.6em;
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}
th {
	font-weight: bold;
}

blockquote, figcaption {
	font-style: italic;
}
blockquote em, blockquote i, figcaption em, figcaption i {
	font-style: normal;
}

small {
	font-size: 0.75em;
}

sub, sup {
	position: relative;
	vertical-align: baseline;
	font-size: 0.75em;
	line-height: 0;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}

a {
	text-decoration: none;
	color: var(--fifth-color);
	transition: color 300ms, background-color 300ms;
}
a[href^="tel:"] {
	white-space: nowrap;
}
a:hover {
	color: var(--primary-color);
}

button {
	margin: 0;
	border: 0;
	padding: 0;
	color: var(--accent-color);
	background: transparent;
	cursor: pointer;
}
button:hover {
	color: var(--primary-color);
}

input {
	margin: 0;
	border: 0;
	padding: 0;
	color: inherit;
	background: none;
}

pre, code {
	max-width: 100%;
	overflow: auto;
}


/*--------------------------------------------------------------
# Custom Elements
--------------------------------------------------------------*/

#wpadminbar {
	background: #002B49;
}

.site-wrapper {
	margin: auto;
	width: 100%;
	max-width: 96rem;
	background: #fff;
}
.site-wrapper > * {
	width: 100%;
}

.clear {
	clear: both;
}

.contain {
	display: block;
	position: relative;
	margin: auto;
	padding-right: var(--contain-padding);
	padding-left: var(--contain-padding);
	width: 100%;
}

.button,
.wp-block-button__link {
	display: inline-block;
	vertical-align: middle;
	border-radius: 0;
	padding: 0.5em 1em .5em 1.5em;
	font-family: var(--title-font); 
	font-size: 1em;
	font-weight: bold;
	line-height: normal;
	text-align: left;
	text-decoration: none;
	color: var(--fifth-color);
	background: var(--fourth-color);
	cursor: pointer;
	transition: all 300ms;
	position: relative; 
	z-index: 10;
}

.button:before,
.wp-block-button__link:before{
	content: ''; 
	position: absolute;
	left: 0; 
	top: 0; 
	width: .5em;
	height: 100%; 
	background: var(--accent-color); 
	transition: width .5s ease; 
	z-index: -1; 
}



.button:hover, .button:active,
.wp-block-button__link:hover, .wp-block-button__link:active {
	text-decoration: none;
}

.button:hover:before, 
.button:active:before,
.button:focus:before,
.wp-block-button__link:hover:before, 
.wp-block-button__link:active:before,
.wp-block-button__link:focus:before {
	width: 110%;
}

.gform_button.button:hover:before{
	width: 100%; 
}

@media (prefers-reduced-motion:reduce) {
	.button:before,
	.wp-block-button__link:before {
		transition: none; 
	}
	.button,
	.wp-block-button__link {
		transition: none; 
	}
}

.gform_wrapper .button {
	background: #F2F2F2; 
	font-weight: 400; 
	max-width: 12em;
	margin: 0 auto; 
	display: block;
	font-family: var(--title-font); 
}

.gform_wrapper .button:after {
	content: ''; 
	position: absolute; 
	right: .5em; 
	top: .65em; 
	width: .8em;
	height: 1em; 
	background: url('./images/button-arrow.svg') no-repeat ; 
	background-size: cover; 
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.gform_fields {
	margin: 0;
}

.gfield {
	margin: 0 0 0.7rem;
	box-shadow: 0px 0px 12px 0px #00000040;
	padding: 0.3rem;
	list-style: none;
	overflow: hidden;
	background: #fff;
}

.gfield .medium, .gfield .large {
	padding: 0.2rem 0.9rem;
	width: 100%;
	color: var(--content-color);
	background: #fff;
	outline: none;
}

.gfield_label {
	display: block;
	padding: 0.1rem 0.4rem 0;
	font-size: 0.7em;
	line-height: normal;
	font-style: italic; 
}

.gform_footer {
	position: relative;
	margin-top: 0.7rem;
}

.gform_button {
	width: 100%;
}

.gform_ajax_spinner {
	position: absolute;
	top: 0;
	right: 0.5rem;
	bottom: 0;
	margin: auto;
	border: 0.2em solid rgba(0, 0, 0, 0.4);
	border-left: 0.2em solid #07B084;
	border-radius: 50%;
	width: 1.2em;
	height: 1.2em;
	animation: spin 1.1s infinite linear;
}

.gform_confirmation_message {
	font-family: inherit;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1em; 
	text-align: center;
	margin: 1em;
	border: 1px solid #000;
	border-radius: 10px;
}

.contact-section .gform_confirmation_message{
	border: 1px solid #fff;
	color: #fff;
}

.gform_submission_error {
	margin: 0 0 1rem;
	font-family: inherit;
	font-size: 0.8em;
	font-weight: normal;
	line-height: 1.5;
	color: #cc2d3f;
}

.validation_message {
	padding: 0 0.4rem;
	font-size: 0.7em;
	color: #cc2d3f;
}

.contact-section{
	background: linear-gradient(117.32deg, #091434 50.41%, #0085AD 129.64%);
	padding-top: 3em;
	position: relative; 
	overflow: hidden;
	z-index: 5; 
} 

.contact-section .contact-emergency{
	font-weight: 600; 
}

.contact-section .contact-emergency, .contact-section .contact-statement {
	color: #fff;
	text-align: center;
}

.contact-section .contact-title{
	display: none; 
	text-align: center; 
}

.contact-section .contact-title.contact-title-top{
	display: block; 
	text-transform: uppercase; 
	padding-bottom: 1.5em;
	position: relative; 
} 

.contact-section .contact-title.contact-title-top:before {
	content: '';
	position: absolute;
	bottom: .5em;
	left: 0;
	right: 0;
	width: 3.5em;
	height: .25em;
	margin: auto;
	border-bottom: 5px solid var(--accent-color);
}

.contact-section .contact-form {
	padding: 1em 1em 2em 1em; 
	background: linear-gradient(117.32deg, #091434 50.41%, #0085AD 129.64%);
	max-width: 23em;
	width: 100%; 
	margin: 0 auto 3em auto;
}

.contact-section .contact-image{
/* 	background: url('./images/contact-image-full.jpg') center/cover no-repeat;  */
	height: 18em; 
	max-width: 23em;
	width: 100%; 
	margin: 0 auto;
	position: relative;
	overflow: hidden; 
}

.contact-section .contact-image:after{
	content: '';
	position: absolute;
	right: 0;
	bottom: 2em; 
	height: 17px;
	width: 60%; 
	background: var(--accent-color); 
}

.inner-contact-title{
	display: none; 
}

@media (min-width: 68.5em) {
	.contact-section .contact-image:after{
			width: 90%; 
			right: -2em;
			bottom: 95%;
	}
	.inner-contact-section {
		margin-top: -3em; 
		min-width: 24em; 
	}
	.inner-contact-title{
		display: block; 
		text-transform: uppercase; 
		position: relative; 
		text-align: center; 
		padding-bottom: 2em;
	}
	.inner-contact-title:after {
		content: '';
		position: absolute;
		bottom: 1.5em;
		left: 0;
		right: 0;
		width: 3.5em;
		height: .25em;
		margin: auto;
		border-bottom: 5px solid var(--accent-color);
	}
	.contact-section{
		display: flex;
		padding-top: 8em; 
		padding-bottom: 3em; 
		justify-content: space-between; 
	}
	
	.contact-section .contact-title.contact-title-top {
		display: none; 
	}
	
	.contact-section .contact-title{
		display: block;
	}
	.contact-section .contact-image{
		max-width: 40em;
		width: 100%;
		height: 40em; 
		display: block;
		margin: initial; 
	}
	.contact-section .contact-form{
		padding: 2em;
		max-width: 25em;
	} 
	.contact-section:before {
		content:''; 
		position: absolute;
		top: 0 ;
		left: 0 ;
		right: 0;
		margin: 0 auto; 
		width: 10em;
		height: 6em;
		color: #fff; 
		z-index: -1; 
		background: url('./images/contact-us.svg') no-repeat; 
		background-size: contain ; 
		font-size: 10em; 
	}
	
}
@media (min-width: 94.5em) {
	.inner-contact-section {
		margin-right: 15%; 
	}
}
	
	
/*--------------------------------------------------------------
## Search Form
--------------------------------------------------------------*/
.search-form {
	display: flex;
}
.search-form label {
	width: 100%;
}
.search-field {
	padding: 0.5em 1em;
	width: 100%;
	line-height: 1.5;
	color: var(--content-color);
	background: #eee;
}
.search-submit {
	padding: 0.5em 1em;
	line-height: 1.5;
	color: #fff;
	background: var(--fifth-color);
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
a, button, summary, .gfield {
	outline-style: solid;
	outline-color: transparent;
	outline-offset: 0;
	outline-width: 2px;
}
a {
	outline-offset: 0.5rem;
}
.button {
	outline-offset: 0;
}
a:focus-visible, button:focus-visible, summary:focus-visible, .gfield:focus-within {
	outline-color: var(--outline-color);
}

.skip-to-content {
	display: block;
	position: absolute;
	top: -10000rem;
	left: 1rem;
	z-index: 99999;
	padding: 0.5em 1em;
	background: #eee;
	box-shadow: 1px 1px 0.2em rgba(0, 0, 0, 0.5);
	transition: none;
}
.skip-to-content:focus {
	top: 1rem;
}

.screen-reader-text {
	position: absolute;
	top: auto;
	left: -10000rem;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.js-required {
	padding: 2rem;
	text-align: center;
	color: #000;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	text-align: center;
	border-bottom: 27px solid var(--primary-color); 
	z-index: 1000; 
	position: relative; 
	background: #fff; 
}
.header-links {
	display: none;
}
.header-menu, .header-phone {
	display: none;
}

.header-logo {
	max-width: 10em;
	display: block;
	margin: .5em auto;
}


@media (min-width: 68.5em) {
	.header {
		display: grid;
		grid-template-areas:
			'logo nav'
			'logo phone';
		justify-items: end;
		text-align: left;
		padding-left: 3rem; 
		padding-top: 0;
		padding-bottom: 0; 
		border-bottom: none; 
	}
	.header-logo {
		grid-area: logo;
		justify-self: start;
		max-width: initial;
		margin: 0; 
	}
	
	.header-logo svg{
		transition: transform .5s ease; 
	}
	.header-logo:hover svg {
		transform: scale(1.05);
	}
	
	.header-logo:focus svg {
		transform: scale(1.05);
	}
	
	.header-menu {
		grid-area: nav;
		display: flex;
	}
	.header-menu li:nth-child(n+2) {
		margin-left: 1rem;
	}
	
	.header-menu li{
		margin: 0; 
	}
	
	.header-menu li a {
		height: 100%;
/* 		background: #f2f2f2; */
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #000; 
		text-transform: uppercase; 
		font-weight: 600; 
	}
	.header-menu svg {
		vertical-align: top;
		margin: 0 0.5em 0 0;
   		width: 1em;
        height: 1em;
	}
	.header-phone {
		grid-area: phone;
		max-width: 23em;
		width: 100%;
		background: #ededed;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #000; 
		font-weight: 600; 
	}

	.header-phone summary p{
		position: relative; 
		z-index: 10; 
		font-family: var(--title-font); 
	}
	
	.header-phone summary p:before {
		content:''; 
		position: absolute; 
		left: 0 ;
		top: 0 ;
		width: 0 ;
		left: -4.45em;
		top: -1.45em;
		height: 3.65em;
		background: var(--accent-color); 
		transition: width .5s ease; 
		z-index: -1; 
	} 
	
	.header-phone summary:hover p{
		color: #fff; 
	}
	
	.header-phone summary:hover p:before{
		width: 18em;
	}
	
	.header-phone summary:focus p:before{
		width: 18em;
	}
	
	#menu-header li a {
		width: 100%;
		position: relative; 
		z-index: 10;
		transition: color .5s ease; 
		font-family: var(--title-font); 
		font-size: .9em;
		padding: 0 .5em;
	}
	
/* 	#menu-header li a:before {
		content:''; 
		position: absolute;
		left: 0;
		top: 0; 
		height: 100%;
		width: 1em; 
		background: var(--fifth-color);
		transition: width .5s ease; 
		z-index: -1; 
	} */
	
	#menu-header li a:hover{
		color: #0085AD; 
	}
	
/* 	#menu-header li a:hover:before{
		width: 100%; 
	} */
	
/* 	#menu-item-52 { width: 100%; } */
	
	.header-phone {
		display: block; 
		z-index: 1000; 
		color: #fff;
		margin-top: 0 ;
		transition: all .25s ease; 
		cursor: pointer;
		top: 0;
		right: 0;
		overflow: hidden; 
	}
	
	.header-phone summary{
		transition: color .25s ease; 
	}
	
	.header-phone:hover summary{
		color: #fff; 
	} 
	
	.header-phone[open] summary{
		color: #fff; 
	}
	
	.header-phone p {
		margin: 0; 
		font-size: 1.6em; 
	}
	
	.header-phone svg { 
		margin-top: -.2em;
		margin-left: -.5em;
		width: 1em; 
	}
	
	.header-phone[open] svg{
		color: #fff; 
	}
	
	.header-phone .phone-tree {
    	position: absolute;
    	background: #fff;
    	box-shadow: 0px 0px 12px rgb(0 0 0 / 25%);
    	z-index: 1000;
    	width: 15.5em;
	}

	#menu-header { flex-flow: row; justify-content: right;}
/* 	.home .header-menu li a { border-radius: 0; width: 100%; margin:  0; max-width: none;min-width: 14em;}
	.home .header-menu li:first-child a { border-radius: 5px 0 0 5px; }  */
/* 	.header-menu li a:hover, .header-menu li a:focus { background: var(--accent-color); } */
	
	.header-phone > summary { 
		font-weight: 600;
		margin-top: 0;
		padding-top: .25em; 
/* 		padding-right: 1.5em;  */
		line-height: 1;
		color: #000;	
		list-style: none; 
		width: 100%;
		height: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.header-phone[open] > summary {
		background: var(--accent-color); 
	}

	
	.phone-tree { right: 3rem;}
	.phone-tree > p { margin-bottom: 0; }
	.phone-tree > p > a { color: #000; display: flex; justify-content: space-between; padding: 1.25em; background: #F1F1F1; font-size: .8em; }
	.phone-tree > p:nth-child(odd) > a{ background: #fff; }
	.header-phone .phone-tree {
		  position: absolute;
		  background: #fff;
		  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25);
		  z-index: 1000;
		  width: 23em;
		  right: 0;
		  top: 7.35em;
		
	}
	.phone-tree .phone-number { font-weight: 600; }
	.header-phone[open] summary::before {
	    content: '';
    	position: absolute;
    	top: 0;
    	right: 0;
   		bottom: -100vh;
 	    left: 0;
	    cursor: initial;
 	    z-index: -1;
	}
	
	.header-phone[open] summary:after {
	    content: '';
    	position: absolute;
    	top: 0;
    	right: 0;
		height: 5em;
   		z-index: -1;
		background: var(--accent-color);
	}
	
	details[open].header-phone summary ~ * {  
		 animation: sweep .5s ease-in-out;
	}
	
	.phone-tree a:hover{
		text-decoration: underline; 
	}
	.phone-tree a:focus{
		text-decoration: underline; 
	}
}

@media (min-width: 82.5em) {
	#menu-header{
		padding-right: 2em;
	}
	
	#menu-header li a {
		font-size: 1em;
	}
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
	color: #fff;
	background: var(--fourth-color);
	z-index: 100; 
	position: relative; 
}
.footer a {
	color: #fff;
}

.footer a:hover {
	text-decoration: underline; 
}
.footer a:focus {
	text-decoration: underline; 
}

.footer .hours {
	color: #fff; 
}
.footer a:hover {
	text-decoration: underline;
	color: #fff;
}
.footer-blocks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
	font-size: 0.9em;
}
.footer-title {
	margin-bottom: 1.2em;
	text-align: center;
	color: inherit;
}
.footer-logo {
	display: block;
	position: relative;
}

.footer-logo:after{
	content:''; 
	position: absolute;
	bottom: -.5em; 
	left: 0;
	height: .25em;
	width: 100%;
	border-bottom: 1px solid #fff;
}

.footer-social {
	display: flex;
	justify-content: center;
	padding-top: 1rem;
}
.footer-social li {
	padding: 0 0.5rem;
}
.footer-locations {
	width: 100%;
}
.footer-locations .footer-title {
	width: 100%;
}
.footer-locations-list a {
	display: inline-block;
	margin: 0.3em 0;
	line-height: normal;
}
.footer-locations-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	width: 100%;
}

.footer .footer-locations-wrapper{
	justify-content: center; 
}

.footer .footer-location{
	width: 15em;
}

.footer-loc-title {
	color: var(--fifth-color);
	font-size: 1em;
}

.footer-links{
	display: none; 
}

.footer-links a {
	display: inline-block;
	margin: 0.3em 0;
	line-height: normal;
}

.footer-location .icon-item svg {
	color: var(--fifth-color); 
}

.footer-location .phone{
	font-weight: 600; 
}

@media (min-width: 32.5em) {
	.footer-locations-list {
		column-count: 2;
		column-gap: 1.5rem;
	}
}
@media (min-width: 68.5em) {
	.footer-blocks {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 1.5rem;
	}
	.footer-title {
		text-align: left;
		color: var(--fifth-color);
	    font-size: 1em;
	}
	.footer-branding {
		flex: 0 1 auto;
	}
	
	.footer-location{
		max-width: 13em;
	}
	
	.footer-location .hours-row{
		flex-flow: column; 
	}
	
	.footer-locations {
		flex: 0 2 auto;
		width: auto;
	}
	.footer-locations-wrapper {
		justify-content: start;
		gap: .5rem;
		width: auto;
		flex-wrap: nowrap;
	}
	.footer-links {
		display: block;
		max-width: 8em;
	}
}

/* Copyright section */
.footer-end {
	padding-top: 1.5rem;
	padding-bottom: 5rem;
	text-align: center;
	font-size: 0.8em;
	line-height: 1.5;
	border-top: 1px solid #fff;
}
.copyright {
	margin-bottom: 1.2rem;
}
@media (min-width: 44em) {
	.policy-nav ul {
		display: flex;
		justify-content: center;
	}
	.policy-nav li {
		padding: 0 0.5rem;
		position: relative;
		white-space: nowrap
	}
	.policy-nav li:nth-child(n+1)::before {
		content: '|';
		position: absolute;
		right: -2px;
	}
	.policy-nav li:last-child::before {
		display: none;
	}
}
@media (min-width: 68.5em) {
	.footer-end {
		display: grid;
		grid-template-areas: 'copyright nav';
		justify-items: start;
		padding-top: 2em;
		padding-bottom: 2rem;
		margin-top: 2.5rem;
	}
	.copyright {
		grid-area: copyright;
		margin: 0;
	}
	.policy-nav {
		grid-area: nav;
		justify-self: end;
	}
}


/*--------------------------------------------------------------
# Locations Section
--------------------------------------------------------------*/

.locations-section.load-bg {
	background: url('./images/loc-bg.jpg') no-repeat; 
	background-position: center;
	background-size: cover;
	padding-top: 5em;
	padding-bottom: 8em; 
	position: relative; 
	z-index: 10; 
	overflow: hidden; 
}

.locations-section .locations-title{
	text-transform: uppercase; 
	text-align: center;
	padding: 0 1em 2em 1em; 
	position: relative; 
	font-size: clamp(2em, 4vw, 2.4em); 
}

.locations-section .locations-title:after {
	content: '';
	position: absolute;
	bottom: 1em;
	left: 0;
	right: 0;
	width: 3.5em;
	height: .25em;
	margin: auto;
	border-bottom: 5px solid var(--accent-color);
}

.locations-section a:hover {
	text-decoration: underline;
}

.locations-section a:focus {
	text-decoration: underline;
}

.loc-flex{
	display: flex; 
	gap: 1em;
	align-items: center; 
	flex-flow: column; 
}

.loc-flex .footer-location{
	padding: 2.5em 4em 3em 1em;
	box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
	max-width: 18em; 
	min-width: 18em; 
	background: #fff; 
	position: relative; 
}

.loc-flex .footer-location:before{
	content: ''; 
	position: absolute; 
	right: 2em; 
	bottom: 1.5em; 
	height: 11em;
	width: .25em;
	border-right: 3px solid var(--accent-color); 
}

.loc-flex .footer-loc-title {
	font-size: clamp(1.2em, 3vw, 1.6em); 
}

.loc-flex .footer-location:after{
	content: ''; 
	position: absolute; 
	right: 2em; 
	bottom: 1.5em; 
	height: .25em;
	width: 10em;
	border-bottom: 3px solid var(--accent-color); 
}

.hours {
	color: #000; 
}

.hours-row {
	flex-flow: column; 
}

.loc-flex .footer-location a {
	color: #000; 
}

@media (min-width: 68.5em) {
	.loc-flex {
		flex-flow: row wrap; 
		align-items: initial; 
		justify-content: center; 
	}
	.locations-section {
		padding-top: 9em;
		padding-bottom: 12em;
	}
/* 	
	.locations-section:before {
		background-size: contain;
		top: -2.25em; 
	} */
	.locations-section:before {
		content: '';
		position: absolute;
/* 		top: 0; */
		top: -2.25em; 
		left: 0;
		width: 2em;
		height: 8em;
		color: #000;
		font-weight: 600;
		font-size: 9em;
		line-height: 0;
		opacity: 1;
		z-index: -1;
		background: url('./images/our-loc-text.svg') no-repeat; 
		background-size: contain;
	}
	.loc-flex a:hover{
		text-decoration: underline; 
	}
	.loc-flex a:focus{
		text-decoration: underline; 
	}
}

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/
.fm-map {
	position: relative;
	width: 100%;
	height: 30rem;
	max-height: calc(90vh - 3.2rem);
	background: #e5e5e5;
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
@keyframes fadein {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes fadeup {
	0% { opacity: 0; transform: translateY(5rem); }
	100% { opacity: 1; transform: translateY(0); }
}


/*--------------------------------------------------------------
# Custom toggle styles
--------------------------------------------------------------*/

.toggle {
	outline: none;
}

.toggle summary{
	background: #f3f3f3;
	color: #000;
	padding: .5rem 1rem .5rem 2rem;
	font-weight: 600;
	border: none;
	position: relative; 
}

.toggle summary:before{
	content:''; 
	position: absolute; 
	left: 0;
	top: 0;
	height: 100%;
	width: .9em;
	background: var(--accent-color);
}

.toggle summary:after{
	background: #000; 
}


.menu-call {
	margin-top: 2em; 
}

.menu-call .phone-number {
	color: var(--accent-color);
}

.menu-call p {
	margin: 0; 
}

.menu-call a {
	display: flex;
	justify-content: space-between;
	padding: 1em;
	border-top: 1px solid #fff;
	color: #fff; 
}

/*--------------------------------------------------------------
# Custom blockquote styles
--------------------------------------------------------------*/

.page-id-1524 .wp-block-pullquote{
	font-size: 1.2em; 
	padding: 0; 
}

.page-id-1524 .wp-block-pullquote cite{
	font-style: normal; 
}

.career-quote{
	margin-top: 3em; 
}

.career-quote .wp-block-pullquote{
	position: relative;
	padding-left: 1em; 
}

.career-quote .wp-block-pullquote:before{
	content: ''; 
	position: absolute;
	top: 0;
	left:  -.5em;
	height: 1em;
	width: 1em; 
	background: url('./images/quote.svg') no-repeat; 
}

.career-quote .wp-block-pullquote:after{
	content: ''; 
	position: absolute;
	top: 1em;
	left: -.15em;
	height: 60%;
	width: .25em; 
	border-left: 1px solid #000; 
}

/*--------------------------------------------------------------
# Clamp
--------------------------------------------------------------*/

@media (min-width: 68.5em) {
    .clamp {
        font-size: 1rem;
        font-size: clamp(0.8rem, 1.2vw, 1rem);
    }
}

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

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

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

	abbr[title]::after {
		content: ' ('attr(title) ')';
	}

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

	thead {
		display: table-header-group;
	}

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

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

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

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

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

	.contain {
		padding-left: 0;
		padding-right: 0;
		max-width: none;
	}
}

/*--------------------------------------------------------------
# IE11 Notice
--------------------------------------------------------------*/
.ie11-alert {
	display: none;
}
@media all and (-ms-high-contrast:none) {
	.ie11-alert {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9999;
		background: #fff;
		color: #000;
	}
	.ie11-content {
		max-width: 45rem;
		max-height: 10rem;
		font-size: 2rem;
		text-align: center;
		margin: 10% auto 0;
	}
	.ie11-alert a {
		color: #4169e1;
	}
}
