/*
Theme Name: TCF
Description: A custom child theme created by <a href="http://www.estlanddesign.com">Estland Design</a> in Harrisonburg.
Version: 1.0
Author: Estland
Author URI: https://estland.us
Template: enfold
*/

/**********************************************************
=TOC (Table Of Contents)
/**********************************************************

TOC (Table Of Contents)
Reference
Imports/Includes
Debug
Fonts
Spacing fixes
Forms
Buttons
Header
Menu (Desktop)
Menu (Mobile)
Footer
Components:
- Testimonials
- Tabs
- Cards
- Stats
- Branches
- Overlap rows
- Accreditations
- Icons
- Icon lists
- Images
- Accordion
- Half row
- Hero
- Backgrounds
- Datum
- Tiles
- Lines
- Borders
- Blogroll
- Scholarship Directory
- Popups
- Video column
- Scroll to top
- Top bar
Global Styles
ADA Styles
Special Pages

/**********************************************************
=Reference
/**********************************************************

/* Media breakpoints / screen sizes /*
Phone:     ~499px
Smartphone: 500px~
Tablet:     768px~
Desktop:    990px~
Widescreen: 1200px~

/**********************************************************
=Imports/Includes (Must Be First In Stylesheet To Work)
**********************************************************/

/* Colors & Variables */
@import url('styles/variables.css');

/* Resets */
@import url('styles/resets.css');

/**********************************************************
=Font imports/includes (imports must be first)
**********************************************************/

/* Adobe fonts */
@import url('https://use.typekit.net/qkz0swh.css');

/* Example font face from a local file /*
@font-face {
	font-family: 'ExampleFont';
	font-display: swap;
	font-weight: bold;
	font-style: normal;
	src:
		url('/wp-content/themes/enfold-child-estland/fonts/ExampleFont-Bold.ttf') format('truetype'),
		url('/wp-content/themes/enfold-child-estland/fonts/ExampleFont-Bold.woff') format('woff'),
		url('/wp-content/themes/enfold-child-estland/fonts/ExampleFont-Bold.woff2') format('woff2'),
		url('/wp-content/themes/enfold-child-estland/fonts/ExampleFont-Bold.otf') format('opentype');
}

/**********************************************************
=Debug
/*********************************************************/

/* Debug box shadow: change min width or comment out to disable */
/* @media( min-width:1px ) {
	#top { box-shadow: inset 0 0 1rem 0 pink; background-clip: content-box; }
	#top * > * { box-shadow: inset 0 0 1rem 0 red; }
	#top * > * > * { box-shadow: inset 0 0 1rem 0 orange; }
	#top * > * > * > * { box-shadow: inset 0 0 1rem 0 yellow; }
	#top * > * > * > * > * { box-shadow: inset 0 0 1rem 0 green; }
	#top * > * > * > * > * > * { box-shadow: inset 0 0 1rem 0 blue; }
	#top * > * > * > * > * > * > * { box-shadow: inset 0 0 1rem 0 indigo; }
	#top * > * > * > * > * > * > * > * { box-shadow: inset 0 0 1rem 0 violet; }
} */

/* Find text pasted incorrectly */
/*#top#top#top span[lang],
#top#top#top span.NormalTextRun,
#top#top#top p > span:not(.toggle_icon) {
	border: 1px solid red;
}*/

/**********************************************************
=Fonts
/*********************************************************/

/* Headings */
#top h1, #top .est-h1,
#top h2, #top .est-h2,
#top h3, #top .est-h3,
#top h4, #top .est-h4,
#top h5, #top .est-h5 {
	color: var(--brown);
	font-family: var(--family--attention);
	font-weight: var(--weight--medium);
	line-height: 1.2;
}
#top h1,
#top .est-h1 {
	font-family: var(--family--alternate);
	line-height: 1;
	text-transform: uppercase;
}
#top h5,
#top .est-h5 {
	color: var(--green);
	font-family: var(--family--normal);
	font-size: var(--size--h5);
	line-height: 1;
	text-transform: uppercase;
}

/* Bold strings within headings */
#top :is(h1,h2,h3,h4,h5) strong {
	color: var(--black);
}
#top .est-text--on-dark :is(h1,h2,h3,h4,h5) strong {
	color: var(--white);
}

/* Alternate H4 */
#top h3:has(+ h1),
#top h3:has(+ h2),
#top .est-h4 h2,
#top .est-h4 h3,
#top h1 strong,
#top h2 strong,
#top .est-testimonials .est-slider__title,
#top .widgettitle {
	background: var(--green--lighter);
	color: var(--white);
	display: inline-block;
	font-family: var(--family--alternate);
	font-size: var(--size--h4);
	font-weight: var(--weight--bold);
	letter-spacing: 0.6px;
	line-height: 1;
	margin-bottom: var(--padding--small);
	padding: var(--padding--smaller) var(--padding--small);
	text-transform: uppercase;
}
#top h1 strong {
	vertical-align: top;
}
#top h3:has(+ h1),
#top h3:has(+ h2) {
	margin-bottom: calc( ( -1 * var(--padding--small) ) + var(--padding--smaller) ); /* use calculation b/c JS replaces H3 with P */
}
#top h5 + h4,
#top .est-h5 + .est-h4 {
	margin-top: 0;
}

/* Basic text */
p {
	color: var(--brown);
}

/* Big text for callouts */
.est-text--attention p:not(.est-text--normal),
p.est-text--attention:not(.est-text--normal) {
	font-family: var(--family--attention);
	font-size: var(--size--h3);
	font-weight: var(--weight--regular);
	line-height: 1.2;
}

/* Lists */
.avia_textblock li {
	color: var(--brown);
}
/* List items with bold text */
#main .avia_textblock li strong { /* keep under #main so doesn't affect navigation */
	color: var(--black);
}
#main .est-text--on-dark .avia_textblock li strong { /* keep under #main so doesn't affect navigation */
	color: var(--white);
}

/* Links */
#main a {
	color: var(--green--light);
	font-weight: var(--weight--bold);
}
#main a:where(:hover,:focus-visible) {
	color: var(--green--lighter);
}
/* Links in headers */
:is(h1,h2,h3,h4,h5,h6) a {
	color: inherit;
	font-weight: inherit;
}
:is(h1,h2,h3,h4,h5,h6) a:where(:hover,:focus-visible) {
	color: var(--green);
}

/* Fixes for color */
#top .est-text--on-dark h3 {
	color: var(--white);
}

/**********************************************************
=Spacing fixes
/*********************************************************/

/* Tile rows */
#top#top .flex_column_table:has(.est-card) + .flex_column_table:has(.est-card) {
	margin-top: var(--padding--normal);
}

/* Text to left of image */
@media( min-width:768px ) {
	#top .av-equal-height-column-flextable:has( .av_one_half:last-child .avia-image-container) .av_one_half.est-border--left:not(.est-card):has(.av_textblock_section):first-child {
		--border__shrink: calc( var(--padding--large) + var(--padding--large) );
		--line__shrink: var(--padding--large);
	}
}

/* Forcing stats columns to have more space before */
@media( max-width:767px ) {
	#top#top#top .flex_column:not(:has(.est-stat)) + .flex_column:last-child:has(.est-stat) {
		margin-top: var(--row-top-padding);
	}
}

/* Tiles following a title row */
@media( min-width:768px ) {
	#top#top#top .flex_column:not(:has(.est-card)) + .flex_column_table:has(.est-card) {
		margin-top: 0;
	}
}

/* Three tiles together in equal height row by self */
@media( max-width:767px ) {
	#top#top#top#top#top .est-card + .av-flex-placeholder + .est-card {
		margin-top: var(--padding--normal);
	}
}

/* Accordions */
@media( max-width:767px ) {
	#top#top#top .flex_column:has(.togglecontainer) + .av-flex-placeholder + .flex_column:has(.togglecontainer) {
		margin-top: var(--padding--small);
	}
}

/**********************************************************
=Forms
/*********************************************************/

/* Make textarea radius smaller */
#top textarea {
	--input__radius: var(--radius--normal);
}

/* Fix weird issue with options */
#top#top option {
	background: var(--white);
}

/**********************************************************
=Buttons
/*********************************************************/

#top#top .avia-button, /* standard button */
#top#top .gform_button, /* form button */
#top#top .gform-button, /* form button */
#top#top .more-link, /* read more link in blogroll */
#top#top a.est-button, /* manually-applied class on link */
#top#top .est-button a { /* manually-applied class on other element */
	text-transform: uppercase;
}

/* Form buttons only */
#top#top .gform_wrapper button,
#top#top .gform_wrapper [type="submit"],
#top#top .gform_wrapper .avia-button {
	margin-inline: auto; /* make centered in forms */
}

/* Arrow buttons */
#top .est-button--arrow {
	--button__arrow: 2.5rem;
	--button__margin: 0.5rem;
	--padding--input: var(--padding--smaller);
}
#top .est-text--on-dark.est-button--arrow {
	--button__background: transparent;
	--button__background--hover: transparent;
	--button__border: var(--green--light);
	--button__border--hover: var(--white);
	--button__color: var(--green--light);
	--button__color--hover: var(--white);
}
.est-button--arrow .avia-button,
.est-button--arrow .glide__arrow {
	transition: margin 0.2s ease-in-out;
}
#top#top#top .est-button--arrow .avia-button,
.est-button--arrow .glide__arrow { /* override resets */
	margin-right: var(--button__margin); /* give artificial margin so we make sure no elements move when button widens */
}
.est-button--arrow .avia-button:where(:hover,:focus-visible),
.est-button--arrow .glide__arrow:where(:hover,:focus-visible) {
	--button__arrow: 3rem;
	--button__margin: 0;
}
#top#top#top .est-button--arrow .more-link {
	font-size: 0;
}
.est-button--arrow .avia_iconbox_title,
#top#top .est-button--arrow .glide__arrow::after,
#top .est-button--arrow .more-link::after {
	background: currentcolor;
	content: "" !important;
	height: var(--size--input);
	mask-image:
		url("/wp-content/themes/enfold-child-estland/images/est-icon--arrow-head.svg"),
		url("/wp-content/themes/enfold-child-estland/images/est-icon--arrow-line.svg");
	mask-position:
		right center,
		center;
	mask-repeat: no-repeat;
	mask-size:
		auto 100%,
		100%;
	display: block !important;
	overflow: hidden;
	transition: width 0.2s ease-in-out;
	white-space: nowrap;
	width: var(--button__arrow);
}
/* Fix sliders with arrow buttons */
.est-button--arrow {
	--pagination__background: transparent;
	--pagination__border: var(--brown);
	--pagination__color: var(--brown);
	--pagination__background--hover: var(--brown);
	--pagination__border--hover: var(--brown);
	--pagination__color--hover: var(--white);
	--pagination__padding: var(--padding--input);
}
#top#top .est-button--arrow .glide__arrow::after {
	background: var(--pagination__color);
}
#top#top .est-button--arrow .glide__arrow:where(:hover,:focus-visible)::after {
	background: var(--pagination__color--hover);
}
/* Hide circled arrows from arrow buttons */
#top .est-button--arrow .avia-button::after {
	display: none;
}

/* Alternate style buttons */
#top .est-button--alternate {
	--button__background: transparent;
	--button__background--hover: transparent;
	--button__color: var(--green--light);
	--button__color--hover: var(--green);
	--button__border: transparent;
	--button__border--hover: transparent;
	--button__radius: 0;
}
#top#top .est-button--alternate .avia-button,
#top #footer .est-button--alternate a,
#top#top [type="submit"] {
	font-family: var(--family--alternate);
	font-size: var(--size--h4);
	font-weight: var(--weight--bold);
	padding-inline: 0;
	text-transform: uppercase;
}
#top .est-button--alternate .avia_iconbox_title {
	transform: translateX( 0 );
	transition: transform 0.2s ease-in-out;
}
#top .est-button--alternate .avia-button:where(:hover,:focus-visible) .avia_iconbox_title {
	text-decoration: underline;
	transform: translateX( var(--padding--smaller) );
}
#top .est-button--alternate .avia-button::after,
#footer .est-button--alternate a::after {
	background: currentcolor;
	content: "";
	height: 1em;
	margin-left: var(--padding--smaller);
	mask-image: url("./images/est-icon--triangle.svg");
	mask-position: right center;
	mask-repeat: no-repeat;
	mask-size: contain;
	transform: translateX( 0 );
	transition: transform 0.2s ease-in-out;
	width: 0.5em;
}
#top .est-button--alternate .avia-button:where(:hover,:focus-visible)::after,
#footer .est-button--alternate a:where(:hover,:focus-visible)::after {
	transform: translateX( var(--padding--small) );
}

/* Forms automatically get alternate button */
#top#top [type="submit"] {
	--padding--input: 0;
	--button__background: transparent;
	--button__background--hover: transparent;
	--button__border: transparent;
	--button__border--hover: transparent;
	--button__color: var(--brown);
	--button__color--hover: var(--brown);
	--button__radius: 0;
	background-image: url("./images/est-icon--triangle.svg");
	background-position: right var(--padding--smaller) center;
	background-repeat: no-repeat;
	background-size: auto 0.6em;
	height: auto;
	line-height: 1;
	padding: 0;
	padding-right: calc( 0.8em + ( var(--padding--smaller) * 2 ) );
}
#top#top .est-text--on-dark [type="submit"] {
	--button__color: var(--white);
	--button__color--hover: var(--white);
}
#top#top [type="submit"]:where(:hover,:focus-visible) {
	background-position: right center;
	text-decoration: underline;
	transform: translateX( var(--padding--smaller) );
}

/**********************************************************
=Header
/*********************************************************/

#top #header {
	background: var(--white);
}
@media( min-width:768px ) {
	#top #header {
		background: var(--beige);
	}
}

