/**
* Fuel Theme
* Version 6.0.6
**/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# WordPress / Gutenberg
# Content Header
# Content
# Sidebar
# Secondary Pages
## Single Location Pages
## Single Bio Pages
## Overview pages
## Culture & Careers page
### Single Career page
## Meet Our team page
## Request Appointment Page
## Manufacturer Pages
## Blog
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# WordPress / Gutenberg
--------------------------------------------------------------*/

/* WordPress file block */
.wp-block-file {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: var(--block-spacing) auto;
	border-bottom: 1px solid var(--accent-color);
	padding: 0.5em 0;
	font-size: 0.9em;
}

.wp-block-file+.wp-block-file {
	margin: calc(0em - var(--block-spacing)) auto var(--block-spacing);
}

.wp-block-file a {
	padding: 0.5em;
	text-align: center;
}

@media (max-width: 37.5em) {
	.wp-block-file {
		justify-content: center;
	}

	.wp-block-file a:first-child {
		width: 100%;
	}
}

/*--------------------------------------------------------------
# Content Header
--------------------------------------------------------------*/
.main-header {
	background: var(--Building-Your-Team-Gradient, linear-gradient(90deg, #DCA250 0%, #F0845F 100%));
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	min-height: 9em;
	position: relative;
	margin-top: 1rem;
}

.main-header::before {
	content: '';
	width: 23.5%;
	aspect-ratio: 394/178;
	background: url('../images/shape-right.svg');
	background-size: cover;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	animation-name: before;
	animation-duration: 1s;
}

.main-header::after {
	content: '';
	width: 15%;
	aspect-ratio: 261/113;
	background: url('../images/shape-left.svg');
	background-size: cover;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 0;
	animation-name: after;
	animation-duration: 1s;
}

#main-title,
.main-title {
	color: var(--white);
	position: relative;
	z-index: 1;
	margin: auto;
}

body:not(.post-template-default.single-post) header.main-header .wp-block-post-date {
	display: none;
}

.wp-block-post-date {
	color: var(--white);
	z-index: 1;
	width: 100%;
}

.author-block {
	padding-left: var(--contain-padding);
	padding-right: var(--contain-padding);
}

.author-type {
	color: var(--content-color);
}

@media (min-width: 68.5em) {
	.main-header {
		margin-top: 3rem;
	}

	#main-title,
	.main-title {
		margin: 5rem auto !important;
	}

	.main-header::before {
		animation-name: before;
		animation-duration: 1s;
	}

	.main-header::after {
		animation-name: after;
		animation-duration: 1s;
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.entry-wrapper {
	padding-top: 2rem;
	padding-bottom: 2rem;
	gap: 2rem 3rem;
}

.entry-content li::marker {
	color: var(--wp--preset--color--primary);
}

/* @see https://hover.fuel.team/ */
.entry-content p:not([class]) a {}

.entry-content p:not([class]) a:is(:hover, :focus-visible) {
	color: var(--primary-color);
}

@media (max-width: 60em) {
	.wp-block-columns.entry-wrapper {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.entry-wrapper .wp-block-column {
		flex-basis: 100% !important;
	}
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
#sidebar {
	--sidebar-wall-pad: clamp(0.7rem, 3vw, 1.6rem);
}

#sidebar .gform_heading {
	display: none;
}

#sidebar .gfield {
	border: 0.05em solid var(--accent-color);
}

.wp-block-template-part:has(#sidebar),
#sidebar {
	height: 100%;
}

#sidebar ul {
	list-style: none;
	padding-left: var(--sidebar-wall-pad);
	padding-right: var(--sidebar-wall-pad);
}

.category-sidebar {
	margin-bottom: 1.5rem;
}

.category-sidebar li:not(:first-child) {
	margin-top: 0.2rem;
}

#sidebar .gform_wrapper {
	position: sticky;
	top: 4rem;
	margin: 0;
	display: flex;
	flex-direction: column;
}

#sidebar .gform_description {
	font-size: 0.8rem;
}

/* Sidebar Contact Form */
#sidebar .gform_title,
.category-sidebar .wp-block-heading {
	background: var(--primary-color);
	text-align: center;
	color: var(--white);
	margin: 0;
	padding: 0.8rem 1.6rem;
}

#sidebar .full-width-form-content {
	display: none;
}

