/*
Theme Name: Wilhelm Family Foundation
Theme URI: https://www.3n.design
Description: Custom Wordprss theme for the Wilhel Family Founcation by 3n Design.
Author: 3n Design
Author URI: https://www.3n.design
Version: 1.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	3.	Transitions
	4. 	Layout Base
	5.	Element Base
	6. 	UI Elements
	7. 	Site Header
	8. 	Menu Modal
	9. 	Page Headers
	10. Grid Model
	11.	Select Modal
	12. Carousel Modal
	13. Blocks
	14. Entry Content
	15. Forms
	16. Site Pagination
	17. Site Footer
	18. Accessibility
	19.	Transitions

-------------------------------------------------------------- */

/* --------------------------------------------------------------
= 0. CSS Reset
-------------------------------------------------------------- */

html,
body {
	border: none;
	margin: 0;
	padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
dl,
dt,
dd,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
}

blockquote::before,
blockquote::after {
	content: "";
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
figure {
	margin: 0;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
* {
	-webkit-tap-highlight-color: transparent !important;
}
.group:after {
	content: "";
	display: table;
	clear: both;
}

/* --------------------------------------------------------------
= 1. Variables
-------------------------------------------------------------- */

:root {
	--black: #000000;
	--header-color: #121212;
	--gray: #95a5a6; 
	--white: #ffffff;
	--heavy: 800;
	--bold: 700;
	--book: 300;
	--header: 60px;
	--gutter: 20px;
	--margin: 20px;
}
@media ( min-width: 768px ) {
	:root {
		--header: 80px;
		--gutter: 40px;
		--margin: 40px;
	}
}
@media ( min-width: 1280px ) {
	:root {
		--header: 85px;
	}
}

/* --------------------------------------------------------------
= 2. Typography
-------------------------------------------------------------- */

body {
	font-family: "mr-eaves-modern", sans-serif;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h2,
h3,
h4,
h5,
h6,
b, strong {
	font-weight: 700;
}
i, em {
	font-style: italic;
}

/* --------------------------------------------------------------
= 3. Layout Base
-------------------------------------------------------------- */

main {
	min-height: calc(100vh - var(--header));
}
.inner {
	margin: 0 auto;
	max-width: 1600px;
	padding: 0 var(--gutter);
	position: relative;
}

/* --------------------------------------------------------------
= 4. UI Elements
-------------------------------------------------------------- */

/* Hamburger ------------------------------------------------- */

#hamburger {
	background: transparent;
	height: 20px;
	position: relative;
	width: 21px;
	vertical-align: bottom;
	-webkit-appearance: none;
}
#hamburger:before,
#hamburger:after {
	content: '';
}
#hamburger:before,
#hamburger:after,
#hamburger span {
	background-color: var(--white);
	display: block;
	height: 3px;
	position: absolute;
		right: 0;
	width: 100%;
	transition: all 300ms ease;
}
.home #hamburger:before,
.home #hamburger:after,
.home #hamburger span {
	background-color: var(--black);
}
.home.dark #hamburger:before,
.home.dark #hamburger:after,
.home.dark #hamburger span {
	background-color: var(--white);
}
#hamburger:before {
	top: 0px;
}
#hamburger span {
	top: 8px;
}
#hamburger:after {
	top: 16px;
}
#hamburger:hover:before,
#hamburger:hover:after,
#hamburger:hover span,
.home.dark #hamburger:hover:before,
.home.dark #hamburger:hover:after,
.home.dark #hamburger:hover span {
	background-color: var(--gray);
}
@media ( min-width: 768px ) {
	#hamburger {
		display: none;
	}
}

/* Close ----------------------------------------------------- */

#menu-ex {
	background: transparent;
	display: inline-block;
	height: 20px;
	position: relative;
	width: 21px;
	vertical-align: bottom;
	-webkit-appearance: none;
}
#menu-ex:before,
#menu-ex:after {
	background-color: var(--black);
	content: '';
	display: block;
	height: 3px;
	position: absolute;
		right: 0;
	width: 100%;
	transition: all 300ms ease;
}
#menu-ex:before,
#menu-ex:after {
	background-color: var(--black);
}
#menu-ex:before {
	top: 8px;
	transform: rotate(-45deg);
}
#menu-ex:after {
	top: 8px;
	transform: rotate(45deg);
}
#menu-ex:hover:before,
#menu-ex:hover:after {
	background-color: var(--gray);
}
@media ( min-width: 768px ) {
	#menu-ex {
		display: none;
	}
}

/* --------------------------------------------------------------
= 5. Site Header
-------------------------------------------------------------- */

html,
body {
	background-color: #f9f9f9;
}

#site-header {
	background-color: var(--header-color);
	min-height: var(--header);
	position: fixed;
		top: 0;
		left: 0;
	width: 100%;
	z-index: 1000;
}
.home #site-header {
	background-color: #f9f9f9;
}
.home.dark #site-header {
	background-color: var(--header-color);
}
#site-header .inner {
	display: flex;
	padding-top: 20px;
	padding-bottom: 20px;
}
#site-title,
#site-menu--open {
	height: 20px;
}
#site-title {
	width: calc(100% - 21px);
}
#logo-a,
#menu-open,
#menu-close {
	display: none;
}
#menu-open,
#menu-close {
	-webkit-appearance: none;
}
#logo-b {
	display: inline-block;
	height: 20px;
	overflow: visible;
	width: auto;
}
@media ( min-width: 768px ) {
	#site-header .inner {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	#logo-a,
	#menu-open,
	#menu-close {
		display: inline-block;
	}
	#logo-a {
		height: 20px;
		overflow: visible;
		width: auto;
	}
	#logo-b {
		display: none;
	}
	#menu-open,
	#menu-close {
		background-color: transparent;
		font-weight: var(--book);
		font-size: 25px;
		line-height: 20px;
		text-transform: uppercase;
		transition: color 300ms ease;
	}
	#menu-open {
		color: var(--white);
	}
	#menu-close {
		color: var(--black);
	}
	.home #menu-open {
		color: var(--black);
	}
	.home.dark #menu-open {
		color: var(--white);
	}
	#menu-open:hover,
	#menu-close:hover,
	.home.dark #menu-open:hover {
		color: var(--gray);
	}
}
@media ( min-width: 1280px ) {
	#site-title,
	#site-menu--open {
		height: 25px;
	}
	#logo-a {
		height: 25px;
	}
	#menu-open,
	#menu-close {
		font-size: 30px;
		line-height: 25px;
	}
}

/* Logo Gradients -------------------------------------------- */

.home #logo-b path { fill: url(#homepage-light-b) }
.home.dark #logo-b path { fill: url(#homepage-dark-b) }
.page-template-page-about #logo-b path { fill: url(#about-b) }
.page-template-page-grants #logo-b path,
.page-template-page-apply #logo-b path { fill: url(#grants-b) }
.search #logo-b path,
.single #logo-b path, .archive #logo-b path,
.page-template-page-grantees #logo-b path { fill: url(#grantees-b) }
.page-template-page-faq #logo-b path { fill: url(#faq-b) }
#logo-b path,
.page-template-default #logo-b path { fill: url(#default-b) }

