/*
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
# Contact Section
# Map
# Animations
# Secondary Page
# Print
# IE11 Notice
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/* lora-regular - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Lora';
	font-style: normal;
	font-weight: 400;
	src: url('./fonts/lora-v32-latin-regular.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
	font-display: swap;
	/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('./fonts/open-sans-v40-latin-regular.woff2') format('woff2');
	/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

	/* Design */
	--primary-color: #1F307D;
	--accent-color: #555;

	/* Text */
	--title-font: 'Lora', sans-serif;
	--title-color: var(--site-gray);

	--content-font: 'Open Sans', sans-serif;
	--content-color: var(--site-gray);

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

	/* Site Variables */
	--site-red: #C4262E;
	--primary-blue: #212492;
	--primary-gray: #565A5C;
	--dark-blue: #151749;
	--light-blue: #2F7ABC;
	--menu-light-blue: #D4E3F0;
	--site-gray: #595959;
	--site-white: #fff;
}

/*--------------------------------------------------------------
# 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;
	background: var(--site-red);
	padding: 0.5em;
	color: var(--site-white);
}

[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: 400;
	line-height: normal;
	color: var(--title-color);
}

h1 {
	font-size: clamp(1.6rem, 4vw, 2rem);
}

h2 {
	font-size: clamp(1.2rem, 4vw, 1.6rem);
}

h3 {
	font-size: clamp(1.1rem, 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(--accent-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;
}

.desktop-only {
	display: none;
}

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

	.desktop-only {
		display: block;
	}
}


/*--------------------------------------------------------------
# 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.25em;
	padding: 0.5em 1em;
	font-size: 1em;
	font-weight: bold;
	line-height: normal;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: var(--site-red);
	cursor: pointer;
	transition: all 300ms;
}

.button:hover,
.button:active,
.wp-block-button__link:hover,
.wp-block-button__link:active {
	color: #fff;
	background: var(--primary-color);
	text-decoration: none;
}

.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;
	color: var(--light-blue);
}

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

.gfield {
	margin: 0 0 1.5rem;
	/* border: 1px solid #999; */
	padding: 0.3rem;
	list-style: none;
	overflow: hidden;
	background: #fff;
	box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25);
	outline: none;
	color: var(--content-color);
}

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

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

.gfield_required {
	margin-left: 0.2em;
}

.main .request-heading {
	text-align: center;
	padding-top: 0;
}

.main .request-heading::before {
	display: none;
}

.gform_footer {
	position: relative;
	margin-top: 0.7rem;
	margin-bottom: clamp(1em, 0vw, 0em);
}

.gform_button {
	width: fit-content;
	background: var(--site-red);
	padding: 0.8rem 3rem;
	font-size: 1.2em;
	color: var(--site-white);
}

.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_required_legend {
	display: none;
}

.gform_confirmation_message {
	font-family: inherit;
	font-size: 1.1em;
	font-weight: normal;
}

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

.stars {
	display: block;
	width: 100%;
	height: 2.2em;
	/* background-color: var(--site-white); */
	margin: auto;
	margin-bottom: 0.5em;
	position: relative;
	/* z-index: 2; */
}

.stars::before,
.stars::after {
	content: '';
	width: 0.5em;
	height: 0.5em;
	background-color: var(--site-red);
	transform: rotate(45deg);
	position: absolute;
	top: 0.88em;
	left: 0.8em;
	z-index: 0;
}

.stars::after {
	left: unset;
	right: 0.8em;
}

.stars svg {
	width: 2.2em;
	aspect-ratio: 1/1;
}

@media (min-width: 68.5em) {
	.sidebar-wrap {
		color: var(--site-white);
		padding: 0.8em 1.1em;
	}

	.sidebar-wrap h2 {
		color: var(--site-white);
	}
}

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