/* Header resets */
#top #header_main * {
	align-items: center;
	border: none;
	flex: none;
	font-size: inherit;
	height: auto;
	line-height: 1;
	min-height: 0;
	min-width: 0;
	padding: 0;
	vertical-align: middle;
	width: auto;
}

/* Header structure */
#top#top #header_main .container,
#top#top #header_meta .container {
	padding-right: 0;
	width: auto;
}
#top#top #header_main .inner-container {
	display: flex;
	gap: var(--padding--normal);
	height: var(--header__height);
}

/* Header logo */
#header .logo {
	margin-right: auto;
	overflow: visible;
	z-index: 101;
}
#top #header .logo,
#top #header .logo * {
	aspect-ratio: calc( 100% / var(--logo__ratio) );
	display: inline-block;
	height: 100%;
	width: auto;
	vertical-align: top;
}
#top #header .logo {
	align-self: flex-end;
	height: calc( 100% + ( var(--header--secondary__height) / 2 ) ); /* override Enfold */
}
#header .logo a {
	transform: scale(1);
	transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
#header .logo a:where(:hover,:focus-visible) {
	opacity: 0.75;
	transform: scale(1.05);
}

/**********************************************************
=Menu (Desktop)
/*********************************************************/

/* Hide default menu links since using hamburger */
#top #avia-menu > .est-menu__primary,
#top #avia-menu > .est-menu__tertiary {
	display: none;
}

/* All menu links */
#top #avia-menu * {
	box-shadow: none;
}
#top #avia-menu a {
	display: inline-flex;
	font-family: var(--family--alternate);
	font-size: var(--header-link__size);
	font-weight: var(--weight--bold);
	padding-bottom: var(--header-link__padding--bottom);
	padding-top: var(--header-link__padding--top);
	padding-inline: var(--padding--small);
	position: relative;
	text-transform: uppercase;
}
#top#top #avia-menu a {
	color: var(--green--light); /* override Enfold */
}
/*@media( min-width:768px ) {
	#top#top#top .est-menu__quick a {
		--header-link__size: var(--size--p);
		background: var(--green);
		color: var(--white);
		font-family: var(--family--normal);
		text-transform: none;
	}
}*/

/* Meta menu (quick links at top) */
@media( max-width:767px ) {
	:root {
		--header--secondary__height: 0px;
	}
	#top #header_meta {
		display: none;
	}
}
#top #header_meta {
	height: var(--header--secondary__height);
	min-height: 0;
	pointer-events: none;
	z-index: 2;
}
#top #header_meta .container {
	display: flex;
	height: var(--header--secondary__height);
	justify-content: flex-end;
	min-height: 0;
}
#top #header_meta .sub_menu,
#top #header_meta .menu {
	float: none;
	margin: 0;
	padding: 0;
	pointer-events: initial;
	position: static;
}
/* Meta menu links (contact info at top) */
#top #header_meta .menu-item {
	padding: 0;
	position: relative;
}
#top #header_meta .menu-item + .menu-item::before {
	background: var(--green--light);
	bottom: var(--header--secondary__padding);
	content: "";
	display: block;
	height: auto;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: var(--header--secondary__padding);
	transform: translateX( -50% );
	width: 2px;
}
#top #header_meta a {
	background: var(--green);
	color: var(--white);
	display: inline-block;
	font-family: var(--family--normal);
	font-size: var(--header--secondary__size);
	font-weight: var(--weight--medium);
	height: var(--header--secondary__height);
	line-height: var(--size--input);
	margin: 0;
	padding: var(--header--secondary__padding) var(--padding--small);
}
/*#top #header_meta a[href^="tel:"] {
	font-size: 0.9em;
}*/
#top #header_meta a:where(:hover,:focus-visible) {
	background: var(--green--light);
}
/*#top#top #header_meta a:where(:hover,:focus-visible) {
	background-size: calc( 100% - 2 * ( var(--header--secondary__padding) ) ) 2px;
}
#top #header_meta li:last-child {
	margin-right: calc( -1 * var(--padding--smaller) );
}*/
/*#top #header a[href^="tel:"]::before {
	content: "î¡”";
	display: inline-block;
	font-family: var(--family--icon);
	margin-right: 0.25rem;
	transform: scaleX(-100%);
}*/

/* Main level menu links */
#top #avia-menu {
	--arrow__direction: 90deg;
}
#top#top #avia-menu > li:where(:hover,:focus-visible) > a {
	background: var(--beige--dark);
}
#top #avia-menu li.menu-item-has-children > a span {
	margin-right: auto;
}
@media( min-width:990px ) {
	#top #avia-menu > .menu-item-has-children > a::after {
		background: var(--brown--light);
		content: "";
		display: inline-block;
		height: 0.6em;
		margin-left: 0.5ch;
		mask-image: url("images/est-icon--caret.svg");
		mask-position: center;
		mask-repeat: no-repeat;
		mask-size: contain;
		transform: rotate( var(--arrow__direction) );
		transition: background 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.2s ease-in-out;
		width: 0.6em;
	}
	#top #avia-menu > .menu-item-has-children:where(:hover,:focus-visible) > a::after {
		background: currentcolor;
	}
}
/* Make last top level link touch edge */
li.menu-item-top-level:has(+ .av-burger-menu-main) {
	margin-right: calc( -1 * var(--padding--small) );
}

/* Submenus */
#top #avia-menu .sub-menu {
	/*background: var(--green);
	border-radius: var(--radius--small);
	box-shadow: var(--box-shadow);*/
}
#top #avia-menu .sub-menu .sub-menu {
	/*border-radius: 0 var(--radius--small) var(--radius--small) var(--radius--small);*/
	/*left: 100%;*/
}
#top #avia-menu .sub-menu .sub-menu .sub-menu {
	/*display: block !important;*/ /* override inline */
	/*opacity: 1 !important;*/ /* override inline */
	/*overflow: hidden;*/
	/*position: static;*/
	/*visibility: visible !important;*/ /* override inline */
}
#top #avia-menu .menu-item-has-children > .sub-menu {
	align-items: flex-start;
	background: var(--green);
	border-radius: var(--radius--small);
	box-shadow: var(--box-shadow);
	flex-direction: column;
	justify-content: stretch;
	overflow: hidden;
	margin-top: 0;
	padding: 0;
}
#top #avia-menu .sub-menu li {
	border: none;
	width: 100%;
}
/* Fix border radius since we can't use overflow:hidden on submenu container */
/*#top #avia-menu .sub-menu .sub-menu li:first-child,
#top #avia-menu .sub-menu .sub-menu li:first-child > a {
	border-top-right-radius: var(--radius--small);
}
#top #avia-menu .sub-menu .sub-menu .sub-menu a {
	border-radius: 0;
}
#top #avia-menu .sub-menu li:last-child,
#top #avia-menu .sub-menu li:last-child > a {
	border-bottom-left-radius: var(--radius--small);
	border-bottom-right-radius: var(--radius--small);
}*/
#top#top #avia-menu .sub-menu li + li {
	border: none;
	width: 100%;
}
#top#top #avia-menu .sub-menu a {
	border: none;
	color: var(--white);
	font-family: var(--family--normal);
	font-size: var(--size--p);
	font-weight: var(--weight--medium);
	padding: var(--padding--small);
	text-transform: none;
	transition: all 0.2s ease-in-out;
	white-space: nowrap;
	width: 100%;
}
#top#top #avia-menu .sub-menu a:where(:hover,:focus-visible) {
	background: var(--green--lighter);
}
/*#top#top #avia-menu .sub-menu .sub-menu .sub-menu a {
	align-items: center;
	border: none;
	color: var(--navy);
	display: flex !important;
	font-size: var(--size--s);
	gap: var(--padding--smaller);
	padding: var(--padding--small);
	position: relative;
	text-transform: none;
	transition: all 0.2s ease-in-out;
	white-space: nowrap;
	width: 100%;
}
#top#top #avia-menu .sub-menu .sub-menu .sub-menu a::before {
	background: var(--blue);
	content: "";
	height: 2px;
	width: 0.5rem;
}
#top #avia-menu > .menu-item-has-children > .sub-menu > .menu-item-has-children > a .avia-menu-text::after {
	background: currentcolor;
	content: "";
	display: inline-block;
	height: 0.75em;
	margin-left: 1ch;
	mask-image: url("images/est-icon--caret.svg");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	transform: rotate( 0deg );
	width: 0.75em;
}
#top#top #avia-menu > li > .sub-menu > li:where(:hover,:focus-visible,:focus-within) > a,
#top#top#top #avia-menu .sub-menu a:where(:hover,:focus-visible) {
	background: var(--grey--light);
	color: var(--green);
}*/
/* Green border */
/*#top #avia-menu .sub-menu a:where(:hover,:focus-visible)::after {
	background: var(--green--bright);
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	top: 0;
	width: 6px;
}
#top #avia-menu .sub-menu li:last-child > a:where(:hover,:focus-visible)::after {
	border-bottom-left-radius: var(--radius--small);
}
#top #avia-menu .sub-menu .sub-menu .sub-menu li:last-child a:where(:hover,:focus-visible)::after {
	border-radius: 0;
}
#top #avia-menu > li > a > .avia-menu-text {
	position: relative;
}
#top #avia-menu > li > a::before {
	background: var(--green--bright);
	content: "";
	height: 6px;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: calc( 100% - 6px );
	transition: opacity 0.2s ease-in-out;
}
#top #avia-menu > li:where(:hover,:focus-visible,:focus-within) > a::before {
	opacity: 1;
}*/

/* Desktop quick links */
#top #avia-menu .est-menu__quick {
	display: none;
}

/**********************************************************
=Menu (Mobile)
/*********************************************************/

/* Fixes to make hamburger menu scroll on mobile */
@media( max-width:767px ) {
	/* Make admin bar fixed on mobile b/c hamburger button is fixed */
	#top#top#top #wpadminbar { /* overcome layout.css */
		/*position: fixed;*/
	}
	/* Specify header wrapper height on mobile so we can make logo fixed */
	#top#top#top #header { /* override layout.css */
		/*height: var(--header__height);*/
	}
	/* Animation to give logo time to fade in */
	@keyframes fadeIn {
		/*from { opacity: 0; }*/
		/*to { opacity: 1; }*/
	}
	/* Make logo fixed only when menu is open */
	.av-burger-overlay-active-delayed .av-logo-container {
		/*position: fixed;*/
	}
	.av-burger-overlay-active-delayed .logo {
	}
}

/* Hamburger button wrapper */
#top#top#top .main_menu,
#top#top .av-main-nav-wrap,
#top#top #avia-menu,
#top#top .av-burger-menu-main {
	height: 100%;
}
#top#top .av-burger-menu-main {
	--hamburger__padding: 2rem;
	aspect-ratio: 1 / 1;
	background: transparent;
	background: var(--brown--light);
	display: block !important;
	/*height: calc( var(--header__height) - 0.5px );*/ /* fix overlap bug */
	transition: background 0.2s ease-in-out;
	width: calc( var(--hamburger__padding) + var(--padding--normal) + var(--hamburger__padding) );
	width: auto;
}
#top#top .av-burger-menu-main > a {
	background: transparent;
}
#top#top#top .av-burger-menu-main > a:where(:hover,:focus-visible) {
	background: var(--green);
}
#top#top .av-burger-menu-main > a::before {
	display: none;
}
/* Hamburger button inner container */
#top#top#top#top .av-hamburger-box {
	flex-direction: column;
	justify-content: center;
	padding: var(--padding--small) var(--hamburger__padding);
}
#top#top .av-hamburger-box strong {
	color: var(--white);
	display: block;
	font-size: var(--size--p);
	line-height: 1;
	margin-bottom: calc( -1 * var(--padding--small) );
	margin-top: var(--padding--small);
	text-transform: uppercase;
}
#top#top .av-hamburger.is-active:where(:hover,:focus-visible) strong {
	font-size: 0;
}
#top#top .av-hamburger.is-active:where(:hover,:focus-visible) strong::before {
	content: "close";
	font-size: var(--size--s);
}
/*@media( max-width:767px ) {
	#top .av-hamburger-box {
		background: linear-gradient( to bottom, var(--navy--dark), rgb( from var(--header__bottom-color) r g b / var(--header__bottom-opacity) ) );
		border-bottom-left-radius: var(--radius--small);
	}
}*/
#top#top .av-hamburger-box:where(:hover,:focus-visible) {
	background: var(--blue);
}
/* Hamburger lines */
#top#top#top#top .burger-menu-open .av-burger-menu-main:not(:hover,:focus-visible) .av-hamburger-inner {
	background: var(--navy);
}

/* Hamburger menu structure */
#top#top .av-burger-overlay {
	margin: 0; /* override Enfold */
	padding: 0;
	width: 100%;
}
#top#top .av-burger-overlay-scroll {
	margin: 0; /* override Enfold */
	padding: 0;
	width: 100%;
}
#top#top .av-burger-overlay-inner {
	margin: 0; /* override Enfold */
	padding: 0;
	width: 100%;
}
#top#top #av-burger-menu-ul {
	margin: 0 !important; /* override Enfold */
	padding: 0 !important;
	width: 100%;
}
#top#top #av-burger-menu-ul--tertiary {
	margin: 0 !important; /* override Enfold */
	padding: 0 !important;
	width: 100%;
}
#top#top .av-burger-overlay {
	overflow: visible;
}
#top .av-burger-overlay::before { /* cover the transparent section at top when hamburger menu is open */
}
#top#top .av-burger-overlay-scroll {
	background: rgb( 255,255,255, 0 ); /* mobile bug where transparent border isn't rendered so had to use transparent background to force it */
	background: transparent;
	background: rgb( from var(--brown) r g b / 0.9 );
	background-clip: content-box;
	/*background: linear-gradient( to bottom, var(--navy--dark), rgb( from var(--header__bottom-color) r g b / var(--header__bottom-opacity) ) );*/ /* match header */
	border-top: calc( var(--admin-bar-height) + var(--header--secondary__height) + var(--header__height) ) solid rgba(0,0,255,0); /* set below header w/out affecting height */
	overflow-x: hidden;
	overflow-y: auto;
	height: 200px;
	height: 100vh;
	max-height: -webkit-fill-available;
	max-height: 100vh;
}
#top .av-burger-overlay-scroll * {
}
#top#top .av-burger-overlay-inner {
	background: var(--white);
	height: auto;
	min-height: 100%;
	padding-bottom: calc( var(--input-height) + var(--padding--large) );
	padding-top: var(--padding--large);
}
#top #av-burger-menu-ul {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	/*height: 100%;*/
}