@media ( min-width: 768px ) {
	.home #logo-a path { fill: url(#homepage-light-a) }
	.home.dark #logo-a path { fill: url(#homepage-dark-a) }
	.page-template-page-about #logo-a path { fill: url(#about-a) }
	.page-template-page-grants #logo-a path,
	.page-template-page-apply #logo-a path { fill: url(#grants-a) }
    .search #logo-a path,
	.single #logo-a path, 
	.archive #logo-a path,
	.page-template-page-grantees #logo-a path { fill: url(#grantees-a) }
	.page-template-page-faq #logo-a path { fill: url(#faq-a) }
	#logo-b path,
	.page-template-default #logo-a path { fill: url(#default-a) }
}

/* --------------------------------------------------------------
= 6. Menu Modal
-------------------------------------------------------------- */

#site-menu {
	background-color: var(--white);
	position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
	width: 100%;
	z-index: 2000;
	transform: translateX(100%);
	transition: transform 300ms ease;
}
.menu--active #site-menu {
	transform: translateX(0);
}
#site-menu .inner {
	height: 100%;
}
#site-menu--close {
	height: var(--header);
	padding: 20px 0;
	text-align: right;
}
#site-menu menu {
	list-style: none;
	margin: 0;
	padding: var(--margin) 0 0;
	text-align: right;
}
#site-menu menu a {
	color: transparent;
	display: inline-block;
	font-size: 2em;
	font-weight: var(--heavy);
	line-height: 1em;
	margin-bottom: 15px;
	-webkit-transform-style: preserve-3d;
	        transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 700ms ease;
}
#site-menu ul {
	position: absolute;
		bottom: 40px;
		left: var(--margin); 
	text-align: right;
	text-transform: uppercase;
	width: calc(100% - (var(--margin) * 2))
}
#site-menu ul a {
	font-weight: var(--heavy);
	line-height: 1em;
	text-decoration: none;
    transition: all 500ms ease;
}
@media ( min-width: 768px ) {
	#site-menu {
		width: calc((100% + var(--margin)) / 2)
	}
	#site-menu--close {
		padding: 30px 0;
	}
	#site-menu menu a {
		font-size: 2.5em;
	}
}
@media ( min-width: 1024px ) {
	#site-menu {
		width: calc((100% + (var(--margin) * 2)) * (1 / 3))
	}
}
@media ( min-width: 1280px ) {
	#site-menu menu a {
		font-size: 3em;
	}
}
@media ( min-width: 1600px ) {
	#site-menu {
		width: calc(50% - 240px)
	}
	#site-menu .inner {
		margin: 0 auto 0 0;
		max-width: 560px;
	}
}
/* Menu Item Gradients --------------------------------------- */

.home #site-menu ul a, .home #site-menu menu a {
	background: rgb(255,76,48);
	background: linear-gradient(90deg, rgba(255,76,48,1) 0%, rgba(219,10,91,1) 17%, rgba(90,34,139,1) 33%, rgba(0,0,0,1) 64%);
}
.page-template-page-about #site-menu ul a, .page-template-page-about #site-menu menu a {
	background: rgb(255,148,112);
	background: linear-gradient(90deg, rgba(255,148,112,1) 0%, rgba(45,85,255,1) 17%, rgba(8,14,44,1) 33%, rgba(0,0,0,1) 64%);
}
.page-template-page-apply #site-menu ul a, .page-template-page-grants #site-menu ul a,
.page-template-page-apply #site-menu menu a, .page-template-page-grants #site-menu menu a {
	background: rgb(54,215,183);
	background: linear-gradient(90deg, rgba(54,215,183,1) 0%, rgba(45,85,255,1) 17%, rgba(43,44,170,1) 33%, rgba(0,0,0,1) 64%);
}
.search #site-menu ul a, .search #site-menu menu a,
.single #site-menu ul a, .single #site-menu menu a,
.archive #site-menu ul a, .archive #site-menu menu a,
.page-template-page-grantees #site-menu ul a, .page-template-page-grantees #site-menu menu a {
	background: rgb(207,47,116);
	background: linear-gradient(90deg, rgba(207,47,116,1) 0%, rgba(90,34,139,1) 17%, rgba(1,1,122,1) 33%, rgba(0,0,0,1) 64%);
}
.page-template-page-faq #site-menu ul a,
.page-template-page-faq #site-menu menu a {
	background: rgb(249,105,14);
	background: linear-gradient(90deg, rgba(249,105,14,1) 0%, rgba(246,36,89,1) 17%, rgba(140,20,252,1) 33%, rgba(0,0,0,1) 64%);
}
#site-menu ul a, #site-menu menu a,
.page-template-default #site-menu ul a, .page-template-default #site-menu menu a {
	background: rgb(189,155,25);
	background: linear-gradient(90deg, rgba(189,155,25,1) 0%, rgba(255,76,48,1) 17%, rgba(210,82,127,1) 33%, rgba(0,0,0,1) 64%);
}
#site-menu ul a, #site-menu menu a,
.home #site-menu ul a, .home #site-menu menu a,
.page-template-page-about #site-menu ul a, .page-template-page-about #site-menu menu a,
.page-template-page-apply #site-menu ul a, .page-template-page-grants #site-menu ul a,
.page-template-page-apply #site-menu menu a, .page-template-page-grants #site-menu menu a, 
.single #site-menu ul a, .single #site-menu menu a,
.archive #site-menu ul a, .archive #site-menu menu a,
.page-template-page-grantees #site-menu ul a, .page-template-page-grantees #site-menu menu a,
.page-template-page-faq #site-menu ul a, .page-template-page-faq #site-menu menu a,
.page-template-default #site-menu ul a, .page-template-default #site-menu menu a {
	background-size: 300%;
	background-position: 100% 50%;
	        background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	        text-fill-color: transparent;
	-webkit-box-decoration-break: clone;
}
#site-menu ul a:hover,
#site-menu menu a:hover {
	background-position: 0px 50%;
}

/* Overlay Gradients ----------------------------------------- */