.search-submit:hover {
	background: var(--primary-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;
	height: 5em;
	z-index: 1;
}

.header-links {
	display: none;
}

.header-menu,
.header-phone {
	display: none;
}

@media (min-width: 68.5em) {
	.header {
		display: flex;
		grid-template-areas:
			'logo nav'
			'logo phone';
		justify-items: end;
		text-align: left;
		min-height: 18.5em;
		background: unset;
	}

	.header-logo {
		grid-area: logo;
		justify-self: start;
		/* margin-top: 15em; */
		width: clamp(20em, 27vw, 26em);
		position: absolute;
		top: 3em;
		left: clamp(0.5rem, 0.5vw, 3em);
		z-index: 999;
	}

	.header-menu {
		/* grid-area: nav; */
		display: flex;
		position: absolute;
		width: 100%;
		top: 0;
		right: 0;
		justify-content: flex-end;
		background: var(--dark-blue);
		color: var(--site-white);
		padding-top: 1em;
		padding-bottom: 1em;
		padding-right: 7.5em;
		gap: 1.5em;
		z-index: 9;
		font-family: var(--title-font);
		font-size: 0.8em;
	}

	.header-menu li:nth-child(n+2) {
		margin-left: 1rem;
	}

	.header-menu svg {
		vertical-align: top;
		margin: 0.15em 0.2em 0 0;
		width: 1.1em;
		height: 1.1em;
	}

	.header-phone {
		/* grid-area: phone; */
		position: absolute;
		top: 7em;
		right: 6.5em;
		display: block;
		background: var(--site-red);
		color: var(--site-white);
		padding: 0.8em 1em;
		width: fit-content;
		height: fit-content;
		font-size: 1.2em;
	}

	#menu-header a {
		color: var(--site-white);
		z-index: 100000;
		position: relative;
	}

	#menu-header a:hover {
		color: var(--light-blue);
	}

	#menu-header .header-phone {
		margin-top: 5em;
	}

	#primary-menu .phone {
		display: block;
		/* background: var(--site-red); */
		color: var(--site-white);
		font-size: 1.2em;
		font-family: var(--title-font);
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer .logo-desktop {
	display: none;
}

.footer {
	color: #fff;
	background: linear-gradient(134deg, #151648 0.94%, #22378C 83.68%);
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.footer::before {
	content: '';
	width: 100%;
	aspect-ratio: 360/507;
	background: url(./images/dark-footer-star.svg);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.footer::after {
	content: '';
	width: 100%;
	aspect-ratio: 360/560;
	background: url(./images/footer-star-outline.svg);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.footer a {
	color: #fff;
}

.footer a:hover {
	text-decoration: underline;
	color: #fff;
}

.footer-blocks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	padding-top: 3rem;
	padding-bottom: 2rem;
	font-size: 0.9em;
	overflow: hidden;
}

.footer-title {
	margin-bottom: 1.2em;
	text-align: center;
	color: inherit;
}

.footer-connect {
	/* margin-bottom: 0; */
}

.footer-logo {
	display: block;
	margin: auto;
	text-align: center;
	width: 12rem;
}

.footer-social {
	display: flex;
	justify-content: center;
	flex-direction: column;
	position: relative;
}

.footer-social li {
	padding: 0 0.5rem;
}

.footer-locations {
	width: 100%;
}

.footer-title {
	width: 100%;
	border-bottom: 0.05rem solid var(--site-white);
	padding-bottom: 0.9em;
	position: relative;
}

.footer-title.footer-connect {
	border: unset;
}

.footer-title.footer-connect::before {
	content: '';
	width: calc(100vw - calc(var(--contain-padding) * 2));
	height: 0.05rem;
	background-color: var(--site-white);
	position: absolute;
	bottom: 0;
	left: calc(50% - calc(50vw - var(--contain-padding)));
}

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

.footer-locations-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 1.5rem;
	width: 100%;
}

.footer-loc-title {
	color: inherit;
	display: none;
}

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

.policy-menu {
	display: flex;
	justify-content: center;
	gap: 1em;
	max-width: 11em;
	margin: auto;
}

.footer-menu {
	display: none;
}

.footer .hours {
	min-width: 13em;
}

.footer-fb {
	display: inline-block;
	margin-right: 0.5em;
	width: 1.2em;
}

@media (min-width: 32.5em) {
	.footer-locations-list {
		column-count: 2;
		column-gap: 1.5rem;
	}
}

@media (min-width: 68.5em) {
	.footer .logo-mobile {
		display: none;
	}

	.footer::before {
		display: none;
	}

	.footer::after {
		background-image: url('./images/desktop-footer.svg');
		/* background-size: cover; */
		aspect-ratio: 563/311;
		width: 100%;
		height: 100%;
	}

	.footer .logo-desktop {
		display: block;
		width: 12rem;
		margin-left: -4em;
	}

	.footer-menu {
		display: block;
	}

	.footer-blocks {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 1.5rem;
		padding-bottom: 0;
	}

	.footer-title {
		text-align: left;
		font-size: 0.9em;
	}

	.footer-branding {
		flex: 0 1 auto;
	}

	.footer-locations {
		flex: 0 2 auto;
		width: auto;
	}

	.footer-locations-wrapper {
		justify-content: start;
		width: auto;
	}

	.footer-links {
		flex: 0 0 auto;
		display: flex;
		flex-direction: row;
		gap: 1.5em;
	}

	.footer-title.footer-connect::before {
		display: none;
	}

	.footer::after {
		/* width: 30%; */
		/* top: 0em; */
	}

	.footer::before {
		width: 30%;
		left: 0;
	}

	.footer-loc-content {
		display: flex;
		gap: 1.5em;
	}

	.footer-title.footer-connect {
		border-bottom: 0.05rem solid var(--site-white);
	}
}

/* Copyright section */
.footer-end {
	padding-top: 1.5rem;
	padding-bottom: 5rem;
	text-align: center;
	font-size: 0.8em;
	line-height: 1.5;
	position: relative;
}

.footer-end::before {
	content: '';
	width: calc(100% - calc(var(--contain-padding) * 2));
	height: 0.05em;
	background-color: var(--site-white);
	position: absolute;
	top: 0;
	left: var(--contain-padding);
}

.copyright {
	margin-bottom: 1.2rem;
}

.policy-nav li:nth-child(n+1)::before {
	content: '|';
	position: absolute;
	right: -0.4em;
}

.policy-nav li:last-child::before {
	display: none;
}

.policy-nav ul {
	display: flex;
	justify-content: center;
}

.policy-nav li {
	padding: 0 0.5rem;
	position: relative;
	white-space: nowrap
}

@media (min-width: 68.5em) {
	.footer-end {
		display: grid;
		grid-template-areas:
			'copyright nav';
		justify-items: start;
		padding-top: 1em;
		padding-bottom: 2rem;
		margin-top: 0.5rem;
	}

	.copyright {
		grid-area: copyright;
		margin: 0;
	}

	.policy-nav {
		grid-area: nav;
		justify-self: end;
	}
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.fullwidth-contact,
.gform_footer.top_label p,
.contact-content>p {
	display: none;
}

#contact p:empty {
	display: none;
}

#contact .fullwidth-contact {
	display: block;
	margin: auto;
	margin-bottom: 2em;
	max-width: 25em;
	font-size: 0.9em;
}

#contact .wp-block-columns {
	flex-direction: column-reverse;
	justify-content: center;
	text-align: center;
	margin-bottom: 0;
}