/* Hamburger menu links */
#top .av-burger-overlay {
	--mobile__background: transparent;
	--mobile__color: var(--green);
	--mobile__family: var(--family--attention);
	--mobile__padding: var(--padding--small);
	--mobile__padding--left: var(--mobile__padding);
	--mobile__size: var(--size--h3);
	--mobile__weight: var(--weight--medium);
}
#top#top#top .av-burger-overlay a { /* override layout.css */
	display: flex;
	font-family: var(--mobile__family);
	font-size: var(--mobile__size);
	font-weight: var(--mobile__weight);
	line-height: var(--mobile__size);
	padding: var(--mobile__padding);
	padding-left: var(--mobile__padding--left);
	transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}
#top#top#top#top .av-burger-overlay a { /* override Enfold */
	background: var(--mobile__background);
	color: var(--mobile__color);
}
#top .av-burger-overlay a:where(:hover,:focus-visible) {
	/*--mobile__background: var(--beige--dark);*/
}
#top#top#top .av-burger-overlay a * {
	color: inherit;
	display: inline-block;
	font: inherit;
	line-height: inherit;
	vertical-align: middle;
}
#top#top .av-burger-overlay .avia-menu-text {
	flex: 1;
	margin-right: auto;
	padding-left: var(--mobile__indent);
	white-space: normal;
}

/* Hamburger secondary and tertiary links */
#top .av-burger-overlay .est-menu__secondary a,
#top .av-burger-overlay .est-menu__tertiary a {
	--mobile__family: var(--family--normal);
	--mobile__size: var(--size--h5);
	--mobile__weight: var(--weight--bold);
}
#top .av-burger-overlay .est-menu__secondary a:where(:hover,:focus-visible) .avia-menu-text,
#top .av-burger-overlay .est-menu__tertiary a:where(:hover,:focus-visible) .avia-menu-text {
	text-decoration: underline;
}
#top .av-burger-overlay .est-menu__secondary .sub-menu a,
#top .av-burger-overlay .est-menu__tertiary .sub-menu a {
	--mobile__indent: var(--padding--small);
	--mobile__size: var(--size--s);
	--mobile__weight: var(--weight--normal);
}
/* Force tertiary submenus always open */
#top#top .est-menu__tertiary .sub-menu {
	display: flex !important; /* overwrite inline*/
	max-height: none !important;
	opacity: 1 !important;
}

/* Hamburger menu dropdown arrows */
#top .av-burger-overlay {
	--bullet__rotate: 0deg;
	--bullet__color: currentcolor;
	--bullet__opacity: 1;
	--bullet__size: 0.6em;
}
#top .av-burger-overlay .avia-bullet { /* make arrow visible on all link elements since we use it in many ways */
	align-items: center;
	align-self: stretch;
	bottom: auto;
	display: flex;
	flex: none;
	justify-content: center;
	left: auto;
	margin: 0;
	margin-left: 1ch;
	order: 2;
	position: relative;
	right: auto;
	top: auto;
	transform: none;
	width: 1em;
}
#top#top#top#top .av-burger-overlay .avia-bullet {
	background: transparent;
	display: flex;
	opacity: 1;
	position: static;
}
@media( max-width:767px ) {
	#top#top#top#top .av-burger-overlay li:not(.av-width-submenu) > a > .avia-bullet {
		display: none;
	}
}
#top .av-burger-overlay .avia-bullet::after {
	background: var(--bullet__color);
	content: "";
	display: block;
	height: var(--bullet__size);
	mask-image: url("./images/est-icon--triangle.svg");
	mask-position: left center;
	mask-repeat: no-repeat;
	mask-size: contain;
	opacity: var(--bullet__opacity);
	transform: rotate( var(--bullet__rotate) );
	transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
	width: var(--bullet__size);
}
#top#top#top#top .av-burger-overlay .av-submenu-indicator {
	display: none;
}

/* Hamburger submenus */
@media( max-width:767px ) {
#top#top .av-burger-overlay .av-show-submenu > ul
/*@media( min-width:768px ) {*/
	/*#top#top .av-burger-overlay li:where(:hover,:focus-visible) > ul*/ {
		align-items: stretch;
		display: flex !important; /* override inline style */
		flex-direction: column;
		margin-top: 0;
	}
}
@media( min-width:768px ) {
	#top#top .av-burger-overlay li:where(:hover,:focus-visible) > ul {
		align-items: stretch;
		display: flex !important; /* override inline style */
		flex-direction: column;
		margin-top: 0;
	}
}
/*}*/
/* Hamburger menu submenu links */
#top .av-burger-overlay .sub-menu a {
	--mobile__size: var(--size--p);
}
/* Hamburger menu submenu submenu links */
#top .av-burger-overlay .sub-menu .sub-menu {
	background: var(--navy--darker);
}
#top .av-burger-overlay .sub-menu .sub-menu .sub-menu a::before {
	background: var(--blue);
	border-radius: var(--padding--small);
	content: "";
	flex: none;
	height: 2px;
	margin-right: 0.5ch;
	width: var(--padding--small);
}

/* Mobile menu links copied from top bar menu */
#top#top [role="menuitem"]:not(.est-menu__meta) + .est-menu__meta + .est-menu__meta { /* although copied as 2nd item, it's moved to front */
	border-top: var(--padding--small) solid var(--white);
	margin-top: auto;
}
#top#top [role="menuitem"]:not(.est-menu__meta) + .est-menu__meta { /* although it's copied as 1st item, we move it to end */
	border-bottom: var(--padding--small) solid var(--white);
	order: 1;
}
#top .est-menu__meta a {
	--mobile__background: var(--white);
	--mobile__color: var(--navy);
	--mobile__padding: var(--padding--small);
	--mobile__size: var(--size--p);
	margin-top: -0.5px;
	text-transform: uppercase;
}
#top .est-menu__meta a:where(:hover,:focus-visible) {
	--mobile__background: var(--grey);
}

/* Desktop hamburger submenus (all) */
#top .av-burger-overlay-inner .sub-menu {
	align-items: stretch !important;
	/*display: flex !important;*/ /* overwrite inline styles */
	flex-direction: column !important;
	height: auto !important;
	margin: 0;
	max-height: 0px !important;
	opacity: 0 !important;
	overflow: hidden !important;
	padding-top: var(--padding--small);
	transition: max-height 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
@media( max-width:767px ) {
	#top .av-burger-overlay-inner .av-show-submenu > .sub-menu
	/*#top .av-burger-overlay-inner li:hover > .sub-menu*/ {
		max-height: 1000px !important;
		opacity: 1 !important;
	}
}
@media( min-width:768px ) {
	#top .av-burger-overlay-inner li:hover > .sub-menu {
		max-height: 1000px !important;
		opacity: 1 !important;
	}
}

/* Mobile hamburger menu */
@media( max-width:767px ) {

	/* Mobile hamburger all links */
	#top .av-burger-overlay a {
		--bullet__color: var(--brown--light);
		--bullet__rotate: 0deg;
		--bullet__size: 0.5em;
	}
	#top .av-burger-overlay a:where(:hover,:focus-visible) {
		--mobile__background: var(--beige--dark);
	}
	#top .av-burger-overlay a:where(:hover,:focus-visible),
	#top .av-burger-overlay .av-show-submenu > a {
		--bullet__rotate: 90deg;
	}
	#top .av-burger-overlay .av-show-submenu > a:where(:hover,:focus-visible) {
		--mobile__background: var(--beige--dark);
		--bullet__rotate: -90deg;
	}
	#top#top .av-burger-overlay a .avia-menu-text {
		flex: none;
		margin: 0;
		width: auto;
	}

	/* Mobile hamburger borders */
	#top .av-burger-overlay .est-menu__primary + .est-menu__secondary,
	#top #av-burger-menu-ul--tertiary > :first-child {
		margin-top: calc( 2 * var(--padding--normal) );
		position: relative;
	}
	#top .av-burger-overlay .est-menu__primary + .est-menu__secondary::before,
	#top #av-burger-menu-ul--tertiary > :first-child::before {
		background: var(--beige--dark);
		content: "";
		height: 2px;
		left: var(--mobile__padding);
		position: absolute;
		right: var(--mobile__padding);
		top: calc( -1 * var(--padding--normal) );
		width: auto;
	}

	/* Mobile hamburger socials */
	#top .est-menu__social {
		display: none;
	}

	/* Mobile hamburger all submenus */
	#top .av-burger-overlay .sub-menu > li a {
		--mobile__indent: var(--padding--small);
		--mobile__family: var(--family--normal);
		--mobile__size: var(--size--p);
		--mobile__weight: var(--weight--bold);
	}
	#top .av-burger-overlay .sub-menu > li > .sub-menu a {
		--mobile__color: var(--green--light);
		--mobile__indent: var(--padding--normal);
		--mobile__size: var(--size--s);
		--mobile__weight: var(--weight--normal);
	}
	
	/* Mobile hamburger quick links */
	#top#top#top .av-burger-overlay .est-menu__quick {
		bottom: 0;
		left: 0;
		position: absolute;
		text-align: left;
		top: auto;
		width: 30%;
	}
	#top#top#top .av-burger-overlay .est-menu__quick:last-child {
		bottom: 0;
		left: 30%;
		position: absolute;
		text-align: right;
		top: auto;
		width: 70%;
	}
	#top .av-burger-overlay .est-menu__quick a {
		--mobile__background: var(--green);
		--mobile__color: var(--white);
		--mobile__size: var(--size--s);
		--mobile__family: var(--family--normal);
		--mobile__weight: var(--weight--bold);
		justify-content: flex-end;
	}
	#top .av-burger-overlay .est-menu__quick:last-child a {
		justify-content: flex-start;
	}
	#top .av-burger-overlay .est-menu__quick a:where(:hover,:focus-visible) {
		--mobile__background: var(--green--light);
	}
	#top .av-burger-overlay .est-menu__quick:last-child .avia-menu-text {
		position: relative;
	}
	#top .av-burger-overlay .est-menu__quick:last-child .avia-menu-text::before {
		background: var(--green--light);
		bottom: calc( -1 * var(--padding--smaller) );
		content: "";
		left: calc( -1 * var(--padding--small) );
		position: absolute;
		top: calc( -1 * var(--padding--smaller) );
		transform: translateX( -50% );
		width: 2px;
	}

}