#sidebar *:is(.gform_description, .gform-body) {
	padding-left: var(--sidebar-wall-pad);
	padding-right: var(--sidebar-wall-pad);
}

/*--------------------------------------------------------------
# Secondary Pages
--------------------------------------------------------------*/
.fm-post-wrapper {
	flex-wrap: wrap;
}

.content-cta {
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	padding: 1.6rem 1rem 2.5rem;
	text-align: center;
}

.content-cta p {
	max-width: 27.25rem;
	margin: 0 auto 1.6rem;
}

.content-cta .phone {
	font-size: clamp(1rem, 4vw, 2rem);
	text-decoration: none;
	background: none;
	text-underline-offset: 0.5rem;
	padding-bottom: 0.3em;
}

.content-cta .phone svg {
	width: clamp(1rem, 4vw, 2rem);
	height: clamp(1rem, 4vw, 2rem);
	margin-right: 0.4rem;
}

.mt-outline .wp-block-media-text__media::after,
.no-after .wp-block-media-text__media::after {
	display: none;
}

#main .colab figure {
	margin-top: unset;
}

.mt-outline.wp-block-media-text {
	position: relative;
	padding: 1rem;
}

.mt-outline.wp-block-media-text::before {
	content: '';
	width: 100%;
	height: 100%;
	border: 0.1rem solid var(--accent-color);
	border-bottom-right-radius: 4em;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.width800 {
	max-width: 40rem !important;
	font-size: 1.2rem;
	margin: auto;
}

.width600 {
	max-width: 31.4rem !important;
	margin: auto;
}

.vid-wrap {
	position: relative;
}

.student-top {
	max-width: 40rem !important;
}

#student_contact {
	background: linear-gradient(90deg, #002B49 0%, #0E4A74 100%);
	max-width: unset;
	width: calc(100% + calc(var(--contain-padding) * 2));
	margin-left: calc(var(--contain-padding) * -1) !important;
	padding: var(--contain-padding);
	padding-top: 3.5rem;
	padding-bottom: 4.5rem;
	position: relative;
}

#student_contact::before {
	content: '';
	height: 100%;
	aspect-ratio: 1165/720;
	background: url('../images/contact-f.svg');
	background-size: cover;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 0;
}

#student_contact h2 {
	margin-bottom: 2.2rem;
	margin-top: auto;
	color: var(--white);
}

#student_contact h2::before {
	background-color: var(--white);
	width: 4rem;
	left: calc(50% - 2rem);
	bottom: -1.1rem;
}

#student_contact .gform_wrapper {
	display: flex;
	flex-direction: column;
	text-align: center;
	margin: auto;
	color: var(--white);
	position: relative;
	/* z-index: 2; */
}

#student_contact .gform_heading {
	margin: auto;
	max-width: 36rem;
}

#student_contact .gform_heading p {
	max-width: 25rem;
	margin: auto;
	margin-bottom: 2rem;
}

#student_contact .gform_body {
	text-align: left;
	max-width: 25rem;
	margin: auto;
}
.hcfh{
	position: relative;
	z-index: 1;
}
.student-main {
	position: relative;
}

.student-main::before,
.vid-wrap::before {
	content: '';
	width: calc(100% + calc(var(--contain-padding) * 2));
	aspect-ratio: 1920/326;
	background: linear-gradient(0deg, #FFF 0%, #E0ECF5 100%);
	position: absolute;
	bottom: 0;
	left: calc(var(--contain-padding) * -1);
	;
	z-index: 0;
}

/*Remove this if a video is added to the Externship page*/
.student-main::before{
	bottom: auto;
	top: 100%;
}

#main .is-type-video {
	max-width: 45rem;
	margin: auto;
}

@media (min-width: 68.5em) {
	.fm-post-wrapper {
		flex-wrap: nowrap;
	}

	#student_contact {
		margin-top: 6rem;
	}

	.student-main {
		margin-bottom: 4rem;
	}

	.mt-outline.wp-block-media-text {
		padding: 3rem 4rem 4rem 5rem;
		margin-bottom: 4.5rem;
	}
}

/* Contact Page */
.page-id-28 #main {
	margin-bottom: 0;
}

.page-id-28 .entry-wrapper {
	position: relative;
}

.page-id-28 .gfield--type-radio {
	border: none;
}