#overlay {
	display: none;
	position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	width: 100%;
	z-index: 1500;
	-webkit-animation: overlay 30s ease infinite;
            animation: overlay 30s ease infinite;
}
@-webkit-keyframes overlay {
    0%   { background-position: 0% 50%   }
    50%  { background-position: 100% 50% }
    100% { background-position: 0% 50%   }
}
@keyframes overlay { 
    0%   { background-position: 0% 50%   }
    50%  { background-position: 100% 50% }
    100% { background-position: 0% 50%   }
}
@media ( min-width: 768px ) {
	.home #overlay {
		background: rgb(255,76,48);
		background: linear-gradient(90deg, rgba(255,76,48,0.5) 0%, rgba(219,10,91,0.5) 50%, rgba(90,34,139,0.5) 100%);
		background-size: 400% 400%;
	}
	.page-template-page-about #overlay {
		background: rgb(255,148,112);
		background: linear-gradient(90deg, rgba(255,148,112,0.5) 0%, rgba(45,85,255,0.5) 50%, rgba(8,14,44,0.5) 100%);
		background-size: 400% 400%;
	}
	.page-template-page-grants #overlay,
	.page-template-page-apply #overlay {
		background: rgb(54,215,183);
		background: linear-gradient(90deg, rgba(54,215,183,0.5) 0%, rgba(45,85,255,0.5) 50%, rgba(43,44,170,0.5) 100%);
		background-size: 400% 400%;
	}
    .search #overlay,
	.single #overlay,
	.archive #overlay,
	.page-template-page-grantees #overlay {
		background: rgb(207,47,116);
		background: linear-gradient(90deg, rgba(207,47,116,0.5) 0%, rgba(90,34,139,0.5) 50%, rgba(1,1,122,0.5) 100%);
		background-size: 400% 400%;
	}
	.page-template-page-faq #overlay {
		background: rgb(249,105,14);
		background: linear-gradient(90deg, rgba(249,105,14,0.5) 0%, rgba(246,36,89,0.5) 50%, rgba(165,55,253,0.5) 100%);
		background-size: 400% 400%;
	}
	#overlay,
	.page-template-default #overlay {
		background: rgb(189,155,25);
		background: linear-gradient(90deg, rgba(189,155,25,0.5) 0%, rgba(255,76,48,0.5) 50%, rgba(210,82,127,0.5) 100%);
		background-size: 400% 400%;
	}
}

/* Animation ------------------------------------------------- */

#site-menu menu li,
#site-menu ul li {
	opacity: 0;
}
.menu--active #site-menu menu li,
.menu--active #site-menu ul li {
	-webkit-animation-name: fadeInLeft;
	        animation-name: fadeInLeft;
	-webkit-animation-duration: 1s;
	        animation-duration: 1s;
	-webkit-animation-fill-mode: forwards;
	        animation-fill-mode: forwards;
}
#site-menu menu li:nth-child(1) { animation-delay: 0ms }
#site-menu menu li:nth-child(2) { animation-delay: 100ms }
#site-menu menu li:nth-child(3) { animation-delay: 200ms }
#site-menu menu li:nth-child(4) { animation-delay: 300ms }
#site-menu menu li:nth-child(5) { animation-delay: 400ms }
#site-menu ul li:nth-child(1) { animation-delay: 600ms }
#site-menu ul li:nth-child(2) { animation-delay: 700ms }

@-webkit-keyframes fadeInLeft {
	from {
    	opacity: 0;
    	transform: translate3d(30px, 0, 0);
	}
	to {
  		opacity: 1;
  		transform: none;
	}
}
@keyframes fadeInLeft {
	from {
    	opacity: 0;
    	transform: translate3d(30px, 0, 0);
	}
	to {
  		opacity: 1;
  		transform: none;
	}
}

/* --------------------------------------------------------------
= 9. Page Headers
-------------------------------------------------------------- */

#page-header {
	height: calc(50vh - var(--header));
	margin-top: var(--header);
	position: relative;
}
.section-header {
	text-align: center;
}
.page--title,
.entry--title,
.section--title {
	font-size: 2.25em;
	font-weight: var(--bold);
	line-height: 1.25em;
}
.page--title,
.entry--title {
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 0 var(--margin);
	text-align: center;
	transform: translate3d(-50%,-50%,0);
}
.page--title span {
    font-weight: normal;
}
.section--title {
	display: inline-block;
	margin: calc(var(--margin) * 1.5) auto;
	text-align: center;
}
.page--title,
.section--title {
	text-transform: uppercase;
}
@media all and (min-width: 1280px) {
	.page--title,
	.entry--title,
	.section--title {
		font-size: 2.75em;
		line-height: 1.125em;
	}
}
.home .page--title, .home .entry--title, .home .section--title {
	background: rgb(255,76,48);
	background: linear-gradient(90deg, rgba(255,76,48,1) 0%, rgba(219,10,91,1) 50%, rgba(90,34,139,1) 100%);
}
.page-template-page-about .page--title, .page-template-page-about .entry--title, .page-template-page-about .section--title {
	background: rgb(255,148,112);
	background: linear-gradient(90deg, rgba(255,148,112,1) 0%, rgba(45,85,255,1)50%, rgba(8,14,44,1) 100%);
}
.page-template-page-apply .page--title, .page-template-page-apply .entry--title, .page-template-page-apply .section--title,
.page-template-page-grants .page--title, .page-template-page-grants .entry--title, .page-template-page-grants .section--title {
	background: rgb(54,215,183);
	background: linear-gradient(90deg, rgba(54,215,183,1) 0%, rgba(45,85,255,1) 50%, rgba(43,44,170,1) 100%);
}
.search .page--title, .search .entry--title, .search .section--title,
.single .page--title, .single .entry--title, .single .section--title,
.archive .page--title, .archive .entry--title, .archive .section--title,
.page-template-page-grantees .page--title, .page-template-page-grantees .entry--title, .page-template-page-grantees .section--title {
	background: rgb(207,47,116);
	background: linear-gradient(90deg, rgba(207,47,116,1) 0%, rgba(90,34,139,1) 50%, rgba(1,1,122,1) 100%);
}
.page-template-page-faq .page--title, .page-template-page-faq .entry--title, .page-template-page-faq .section--title {
	background: rgb(249,105,14);
	background: linear-gradient(90deg, rgba(249,105,14,1) 0%, rgba(246,36,89,1) 50%, rgba(140,20,252,1) 100%);
}
.page--title, .entry--title, .section--title,
.page-template-default .page--title, .page-template-default .entry--title, .page-template-default .section--title {
	background: rgb(189,155,25);
	background: linear-gradient(90deg, rgba(189,155,25,1) 0%, rgba(255,76,48,1) 50%, rgba(210,82,127,1) 100%);
}
.home .page--title, .home .entry--title, .home .section--title,
.page-template-page-about .page--title, .page-template-page-about .entry--title, .page-template-page-about .section--title,
.page-template-page-apply .page--title, .page-template-page-apply .entry--title, .page-template-page-apply .section--title,
.page-template-page-grants .page--title, .page-template-page-grants .entry--title, .page-template-page-grants .section--title,
.search .page--title, .search .entry--title, .search .section--title,
.single .page--title, .single .entry--title, .single .section--title,
.archive .page--title, .archive .entry--title, .archive .section--title,
.page-template-page-grantees .page--title, .page-template-page-grantees .entry--title, .page-template-page-grantees .section--title,
.page-template-page-faq .page--title, .page-template-page-faq .entry--title, .page-template-page-faq .section--title,
.page--title, .entry--title, .section--title,
.page-template-default .page--title, .page-template-default .entry--title, .page-template-default .section--title {
	background-size: 100%;
	background-position: 0% 50%;
	        background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	        text-fill-color: transparent;
	-webkit-box-decoration-break: clone;
}


/* --------------------------------------------------------------
= 10. Grid Model
-------------------------------------------------------------- */

.grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	column-gap: var(--margin);
	padding-bottom: var(--margin);
}
.grid:after {
	display: block;
	content: '';
	flex: 999 999 auto;
}
.grid .cell {
	display: block;
	margin-bottom: calc(var(--margin) * 2);
	position: relative;
	width: 100%;
}
@media all and (min-width: 768px) {
	.grid .cell {
		width: calc((100% - var(--margin)) / 2);
	}
}
@media all and (min-width: 1024px) {
	.grid .cell {
		width: calc((100% - (var(--margin) * 2)) / 3);
	}
	.grid.col-2 .cell {
		width: calc((100% - var(--margin)) / 2);
	}
}

/* Cell Contents --------------------------------------------- */

.cell a {
	text-decoration: none;
}
.cell a img {
	display: block;
	height: auto;
	opacity: 1;
	width: 100%;
	transition: opacity 300ms ease;
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
}
.cell a .logo-container,
.cell a .placeholder {
	display: block;
	height: 0;
	opacity: 1;
	overflow: hidden;
	padding-bottom: 75%;
	position: relative;
	width: 100%;
	transition: opacity 300ms ease;
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
}
.cell a .placeholder {
	background-color: var(--gray);
}
.cell a .logo-container {
	background-color: var(--white);
	border: 1px solid var(--gray);
}
.cell a:hover img,
.cell a:hover .logo-container,
.cell a:hover .placeholder {
	opacity: 0.7;
}
.cell a .logo-container img {
	display: block;
	height: auto;
	margin: auto;
	max-height: 75%;
	max-width: 85%;
	opacity: 1;
	position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	width: auto;
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
}
.cell a .placeholder .inner-placeholder {
	color: var(--white);
	font-size: 1.5em;
	line-height: 1.5em;
	font-weight: var(--bold);
	position: absolute;
		top: 50%;
		right: var(--margin);
		left: var(--margin);
	text-align: center;
	transform: translateY(-50%);
}
.cell a h3.entry---title {
	color: var(--black);
	font-size: 1.5em;
	font-weight: 400;
	line-height: 1.25em;
	margin-top: 15px;
	transition: color 300ms ease;
}
.cell a .location {
	color: var(--black);
	transition: color 300ms ease;
}
.cell a:hover h3.entry---title,
.cell a:hover .location {
	color: var(--gray);
}
@media all and (min-width: 768px) {
	.grid .cell .placeholder .inner-placeholder {
		font-size: 2em;
	}
}
@media all and (min-width: 1024px) {
	.cell a h3.entry---title {
		font-size: 2em;
	}
	.cell a .location {
		font-size: 1.25em;
	}
}

/* --------------------------------------------------------------
= 11. Select Modal
-------------------------------------------------------------- */

.sort--title {
	margin-bottom: var(--margin);
	text-align: center;
}
.sort--title span {
	text-transform: uppercase;
}
.dropdown {
	position: relative;
	display: block;
}
.dropbtn {
	background-color: var(--white);
	border: 1px solid var(--gray);
	border-radius: 20px;
	color: var(--black);
	cursor: pointer;
	font-family: "mr-eaves-modern", sans-serif;
	font-weight: var(--bold);
	height: 40px;
	line-height: 40px;
	margin-bottom: var(--margin);
	padding: 0 32px;
	text-align: center;
	width: 100%;
}
.dropbtn.dropdown--open {
	border-radius: 20px 20px 0 0;
}
.dropbtn span {
	height: 14px;
	position: absolute;
		top: 13px;
		right: 18px;
	width: 13px;
	transition: transform 300ms ease;
}
.dropbtn.dropdown--open span {
	transform: rotate(180deg);
}
.dropbtn span:before,
.dropbtn span:after {
	background-color: var(--black);
	content: '';
	display: block;
	height: 2px;
	position: absolute;
		top: 6px;
	width: 8px;
}
.dropbtn span:before {
	left: 0px;
	transform: rotate(45deg);
}
.dropbtn span:after {
	left: 5px;
	transform: rotate(-45deg);
}
.dropbtn:hover, 
.dropbtn:focus {
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content {
	background-color: var(--white);
	border-right: 1px solid var(--gray);
	border-bottom: 1px solid var(--gray);
	border-left: 1px solid var(--gray);
	border-radius: 0 0 20px 20px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	display: none;
	max-height: 430px;
	overflow-y: auto;
	position: absolute;
		top: 40px;
	width: 100%;
	z-index: 2;
}
.dropdown-content a {
	color: var(--black);
	display: block;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	transition: color 300ms ease;
}
.dropdown-content a:hover {
	color: var(--gray);
}
.archive-description {
	border-top: 1px solid var(--gray);
	font-size: 18px;
	line-height: 1.5em;
	margin-bottom: 1.5em;
	padding: var(--margin) 0 0;
}
.archive-description a {
	color: var(--black);
	text-decoration: underline;
	transition: color 300ms ease;
}
.archive-description a:hover {
	color: var(--gray);
}
@media all and (min-width: 768px) {
	.sort--title {
		font-size: 1.5em;
		margin-bottom: 30px;
	}
	.sort-columns {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		column-gap: var(--margin);
        flex-wrap: wrap;
	}
	.dropdown {
		width: calc(50% - (var(--margin) / 2));
	}
	.archive-description {
		font-size: 20px;
		margin-bottom: 1.5em;
		padding-top: 1.5em;
	}
}
@media all and (min-width: 1024px) {
	.archive-description {
		margin-right: auto !important;
		margin-left: auto !important;
		width: calc((100% * (2 / 3)) - (var(--margin) * (1 / 3)));
	}
    .sort-columns {
		margin-bottom: var(--margin);
        flex-wrap: nowrap;
    }
    .dropdown {
		width: calc((100% - (var(--margin) * 2)) / 4);
	}
}
@media all and (min-width: 1280px) {
	.archive-description {
		font-size: 25px;
		padding-top: 1.25em;
	}
}

/* Seach Form ------------------------------------------------ */

#search-form {
	position: relative;
	display: block;
}
#search-form .search-field {
    background-color: var(--white);
	border: 1px solid var(--gray);
	border-radius: 20px;
	color: var(--black);
	cursor: pointer;
	font-family: "mr-eaves-modern", sans-serif;
    font-size: 20px;
	font-weight: var(--bold);
	height: 40px;
	line-height: 40px;
	margin-bottom: var(--margin);
	padding: 0 40px 0 32px;
	text-align: center;
	width: 100%;
}
#search-form .search-field:hover, 
#search-form .search-field:focus {
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    outline: none;
}
#search-form .search-submit {
    background-color: transparent;
    cursor: pointer;
    height: 40px;
    overflow: hidden;
    position: absolute;
        top: 0;
        right: 0;
    text-indent: -9999px;
    width: 40px;
    z-index: 1;
}