/* Desktop hamburger menu */
@media( min-width:768px ) {

	/* Desktop hamburger menu wrapper */
	#top#top .av-burger-overlay-inner {
		align-items: start;
		background: var(--beige);
		background-image: linear-gradient( var(--beige--dark) );
		background-position:
			calc( var(--calculated-gutter-width) + ( var(--calculated-content-width) * 1/4 ) - 1px )
			var(--padding--large);
		background-size: 2px calc( 100% - ( 2 * var(--padding--large) ) );
		background-repeat: no-repeat;
		display: grid;
		grid-template-columns:
			var(--calculated-gutter-width)
			calc( var(--calculated-content-width) * 1/4 ) /* fix bug where Windows scrollbar makes everything narrower */
			calc( var(--calculated-content-width) * 3/4 )
			auto;
		height: auto;
		/*min-height: 100%;*/
		min-height: 0;
		padding-block: var(--padding--large) !important;
	}

	/* Dekstop hamburger links (all) */
	#top#top .av-burger-overlay-inner .avia-menu-text {
		flex: none;
		margin-right: 0;
		max-width: 100%;
	}

	/* Desktop hamburger tertiary */
	#top #av-burger-menu-ul--tertiary {
		--mobile__padding--left: 0;
		display: grid;
		grid-column: 2;
		grid-column-gap: var(--padding--smaller);
		grid-row: 1;
		grid-template-columns: min-content min-content min-content 1fr;
	}
	#top #av-burger-menu-ul--tertiary > li {
		grid-column: 1 / -1;
	}
	#top#top #av-burger-menu-ul--tertiary .est-menu__social {
		align-self: flex-end
	}
	#top#top #av-burger-menu-ul--tertiary .est-menu__social a {
		--mobile__background: var(--white);
		align-items: center;
		border-radius: 50%;
		display: inline-flex;
		flex: none;
		height: 2.5rem;
		justify-content: center;
		padding: var(--padding--smaller);
		width: 2.5rem;
	}
	#top#top #av-burger-menu-ul--tertiary .est-menu__social a:where(:hover,:focus-visible) {
		--mobile__background: var(--beige--dark);
	}
	#top #av-burger-menu-ul--tertiary .est-menu__social a::before {
		color: var(--green);
		content: "\E8F3";
		display: inline-block;
		font-family: var(--family--icon);
		font-size: var(--size--p);
		line-height: 1;
	}
	#top #av-burger-menu-ul--tertiary .est-menu__facebook {
		grid-column: 1;
		grid-row: 4;
		margin-top: var(--padding--normal);
	}
	#top #av-burger-menu-ul--tertiary .est-menu__instagram {
		grid-column: 2;
		grid-row: 4;
	}
	#top #av-burger-menu-ul--tertiary .est-menu__instagram a::before {
		content: "\f16d";
	}
	#top #av-burger-menu-ul--tertiary .est-menu__linkedin {
		grid-column: 3;
		grid-row: 4;
	}
	#top #av-burger-menu-ul--tertiary .est-menu__linkedin a::before {
		content: "\e8fc";
	}
	#top #av-burger-menu-ul--tertiary .est-menu__social .avia-menu-text {
		overflow: hidden;
		white-space: nowrap;
		width: 0;
	}
	#top #av-burger-menu-ul--tertiary .sub-menu {
		--mobile__color: var(--green--light);
		--mobile__padding: var(--padding--smaller);
	}
	#top #av-burger-menu-ul--tertiary .sub-menu .avia-menu-text {
		--mobile__indent: calc( 2 * var(--padding--small) );
		transform: translateX( calc( -1 * var(--padding--small) ) );
		transition: transform 0.2s ease-in-out;
	}
	#top#top#top #av-burger-menu-ul--tertiary .sub-menu {
		--bullet__color: currentcolor;
		--bullet__opacity: 0;
	}
	#top#top#top #av-burger-menu-ul--tertiary .sub-menu a:where(:hover,:focus-visible) {
		--bullet__opacity: 1;
	}
	#top #av-burger-menu-ul--tertiary .sub-menu a:where(:hover,:focus-visible) .avia-menu-text {
		text-decoration: none;
		transform: translateX( 0 );
	}
	#top#top#top #av-burger-menu-ul--tertiary > li.av-width-submenu > a .avia-bullet {
		--bullet__color: var(--brown--light);
		--bullet__rotate: 90deg;
	}
	#top#top#top #av-burger-menu-ul--tertiary > li:not(.av-width-submenu) > a .avia-bullet {
		display: none;
	}

	/* Desktop hamburger primary */
	#top #av-burger-menu-ul {
		display: grid;
		grid-column: 3 / 4;
		grid-row: 1;
		grid-template-columns: 3fr 2fr;
		grid-template-rows: min-content min-content min-content min-content 1fr;
		position: relative;
	}
	#top #av-burger-menu-ul > .est-menu__primary {
		align-items: start;
		display: grid;
		grid-column: 1 / 3;
		grid-row: 1 / -1;
		grid-template-columns: subgrid;
		grid-template-rows: subgrid;
		pointer-events: none;
	}
	#top #av-burger-menu-ul > .est-menu__primary * {
		pointer-events: initial;
	}
	#top #av-burger-menu-ul > .est-menu__primary:nth-child(1) {
		--grid__start: 1;
	}
	#top #av-burger-menu-ul > .est-menu__primary:nth-child(2) {
		--grid__start: 2;
	}
	#top #av-burger-menu-ul > .est-menu__primary:nth-child(3) {
		--grid__start: 3;
	}
	#top #av-burger-menu-ul > .est-menu__primary:nth-child(4) {
		--grid__start: 4;
	}
	#top #av-burger-menu-ul > .est-menu__primary > a {
		--mobile__indent: var(--padding--small);
		--mobile__padding--left: calc( var(--padding--normal) + var(--padding--small) );
		--bullet__color: var(--brown--light);
		--bullet__opacity: 0;
		grid-column: 1;
		grid-row: var(--grid__start);
	}
	#top #av-burger-menu-ul > .est-menu__primary > a > .avia-menu-text {
		transform: translateX( calc( -1 * var(--mobile__indent) ) );
		transition: transform 0.2s ease-in-out;
	}
	#top #av-burger-menu-ul > .est-menu__primary > a:where(:hover,:focus-visible),
	#top #av-burger-menu-ul > .est-menu__primary.av-show-submenu > a {
		--bullet__opacity: 1;
	}
	#top #av-burger-menu-ul > .est-menu__primary > a:where(:hover,:focus-visible) .avia-menu-text {
		text-decoration: underline;
	}
	#top #av-burger-menu-ul > .est-menu__primary > a:where(:hover,:focus-visible) > .avia-menu-text,
	#top #av-burger-menu-ul > .est-menu__primary.av-show-submenu > a > .avia-menu-text {
		transform: translateX( 0 );
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu {
		align-self: start;
		grid-column: 2;
		grid-row: var(--grid__start) / -1;
	}
	#top#top#top #av-burger-menu-ul > .est-menu__primary > .sub-menu > li:not(.av-width-submenu) > a .avia-bullet {
		display: none;
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu > li > a {
		--mobile__family: var(--family--normal);
		--mobile__size: var(--size--h5);
		--mobile__weight: var(--weight--bold);
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu > li > a:where(:hover,:focus-visible) .avia-menu-text {
		text-decoration: underline;
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu > li.av-width-submenu > a {
		--bullet__color: var(--brown--light);
		--bullet__rotate: 90deg;
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu .sub-menu a {
		--mobile__color: var(--green--light);
		--mobile__family: var(--family--normal);
		--mobile__indent: calc( var(--padding--small) * 2 );
		--mobile__padding: var(--padding--smaller);
		--mobile__size: var(--size--s);
		--mobile__weight: var(--weight--normal);
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu .sub-menu a .avia-menu-text {
		transform: translateX( calc( -1 * var(--padding--small) ) );
		transition: transform 0.2s ease-in-out;
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu .sub-menu a:where(:hover,:focus-visible) .avia-menu-text {
		transform: translateX( 0 );
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu .sub-menu .avia-bullet {
		--bullet__color: var(--green);
		--bullet__opacity: 0;
	}
	#top #av-burger-menu-ul > .est-menu__primary > .sub-menu .sub-menu a:where(:hover,:focus-visible) .avia-bullet {
		--bullet__opacity: 1;
	}
	
	/* Force primary submenu submenus always open */
	#top#top .est-menu__primary .sub-menu .sub-menu {
		display: flex !important; /* overwrite inline*/
		max-height: none !important;
		opacity: 1 !important;
	}

	/* Desktop hamburger menu secondary */
	#top #av-burger-menu-ul .est-menu__secondary {
		display: none;
	}

	/* Desktop hamburger quick links */
	#top #av-burger-menu-ul .est-menu__quick {
		display: none;
	}

}

/**********************************************************
=Footer
/*********************************************************/

/* Footer container */
#footer {
	background: var(--beige);
}
#footer .flex_column {
	display: grid;
	grid-template-columns: minmax( 0, auto ) minmax( 0, auto );
}
#footer .flex_column > :nth-child(1) {
	grid-column: 1 / -1;
	grid-row: 1;
}
#footer .flex_column > :nth-child(2) {
	grid-column: 1 / -1;
	grid-row: 2;
}
#footer .flex_column > :nth-child(3) {
	grid-column: 1 / -1;
	grid-row: 3;
}
#footer .flex_column > :nth-child(4) {
	grid-column: 1;
	grid-row: 6;
}
#footer .flex_column > :nth-child(5) {
	grid-column: 1 / -1;
	grid-row: 4;
}
#footer .flex_column > :nth-child(6) {
	grid-column: 1 / -1;
	grid-row: 5;
}
#footer .flex_column > :nth-child(7) {
	grid-column: 2;
	grid-row: 6;
}
@media( max-width:767px ) {
	#top#top #footer .flex_column > :nth-child(2),
	#top#top #footer .flex_column > :nth-child(5),
	#top#top #footer .flex_column > :nth-child(6) {
		margin-top: var(--padding--large);
	}
}
@media( min-width:768px ) {
	#footer .flex_column {
		columns: 3;
		display: block;
	}
	#footer .flex_column > :nth-child(4),
	#footer .flex_column > :nth-child(5) {
		break-after: column;
	}
}

/* Footer logo */
#footer .est-footer__logo img {
	transform: scale(0.95);
	transition: transform 0.2s ease-in-out, opacity 0.2s-ease-in-out;
}
#footer .est-footer__logo img:where(:hover,:focus-visible) {
	transform: scale(1);
}

/* Footer data */
#top .est-footer__data {
	color: var(--brown);
	display: flex;
	flex-direction: column;
	gap: var(--padding--small);
}
#top#top#top .est-footer__data > * {
	--icon__background: var(--white);
	--icon__color: var(--green);
}
#top .est-footer__data a {
	background: transparent;
	color: var(--brown);
	font-weight: var(--weight--normal);
}
#top#top .est-footer__data a:where(:hover,:focus-visible) {
	text-decoration: underline;
}
@media( max-width:767px ) {
	#top#top .est-footer__data [class*="est-datum"] {
		align-items: center;
		flex-direction: column;
		padding-left: 0;
		padding-top: calc( var(--icon__size) + var(--padding--smaller) );
	}
	#top .est-footer__data [class*="est-datum"]::before,
	#top .est-footer__data [class*="est-datum"]::after {
		left: 50%;
		transform: translate( -50%, -50% );
	}
}

/* Footer socials */
#top .est-footer__socials {
	display: flex;
	gap: var(--padding--small);
}
#top [class*="est-social--"] {
	align-items: center;
	background: var(--white);
	border-radius: 50%;
	color: transparent;
	display: inline-flex;
	flex: none;
	font-size: 0;
	height: 2.5rem;
	justify-content: center;
	padding: var(--padding--smaller);
	position: relative;
	width: 2.5rem;
}
#top [class*="est-social--"]:where(:hover,:focus-visible) {
	background: var(--green);
}
#top [class*="est-social--"]::before {
	color: var(--green);
	content: "\E8F3";
	display: inline-block;
	font-family: var(--family--icon);
	font-size: var(--size--p);
	left: 50%;
	line-height: 1;
	position: absolute;
	top: 50%;
	transform: translate( -50%, -50% );
}
#top .est-social--instagram::before {
	content: "\f16d";
}
#top .est-social--linkedin::before {
	content: "\e8fc";
}
#top [class*="est-social--"]:where(:hover,:focus-visible)::before {
	color: var(--white);
}

/* Footer menu */
#footer .menu a {
	color: var(--brown);
	font-family: var(--family--attention);
	font-size: var(--size--h4);
}
#top #footer .menu a:where(:hover,:focus,:focus-visible,:active) { /* Enfold ads active color */
	color: var(--green--light);
}
#top #footer .menu .est-button a {
	padding-bottom: 0;
	padding-left: 0;
}
#top #footer .menu li + li {
	margin-top: 0;
}
#top #footer .menu li:not(.est-button) + li.est-button {
	margin-top: var(--padding--small);
}

/* Footer contact form */
#top #footer .est-footer__contact {
	background: var(--green);
}

/* Footer logos */
#footer .est-footer__logos {
	align-items: center;
	display: flex;
	gap: var(--padding--small);
	justify-content: flex-end;
}
#footer .est-footer__logos img {
	filter: grayscale(1);
	height: 60px;
	width: auto;
}

/**********************************************************
=Stats
**********************************************************/

#top .est-stat {
	background: var(--green--light);
	border-radius: var(--radius--normal);
	padding: var(--padding--small);
	position: relative;
}
#top .avia-section.est-text--on-dark .est-stat {
	background: rgb( from var(--white) r g b / 0.05 );
}
#top .est-stat:not(.est-stat--alt) p {
	font-family: var(--family--attention);
	font-size: var(--size--p);
	line-height: 1;
	text-align: center;
}
#top .est-stat:not(.est-stat--alt) p + p {
	margin-top: var(--padding--smaller);
}
#top .est-stat:not(.est-stat--alt) strong {
	font-family: var(--family--alternate);
	font-size: var(--size--h2);
	line-height: 1;
	text-align: center;
}
#top .est-stat--alt {
	background: var(--beige);
	padding: var(--padding--normal);
}

/**********************************************************
=Branches
**********************************************************/

#top {
	--branch__color: var(--green--light);
}
#top .est-bg--beige {
	--branch__color: var(--beige--dark);
}
#top .est-branch--vertical {
	overflow: hidden;
}
/* Vertical branches */
#top .est-branch--vertical::after {
	background: var(--branch__color);
	mask-image: url("./images/est-branch--1.svg");
	mask-position: right top;
	mask-repeat: no-repeat;
	mask-size: auto 100%;
	bottom: -1rem;
	content: "";
	display: block;
	height: auto;
	opacity: 0.5;
	position: absolute;
	visibility: visible;
	top: calc( var(--row-top-padding) / 2 );
	width: 100vw;
}
#top .est-branch--vertical.est-branch--left::after {
	right: 50%;
}
#top .est-branch--vertical.est-branch--right::after {
	left: 50%;
	opacity: 0.3;
	transform: scaleX( -1 );
}
@media( min-width:768px ) {
	#top .est-branch--vertical.est-branch--left::after {
		right: calc( 50% + ( var(--calculated-content-width) * 0.4 ) );
	}
	#top .est-branch--vertical.est-branch--right::after {
		left: calc( 50% + ( var(--calculated-content-width) * 0.4 ) );
		opacity: 0.5;
		right: auto;
		transform: scaleX( -1 );
	}
}
/* Horizontal branches */
#top .est-branch--horizontal::after {
	background: var(--branch__color);
	mask-image: url("./images/est-branch--2.svg");
	/*mask-position: left center;*/
	mask-position: right bottom;
	mask-repeat: no-repeat;
	mask-size: auto min( 300px, 100% );
	bottom: calc( var(--row-bottom-padding) / 2 );
	content: "";
	display: block;
	height: auto;
	/*left: calc( 50% + ( var(--calculated-content-width) * 0.3 ) );*/
	left: -1rem;
	opacity: 0.4;
	position: absolute;
	visibility: visible;
	top: calc( var(--row-bottom-padding) / 2 );
	width: 100vw;
}
#top .est-branch--horizontal.est-branch--left::after {
	left: auto;
	/*right: calc( 50% + ( var(--calculated-content-width) * 0.3 ) );*/
	right: -1rem;
	transform: scaleX( -1 );
}
#top .est-branch--horizontal.est-branch--right::after {
	left: auto;
	/*right: calc( 50% + ( var(--calculated-content-width) * 0.3 ) );*/
	right: -1rem;
}