#sidebar #field_2_10 {
	border: none;
}

#sidebar .gform_drop_area {
	padding: unset;
}

@media (min-width: 68.5em) {
	.page-id-28 .entry-wrapper {
		padding-top: 4.7rem;
	}

	.page-id-28 .entry-wrapper .wp-block-column {
		flex-basis: 50% !important;
	}

	.page-id-28 .entry-wrapper::before {
		content: '';
		height: 100%;
		aspect-ratio: 1133 /700;
		background: url('../images/light-f.svg');
		background-size: cover;
		position: absolute;
		top: 0;
		right: 0;
		z-index: -1;
	}
}

/* Careers Cards */
.wp-block-query ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
}

.wp-block-query li {
	border: 0.05rem solid var(--accent-color);
	border-top: 0.4rem solid var(--accent-color);
	width: 18rem;
	max-width: 15rem;
	margin: unset;
	border-bottom-right-radius: 2.5rem;
	padding-bottom: 1.5rem;
}

.wp-block-query .wp-block-button {
	margin-top: 1.5rem !important;
	margin: auto;
}

.wp-block-query .wp-block-group p {
	padding-left: 2rem;
	position: relative;
	margin-top: 0.2rem;
}

.wp-block-query .wp-block-group p:empty {
	display: none;
}

.job .wp-block-group {
	min-height: 6rem;
}

.wp-block-query .wp-block-group p:nth-of-type(1)::before {
	content: '';
	width: 1rem;
	height: 0.8rem;
	background: url('../images/pname.svg');
	background-size: cover;
	display: inline-block;
	margin-right: 0.5rem;
}

.wp-block-query .wp-block-group p:nth-of-type(2)::before {
	content: '';
	width: 0.9rem;
	height: 0.9rem;
	background: url('../images/job-marker.svg');
	background-size: cover;
	display: inline-block;
	margin-right: 0.5rem;
}

.wp-block-query .wp-block-group p:nth-of-type(3)::before {
	content: '';
	width: 0.9rem;
	height: 0.9rem;
	background-image: url('../images/dollar.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: inline-block;
	margin-right: 0.5rem;
}

.wp-block-query .wp-block-post-title{
	font-size: 1.5rem;
	padding: 0.8rem 1rem;
	padding-bottom: 0;
	padding-top: 0.8rem;
	padding-left: 1rem;
}
.career-card-header{
	background: rgba(245, 149, 81, 0.2);
}

.wp-block-query .wp-block-post-title::before {
	display: none;
}

.wp-block-query .wp-block-post-date {
	font-size: 0.8rem;
	padding-left: 1rem;
	padding-bottom: 0.5rem;
	margin-top: 0;
}

.career-card-button{
	position: absolute;
	width: 100%;
	bottom: 1em;
}
.wp-block-query .job,
.wp-block-query .extern{
	position: relative;
	padding-bottom: 4.5rem;
}

.instant-search .instant-search-filters {
	justify-content: center;
}

/*--------------------------------------------------------------
## Single Location pages
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Single Bio pages
--------------------------------------------------------------*/
.single-bio .entry-wrapper {
	--contain-padding: clamp(var(--mobile-padding), calc(50vw - 36rem), var(--desktop-padding));
}

@media (max-width: 83.75em) {
	.single-bio .entry-wrapper.wp-block-columns {
		flex-wrap: wrap !important;
		justify-content: center;
	}

	.entry-wrapper .wp-block-column:nth-child(3) {
		flex-basis: 50% !important;
	}
}

#bio-details {
	position: sticky;
	top: 4rem;
	max-width: 10rem;
	margin: 0 auto;
	text-align: center;
}

#bio-details .name {
	color: vaR(--primary-color);
}


/*--------------------------------------------------------------
## Culture & Careers page
--------------------------------------------------------------*/
.careers-list {
	justify-content: flex-start;
	flex-wrap: wrap;
}

#main .career-box {
	border: 1px solid var(--primary-color);
	padding: 0;
	flex: 0 1 32%;
	min-width: 15rem;
	text-decoration: none;
	background: none;
}

#main a.career-box:is(:hover, :focus-visible) {
	background: none;
}

.career-box .career-header {
	display: block;
	background: var(--primary-color);
	margin: 0;
	padding: 0.8rem 1.2rem;
}

