/*
Theme Name: Fuel6
Theme URI: https://fuelmedical.com
Author: Fuel Medical
Description: A blank canvas for the Fuel Medical web dev team (2023)
Requires at least: 5.3
Tested up to: 5.5
Requires PHP: 5.6
Version: 6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fuel6
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Fonts - THIS IS NOW SET IN theme.json
# Custom Properties
# Normalize
# Fuel Normalize
# WordPress Blocks
# Forms
## Search Form
# Header
# Footer
# Map
# Animations
# print
--------------------------------------------------------------*/



/*--------------------------------------------------------------
# Fonts - THIS IS NOW SET IN theme.json
--------------------------------------------------------------*/


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

	/* Design */
	--primary-color: var(--wp--preset--color--primary, #222);
	--accent-color: var(--wp--preset--color--accent, #555);

	/* Text */
	--title-font: var(--wp--preset--font-family--lora);
	--title-color: var(--primary-color);

	--content-font: var(--wp--preset--font-family--mulish), sans-serif;
	--content-color: #4a4a4a;
}


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

h1 {
	font-size: clamp(1.4rem, 4vw, 2.4rem);
}
h2 {
	font-size: clamp(1.3rem, 4vw, 2rem);
}
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);
}

.entry-content p {
	margin: 0 0 1.2em;
}

ul, ol {
	padding-left: 1em;
}
li {
	margin: 1em 0 0 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);
}
a:focus-visible, button:focus-visible, summary:focus-visible, .gfield:focus-within {
	outline: 2px auto -webkit-focus-ring-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;
}

/*--------------------------------------------------------------
# Custom Elements
--------------------------------------------------------------*/
.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(--accent-color);
	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;
}

/*--------------------------------------------------------------
# WordPress Blocks
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin: .5em 1em 1em 0;
  }  
.alignright {
	float: right;
	margin: .5em 0 1em 1em;
}
.wp-block-cover__inner-container {
	position: relative;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.gfield {
	margin: 0 0 0.7rem;
	border: 1px solid #999;
	border-radius: 0.3rem;
	padding: 0.3rem;
	overflow: hidden!important;
	background: #fff;
}

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

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

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
	position: relative;
	z-index: 9999;
}

@media (max-width: 68.49em) {
	.header-logo {
		text-align: center;
	}
	.header-right {
		display: none;
	}
}

.header-menu {
    text-align: right;
}

#phone-tree {
    position: relative;
    z-index: 999;
}
#phone-tree summary {
    padding: 0.3rem 0.5rem;
    border: 1px solid;
    width: fit-content;
    margin: 0 0 0 auto;
    cursor: pointer;
}
#phone-tree[open] summary {
    border-bottom-color: transparent;
}
#phone-tree .custom-toggle-content{
    width: fit-content;
    margin: 0 0 0 auto;
    border: 1px solid;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    background: #fff;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
	margin-bottom: 2rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
	color: #fff;
	background: var(--primary-color);
	padding-top: clamp(1.2rem, 2vw, 2.8rem);
	margin: 0;
}
.footer a,
.footer h3 {
	color: #fff;
}

.copyright-wrapper {
	font-size: 0.8rem;
	padding-top: 1.2rem;
	padding-bottom: 5rem;
	background: rgba(0,0,0,0.1);
	text-align: center;
}

.policy-menu {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.policy-menu .menu-item {
    position: relative;
}
.policy-menu .menu-item:nth-child(n+1)::before {
    content: '|';
	position: absolute;
	right: -0.6rem;
}
.policy-menu .menu-item:last-child::before {
    display: none;
}


@media only screen and (min-width: 68.5em) {
	.copyright-wrapper {
		text-align: left;
		padding-bottom: 1.2rem;
	}
	.policy-menu {
		justify-content: end;
	}
}

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

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

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