#contact .contact-pic {
	max-width: 47.5em;
	margin: auto;
	width: fit-content;
	position: relative;
}

#contact figure {
	width: fit-content
}

#contact .contact-pic::before {
	content: '';
	width: calc(100% - 3em);
	height: calc(100% - 3em);
	border: 0.1em solid var(--site-white);
	position: absolute;
	top: 1.5em;
	left: 1.5em;
	z-index: 1;
}

#contact .contact-content {
	margin: 0 var(--contain-padding);
	position: relative;
}

.contact-content::before,
.contact-content::after {
	content: '';
	width: calc(50% - 3.5em);
	height: 0.05em;
	background-color: var(--site-red);
	position: absolute;
	top: 1.1em;
	left: 1em;
	z-index: 3;
}

.contact-content::after {
	left: unset;
	right: 1em;
}

#contact strong {
	display: block;
}

#contact form {
	text-align: left;
}

.fullwidth-contact .gform_title {
	font-size: 1.6em;
}

@media (min-width: 68.5em) {
	#contact .wp-block-columns {
		flex-direction: row;
		justify-content: start;
		gap: 5em;
		/* margin-top: 12em; */
	}

	#contact .wp-block-column {
		padding: unset;
		width: fit-content;
	}

	#contact .contact-content {
		max-width: 25em;
		padding-top: 1em;
		margin-left: unset;
		margin-right: unset;
		z-index: 1;
	}

	#contact .stars {
		background-color: transparent;
	}

	.fullwidth-contact .gform_title {
		font-size: 2em;
	}

	.contact-content::before,
	.contact-content::after {
		top: 2.1em;
	}

	#contact .contact-pic {
		margin-left: unset;
		margin-right: unset;
		width: fit-content;
		min-width: 42.5em;
		/* display: none; */
	}
}

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/
.fm-map {
	position: relative;
	width: 100%;
	height: 30rem;
	max-height: calc(90vh - 3.2rem);
	background: #e5e5e5;
}
.loc-address-title {
    font-weight: 700;
    font-size: 1.5em;
    margin-bottom: 0;
}
.loc-addresses, .loc-addresses a {
    margin-bottom: 0;
}
.loc-info .loc-more-info {
    margin-left: 1.9em;
    font-style: italic;
    color: #A2D7E5;
    font-weight: 600;
    font-size: 1.125em;
}