.career-box .career-header>* {
	color: var(--white);
	margin: 0;
}

.career-box p {
	margin-left: 1.6rem;
	margin-right: 1.6rem;
}

.career-box svg,
.job-details svg {
	width: 0.9rem;
	height: 0.9rem;
}

.career-box .button {
	display: block;
	width: fit-content;
	margin: auto;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.career-box:is(:hover, :focus-visible) .button {
	background-color: var(--white);
	color: var(--wp--preset--color--accent);
}

/*--------------------------------------------------------------
### Single Career page
--------------------------------------------------------------*/
.job-details {
	/*width: fit-content;*/
	border: 1px solid var(--accent-color);
	border-top: 0.4rem solid var(--accent-color);
	border-bottom-right-radius: 2rem;
	padding-bottom: 1rem;
}

.job-details div {
    padding: 0.2rem 0.9rem;
}

.job-details .job-title {
    background: rgba(245, 149, 81, 0.2);
    padding: 0.6rem 0.9rem;
    margin-bottom: 1rem;
}

.job-title h2 {
    font-size: 1.5rem;
    margin: 0;
}

.job-title h2::before {
    display: none;
}

.job-title span {
    font-size: 0.8rem;
}

.job-details strong {
	padding-right: 0.5rem;
}

/*--------------------------------------------------------------
## Meet Our team page
--------------------------------------------------------------*/
.full-content-teams-list .wp-block-columns:not(:last-child) {
	margin-bottom: 4rem
}

.full-content-teams-list .wp-block-columns:nth-child(even) {
	flex-direction: row-reverse;
}

.full-content-teams-list img {
	border-bottom: 0.4rem solid var(--primary-color);
	width: 100%;
	max-width: 15rem;
	height: auto;
}

.full-content-teams-list h2 {
	font-size: clamp(1.2rem, 4vw, 2rem);
	margin-top: 0;
}

.full-content-teams-list .credentials {
	color: var(--primary-color);
	font-size: clamp(1rem, 4vw, 1.5rem);
}

.full-content-teams-list .wp-block-columns {
	gap: 1rem 3rem;
}

/*--------------------------------------------------------------
## Request Appointment Page
--------------------------------------------------------------*/
.phone-cta {
	display: block;
	font-size: clamp(1rem, 4vw, 2rem);
	text-align: center;
}

.phone-cta svg {
	width: clamp(1rem, 4vw, 2rem);
	height: clamp(1rem, 4vw, 2rem);
	margin-right: 0.4rem;
}

/*--------------------------------------------------------------
## Manufacturer Pages
--------------------------------------------------------------*/
.hide {
	display: none !important;
}

.manufacturer .wp-block-media-text {
	grid-template-columns: 32% 1fr;
}

.manufacturer .wp-block-media-text.has-media-on-the-right {
	grid-template-columns: 1fr 32%;
}

.manufacturer .wp-block-media-text__media::after {
	display: none;
}

.manufacturer .manu-logo figure img {
	width: auto;
	height: auto;
	max-width: 100%;
}

@media (max-width: 37.5em) {
	.manufacturer .manu-logo figure {
		text-align: center;
	}

	#main .wp-block-media-text__content {
		padding: 0;
	}
}

/*--------------------------------------------------------------
## Search Pages
--------------------------------------------------------------*/
.search-results .wp-block-post-title {
	margin: 0;
}

.search-results .wp-block-post-title a {
	text-decoration: none;
}

.search-results .wp-block-post {
	margin-bottom: 4rem;
}

/*--------------------------------------------------------------
## Blog
--------------------------------------------------------------*/
.wp-block-query li:first-of-type .wp-block-post-title {
	margin-top: 0;
}

/* FM LOGIN */
.gf_login_form {
	margin: auto;
	max-width: 24rem;
}

.gf_login_form input[type=text],
.gf_login_form input[type=password] {
	padding: 0 0.5em;
	width: 100%;
	color: inherit;
}

.gf_login_form .gfield_checkbox {
	margin: 0;
	list-style: none;
}

.gf_login_form .gfield-choice-input {
	margin: 0.4rem 0.2rem 0 0;
}

.gf_login_form .gchoice {
	margin-bottom: 0;
}

.gchoice label {
	font-size: 0.9em;
}