#search-form .search-submit > span {
    height: 14px;
	position: absolute;
        top: 13px;
        right: 18px;
    width: 13px;
}
#search-form .search-submit span:before {
	border: 2px solid var(--black);
    border-radius: 50%;
    content: '';
    height: 11px;
    position: absolute;
        top: 0;
        right: 0;
	width: 11px;
    transition: color 100ms ease;
}
#search-form .search-submit span:after {
	background-color: var(--black);
    content: '';
    height: 6px;
	position: absolute;
        top: 8px;
        right: 10px;
    transform: rotate(45deg);
	width: 2px;
    transition: all 100ms ease;
}
#search-form .search-submit:hover span:before,
#search-form .search-submit:focus span:before {
	background-color: transparent;
	border-color: var(--gray);
}
#search-form .search-submit:hover span:after,
#search-form .search-submit:focus span:after {
	background-color: var(--gray);
}
@media all and (min-width: 768px) {
    #search-form {
        width: calc(50% - (var(--margin) / 2));
    }
}
@media all and (min-width: 1024px) {
    #search-form {
        width: calc((100% - (var(--margin) * 2)) / 4);
    }
}

/* --------------------------------------------------------------
= 12. Carousel Modal
-------------------------------------------------------------- */

#carousel {
	padding: var(--header) 0;
}
.slider-wrapper {
	position: relative;
}
.slider {
	display: block;
	list-style: none;
	height: 0;
	margin: 0;
	padding-bottom: 100%;
	position: relative;
	width: 100%;
}
.slider .slide {
	height: 0;
	padding-bottom: 100%;
	position: absolute;
		top: 0;
		left: 0;
    width: 100%;
 }
.slider .slide figure {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	position: absolute;
	width: 100%;
}
.slider .slide figcaption {
	display: none;
}
.slide--nav_tabs {
	line-height: 10px;
	margin: 0;
	position: absolute;
		bottom: -20px;
		right: 0;
	width: 100%;
	z-index: 200;
	text-align: center;
}
.slide--nav_tabs li {
	background-color: var(--gray);
	border-radius: 5px;
	display: inline-block;
	height: 10px;
	margin: 0 3px;
	overflow: hidden;
	position: relative;
	width: 10px;
}
.slide--nav_tabs li.slide--nav_here {
	background-color: var(--black);
}
.slide--nav_tabs li a {
	position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	text-indent: -9999px;
}
.slide--nav_nav {
	display: none;
}
@media all and (min-width: 768px) {
	.slide--nav_tabs {
		bottom: -45px;
	}
	.slide--nav_nav {
		display: block;
		height: 100%;
		position: absolute;
			top: 0;
		width: var(--margin);
		z-index: 300;
	}
	.slide--nav_nav.prev {
		left: -40px;
	}
	.slide--nav_nav.next {
		right: -40px;
	}
	.slider .slide figcaption {
		display: block;
		font-size: 0.75em;
		line-height: 1.5em;
		line-height: 20px;
		position: absolute;
			right: 0;
			bottom: -22px;
		text-align: right;
	}
}
@media all and (min-width: 1024px) {
	/* .slider,
	.slider .slide {
		height: calc(100vh - (var(--header) * 2));
		padding-bottom: 0;
	} */
	.slider,
	.slider .slide {
		padding-bottom: 66%;
	}
}
@media all and (min-width: 1280px) {
	.slide--nav_tabs {
		bottom: -48px;
	}
}

/* Carousel Overlay ------------------------------------------ */

.carousel-overlay {
	background: rgb(0,0,0);
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
	color: var(--white);
	padding: 15px var(--margin);
	position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
}
.slide--cat {
	font-weight: var(--heavy);
	margin-bottom: 7px;
	text-transform: uppercase;
}
.slide--grantee {
	display: block;
	font-weight: var(--bold);
}
.slide--grantee,
.slide--project {
	font-size: 1.5em;
	line-height: 1em;
}
@media all and (min-width: 768px) {
	.carousel-overlay {
		padding: 35px var(--margin);
	}
	.slide--grantee,
	.slide--project {
		font-size: 1.75em;
		line-height: 1em;
	}
}
@media all and (min-width: 1024px) {
	.slide--grantee,
	.slide--project {
		font-size: 2em;
		line-height: 1.125em;
	}
}

/* --------------------------------------------------------------
= 13. Blocks
-------------------------------------------------------------- */

/* Block: Image  --------------------------------------------- */

.entry-content img {
	display: block;
	height: auto;
	width: 100%;
}
.entry-content > .wp-block-image,
.entry-content > figure.wp-block-image {
	margin: 0 auto 1.5em;
}
.wp-block-image figure {
	margin: 0;
}
.entry-content figure figcaption {
	line-height: 1.5em;
	padding: 5px 0 0;
	text-align: right;
}
.entry-content figure.portrait {
	position: relative;
}
.entry-content figure.portrait figcaption.caption {
	background: rgb(0,0,0);
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
	color: var(--white);
	padding: 5px 10px;
	position: absolute;
		left: 0;
		bottom: 0;
	width: 100%;
}
@media ( min-width: 768px ) {
	.entry-content > .wp-block-image,
	.entry-content > figure.wp-block-image {
		margin-bottom: var(--margin);
	}
	.aligncenter,
	figure.aligncenter,
	figure.alignleft,
	figure.alignright {
		width: 100%;
	}
	.entry-content figure figcaption {
		font-size: .75em;
	}
}
@media ( min-width: 1024px ) {
	.aligncenter,
	figure.aligncenter {
		margin-right: auto;
		margin-left: auto;
		width: 100%;
	}
	.alignright figcaption {
		text-align: right;
	}
}

/* Block: Audio ---------------------------------------------- */

.wp-block-audio audio {
	width: 100%;
}

/* Block: Button --------------------------------------------- */

.wp-block-button {
	margin: var(--margin) 0;
}
.is-style-outline .wp-block-button__link {
	padding: calc(1.1em - 0.2rem) calc(1.44em - 0.2rem);
}

/* Block: Columns -------------------------------------------- */

.entry-content > .wp-block-columns {
	margin: 1.5em auto;
}
.wp-block-columns {
	width: 100%;
}
.wp-block-columns:after {
	content: "";
	display: table;
	clear: both;
}
.wp-block-columns > .wp-block-column:first-child {
	margin-bottom: 1.5em;
}
.wp-block-columns .wp-block-column:only-child {
	margin: 0;
	padding: 0;
}
@media ( min-width: 768px ) {
	.wp-block-columns > .wp-block-column:first-child {
		margin-bottom: 0;
	}
	.wp-block-columns {
		display: flex;
	}
	.wp-block-columns .wp-block-column:only-child {
		width: 100%;
	}
	.wp-block-column {
		float: left;
		width: 50%;
	}
	.wp-block-column:first-child {
		padding-right: calc( var(--margin) / 2);
	}
	.wp-block-column:last-child {
		padding-left: calc( var(--margin) / 2);
	}
}

/* Block: Embed ---------------------------------------------- */