.location svg:nth-of-type(1) { margin-bottom: 1em; }
.location svg:nth-of-type(2) { display: none; }

.location-star {
	text-align: center;
	width: 100%;
	max-width: 20em;
	margin: auto;
	position: relative;
	margin-top: 3em;
	margin-bottom: 1em;
	z-index: 1;
}

.location-star::before,
.location-star::after {
	content: '';
	width: calc(50% - 2.5em);
	height: 0.05em;
	background-color: var(--site-red);
	position: absolute;
	top: 1.1em;
	left: 1em;
	z-index: 3;
	transform-origin: right;
}

.location-star::after {
	left: unset;
	right: 1em;
	transform-origin: left;
}

.location-section {
	position: relative;
	max-width: 25em;
	margin-bottom: 6em;
	/* overflow: hidden; */
	z-index: 1;
}

.location-section::before {
	content: '';
	width: 50em;
	height: 0.05em;
	background-color: var(--site-red);
	position: absolute;
	right: 2.6em;
	bottom: -2em;
}

.location-section .dual-star {
	content: '';
	width: 2.5em;
	aspect-ratio: 1/1;
	/* background: url(./images/dual-star.svg); */
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	bottom: -3.1em;
	right: 1.4em;
	z-index: 0;
}

.location {
	background-color: var(--dark-blue);
	color: var(--site-white);
	padding: 1.5em 0.8em;
	min-height: 28em;
	width: 100%;
	max-width: 27.5em;
}

.location a {
	color: var(--site-white);
}

.loc-info {
	max-width: 15em;
	margin: auto;
}
.loc-info .phone-number {
    font-weight: 700;
}

.texas-star-logo {
    text-align: center;
}

.texas-star {
	display: block;
	text-align: center;
}

.location-section .wp-block-columns {
	flex-wrap: nowrap !important;
	flex-direction: column;
	max-width: 26em;
	margin: auto;
	gap: 0;
}

.loc-pics {
	display: flex;
	flex-wrap: nowrap;
}

.loc-pics .wp-block-image {
	max-width: calc(100% / 3);
	width: fit-content;
}

#post-2090.location,
#post-2632.location {
    width: 100%;
	max-width: 100%;
	padding: 0;
} 
.map-pic{
    position: relative;
}
@media (min-width: 68.5em) {
	.loc-heading {
		margin-bottom: 4rem;
	}

	.location-section {
		max-width: 100%;
		display: flex;
	}

	.location-section .wp-block-columns {
		flex-direction: row;
		max-width: unset;
	}

	.location-section .wp-block-column {
		width: fit-content;
	}

	.loc-content {
		min-width: 22.5em;
	}

	.location-section .loc-pics {
		display: flex;
		flex-direction: column;
		gap: 0.8em;
		padding-top: 0.8em;
		width: 100%;
		max-width: 16em;
		margin-left: -3em;
	}

	.loc-pics .wp-block-image {
		max-width: 100%;
	}

	.map-pic {
		min-width: 28em;
	}
	.menu-sub .map-pic {
		/* display: block; */
		width: fit-content;
		/* max-width: 0em; */
		margin-top: 3em;
	}

	.map-pic figure {
		width: fit-content;
	}

	.loc-info {
		/* margin: unset; */
	}

	.location {
		padding-left: 2.5em;
		/*padding-right: 2.5em;*/
		width: 22rem;
	}
	
	#post-2090.location,
	#post-2632.location {
	    width: 100%;
	    max-width: 100%;
	} 

	.location-section::before {
		width: calc(calc(100% - calc(var(--contain-padding) * 2)) + 2em);
		height: 100%;
		right: unset;
		left: calc(var(--contain-padding) - 3em);
		background: unset;
		border-left: 0.05em solid var(--site-red);
		border-bottom: 0.05em solid var(--site-red);
		bottom: -4em;
		transform-origin: top left;
		z-index: -1;
	}

	.location-section .dual-star {
		right: calc(var(--contain-padding) * 1);
		bottom: -5em;
	}

	.location-section::after {
		content: '';
		width: 0.5em;
		aspect-ratio: 1/1;
		background: var(--site-red);
		position: absolute;
		top: 4em;
		left: calc(var(--contain-padding) - 3.25em);
		transform: rotate(45deg);
	}
}