/* Hide branches on mobile */
@media( max-width:767px ) {
	#top [class*="est-branch"]::after {
		display: none;
	}
}

/**********************************************************
=Overlap rows
**********************************************************/

/* Bottom of current row overlaps following row (removed 2026-03-02 per client) */
/*#top .est-overlap--bottom {
	--row-bottom-padding: 0;
	--overlap: var(--padding--normal);
	margin-bottom: calc( -1 * var(--overlap) );
}*/

/* Top of current row overlaps preceding row (removed 2026-03-02 per client) */
/*@media( min-width:768px ) {
	#top .est-overlap--top,
	#top .avia-section:has(+ .est-overlap--top) {
		--overlap: calc( var(--padding--smaller) + var(--size--h4) + var(--padding--smaller) + var(--padding--normal) + var(--padding--normal) );
	}
	#top .est-overlap--top {
		--row-top-padding: 0;
	}
	#top .est-overlap--top > .container:first-child {
		margin-top: calc( -1 * var(--overlap) );
	}
	#top .avia-section:has(+ .est-overlap--top) {
		--row-bottom-padding: calc( var(--row-top-padding) + var(--overlap) );
	}
}*/

/**********************************************************
=Accreditations
**********************************************************/

#top .est-accreditations .avia-image-container {
	border-radius: 0;
	display: inline-block;
	float: left;
	height: 100px;
	margin-top: var(--padding--small);
	margin-right: var(--padding--normal);
	width: 100px;
	vertical-align: bottom;
}
#top .est-accreditations .avia-image-container * {
	object-fit: contain;
}

/**********************************************************
=Icons
**********************************************************/

/* Icon blocks */
:root {
	--icon__background: var(--beige);
	--icon__color: var(--green);
	--icon__size: var(--size--h2);
}
#top .av_font_icon {
	align-items: center;
	display: flex;
}
#top .av_font_icon.avia-icon-pos-center {
	justify-content: center;
}
#top .av-icon-char,
#top .av-icon-char * {
	float: none;
	position: static;
	transform: none;
}
#top .av-icon-char {
	align-items: center;
	background: var(--icon__background);
	border-radius: 50%;
	color: var(--icon__color);
	display: flex;
	flex: none;
	float: none;
	height: var(--icon__size);
	justify-content: center;
	overflow: visible;
	width: var(--icon__size);
}
#top .av-icon-char::before {
	font-size: var(--icon__size);
	height: 100%;
	line-height: var(--icon__size);
	width: 100%;
}
#top .flex_column:not(.est-card--horizontal) .av_font_icon + .av_textblock_section {
	margin-top: var(--padding--small);
}

/* Icons within cards */
#top .est-card {
	--icon__background: var(--white);
}

/* Specific icons */
#top .av-icon-char[data-av_icon=""]::before, /* writing hand */
#top .av-icon-char[data-av_icon=""]::before, /* checked paper */
#top .av-icon-char[data-av_icon=""]::before, /* announcement */
#top .av-icon-char[data-av_icon=""]::before, /* handshake */
#top .av-icon-char[data-av_icon=""]::before, /* calculator */
#top .av-icon-char[data-av_icon=""]::before, /* graph */
#top .av-icon-char[data-av_icon=""]::before, /* money */
#top .av-icon-char[data-av_icon=""]::before, /* privacy */
#top .av-icon-char[data-av_icon=""]::before, /* award */
#top .av-icon-char[data-av_icon=""]::before, /* love */
#top .av-icon-char[data-av_icon=""]::before, /* calendar */
#top .av-icon-char[data-av_icon=""]::before, /* pointing */
#top .av-icon-char[data-av_icon=""]::before, /* growth */
#top .av-icon-char[data-av_icon=""]::before, /* analytics */
#top .av-icon-char[data-av_icon=""]::before, /* shield */
#top .av-icon-char[data-av_icon=""]::before { /* click */
 background: currentcolor;
 mask-position: center;
 mask-repeat: no-repeat;
 mask-size: contain;
}
#top .av-icon-char[data-av_icon=""]::before { /* writing hand */
 mask-image: url("./images/est-icon--writing.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* checked paper */
 mask-image: url("./images/est-icon--paper.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* announcement */
 mask-image: url("./images/est-icon--megaphone.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* handshake */
 mask-image: url("./images/est-icon--handshake.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* calculator */
 mask-image: url("./images/est-icon--calculator.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* graph */
 mask-image: url("./images/est-icon--graph.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* money */
 mask-image: url("./images/est-icon--money.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* privacy */
 mask-image: url("./images/est-icon--privacy.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* award */
 mask-image: url("./images/est-icon--award.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* love */
 mask-image: url("./images/est-icon--love.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* calendar */
 mask-image: url("./images/est-icon--calendar.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* pointing */
 mask-image: url("./images/est-icon--pointing.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* growth */
 mask-image: url("./images/est-icon--growth.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* analytics */
 mask-image: url("./images/est-icon--analytics.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* shield */
 mask-image: url("./images/est-icon--shield.svg");
}
#top .av-icon-char[data-av_icon=""]::before { /* click */
 mask-image: url("./images/est-icon--click.svg");
}

/**********************************************************
=Icon lists
**********************************************************/

/* Icon list */
#top#top .avia-icon-list > li + li {
	margin-top: var(--padding--normal);
}
#top .avia-icon-list-container .iconlist_icon {
	background: transparent;
	border-radius: 0;
	height: auto;
	line-height: 0;
	margin: 0;
	margin-right: var(--padding--normal);
	width: var(--icon__size);
}
#top .avia-icon-list-container .iconlist-timeline {
	background: var(--icon__background);
	border: none;
	bottom: auto;
	height: calc( 100% + var(--padding--normal) );
	left: calc( var(--icon__size) / 2 );
	top: 0;
	transform: translateX( -50% );
	width: 2px;
}
#top .avia-icon-list-container .entry-content-header,
#top .avia-icon-list-container h4 {
	display: block;
	line-height: 1;
	margin-top: 0;
	vertical-align: top;
}
#top .avia-icon-list-container .iconlist_content {
	margin-top: var(--padding--small);
}

/* Icon list on beige */
#top .est-bg--beige {
	--icon__background: var(--white);
}

/* Icon list on green */
#top .est-bg--green {
	--icon__background: #405825;
	--icon__color: var(--beige);
}

/**********************************************************
=Images
**********************************************************/

/* Row with regular image beside regular text */
#top .flex_column:has(.avia-image-container) {
	z-index: 2;
}
@media( max-width:767px ) {
	#top#top#top#top .flex_column:has(.av_textblock_section):has(+ .av-flex-placeholder + .flex_column) {
		margin-top: 0; /* overwrite inline */
	}
	#top#top#top#top .flex_column:not(.est-card,.est-tile):has(.avia-image-container) {
		margin-inline: calc( -1 * var(--page-gutter) );
		margin-top: calc( -1 * var(--row-top-padding) );
		width: auto;
	}
	#top .avia-image-container {
		border-radius: 0;
		height: 250px;
	}
	#top .avia-image-container * {
		height: 100%;
		object-fit: cover;
		object-position: center;
		width: 100%;
	}
	#top .avia-image-container img {
		object-position: center 30%;
	}
}

/* Logo image within regular row */
#top .est-image--logo {
	background: var(--beige);
	border-radius: var(--radius--small);
	padding: var(--padding--normal);
}
#top#top .est-image--logo img {
	object-fit: contain;
	object-position: center;
}

/**********************************************************
=Accordion
/*********************************************************/

/* Accordions - Individual */
.single_toggle {
	overflow: visible;
}
#top#top .togglecontainer {
	--accordion-icon-width: var(--size--h4);
	gap: var(--padding--small);
}
#top#top .togglecontainer, #top#top .togglecontainer * {
	border: none;
	bottom: auto;
	box-shadow: none;
	left: auto;
	list-style-type: none;
	margin: 0;
	padding: 0;
	right: auto;
	top: auto;
}
#top#top .av_toggle_section {
	background: var(--white);
	border-radius: var(--radius--normal);
	box-shadow: 0 0 0 2px var(--beige);
	/* box-shadow: var(--box-shadow); */
	overflow: hidden;
	position: relative;
}
#top#top .av_toggle_section::before {
	border-radius: 0 0 var(--radius--small) var(--radius--small);
	bottom: 0;
	display: block;
	content: "";
	height: var(--accent-border-weight);
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	transition: background 0.2s ease-in-out;
	visibility: visible;
	z-index: 1;
}
#top#top .av_toggle_section:has(.toggler:where(:hover,:focus-visible):not(.activeTitle))::before {
	background: var(--blue--lighter);
	opacity: 1;
}
/* #top#top .av_toggle_section:has(.activeTitle) {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
} */
#top#top .toggle_wrap {
	background-color: var(--beige);
	/* border-radius: 0 0 var(--radius--small) var(--radius--small); */
	/* box-shadow: var(--box-shadow); */
}
/* #top#top .est-accordion--overlap .toggle_wrap.active_tc {
	position: absolute;
	z-index: 3;
} */
:root {
	--toggler-padding: var(--padding--small);
}
#top#top .toggler {
	align-items: center;
	background: var(--white);
	border-radius: 0;
	color: var(--brown);
	display: flex;
	font-family: var(--family--attention);
	font-size: var(--size--h5);
	gap: var(--padding--smaller);
	line-height: 1;
	padding: var(--toggler-padding);
}
#top#top#top .toggler:where(:hover,:focus-visible) {
	background: var(--beige);
}
#top#top#top .active_tc {
	/* border-bottom: solid var(--accent-border-weight) var(--green--bright); */
}
#top#top .single_toggle:has(.active_tc) .toggler {
	background: var(--beige);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	color: var(--brown);
}
#top#top .toggler:has(+ .active_tc) {
	z-index: 4;
}
#top#top .av_toggle_section:has(.active_tc) ~ .av_toggle_section .toggler:has(+ .active_tc) {
	z-index: 2;
}
#top#top .av_toggle_section:has(.active_tc) ~ .av_toggle_section .active_tc {
	z-index: 1;
}

/* Toggle icon */
#top#top .toggle_icon {
	border-radius: 50%;
	/* box-shadow: 0 0 0 2px currentcolor; */
	color: var(--green--light);
	flex: none;
	height: var(--accordion-icon-width);
	margin-left: auto;
	opacity: 1;
	padding: 2px;
	position: relative;
	width: var(--accordion-icon-width);
}
#top#top .toggle_icon * {
	background: currentcolor;
	height: 3px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%,-50%) rotate(0deg);
	transition: background 0.2s ease-in-out,transform 0.2s ease-in-out;
	width: calc( var(--accordion-icon-width) - 5px );
}
#top#top .toggler:not(.activeTitle) .vert_icon {
	transform: translate(-50%,-50%) rotate(-90deg);
}

/* Accordion content */
#top#top .toggle_content {
	background: transparent;
	padding: var(--padding--small);
	padding-top: 0;
}
#top#top#top .toggle_content > :not(:first-child) {
	margin-top: var(--padding--small);
}
.toggle_content a {
	background-image: linear-gradient(transparent);
	font-weight: var(--weight--bold);
}
.toggle_content a:hover {
	background-image: linear-gradient(currentcolor);
}

/**********************************************************
=Half rows
**********************************************************/

@media( min-width:768px ) {
	#top#top .est-half .flex_column_table {
		position: static;
	}
	#top#top .est-half .flex_column:has(.avia-image-container) {
		bottom: 0;
		height: auto;
		left: calc( 50% + ( var(--calculated-content-width) * 0.03 ) );
		margin-left: 0;
		position: absolute;
		right: auto;
		top: 0;
		width: 50vw;
	}
	#top#top .est-half .flex_column.first:has(.avia-image-container) {
		left: auto;
		right: calc( 50% + ( var(--calculated-content-width) * 0.03 ) );
	}
	#top#top .est-half .avia-image-container {
		border-radius: 0;
		bottom: 0;
		height: auto;
		left: 0;
		max-width: none;
		position: absolute;
		top: 0;
	}
	#top#top .est-half .flex_column:has(.avia-image-container) * {
		height: 100%;
		object-fit: cover;
		object-position: center;
		width: 100%;
	}
	#top#top .est-half .flex_column:has(.avia-image-container) img {
		object-position: center 30%;
	}
}

/**********************************************************
=Hero
**********************************************************/

/* Hero container */
@media( min-width:768px ) {
	#top#top .est-hero:not(.est-hero--home) .content {
		padding-top: var(--padding--normal);
	}
}

/* Hero text */
#top#top#top .est-hero:not(.est-hero--home) .flex_column.first {
	margin-top: 0;
	padding-block: 0;
}
@media( min-width:768px ) {
	#top#top .est-hero .flex_column.first .av_textblock_section:first-child + .av_textblock_section {
		margin-top: 0;
	}
}

/* Hero breadcrumbs */
@media( min-width:768px ) {
	#top .est-hero section:has(.breadcrumbs) {
		margin-bottom: var(--row-top-padding);
	}
}
#top .est-hero .breadcrumbs {
	color: var(--blue--light);
	font-size: var(--size--s);
	line-height: 1;
}