.wp-block-embed,
.wp-block-video {
	margin: 1.5em auto;
}
.wp-block-video video {
	width: 100%;
}
.wp-block-embed.is-type-video .wp-block-embed__wrapper {
	height: 0;
	padding-bottom: 56.25%;
	position: relative;
}
.wp-block-embed.is-type-video.wp-embed-aspect-4-3 .wp-block-embed__wrapper {
	padding-bottom: 75%; /* 4:3 */
}
.wp-block-embed.is-type-video.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	padding-bottom: 56.25%; /* 16:9 */
}
.wp-block-embed.is-type-video.wp-embed-aspect-21-9 .wp-block-embed__wrapper {
	padding-bottom:  41.5625%; /* 21:9 */
}
.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* --------------------------------------------------------------
= 14. Entry Content
-------------------------------------------------------------- */

.entry-content {
	font-size: 18px;
	line-height: 1.5em;
	margin-bottom: calc(var(--margin) * 2);
}
.entry-content a {
	color: var(--black);
	text-decoration: underline;
	transition: color 300ms ease;
}
.entry-content a:hover {
	color: var(--gray);
}
.entry-content p,
.entry-content ul,
.entry-content dl,
.entry-content ol,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content .wp-block-pullquote {
	margin-bottom: 1.5em;
}
.home .entry-content *:last-child {
    margin-bottom: 0 !important;
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
	text-transform: uppercase;
}
.entry-content h3 {
	border-top: 1px solid var(--gray);
	border-bottom: 1px solid var(--gray);
	font-size: 1.5em;
	letter-spacing: 0.03em;
	padding: calc(var(--margin) * 2) 0;
	text-align: center;
}

.entry-content p.indent {
	text-indent: 1.5em;
}
.entry-content ul {
	list-style: square outside;
	padding-left: 1.5em;
}
.entry-content ul li {
	margin-bottom: 0.5em;
}
.entry-content ul li:last-child {
	margin-bottom: 0;
}
.entry-content dl dt {
	font-weight: var(--bold);
}
.entry-content dl dt {
	clear: left;
	float: left;
	width: 50%;
}
.entry-content dl dd {
	margin-left: 50%;
}
.entry-content .has-text-align-center {
	text-align: center;
}
.entry-content blockquote {
	border-top: 1px solid var(--gray);
	border-bottom: 1px solid var(--gray);
	font-size: 1.5em;
	padding: calc(var(--margin) * 2) 0;
	text-align: center;
}
.entry-content blockquote p {
	line-height: 1.125em;
}
.entry-content blockquote p:only-child,
.entry-content blockquote p:nth-last-child(2) {
	margin-bottom: 0;
}
.entry-content blockquote cite {
	font-family: var(--bold);
	font-size: 0.75em;
}
.entry-content hr.wp-block-separator {
	border-top: 1px solid var(--gray);
	border-bottom: none;
	margin-bottom: calc(var(--margin) * 2);
}
@media all and (min-width: 768px) {
	.entry-content {
		font-size: 20px;
		margin-bottom: calc(var(--margin) * 2);
	}
	.entry-content .has-small-font-size {
		font-size: 0.75em;
		line-height: 1.5em;
	}
	.entry-content h3,
	.entry-content h4,
	.entry-content h5 {
		margin-bottom: 1em;
	}
	.entry-content h3,
	.entry-content blockquote {
		padding: var(--margin) 0;
	}
	.entry-content hr.wp-block-separator {
		margin-bottom: var(--margin);
	}
	.entry-content dl dt {
		clear: left;
		float: left;
		width: 150px;
	}
	.entry-content dl dd {
		margin-left: 150px;
	}
}
@media all and (min-width: 1024px) {	
	.entry-content {
		margin-right: auto !important;
		margin-left: auto !important;
		width: calc((100% * (2 / 3)) - (var(--margin) * (1 / 3)));
	}
}
@media all and (min-width: 1280px) {
	.entry-content {
		font-size: 25px;
		margin-bottom: calc(var(--margin) * 3);
	}
	.home .entry-content {
		margin-bottom: calc(var(--margin) * 2);
	}
	.entry-content h3,
	.entry-content blockquote {
		font-size: 1.5em;
		padding: calc(var(--margin) * 1.5) 0;
	}
}
@media ( min-width: 1440px ) {
	/* .entry-content {
		width: calc((100% - var(--margin)) / 2);
	} */
}

/* FAQ Accordian --------------------------------------------- */

.faq--block {
	padding-bottom: 1.5em;
}
.faq--answer {
	display: none;
}
.faq--toggle {
	cursor: pointer;
	padding-right: 36px;
	position: relative;
}
.faq--toggle span {
	height: 14px;
	position: absolute;
		top: calc((1.5em - 14px) / 2);
		right: 0;
	width: 13px;
	transition: transform 300ms ease;
}
.faq--toggle.active span {
	transform: rotate(180deg);
}
.faq--toggle span:before,
.faq--toggle span:after {
	background-color: var(--black);
	content: '';
	display: block;
	height: 2px;
	position: absolute;
		top: 6px;
	width: 8px;
}
.faq--toggle span:before {
	left: 0px;
	transform: rotate(45deg);
}
.faq--toggle span:after {
	left: 5px;
	transform: rotate(-45deg);
}

/* About the Founder ----------------------------------------- */

.custom-blockquote {
	border-bottom: 1px solid var(--gray);
	margin-bottom: 1.5em;
	padding: calc(var(--margin) * 2) 0;
	text-align: center;
}
.custom-blockquote img {
	margin: 0 auto;
	max-width: 400px;
}
.custom-blockquote .citation {
	font-weight: var(--bold);
	padding-top: 5px;
}
@media all and (min-width: 768px) {
	.custom-blockquote {
		padding: var(--margin) 0;
	}
}
@media all and (min-width: 1280px) {
	.custom-blockquote {
		padding: calc(var(--margin) * 1.5) 0;
	}
	.custom-blockquote .citation {
		font-size: 0.8em;
	}
}

/* --------------------------------------------------------------
= 15. Forms
-------------------------------------------------------------- */

/* .gform_required_legend {
	font-weight: var(--bold);
} */ 

/* Resets ---------------------------------------------------- */