#page-28 .location .loc-addresses a,
#page-28 .location .loc-more-info,
#page-28 .location .phone.icon-item {
    text-decoration: none;
}
/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@media (min-width: 68.5em) {

	.js-intersect .fadeup,
	.js-intersect.fadeup,
	.wp-block-media-text__media.js-intersect,
	#ctas.js-intersect .wp-block-column,
	.post-123 .entry-title,
	.post-2112 .entry-title,
	.post-85 .entry-title,
	.post-206 .entry-title,
	.main-header .location-star,
	.ov-logo {
		animation-name: fadeup;
		animation-duration: 400ms;
		animation-fill-mode: both;
		animation-delay: 0ms;
		animation-play-state: paused;
	}

	#ctas.js-intersect .cta-2 {
		animation-delay: 400ms;
	}

	#ctas.js-intersect .cta-3 {
		animation-delay: 800ms;
	}

	#ctas.js-intersect .cta-4,
	.ov-logo {
		animation-delay: 1200ms;
	}

	.js-intersect.welcome-first::before,
	.js-intersect.ctas-star::before,
	.js-intersect.ctas-star::after,
	.js-intersect.location-star::before,
	.js-intersect.location-star::after,
	.main-header .location-star::before,
	.main-header .location-star::after {
		animation-name: grow;
		animation-duration: 400ms;
		animation-fill-mode: both;
		animation-delay: 400ms;
		animation-play-state: paused;
	}

	.main-header .stars::before,
	.main-header .stars::after,
	.js-intersect.welcome-first::after {
		animation-name: grow2;
		animation-duration: 400ms;
		animation-fill-mode: both;
		animation-delay: 0ms;
		animation-play-state: paused;
	}

	.js-intersect .ctas-star::before,
	.js-intersect .ctas-star::after {
		animation-delay: 400ms;
	}

	.js-intersect.welcome-bottom.fadeup,
	.js-intersect .stars::before,
	.js-intersect .stars::after,
	.main-header .stars::before,
	.main-header .stars::after {
		animation-delay: 800ms;
	}

	.js-intersect.fadeup.services-head,
	.js-intersect.fadeup.loc-heading {
		animation-delay: 1200ms;
	}

	.js-intersect.fadein,
	.js-intersect .dual-star,
	.js-intersect.location-section::after {
		animation-name: fadein;
		animation-duration: 400ms;
		animation-fill-mode: both;
		animation-delay: 0ms;
		animation-play-state: paused;
	}

	.js-intersect .dual-star {
		animation-delay: 800ms;
	}

	.main .location-section::before {
		animation-name: locgrow;
		animation-duration: 800ms;
		animation-fill-mode: both;
		animation-delay: 0ms;
		animation-play-state: paused;
	}

	.post-123 .entry-title span,
	.post-2112 .entry-title span,
	.post-85 .entry-title span,
	.post-206 .entry-title span {
		animation-name: fadein;
		animation-duration: 400ms;
		animation-fill-mode: both;
		animation-delay: 400ms;
		animation-play-state: paused;
	}

	.main .js-intersected.location-section::before,
	.wp-block-media-text__media.js-intersected,
	.js-intersected.location-section::after,
	.js-intersected .stars::before,
	.js-intersected .stars::after,
	.js-intersected.fadeup,
	.js-intersected .fadeup,
	.js-intersected.ctas-star::before,
	.js-intersected.ctas-star::after,
	.js-intersected.fadein,
	#ctas.js-intersected .wp-block-column,
	.js-intersected.welcome-first::before,
	.js-intersected .dual-star,
	.js-intersected.fadeup.loc-heading,
	.js-intersected.location-star::before,
	.js-intersected.location-star::after,
	.js-intersected.welcome-first::after,
	.post-123 .entry-title,
	.post-2112 .entry-title,
	.post-85 .entry-title,
	.post-206 .entry-title,
	.main-header .location-star,
	.main-header .location-star::before,
	.main-header .location-star::after,
	.main-header .stars::before,
	.main-header .stars::after,
	.post-123 .entry-title span,
	.post-2112 .entry-title span,
	.post-85 .entry-title span,
	.post-206 .entry-title span,
	.ov-logo {
		animation-play-state: running;
	}
}

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

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes grow {
	0% {
		transform: scale(0);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes locgrow {
	0% {
		transform: scaleY(0) scaleX(0.01);
	}

	25% {
		transform: scaleY(1) scaleX(0.01);
	}

	100% {
		transform: scaleX(1)
	}
}

@keyframes grow2 {
	0% {
		transform: scale(0) rotate(45deg);
	}

	100% {
		transform: scale(1) rotate(45deg);
	}
}


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