/* Hero image */
@media( max-width:767px ) {
	#top#top#top#top .est-hero .flex_column:has(.avia-image-container) {
		--row-bottom-padding: var(--padding--large);
		height: max( 250px, 35vh );
		margin-bottom: var(--row-bottom-padding) !important; /* overwrite inline */
		margin-inline: calc( -1 * var(--page-gutter) );
		margin-top: calc( -1 * var(--row-top-padding) );
		width: auto;
	}
	#top .est-hero .flex_column:has(.avia-image-container) * {
		height: 100%;
		object-fit: cover;
		object-position: center;
		width: 100%;
	}
}
#top#top .est-hero .avia-image-container {
	border-radius: 0;
}
@media( min-width:768px ) {
	#top#top .est-hero .flex_column_table {
		position: static;
	}
	#top .est-hero .flex_column:has(.avia-image-container) {
		bottom: 0;
		height: auto;
		left: calc( 50% + ( var(--calculated-content-width) * 3% ) );
		margin-left: 0;
		position: absolute;
		top: 0;
		width: 50vw;
		/*margin-bottom: calc( ( -1 * var(--row-bottom-padding) ) ) !important;
		margin-top: calc( -1 * var(--row-top-padding) );*/
	}
	#top#top .est-hero .avia-image-container {
		/*border-radius: var(--radius--normal);*/
		bottom: 0;
		height: auto;
		left: 0;
		max-width: none;
		position: absolute;
		top: 0;
	}
	#top .est-hero .flex_column:has(.avia-image-container) * {
		height: 100%;
		object-fit: cover;
		object-position: center;
		width: 100%;
	}
	#top .est-hero .flex_column:has(.avia-image-container) img {
		object-position: center 30%;
	}
}

/* Alternate hero for landing pages */
@media( min-width:990px ) {
	#top#top#top .est-hero--alt {
		--hero__offset: calc( var(--desired-content-gutter) + var(--header-height) + var(--desired-content-gutter) );
		border-radius: var(--radius--normal);
		margin-top: calc( -1 * var(--hero__offset) );
		padding-top: var(--hero__offset);
	}
}
#top .est-hero--alt .container,
#top .est-hero--alt .content,
#top .est-hero--alt .flex_column {
	position: static;
}
#top .est-hero--alt .av_textblock_section:has( img ) {
	inset: 0;
	opacity: 0.25;
	position: absolute;
}
#top#top .est-hero--alt .av_textblock_section:has( img ) * {
	height: 100%;
	object-position: center;
	width: 100%;
}
#top#top .est-hero--alt h1 {
	position: relative;
	z-index: 1;
}

/* Homepage hero */
#top#top .est-hero--home {
	--bg__color: var(--green);
	--size--h1: 5rem;
}
#top#top .est-hero--home .content {
	padding-top: max( var(--padding--huge), 20vh );
}
#top#top .est-hero--home .avia-slideshow {
	z-index: 0;
}
#top#top .est-hero--home h1 {
	color: var(--white);
	text-shadow: 0 0 1rem var(--brown);
}

/**********************************************************
=Backgrounds
**********************************************************/

/* Green background row */
.est-bg--green {
	--bg__color: var(--green);
}
/* Beige */
.est-bg--beige {
	--bg__color: var(--beige);
}

/* Beige gradient */
.est-bg--gradient {
	--bg__color: transparent;
	background: linear-gradient( to bottom, var(--white), var(--beige) );
}

/* Bordered background */
#top#top#top .est-bg--border {
	border-block: var(--border__thickness) solid var(--white);
}

/* Quote background */
#top .est-quote .container::before {
	background: var(--beige--dark);
	bottom: 0;
	content: "";
	display: block;
	left: var(--page-gutter);
	mask-image: url("./images/est-icon--quote.svg");
	mask-position: left top;
	mask-repeat: no-repeat;
	mask-size: 100% auto;
	opacity: 0.5;
	position: absolute;
	top: var(--row-top-padding);
	visibility: visible;
	width: 35%;
}
#top .est-bg--green.est-quote .container::before {
	background: var(--green--light);
}
@media( min-width:768px ) {
	#top .est-quote .container::before {
		left: 0;
		top: var(--padding--normal);
	}
}

/**********************************************************
=Datum
**********************************************************/

#top#top [class^="est-datum--"] {
	--icon__background: var(--green);
	--icon__color: var(--white);
	--icon__size: 1.7em;
	--icon__line: 1em;
	align-items: center;
	display: inline-flex;
	flex-direction: row;
	line-height: var(--icon__line);
	margin-right: var(--padding--small);
	min-height: var(--icon__size);
	overflow: visible;
	padding-left: calc(var(--icon__size) + var(--padding--smaller));
	padding-top: 0;
	position: relative;
	vertical-align: top;
}
#top [class^="est-datum--"]::before,
#top [class^="est-datum--"]::after {
	align-items: center;
	background: var(--icon__background);
	border-radius: 50%;
	content: "";
	display: inline-flex;
	flex: none;
	height: var(--icon__size);
	justify-content: center;
	left: 0;
	position: absolute;
	top: calc(var(--icon__size) / 2);
	transform: translateY(-50%);
	width: var(--icon__size);
}
#top [class^="est-datum--"]::after {
    background: transparent;
    border-radius: 0;
    color: var(--icon__color);
    content: "";
    font-family: var(--family--icon);
}
#top .est-datum--phone::after {
	content: "";
}
#top .est-datum--address::after {
	content: "";
}
#top .est-datum--mail::after {
	content: "";
}
#top .est-datum--hours::after {
	content: "";
}
/**********************************************************
=Tiles
**********************************************************/

/* Tiles container */
#top#top .flex_column_table:has(.est-tile) + .flex_column_table:has(.est-tile) { /* undo reset */
	/*margin-top: 0;*/
}
@media( min-width:768px ) {
	#top .flex_column_table:has(.est-tile) { /* Enfold uses table for equal height, but we need flex to make cards work */
		display: flex;
	}
	#top#top#top .flex_column_table:has(.est-tile) .est-tile { /* fix margins when replacing table with flex */
		margin-left: 0;
	}
}

/* Individual tile */
#top .est-tile {
	--tile__padding: var(--padding--normal);
	background: var(--white);
	border-radius: var(--radius--normal);
	box-shadow: none;
	min-height: 300px; /* arbitrary height for cards with little content */
	overflow: hidden;
	position: relative;
	transition: background 0.2s ease-in-out;
}
#top#top .est-tile { /* override grid.css */
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0;
}
#top#top#top#top#top .est-tile {
	margin-inline: 0;
}
@media( max-width:767px ) {
	#top#top#top#top#top .est-tile ~ .est-tile {
		margin-top: var(--padding--normal);
	}
}
#top .est-tile::after {
	background: var(--brown);
	content: "";
	height: auto;
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 0.2s ease-in-out;
	visibility: visible;
	width: auto;
	z-index: -1;
}
#top .est-tile:where(:hover,:focus-within)::after {
	opacity: 0.95;
}
/* Tile image */
#top .est-tile .avia-image-container {
	border-radius: 0;
	bottom: 0;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}
#top .est-tile .avia-image-container * {
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	width: 100%;
}
/* Tile content */
#top .est-tile .av_textblock_section {
	margin: 0;
	padding: var(--tile__padding);
	position: relative;
	transition: transform 0.2s ease-in-out;
	width: 100%;
}
#top .est-tile:has(.avia-button-wrap) .av_textblock_section {
	padding-bottom: 0;
	transform: translateY( calc( var(--input-height) + var(--tile__padding) ) );
}
#top .est-tile:has(.avia-button-wrap):where(:hover,:focus-within) .av_textblock_section {
	transform: translateY( 0 );
}
#top .est-tile .av_textblock_section::before {
	background: linear-gradient( to top, rgb( from var(--brown) r g b / 0.9 ), rgb( from var(--brown) r g b / 0.8 ) 60%, rgb( from var(--brown) r g b / 0 ) );
	bottom: calc( -1 * ( var(--tile__padding) + var(--input-height) ) );
	content: "";
	left: 0;
	opacity: 1;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity 0.2s ease-in-out;
}
#top .est-tile:where(:hover,:focus-within) .av_textblock_section::before {
	opacity: 0;
}
#top .est-tile .avia_textblock > * {
	position: relative; /* fix z-index weirdness caused by heading background */
}
#top .est-tile .avia-button-wrap {
	--button__background: transparent;
	--button__border: var(--brown--light);
	--button__color: var(--brown--light);
	--button__background--hover: transparent;
	--button__border--hover: var(--white);
	--button__color--hover: var(--white);
	opacity: 0;
	padding: var(--tile__padding);
	padding-top: 0;
	transition: opacity 0.2s ease-in-out;
}
#top .est-tile:where(:hover,:focus-within) .avia-button-wrap {
	opacity: 1;
}
#top .est-tile h3 {
	line-height: 1;
}
#top .est-tile h3 + p {
	margin-top: var(--padding--smaller);
}

/* Skinny tiles */
@media( min-width:768px ) {
	#top .flex_column_table:has(.av_one_fourth.est-tile) {
		column-gap: var(--padding--normal);
		display: flex;
	}
	#top .flex_column_table:has(.av_one_fourth.est-tile) .av-flex-placeholder {
		display: none;
	}
	#top .av_one_fourth.est-tile {
		--tile__padding: var(--padding--small);
		flex: 1;
		min-height: 350px;
	}
	#top .av_one_fourth.est-tile h3 {
		font-size: var(--size--h4);
		line-height: 1.1;
	}
	#top .av_one_fourth.est-tile p {
		font-size: var(--size--s);
		margin-top: var(--padding--smaller);
	}
}

/**********************************************************
=Lines
/*********************************************************/

:root {
	--line__shrink: 0px;
}

/* Lines */
#top .avia-section:has([class*="est-line"]) {
	--line__color: var(--brown--light);
	--line__radius: var(--radius--normal);
	--line__x: 1px;
	--line__y: 1px;
	overflow: hidden;
}
#top .avia-section.est-bg--green:has([class*="est-line"]) {
	--line__color: var(--white);
}
#top [class*="est-line"]::before,
#top [class*="est-line"]::after {
	background: transparent;
	border: none;
	box-shadow: var(--line__x) var(--line__y) 0 0 var(--line__color);
	content: "";
	pointer-events: none;
	position: absolute;
	visibility: visible;
	z-index: -1;
}
/* Left */
#top .est-line--left::before {
	--line__x: 1px;
	--line__y: 1px;
	bottom: calc( 100% + var(--padding--small) );
	height: 1px;
	right: 50%;
	width: 200vw;
}
@media( min-width:768px ) {
	#top .av_one_full.est-line--left::before { /* in full-width, centered rows, line only goes to edge of content */
		width: 50%;
	}
	#top .flex_column:has(.est-line--left) + .flex_column:has(.est-line--left) { /* hide overlapping lines on desktop */
		--line__color: transparent;
	}
}
#top .est-stat.est-line--left::before {
	bottom: 100%;
}
/* Left up */
#top .est-line--left-up::before {
	--line__x: -1px;
	--line__y: 1px;
	border-bottom-left-radius: var(--line__radius);
	bottom: calc( 100% + var(--padding--small) );
	height: 200vw;
	right: 100%;
	width: calc( var(--calculated-content-width) * 0.06 );
}
#top .est-stat.est-line--left-up::before {
	bottom: 100%;
}
@media( max-width:767px ) {
	#top .est-line--left-up::before {
		width: 100%;
	}
}
/* Up */
#top .est-line--up::before {
	--line__x: 1px;
	--line__y: -1px;
	bottom: 100%;
	height: var(--padding--normal);
	right: 100%;
	width: 1px;
}
#top :first-child > .est-line--up::before {
	border-top-right-radius: var(--line__radius);
	width: 200vw;
}
@media( min-width:768px ) {
	#top :first-child > .est-line--up::before {
		height: 200vw;
	}
}
/* Up left */
#top .est-line--up-left::before {
	--line__x: 1px;
	--line__y: -1px;
	border-top-right-radius: var(--line__radius);
	bottom: 50%;
	height: calc( 50% + var(--padding--normal) - var(--line__shrink) );
	right: calc( 100% + var(--padding--small) );
	width: 200vw;
}
@media( max-width:767px ) {
	#top .est-line--up-left::before {
		right: calc( 100% + var(--padding--smaller) );
	}
}
@media( min-width:768px ) {
	#top .av_one_half.av-equal-height-column:has(> .avia-image-container:first-child:last-child) + .av-flex-placeholder + .av_one_half:not(.est-card) {
		--line__shrink: var(--padding--large);
	}
}
/* Down */
#top .est-line--down::after {
	--line__x: 1px;
	--line__y: 1px;
	height: var(--padding--normal);
	right: 100%;
	top: 100%;
	width: 1px;
}
#top :last-child > .est-line--down::after {
	border-bottom-right-radius: var(--line__radius);
	width: 200vw;
}
@media( min-width:768px ) {
	#top :last-child > .est-line--down::after {
		height: 200vw;
	}
}
/* Down right */
#top .est-line--down-right::after {
	--line__x: -1px;
	--line__y: 1px;
	border-bottom-left-radius: var(--line__radius);
	height: calc( 50% + var(--padding--normal) - var(--line__shrink) );
	left: calc( -1 * var(--padding--small) );
	top: 50%;
	width: 200vw;
}
@media( max-width:767px ) {
	#top .est-line--down-right::after {
		left: calc( -1 * var(--padding--smaller) );
	}
}
/* Right */
#top .est-line--right::after {
	--line__x: 1px;
	--line__y: 1px;
	bottom: calc( 100% + var(--padding--small) );
	height: 1px;
	left: 50%;
	width: 200vw;
}
@media( min-width:768px ) {
	#top .av_one_full.est-line--right::after { /* in full-width, centered rows, line only goes to edges of content */
		width: 50%;
	}
	#top .flex_column:has(.est-line--right) + .flex_column:has(.est-line--right) { /* hide overlapping lines on desktop */
		--line__color: transparent;
	}
}
#top .est-stat.est-line--right::after {
	bottom: 100%;
}
/* Right up */
#top .est-line--right-up::after {
	--line__x: 1px;
	--line__y: 1px;
	border-bottom-right-radius: var(--line__radius);
	bottom: calc( 100% + var(--padding--small) );
	height: 200vw;
	left: 100%;
	width: calc( var(--calculated-content-width) * 0.06 );
}
@media( max-width:767px ) {
	#top .est-line--right-up::after {
		width: 100%;
	}
}
/* Right down */
#top .est-line--right-down::after {
	--line__x: 1px;
	--line__y: -1px;
	border-top-right-radius: var(--line__radius);
	top: calc( -1 * var(--padding--small) );
	height: 200vw;
	left: 100%;
	width: calc( var(--calculated-content-width) * 0.06 );
}
#top .est-stat.est-line--right-down::after {
	top: 0;
}
@media( max-width:767px ) {
	#top .est-line--right-down::after {
		width: 100%;
	}
}