html .gform_wrapper.gravity-theme .gfield_label {
	margin-bottom: 0;
}
html .gform_wrapper.gravity-theme .gfield_label,
html .gform_wrapper.gravity-theme .gform_required_legend .gfield_required,
html .gform_wrapper.gravity-theme .gfield_required,
html .gform_wrapper.gravity-theme .gfield_checkbox label, 
html .gform_wrapper.gravity-theme .gfield_radio label,
html .gform_wrapper.gravity-theme .field_description_above .gfield_description { 
	font-size: 18px 
}
html .gform_wrapper.gravity-theme .gfield_description,
html .gform_wrapper.gravity-theme .gfield_header_item, 
html .gform_wrapper.gravity-theme .gform_fileupload_rules, 
html .gform_wrapper.gravity-theme .ginput_complex label,
html .gform_wrapper.gravity-theme .gfield_label,
html .gform_wrapper.gravity-theme .gform_required_legend .gfield_required,
html .gform_wrapper.gravity-theme .gfield_required {
	line-height: 1.5em;
}
html .gform_wrapper.gravity-theme .gfield {
	margin-bottom: 1em;
}
@media ( min-width: 768px ) {
	html .gform_wrapper.gravity-theme input[type=color], 
	html .gform_wrapper.gravity-theme input[type=date], 
	html .gform_wrapper.gravity-theme input[type=datetime-local], 
	html .gform_wrapper.gravity-theme input[type=datetime], 
	html .gform_wrapper.gravity-theme input[type=email], 
	html .gform_wrapper.gravity-theme input[type=month], 
	html .gform_wrapper.gravity-theme input[type=number], 
	html .gform_wrapper.gravity-theme input[type=password], 
	html .gform_wrapper.gravity-theme input[type=search], 
	html .gform_wrapper.gravity-theme input[type=tel], 
	html .gform_wrapper.gravity-theme input[type=text], 
	html .gform_wrapper.gravity-theme input[type=time], 
	html .gform_wrapper.gravity-theme input[type=url], 
	html .gform_wrapper.gravity-theme input[type=week], 
	html .gform_wrapper.gravity-theme select, 
	html .gform_wrapper.gravity-theme textarea,
	html .gform_wrapper.gravity-theme .gfield_header_item, 
	html .gform_wrapper.gravity-theme .gform_fileupload_rules, 
	html .gform_wrapper.gravity-theme .ginput_complex label,
	html .gform_wrapper.gravity-theme .gfield_label,
	html .gform_wrapper.gravity-theme .gform_required_legend .gfield_required,
	html .gform_wrapper.gravity-theme .gfield_required,
	html .gform_wrapper.gravity-theme .field_description_above .gfield_description,
	html .gform_wrapper.gravity-theme .gfield_radio label,
	html .gform_wrapper.gravity-theme .gfield_checkbox label { 
		font-size: 20px;
		line-height: 1.5em;
	} 
}
@media ( min-width: 1024px ) {}
@media ( min-width: 1280px ) {
	html .gform_wrapper.gravity-theme .gfield_label,
	html .gform_wrapper.gravity-theme .gform_required_legend .gfield_required,
	html .gform_wrapper.gravity-theme .gfield_required { 
		font-size: 25px 
	}
	html .gform_wrapper.gravity-theme .field_description_above .gfield_description {
		font-size: 22px;
	}
}

/* Labels ---------------------------------------------------- */

.gform_wrapper.gravity-theme .gfield_header_item, 
.gform_wrapper.gravity-theme .gfield_label {
	text-transform: uppercase;
}
.gform_wrapper.gravity-theme .gfield_header_item {
	color: #767676;
	font-weight: var(--bold);
}
.gform_wrapper.gravity-theme .gform_fileupload_rules,
.gform_wrapper.gravity-theme .ginput_complex label {
	color: #767676;
}
html .gform_wrapper.gravity-theme .gfield--type-textarea.field_description_above .ginput_container_textarea .gfield_description {
	padding-bottom: 0 !important;
}
html .gform_wrapper.gravity-theme .gfield--type-textarea.field_description_above ul {
	margin-bottom: 0;
}

/* Fields ---------------------------------------------------- */

.gform_wrapper.gravity-theme .gfield {
	margin-bottom: 0.5em;
}
.gform_wrapper.gravity-theme input[type=color], 
.gform_wrapper.gravity-theme input[type=date], 
.gform_wrapper.gravity-theme input[type=datetime-local], 
.gform_wrapper.gravity-theme input[type=datetime], 
.gform_wrapper.gravity-theme input[type=email], 
.gform_wrapper.gravity-theme input[type=month], 
.gform_wrapper.gravity-theme input[type=number], 
.gform_wrapper.gravity-theme input[type=password], 
.gform_wrapper.gravity-theme input[type=search], 
.gform_wrapper.gravity-theme input[type=tel], 
.gform_wrapper.gravity-theme input[type=text], 
.gform_wrapper.gravity-theme input[type=time], 
.gform_wrapper.gravity-theme input[type=url], 
.gform_wrapper.gravity-theme input[type=week], 
.gform_wrapper.gravity-theme select, 
.gform_wrapper.gravity-theme textarea {
	border: 1px solid var(--gray);
}
.gform_wrapper.gravity-theme input[type=color]:focus, 
.gform_wrapper.gravity-theme input[type=date]:focus, 
.gform_wrapper.gravity-theme input[type=datetime-local]:focus, 
.gform_wrapper.gravity-theme input[type=datetime]:focus, 
.gform_wrapper.gravity-theme input[type=email]:focus, 
.gform_wrapper.gravity-theme input[type=month]:focus, 
.gform_wrapper.gravity-theme input[type=number]:focus, 
.gform_wrapper.gravity-theme input[type=password]:focus, 
.gform_wrapper.gravity-theme input[type=search]:focus, 
.gform_wrapper.gravity-theme input[type=tel]:focus, 
.gform_wrapper.gravity-theme input[type=text]:focus, 
.gform_wrapper.gravity-theme input[type=time]:focus, 
.gform_wrapper.gravity-theme input[type=url]:focus, 
.gform_wrapper.gravity-theme input[type=week]:focus, 
.gform_wrapper.gravity-theme select:focus, 
.gform_wrapper.gravity-theme textarea:focus {
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	outline: none;
}
html .gform_wrapper.gravity-theme .gfield-choice-input {
	height: 25px;
	margin-top: 5px;
	width: 25px;
}
html .gform_wrapper.gravity-theme .gfield-choice-input {
	margin-top: 5px;
}
html .gform_wrapper.gravity-theme .ginput_complex select {
	height: 48px;
}
html .gform_wrapper.gravity-theme .gfield.gfield--type-fileupload input.large {
	border: 1px solid var(--gray);
	padding: 16px;
}
@media ( min-width: 1280px ) {
	html .gform_wrapper.gravity-theme input[type=text] {
		padding: 9px 8px;
	}
	html .gform_wrapper.gravity-theme .ginput_complex select {
		height: 50px;
	}
}

/* Buttons --------------------------------------------------- */

.gform_wrapper.gravity-theme .gform_footer input {
	clear: both;
}
.gform_wrapper.gravity-theme .gform_footer .gform_ajax_spinner {
	position: absolute;
	opacity: 0;
	height: 0;
	width: 0;
}
p.btn--container {
	padding-top: 1em;
}
.page-template-page-grants .entry-content a.btn,
.page-template-page-apply .entry-content a.btn,
.page-template-page-grants .gform_wrapper.gravity-theme .gform_footer input,
.page-template-page-apply .gform_wrapper.gravity-theme .gform_footer input {
	background: rgb(43,44,170);
	background: linear-gradient(90deg, rgba(54,215,183,1) 0%, rgba(45,85,255,1) 50%, rgba(43,44,170,1) 100%);
}
.entry-content a.btn,
.gform_wrapper.gravity-theme .gform_footer input,
.page-template-default .entry-content a.btn,
.page-template-default .gform_wrapper.gravity-theme .gform_footer input {
	background: rgb(189,155,25);
	background: linear-gradient(90deg, rgba(189,155,25,1) 0%, rgba(255,76,48,1) 100%, rgba(210,82,127,1) 50%);
}
.entry-content a.btn,
.gform_wrapper.gravity-theme .gform_footer input,
.page-template-default .entry-content a.btn,
.page-template-default .gform_wrapper.gravity-theme .gform_footer input,
.page-template-page-grants .entry-content a.btn,
.page-template-page-apply .entry-content a.btn,
.page-template-page-grants .gform_wrapper.gravity-theme .gform_footer input,
.page-template-page-apply .gform_wrapper.gravity-theme .gform_footer input {
	background-size: 300%;
	background-position: 0px 50%;
}
.entry-content a.btn,
.gform_wrapper.gravity-theme .gform_footer input {
	background-color: var(--white);
	border: none;
	border-radius: 30px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	clear: both;
	color: var(--white);
	display: block;
	font-size: 1em;
	font-weight: var(--bold);
	height: 60px;
	margin: 0 auto;
	max-width: 300px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	width: 100%;
	transition: all 500ms ease;
}
.entry-content a.btn {
	line-height: 60px;
}
.entry-content a.btn:hover,
.gform_wrapper.gravity-theme .gform_footer input:hover {
	background-position: 100% 50%;
	color: var(--white);
}
@media all and (min-width: 768px) {
	.entry-content a.btn,
	.gform_wrapper.gravity-theme .gform_footer input {
		width: 300px;
	}
	.entry-content a.btn,
	.gform_wrapper.gravity-theme .gform_footer input {
		font-size: 1.25em;
	}
	.entry-content a.btn.btn--large,
	.gform_wrapper.gravity-theme .gform_footer input {
		border-radius: 35px;
		height: 70px;
	}
	.entry-content a.btn.btn--large {
		line-height: 70px;
	}
}
@media all and (min-width: 1280px) {
	.entry-content a.btn,
	.gform_wrapper.gravity-theme .gform_footer input {
		font-size: 1.2em;
	}
}

/* Errors ---------------------------------------------------- */

.gform_wrapper.gravity-theme .gform_validation_errors:focus {
	outline: none;
}
.gform_wrapper.gravity-theme .gform_validation_errors {
	padding: 16px !important;
	font-size: 20px;
}
html .gform_wrapper.gravity-theme .field_description_above .gfield_description.validation_message,
html .gform_wrapper.gravity-theme .field_description_above .gfield_description.gfield_validation_message {
	padding-top: 16px !important;
}
@media all and (min-width: 768px) {
	html .gform_wrapper.gravity-theme .validation_message,
	html .gform_wrapper.gravity-theme .gfield_validation_message,
	html .gform_wrapper.gravity-theme .gform_validation_errors>h2 {
		font-size: 1em !important;
	}
}

/* --------------------------------------------------------------
= 16. Site Pagination
-------------------------------------------------------------- */

#site-pagination {
	display: flex;
	margin-bottom: 1.5em;
}
#site-pagination a {
	color: var(--black);
	font-size: 1.33em;
	text-decoration: none;
	transition: color 300ms ease;
}
#site-pagination a:hover {
	color: var(--gray);
}
#site-pagination .nav {
	width: 50%;
}
#site-pagination .nav span {
	font-family: "space-grotesk-variable", sans-serif;
	font-variation-settings: "wght" 400;
}
#site-pagination .nav.next {
	text-align: right;
}
#site-pagination .nav.back {
	cursor: pointer;
}
@media ( min-width: 768px ) {
	#site-pagination a {
		font-size: 1.5em;
	}
}
@media ( min-width: 1280px ) {
	#site-pagination a {
		font-size: 1.2em;
	}
}

/* --------------------------------------------------------------
= 17. Site Footer
-------------------------------------------------------------- */

#site-footer {
	color: var(--white);
	line-height: 1.5em;
}
#site-footer .inner {
	display: flex;
	padding-top: 40px;
	padding-bottom: 40px;
}
#site-footer a {
	color: var(--white);
	text-decoration: none;
	transition: color 300ms ease;
}
#site-footer a:hover {
	color: var(--gray);
}
#site--copyright {
	width: calc(100% - 20px);
}
#back-to-top {
	display: block;
	font-family: "space-grotesk-variable", sans-serif;
	font-size: 1.25em;
	font-variation-settings: "wght" 400;
	text-align: right;
	width: 20px;
}
@media ( min-width: 768px ) {
	#site-footer .inner {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}
@media ( min-width: 1024px ) {
	#site-footer .inner {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

/* Footer Gradients ------------------------------------------ */

.home #site-footer {
	background: rgb(255,76,48);
	background: linear-gradient(90deg, rgba(255,76,48,1) 0%, rgba(219,10,91,1) 50%, rgba(90,34,139,1) 100%);
}
.page-template-page-about #site-footer {
	background: rgb(255,148,112);
	background: linear-gradient(90deg, rgba(255,148,112,1) 0%, rgba(45,85,255,1) 50%, rgba(8,14,44,1) 100%);
}
.page-template-page-grants #site-footer,
.page-template-page-apply #site-footer {
	background: rgb(54,215,183);
	background: linear-gradient(90deg, rgba(54,215,183,1) 0%, rgba(45,85,255,1) 50%, rgba(43,44,170,1) 100%);
}
.search #site-footer,
.single #site-footer,
.archive #site-footer,
.page-template-page-grantees #site-footer {
	background: rgb(207,47,116);
	background: linear-gradient(90deg, rgba(207,47,116,1) 0%, rgba(90,34,139,1) 50%, rgba(1,1,122,1) 100%);
}
.page-template-page-faq #site-footer {
	background: rgb(249,105,14);
	background: linear-gradient(90deg, rgba(249,105,14,1) 0%, rgba(246,36,89,1) 50%, rgba(165,55,253,1) 100%);
}
.page-template-default #site-footer {
	background: rgb(189,155,25);
	background: linear-gradient(90deg, rgba(189,155,25,1) 0%, rgba(255,76,48,1) 50%, rgba(210,82,127,1) 100%);
}

/* --------------------------------------------------------------
= 18. Accessibility
-------------------------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* --------------------------------------------------------------
= 19. Transitions
-------------------------------------------------------------- */

.pace {
	-webkit-pointer-events: none;
	        pointer-events: none;
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
}
.pace-inactive {
	display: none;
}
.pace .pace-progress {
	background: var(--header-color);
	position: fixed;
	z-index: 2000;
	top: 0;
	right: 100%;
	width: 100%;
	height: 2px;
}
body.menu--active {
	overflow: hidden;
}
#site-header {
	opacity: 0;
	-webkit-transition: all 300ms ease;
            transition: all 300ms ease;
}
#carousel,
main,
#site-footer {
	opacity: 0;
	-webkit-transition: opacity 400ms ease;
            transition: opacity 400ms ease;
}
.pace-done #site-header,
.pace-done #carousel,
.pace-done main,
.pace-done #site-footer {
	opacity: 1;
}