/**********************************************************
=Borders
/*********************************************************/

/* All borders */
:root {
	--border__color: var(--green--lighter);
	--border__shrink: 0px;
	--border__overflow: var(--padding--smaller);
	--border__radius: var(--radius--large);
	--border__thickness: 0.7rem;
}
#top .est-bg--beige {
	--border__color: var(--brown--light);
}

/* Top thick border */
#top .av_textblock_section:has(.est-border--top) {
	position: relative;
}
#top .flex_column.av_one_full.est-border--top > .av_textblock_section:first-child > .avia_textblock:first-child > h2:first-child::after, /* centered full-width column with border only above H2 text */
#top .flex_column.est-border--top:not(.av_one_full) > .av_textblock_section:first-child::after, /* normal column with border above i.e. homepage hero */
#top .av_textblock_section:has(.est-border--top)::after {
	background: var(--border__color);
	border-radius: var(--border__radius);
	content: "";
	height: var(--border__thickness);
	left: 50%;
	opacity: 1;
	position: absolute;
	top: calc( -1 * var(--padding--small) );
	transform: translate( -50%, -50% );
	visibility: visible;
	width: calc( 100% + var(--border__overflow) );
	z-index: 10;
}
#top .flex_column.est-stat.est-border--top:not(.av_one_full) > .av_textblock_section:first-child::after, /* stats have border flush with top */
#top .av_textblock_section:has(.est-stat.est-border--top)::after {
	top: 0;
}
#top .est-border--top {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
/* Centered H2 with top border */
@media( min-width:768px ) {
	#top .flex_column.est-border--top > .av_textblock_section:first-child > .avia_textblock:first-child {
		display: flex;
		flex-direction: column;
	}
	#top .flex_column.est-border--top > .av_textblock_section:first-child > .avia_textblock:first-child > h2:first-child {
		align-self: center;
		display: inline-block;
		margin-inline: auto;
		position: relative;
		width: auto;
	}
}

/* Left thick border */
#top .est-border--left,
#top .av_textblock_section:has(.est-border--left) {
	--border__top: 50%;
	--border__transform: translate( -50%, -50% );
}
#top .av_textblock_section:has(.est-border--left),
#top .flex_column.est-border--left > .av_textblock_section:first-child {
	position: relative;
}
#top .av_textblock_section:has(.est-border--left)::after,
#top .flex_column.est-border--left > .av_textblock_section:first-child::after {
	background: var(--border__color);
	border-radius: var(--border__radius);
	content: "";
	height: calc( 100% - var(--border__shrink) + var(--border__overflow) );
	left: calc( -1 * var(--padding--small) );
	opacity: 1;
	position: absolute;
	top: var(--border__top);
	transform: var(--border__transform);
	visibility: visible;
	width: var(--border__thickness);
}
#top .av_textblock_section:has(.est-stat.est-border--left)::after {
	left: 0;
}
@media( max-width:767px ) {
	#top .av_textblock_section:has(.est-border--left)::after,
	#top .flex_column.est-border--left > .av_textblock_section:first-child::after {
		left: calc( -1 * var(--padding--smaller) );
	}
}
/* Give text content more room when left border */
#top .est-border--left > * {
	padding-left: var(--padding--small);
}
/* Stat with left border */
#top .est-stat.est-border--left {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}
/* Column with left border and button will need some adjustment */
#top#top#top .est-border--left:has(.av_textblock_section + .avia-button-wrap) {
	--border__shrink: calc( -1 * ( var(--input-height) + var(--padding--normal) ) );
	--border__top: 0;
	--border__transform: translateX( -50% );
}

/**********************************************************
=Blogroll
/*********************************************************/

/* Blogroll container */
#top .av-alb-blogposts {
	gap: var(--padding--normal);
}
/* Individual blog in blogroll */
#top .av-alb-blogposts .post-entry {
	--blog__padding: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}
/* Image */
#top#top .av-alb-blogposts .big-preview {
	height: 250px;
	margin-bottom: var(--padding--normal);
	position: relative;
}
#top#top .av-alb-blogposts .big-preview::after {
	background: var(--green--lighter);
	border-radius: var(--border__radius);
	bottom: 0;
	content: "";
	height: var(--border__thickness);
	left: 50%;
	position: absolute;
	transform: translate( -50%, 50% );
	width: calc( 100% + var(--border__overflow) );
}
#top#top .av-alb-blogposts .big-preview a {
	background: var(--beige);
	border-radius: var(--radius--small) var(--radius--small) 0 0;
}
#top#top .av-alb-blogposts img {
	mix-blend-mode: multiply;
}
/* Blogroll text */
#top#top .av-alb-blogposts .entry-content-header {
	flex-direction: column-reverse;
}
#top .av-alb-blogposts * {
	text-align: left;
}
#top .av-alb-blogposts .entry-content-header * {
	line-height: 1;
}
#top#top .av-alb-blogposts .post-title {
	font-size: var(--size--h3);
}
#top .av-alb-blogposts .post-meta-infos {
	color: var(--brown);
	font-size: var(--size--s);
}
#top .av-alb-blogposts .date-container {
	color: var(--brown);
}
#top .av-alb-blogposts .entry-title {
	margin-top: var(--padding--small);
}
#top .av-alb-blogposts .entry-title a {
	font-size: var(--size--h4);
	line-height: 1.1;
}
#top .av-alb-blogposts .entry-content {
	margin-top: var(--padding--small);
}
#top .av-alb-blogposts .entry-content p {
	color: var(--brown);
	mask-image: linear-gradient( to bottom, white 3lh, transparent );
	max-height: 4lh;
}
/* Blogroll button */
#top#top .av-alb-blogposts .read-more-link {
	margin-top: var(--padding--small);
}

/**********************************************************
=Sliders (Glide)
**********************************************************/

/* All sliders */
.est-text--on-dark {
	--pagination__background: transparent;
	--pagination__border: var(--green--lighter);
	--pagination__color: var(--green--lighter);
	--pagination__background--hover: var(--white);
	--pagination__border--hover: var(--white);
	--pagination__color--hover: var(--green);
}
#top#top#top .glide__arrow::after {
	mask-image: url("./images/est-icon--arrow-head.svg");
}

/* Testimonials slider */
#top .glide__arrows {
	justify-content: flex-end;
	margin-bottom: var(--padding--normal);
	padding-top: 0;
}
@media( min-width:768px ) {
	#top .glide__arrows {
		justify-content: flex-start;
		margin-left: 0;
	}
}
#top .est-testimonials .glide__track {
	overflow: hidden;
}

/* Logo slider */
#top .est-logos .glide__arrows {
	justify-content: center;
	margin-top: var(--padding--small);
}
#top .est-logos .est-slider__inner {
	align-items: center;
	justify-content: center;
}
#top .est-logos img {
	height: 130px;
	margin-bottom: var(--padding--small);
	max-width: 100%;
	object-fit: contain;
	object-position: center;
	width: 210px;
}
#top .est-logos .est-slider__title {
	font-family: var(--family--attention);
	font-size: var(--size--p);
	text-align: center;
}
#top .est-logos .est-slider__subtitle {
	font-size: var(--size--xs);
	text-align: center;
}

/**********************************************************
=Cards
/*********************************************************/

/* Standard card */
#top .est-card {
	--card__image: 200px;
	--card__padding: var(--padding--small);
	background: var(--beige);
	border-radius: var(--radius--normal);
	box-shadow: transparent;
	overflow: hidden;
	padding: var(--card__padding);
}
@media( min-width:768px ) {
	#top .est-card {
		--card__image: 200px;
		--card__padding: var(--padding--normal);
	}
}
#top .est-card p {
	font-size: var(--size--s);
}

/* Standard card with equal height */
@media( min-width:768px ) {
	#top .flex_column_table:has(.est-card) {
		align-items: stretch;
		column-gap: 6%;
		display: flex;
	}
	#top .flex_column_table:has(.est-card) .av-flex-placeholder {
		display: none;
	}
	#top .flex_column_table .est-card {
		height: auto;
		margin-left: 0;
		width: 100%;
	}
}


/* Card w/ image */
#top .est-card .avia-image-container {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	height: var(--card__image);
	margin-inline: calc( -1 * var(--card__padding) );
	margin-top: calc( -1 * var(--card__padding) );
	max-width: none;
	width: auto;
}
#top .est-card .avia-image-container * {
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	object-size: cover;
	width: 100%;
}

/* Cards with transparent background */
#top .est-card--transparent {
	--card__padding: 0;
	--card__radius: 0;
	background: transparent;
}
#top .est-card--transparent .avia-image-container {
	border-radius: var(--radius--normal);
}

/* Horizontal card */
#top .est-card--horizontal::before,
#top .est-card--horizontal::after {
	display: none;
}
#top .est-card--horizontal {
	align-items: center;
	flex-direction: row;
	gap: var(--padding--small);
}
#top#top .est-card--horizontal { /* override grid.css */
	display: flex;
}
#top .est-card--horizontal .av_font_icon + .av_textblock_section {
	flex: 1;
}

/* Combined cards */
#top .est-card--combined {
	overflow: visible;
}
#top .est-card--combined::after {
	background: inherit;
	content: "";
	height: calc( var(--card__padding) + var(--padding--normal) + var(--card__padding) );
	opacity: 1;
	position: absolute;
	left: 0;
	top: calc( 100% - var(--card__padding) );
	visibility: visible;
	width: 100%;
	z-index: -1;
}
@media( min-width:768px ) {
	#top .est-card--combined {
		overflow: visible;
	}
	#top .est-card--combined::after {
		height: 100%;
		left: calc( 100% - var(--card__padding) );
		top: 0;
		width: calc( var(--card__padding) + ( var(--calculated-content-width) * 0.06 ) + var(--card__padding) );
	}
}

/**********************************************************
=Tabs
**********************************************************/

/* This import should be replaced with code on a real build */
/*@import url('./styles/snippets/snippet-tabs--top.css');*/
/*@import url('./styles/snippets/snippet-tabs--left.css');*/

/**********************************************************
=Scholarship Directory
**********************************************************/

/* Scholarship filter */
#top .sd-search-wrapper {
	position: relative;
}
#top .sd-search-icon {
	pointer-events: none;
	position: absolute;
	right: var(--padding--small);
	top: 50%;
	transform: translateY( -50% );
}
/* Scholarship filters */
#top .sd-filters {
	--row-top-padding: var(--padding--normal);
	--row-bottom-padding: var(--padding--normal);
	--input__background: var(--white);
	--input__background--hover: var(--white);
	--input__border: var(--white);
	--input__border--hover: var(--brown);
	--input__color: var(--brown);
	--input__color--hover: var(--brown);
}
#top .sd-filter-section {
	background-image: linear-gradient( var(--beige--dark) );
	background-position: center;
	background-repeat: no-repeat;
	background-size: 0 0;
	display: flex;
	flex-direction: column;
}
#top .sd-filter-section.has-filter {
	background-size: 100% 2px;
	gap: var(--padding--large);
}
@media( min-width:768px ) {
	#top#top .sd-filter-section {
		background-size: 2px 100%;
		display: flex;
		flex-direction: row;
		gap: calc( 2 * var(--padding--normal) );
	}
}
#top .sd-filter-left {
	flex: 1;
}
#top .sd-filter-right {
	flex: 1;
}
#top .sd-filter-header.visible {
	display: flex;
	justify-content: space-between;
	margin-bottom: var(--padding--small);
}
#top .sd-filter-label,
#top#top .sd-reset-filters,
#top .sd-read-more {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	cursor: text;
	font-family: var(--family--normal);
	font-size: var(--size--s);
	font-weight: var(--weight--normal);
	height: auto;
	letter-spacing: 0;
	line-height: var(--size--s);
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}
#top#top .sd-reset-filters {
	cursor: pointer;
	margin: -2px;
	padding: 2px;
}
#top#top .sd-reset-filters:where(:hover,:focus-visible) {
	background: var(--white);
}
#top .sd-filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: var(--padding--smaller);
}
#top .sd-filter-option {
	--input__background: transparent;
	--input__background--hover: transparent;
	--input__border: var(--white);
	--input__border--hover: var(--brown);
}
#top#top .sd-filter-option:where(:hover,:focus-visible) {
	background: var(--input__background--hover);
	box-shadow: inset 0 0 0 2px var(--input__border--hover);
	color: var(--input__color--hover);
}
#top#top .sd-filter-option.active,
#top#top .sd-filter-option.active:where(:hover,:focus-visible) {
	--input__background: var(--white);
	--input__background--hover: var(--white);
	box-shadow: var(--box-shadow);
}

/* Scholarship grid */
#top .sd-scholarships-grid {
	display: grid;
	gap: var(--padding--small);
	grid-template-columns: 1fr;
}
@media( min-width:768px ) {
	#top .sd-scholarships-grid {
		display: grid;
		gap: var(--padding--small);
		grid-template-columns: 1fr 1fr 1fr;
	}
}

/* Scholarship cards */
#top .sd-scholarship-card {
	background: var(--white);
	border-radius: var(--radius--normal);
	box-shadow: inset 0 0 0 2px var(--beige);
	cursor: pointer;
	padding: var(--padding--normal);
	position: relative;
}
#top .sd-scholarship-card:where(:hover,:focus-visible) {
	box-shadow: inset 0 0 0 2px var(--beige--dark);
}
#top .sd-scholarship-card.expanded {
	background: var(--beige);
}
#top .sd-scholarship-card.expanded::after {
	background: linear-gradient( to bottom, rgb( from var(--beige) r g b / 0 ), rgb( from var(--beige) r g b / 1 ) 10px );
	content: "";
	height: calc( var(--padding--normal) * 3 );
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: calc( 100% - var(--padding--normal) );
	width: 100%;
}
#top .sd-scholarship-card h3 {
	font-size: var(--size--h4);
}
#top .sd-read-more { /* see scholarship filters */
	cursor: pointer;
	font-weight: var(--weight--bold);
	margin-top: var(--padding--small);
	text-transform: capitalize;
}
#top .sd-scholarship-detail {
	background: var(--beige);
	border-radius: var(--radius--normal);
}

/* Scholarship details */
#top .sd-scholarship-detail {
	--detail__gap: var(--padding--normal);
	margin-top: var(--padding--small);
	padding: var(--padding--normal);
}
@media( max-width:767px ) {
	#top .sd-scholarship-detail {
		margin-top: 0;
		padding-top: 0;
	}
}
#top .sd-detail-top {
	display: flex;
	justify-content: flex-end;
	margin-bottom: var(--padding--small);
}
#top .sd-detail-actions-top {
	display: flex;
	flex-wrap: wrap;
	gap: var(--padding--small);
}
@media( min-width:768px ) {
	#top .sd-detail-content {
		columns: 3;
		display: block;
		overflow: hidden;
		position: relative;
	}
}
#top .sd-detail-content > * + * {
	margin-top: var(--padding--normal);
}
/* Scholarship directory fonts */
#top .sd-detail-heading {
	color: var(--green);
	font-family: var(--family--normal);
	font-size: var(--size--s);
	font-weight: var(--weight--bold);
	line-height: 1;
	margin-bottom: var(--padding--smaller);
	text-transform: uppercase;
}
#top .sd-detail-text {
	font-size: var(--size--p);
}
#top .sd-detail-text p {
}
#top .sd-deadline {
	color: var(--green);
	font-family: var(--family--attention);
	font-size: var(--size--p);
	font-weight: var(--weight--medium);
}

/* Scholarship image */
#top .sd-detail-image {
	/*background: var(--beige--dark);*/
	background: transparent;
	break-inside: avoid;
	height: 350px; /* some arbitrary height to make sure it takes up the full column */
	position: relative;
	width: 100%;
}
@media( min-width:768px ) {
	#top .sd-detail-image {
		position: static;
	}
}
#top .sd-detail-image img {
	height: 100%;
	object-fit: contain;
	object-position: center;
	position: absolute;
	top: 0;
	width: 100%;
}
@media( min-width:768px ) {
	#top .sd-detail-image img {
		width: 33.3%;
	}
}

/* Scholarship apply buttons */
#top .sd-btn-apply {
	--button__background: transparent;
	--button__background--hover: var(--brown--light);
	--button__border: var(--brown);
	--button__border--hover: var(--brown--light);
	--button__color: var(--brown);
	--button__color--hover: var(--white);
}
#top .sd-btn-give {
	--button__background: var(--green);
	--button__background--hover: var(--green--light);
	--button__border: var(--green);
	--button__border--hover: var(--green--light);
	--button__color: var(--white);
	--button__color--hover: var(--white);
}

/* Scholarship pagination */
#top .sd-pagination-desktop {
	display: none;
}
#top .sd-pagination-mobile {
	display: flex;
	justify-content: center;
	margin-top: var(--padding--small);
}
#top#top .sd-load-more-btn[disabled] {
	cursor: error;
	opacity: 0.5;
}

/**********************************************************
=Popups
**********************************************************/

/* Brand video popup */
#top .pum-overlay {
	background: rgb( from var(--brown) r g b / 0.8 );
}
#top .pum-container {
	background: var(--white);
	border-radius: var(--radius--normal);
	left: 50% !important; /* overwrite inline */
	margin: 0;
	max-height: 60%;
	overflow: hidden;
	padding: var(--padding--small);
	top: 50% !important;
	transform: translate( -50%, -50% );
}
@media( min-width:768px ) {
	#top .pum-container {
		padding: var(--padding--normal);
	}
}
#top .pum-container:has(iframe) {
	aspect-ratio: 560 / 315;
}
#top .pum-content,
#top .pum p,
#top .pum iframe {
	height: 100%;
	width: 100%;
}
#top .pum iframe {
	border-radius: var(--radius--small);
	overflow: hidden;
}
#top#top .popmake-close {
	background: var(--brown);
	background-image:
		linear-gradient( to top right, transparent calc( 50% - 1px), var(--white) 0, var(--white) calc( 50% + 1px ), transparent 0 ),
		linear-gradient( to top left, transparent calc( 50% - 1px), var(--white) 0, var(--white) calc( 50% + 1px ), transparent 0 );
	background-position: center;
	background-repeat: no-repeat;
	background-size: 50% 50%;
	border-radius: var(--radius--small);
	box-shadow: none;
	color: transparent;
	font-size: 0;
	height: 2rem;
	overflow: hidden;
	right: var(--padding--smaller);
	top: var(--padding--smaller);
	width: 2rem;
}
#top#top .popmake-close:where(:hover,:focus-visible) {
	background-color: var(--green);
}

/* Popup content */
#top .est-popup__inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: var(--padding--normal);
	text-align: center;
}
@media( min-width:768px ) {
	#top .est-popup__inner {
		flex-direction: row;
		text-align: left;
	}
}
#top .est-popup__left {
	flex: 2;
}
#top .est-popup__inner h2 {
	line-height: 1;
	margin-top: var(--padding--smaller);
}
#top .est-popup__right {
	align-items: center;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--padding--smaller);
}
@media( min-width:768px ) {
	#top .est-popup__right {
		align-items: flex-start;
	}
}
#top .est-popup__right br {
	display: none;
}
#top .est-popup__inner .avia-button {
	white-space: nowrap;
}

/**********************************************************
=Video columns
**********************************************************/

/* Column with video that's supposed to touch right edge of page */
@media( min-width:768px ) {
	#top .est-video__column .avia-image-container {
		background: var(--brown);
		bottom: 0;
		left: 0;
		max-width: none;
		position: absolute;
		top: 0;
		width: 50vw;
	}
}
#top .est-video__column .avia-image-container::after {
	background: var(--beige--dark);
	content: "";
	height: 4rem;
	left: 50%;
	mask-image: url("./images/est-icon--play.svg");
	mask-position: center;
	mask-size: contain;
	overflow: visible;
	position: absolute;
	top: 50%;
	transform: translate( -50%, -50% );
	transition: background 0.2s ease-in-out;
	width: 4rem;
}
#top .est-video__column:where(:hover,:focus-visible) .avia-image-container::after {
	background: var(--white);
}
@media( min-width:768px ) {
	#top .est-video__column .avia-image-container * {
		height: 100%;
		object-fit: cover;
		object-position: center;
		width: 100%;
	}
}
#top .est-video__column img {
	transition: opacity 0.2s ease-in-out;
}
#top .est-video__column:where(:hover,:focus-visible) img {
	opacity: 0.75;
}

/* Row with video taking up entire vertical space */
#top .est-video__row {
	--row-top-padding: 0;
	--row-bottom-padding: 0;
}
/* @media( max-width:767px ) { */
#top#top#top .est-video__row .container {
	padding-inline: 0;
	width: auto;
}
/* } */
#top .est-video__row .avia-video {
}
#top .est-video__row .avia-video,
#top .est-video__row .avia-video * {
	aspect-ratio: 16 / 9;
	height: auto;
	margin: 0;
	margin-inline: auto;
	max-height: 70vh;
	padding: 0;
	position: static;
	width: auto;
	width: 100%;
}

/**********************************************************
=Scroll to top
**********************************************************/

/* Make scroll to top visible even on mobile */
@media( max-width:767px ) {
	#top#top#top #scroll-top-link {
		bottom: var(--page-gutter);
		display: block;
		right: var(--page-gutter);
	}
}

/**********************************************************
=Top bar
**********************************************************/

/* Make top bar fixed on desktop */
@media( max-width:767px ) {
	#top #tpbr_topbar {
		position: absolute !important; /* override inline styles */
		top: var(--admin-bar-height) !important;
	}
}
#top #tpbr_topbar {
	background: var(--brown) !important;
}
#top #tpbr_box {
	background: transparent !important;
}
#top #tpbr_calltoaction {
	--button__color: var(--white);
	--button__color--hover: var(--green--lighter);
	--button__border: var(--white);
	--button__border--hover: var(--green--lighter);
	align-items: center;
	background: var(--button__background) !important;
	border: none;
	border-radius: var(--button__radius) !important;
	box-shadow: inset 0 0 0 2px var(--button__border);
	display: inline-flex !important;
	color: var(--button__color) !important;
	font-family: var(--family--button);
	font-size: var(--size--input);
	font-weight: var(--weight--normal);
	letter-spacing: 0;
	line-height: var(--size--input);
	margin: 0 !important;
	margin-left: var(--padding--smaller) !important;
	max-width: 100%;
	min-width: 0;
	opacity: 1;
	padding: calc( var(--padding--input) / 2 ) var(--padding--input) !important;
	text-transform: uppercase;
	transition: all 0.2s ease-in-out;
}
#top #tpbr_calltoaction:where(:hover,:focus-visible) {
	background: var(--button__background--hover) !important;
	box-shadow: inset 0 0 0 2px var(--button__border--hover) !important;
	color: var(--button__color--hover) !important;
}

/**********************************************************
=Global Styles
**********************************************************/

#top .est-doc .post-entry {
	border: 1px solid var(--grey);
	padding: var(--padding--normal);
}

/**********************************************************
=ADA Styles
**********************************************************/

.est-skip-link {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}
.est-skip-link:focus {
    background-color: #ececec;
    clip: auto;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    margin: 0.5rem 0;
    outline: 2px solid #000;
    outline-offset: 2px;
    padding: 8px 22px 10px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
.est-skip-link:hover,
.est-skip-link:focus-visible {
    color: #006595;
    text-decoration: none;
}
.admin-bar .est-skip-link:focus {
    top: 37px;
}
@media screen and (max-width: 782px) {
    .admin-bar .est-skip-link:focus {
        top: 51px;
    }
}

/**********************************************************
=Special Pages
**********************************************************/

/* Team page */
#top .est-team .avia-image-container * {
	object-fit: cover;
	width: 100%;
}
@media( max-width:767px ) {
	#top#top#top#top .est-team .flex_column:has(.avia-image-container) {
		background: var(--beige);
		border-radius: var(--radius--small);
		margin: 0;
		height: 300px;
		overflow: hidden;
		width: 100%;
	}
	#top#top#top#top .est-team .flex_column:has(.avia-image-container) * {
		height: 100%;
		object-fit: cover;
		object-position: center 30%;
		width: 100%;
	}
}

/* Blog posts */
#top .post-entry .entry-content p {
	text-align: left;
}

/* Search page */
#top#top :where(.av-main-404,.av-main-search) #searchsubmit {
	background-image: none;
	transform: none;
}
#top#top :where(.av-main-404,.av-main-search):has([type="submit"]:where(:hover,:focus-visible)) .avia-svg-icon {
	color: var(--brown);
}
#top .template-search .page-heading-container {
	border: none;
	margin-bottom: 0;
	padding-bottom: var(--padding--large);
}
#top .template-search .author-extra-border {
	display: none;
}
#top .template-search .widgettitle {
	color: var(--white);
	margin-bottom: var(--padding--normal);
	margin-top: 0;
}
#top#top .template-search .post-entry,
#top#top .template-search .post-entry * {
	background: none;
	border: none;
	color: var(--brown);
	display: block;
	float: none;
	font-size: var(--size--p);
	line-height: 1;
	margin: 0;
	padding: 0;
	position: static;
	vertical-align: top;
}
#top#top#top .template-search .search-result-counter {
	--icon__size: 1.7rem;
	align-items: center;
	background: var(--beige);
	border-radius: 50%;
	color: var(--green);
	display: inline-flex;
	font-size: var(--size--xs);
	font-weight: var(--weight--bold);
	justify-content: center;
	height: var(--icon__size);
	margin-bottom: var(--padding--smaller);
	width: var(--icon__size);
}
#top#top#top .template-search a {
	color: var(--green);
	font-family: var(--family--attention);
	font-size: var(--size--h4);
	font-weight: var(--weight--medium);
	margin-bottom: var(--padding--smaller);
}
#top#top#top .template-search a:where(:hover,:focus-visible) {
	text-decoration: underline;
}
#top#top#top .post-title a {
	display: inline-block;
	width: auto;
}
#top#top#top .template-search .entry-content {
	display: none;
}
#top#top#top .template-search article + article {
	margin-top: var(--padding--normal);
}

/* Search page pagination */
#top#top#top .template-search .pagination a {
	font-family: var(--family--normal);
	font-size: var(--size--s);
	margin: 0;
}
#top#top#top .template-search .pagination a:where(:hover,:focus-visible) {
	background: var(--green--light);
	color: var(--white);
	text-decoration: none;
}