/* Start Custom Fonts CSS */
@font-face {
    font-family: 'Cabinet Grotesk';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('../fonts/CabinetGrotesk-Regular.eot');
    src: url('../fonts/CabinetGrotesk-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/CabinetGrotesk-Regular.woff2') format('woff2'), url('../fonts/CabinetGrotesk-Regular.woff') format('woff'), url('../fonts/CabinetGrotesk-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Cabinet Grotesk';
    font-style: normal;
    font-weight: bold;
    font-display: auto;
    src: url('../fonts/CabinetGrotesk-Bold.eot');
    src: url('../fonts/CabinetGrotesk-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/CabinetGrotesk-Bold.woff2') format('woff2'), url('../fonts/CabinetGrotesk-Bold.woff') format('woff'), url('../fonts/CabinetGrotesk-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Cabinet Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: auto;
    src: url('../fonts/CabinetGrotesk-Medium.eot');
    src: url('../fonts/CabinetGrotesk-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/CabinetGrotesk-Medium.woff2') format('woff2'), url('../fonts/CabinetGrotesk-Medium.woff') format('woff'), url('../fonts/CabinetGrotesk-Medium.ttf') format('truetype');
}
/* End Custom Fonts CSS */

@media screen and (max-width: 767px) {

	.hidden-mobile {
		display: none;
	}
}

@media screen and (min-width: 767px) and (max-width: 1023px) {

	.hidden-tablet {
		display: none;
	}
}

@media screen and (min-width: 1024px) {

	.hidden-desktop {
		display: none;
	}
}

h2.tax-fow__heading__title {
	font-size: 18px;
	color: var(--e-global-color-secondary);
	margin: 0 0 20px;
	font-family: "Cabinet Grotesk", montserrat;
	font-weight: 700;
	text-transform: uppercase;
}

@media screen and (min-width: 768px) {
	
	h2.tax-fow__heading__title {
		font-size: 20px;
	}
}

@media screen and (min-width: 1024px) {
	
	h2.tax-fow__heading__title {
		font-size: 24px;
	}
}

/**
 * Field of work taxonomy styles
 */

.tax-fow__breadcrumbs {
	padding: 5% 5% 5% 5%;
}

.tax-fow__breadcrumbs__list {
	padding-left: 0;
	list-style: none;
	display: flex;
	font-family: "Montserrat", montserrat;
	font-weight: 500;
	text-transform: uppercase;
	display: flex;
	flex-wrap: wrap;
	column-gap: 12px;
	row-gap: 5px;
}

.tax-fow__breadcrumbs__list a {
	color: #000;
}

.tax-fow__breadcrumbs__list a:hover {
	color: #000;
}

.tax-fow__breadcrumbs__list .current {
	color: #789F7B;
}

.tax-fow__breadcrumbs__list .divider {
	margin-left: 7px;
}

/**
 * Taxonomy details.
 */

.tax-fow__tax-content {
	padding: 0% 5% 5% 5%;
}

h1.tax-fow__title {
	font-family: "DM Serif Display", montserrat;
	font-size: 30px;
	line-height: 1.2em;
	font-style: italic;
	font-weight: 400;
	color: var(--e-global-color-secondary);
	margin: 0 0 10px;
}

h2.tax-fow__tagline {
	color: var(--e-global-color-secondary);
	font-family: "Cabinet Grotesk", montserrat;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	margin: 0 0 20px;
	font-size: 16px;
}

.tax-fow__details__image {
	margin-bottom: 20px;
}

@media screen and (min-width: 768px) {

	h1.tax-fow__title {
		text-align: center;
		font-size: 40px;
		line-height: 0.9em;
		margin-bottom: 20px;
	}

	h2.tax-fow__tagline {
		text-align: center;
		font-size: 20px;
	}

	.tax-fow__content {
		text-align: center;
		font-size: 14px;
	}
}

@media screen and (min-width: 1024px) {
	
	h1.tax-fow__title {
		font-size: 60px;
		line-height: 49px;
		text-align: left;
	}

	h2.tax-fow__tagline {
		font-size: 18px;
		text-align: left;
	}

	.tax-fow__content {
		text-align: left;
		font-size: 16px;
	}

	.tax-fow__tax-content {
		display: flex;
	}

	.tax-fow__details {
		width: 60%;
		margin-right: 40px;
	}

	.tax-fow__image {
		width: 40%;
		margin-left: 30px;
		display: flex;
		align-items: center;
	}

	.tax-fow__image figure {
		display: flex;
		width: 100%;
		margin-bottom: 0;
	}

	.tax-fow__image img {
		width: 100%;
	}
}

/**
 * Grants given.
 */
.tax-fow__grants {
	padding: 5%;
	background: url(../images/fow-grants-bg.jpg) no-repeat center center;
	background-size: cover;
}

.tax-fow__grants__container {
	text-align: center;
}

.tax-fow__grants__tabs {
	margin-bottom: 20px;
	font-family: "Montserrat", montserrat;
	display: flex;
	column-gap: 20px;
	overflow-x: auto;
	white-space: nowrap;
}

.tax-fow__grants__tabs span {
	font-size: 20px;
	display: inline-block;
	padding: 10px;
	cursor: pointer;
}

.tax-fow__grants__tabs span.current {
	text-decoration: underline;
	font-weight: 600;
}

.tax-fow__grants__tab-content {
	display: none;
	font-family: "DM Serif Display", montserrat;
}

.tax-fow__grants__tab-content.current {
	display: flex;
	column-gap: 20px;
	justify-content: center;
}

.tax-fow__grants__tab-content .grant-title {
	font-size: 30px;
	line-height: 1.1em;
	margin-bottom: 0;
}

.tax-fow__grants__tab-content .grant-amount {
	font-size: 20px;
	line-height: 36px;
	margin-bottom: 0;
}

@media screen and (min-width: 768px) {

	.tax-fow__grants__tabs {
		justify-content: center;
	}
}

@media screen and (min-width: 1024px) {

	.tax-fow__grants__tabs span {
		font-size: 24px;
	}

	.tax-fow__grants__tab-content div {
		min-width: 450px;
	}

	.tax-fow__grants__tab-content .grant-title {
		font-size: 80px;
	}

	.tax-fow__grants__tab-content .grant-amount {
		font-size: 50px;
		line-height: 60px;
	}
}

/**
 * Subcategories
 */

.tax-fow__subcategories {
	padding: 5% 5% 0;
}

.tax-fow__subcategories__name {
	font-family: "Cabinet Grotesk", montserrat;
	font-size: 30px;
	font-weight: 500;
	margin-bottom: 10px;
}

.tax-fow__subcategories__details figure {
	margin-bottom: 20px;
}

.tax-fow__subcategories__details img {
	margin: 0 auto;
	display: block;
}

.tax-fow__subcategories__grid {
	display: grid;
	row-gap: 20px;
}

.tax-fow__subcategories__content a {
	color: black;
	border-bottom: 1px solid black;
}

.tax-fow__subcategories__content a:hover {
	color: #DC9B27;
	border-bottom: 1px solid #DC9B27;
}

@media screen and (min-width: 768px) {

	.tax-fow__subcategories__grid {
		margin-top: 40px;
		grid-template-columns: repeat(2, 1fr);
		column-gap: 40px;
		row-gap: 60px;
	}

	.tax-fow__subcategories__details img {
		max-width: 75%;
	}

	.tax-fow__subcategories__name {
		text-align: center;
		margin-bottom: 20px;
	}
}

@media screen and (min-width: 1024px) {

	.tax-fow__subcategories__grid {
		margin-top: 0;
		grid-template-columns: 1fr;
		row-gap: 20px;
	}

	.tax-fow__subcategories__item {
		display: flex;
		align-items: center;
		column-gap: 20px;
	}

	.tax-fow__subcategories__item:nth-of-type(even) {
		flex-direction: row-reverse;
	}

	.tax-fow__subcategories__image {
		width: 50%;
	}

	.tax-fow__subcategories__image figure {
		margin-bottom: 0;
		padding-right: 20%;
	}

	.tax-fow__subcategories__item:nth-of-type(even) .tax-fow__subcategories__image figure {
		padding-right: 0;
		padding-left: 20%;
	}

	.tax-fow__subcategories__details {
		width: 50%;
	}

	.tax-fow__subcategories__name {
		text-align: left;
		margin-bottom: 40px;
	}
}

/**
 * Grantees
 */

.tax-fow__grantees {
	padding: 5%;
}

h2.tax-fow__grantees__title {
	font-size: 22px;
	font-weight: 500;
	font-family: "Cabinet Grotesk", montserrat;
	color: var(--e-global-color-text);
	margin: 0;
}

h2.tax-fow__grantees__title a {
	color: inherit;
}

h2.tax-fow__grantees__title a:hover {
	color: inherit;
}

.tax-fow__grantees__grid .slick-track {
	display: flex;
	align-items: stretch;
}

.tax-fow__grantees__grid .slick-slide {
	height: auto;
	display: flex !important;
	flex-direction: column;
}

.tax-fow__grantees__grid .slick-arrow {
	border: 0;
	outline: 0;
	padding: 0;
	background: url(../images/left-arrow.png) no-repeat 0 0;
	background-size: 100%;
	width: 50px;
	height: 50px;
	position: absolute;
	z-index: 2;
	top: 50%;
	margin-top: -25px;
	left: 0;
}

.tax-fow__grantees__grid .slick-arrow.slick-next {
	left: auto;
	right: 0;
	transform: scaleX(-1);
}

.tax-fow__grantees__item {
	background-image: url(../images/grantees-loop-bg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.tax-fow__grantees__figure {
	width: 100%;
	padding-bottom: 100%;
	position: relative;
	margin-bottom: 0;
}

.tax-fow__grantees__figure::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background-color: rgba(0, 0, 0, 1);
	mix-blend-mode: hue;
}

.tax-fow__grantees__figure::after {
	content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
    background-image: linear-gradient(to bottom, rgba(120,159,123,0) 0%, rgba(120,159,123,0.5) 100%);
}

.tax-fow__grantees__figure a {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.tax-fow__grantees__figure img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
}

.tax-fow__grantees__details-wrap {
	display: flex;
	height: 100%;
	padding: 30px;
}

.tax-fow__grantees__details {
	display: grid;
	width: 100%;
	grid-template-rows: repeat(2, 1fr);
	row-gap: 20px;
}

.tax-fow__grantees__details__top p {
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
	text-transform: uppercase;
	font-family: "Cabinet Grotesk", montserrat;
	color: var(--e-global-color-e10ad40);
	margin: 2px 0;
	display: inline-block;
	margin-right: 5px;
	padding-right: 5px;
	border-right: 2px solid;
}

.tax-fow__grantees__details__top a {
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
	text-transform: uppercase;
	font-family: "Cabinet Grotesk", montserrat;
	color: var(--e-global-color-e10ad40);
	margin: 2px 0;
	display: inline-block;
	padding-right: 5px;
	margin-right: 5px;
	border-right: 2px solid;
}

.tax-fow__grantees__details__top a:last-child {
	margin-right: 0;
	padding-right: 0;
	border-right: 0;
}

.tax-fow__grantees__details__top a:hover {
	color: var(--e-global-color-text);
}

.tax-fow__grantees__links-wrap {
	text-align: center;
	margin-top: 30px;
}

.tax-fow__grantees__links-wrap a {
	font-family: "Montserrat", montserrat;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--e-global-color-secondary);
	border-bottom: 1px solid;
}

@media screen and (min-width: 768px) {

	.tax-fow__grantees__item {
		margin: 0 10px;
	}

	.tax-fow__grantees__grid .slick-list {
		margin: 0 -10px;
	}

	.tax-fow__grantees__grid .slick-track {
		display: flex;
		align-items: stretch;
	}

	.tax-fow__grantees__grid .slick-slide {
		height: auto;
	}
}

@media screen and (min-width: 1024px) {

	.tax-fow__grantees__grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 20px;
	}

	.tax-fow__grantees__item {
		margin: 0;
		display: flex;
		flex-direction: column;
	}
}

/**
 * Resources
 */

.tax-fow__resources {
	padding: 5%;
}

.tax-fow__resources__grid {
	margin-top: 40px;
}

.tax-fow__resources__item {
	padding-bottom: 30px;
	border-bottom: 1px solid #9F9F9F;
	margin-top: 20px;
}

.tax-fow__resources__item__cat-list {
	font-size: 16px;
	text-transform: uppercase;
	font-family: "Cabinet Grotesk", montserrat;
	font-weight: 700;
	color: var(--e-global-color-secondary);

}

.tax-fow__resources__item__cat-list a:hover {
	color: var(--e-global-color-accent);
}

.tax-fow__resources__item__container {
	margin-top: 20px;
}

.tax-fow__resources__item__left {
	display: flex;
	gap: 10px;
}

.tax-fow__resources__item__left div {
	flex: 1;
	display: flex;
	align-items: center;
	column-gap: 10px;
}

h2.tax-fow__resources__item__title {
	font-size: 20px;
	line-height: 1.2em;
	font-family: "Cabinet Grotesk", montserrat;
	font-weight: 500;
	color: var(--e-global-color-text);
	margin: 20px 0 20px;
}

h2.tax-fow__resources__item__title a {
	color: inherit;
}

h2.tax-fow__resources__item__title a:hover {
	color: inherit;
}

.tax-fow__resources__links-wrap {
	text-align: center;
	margin-top: 30px;
}

.tax-fow__resources__links-wrap a {
	font-family: "Montserrat", montserrat;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--e-global-color-secondary);
	border-bottom: 1px solid;
}

@media screen and (min-width: 768px) {

	.tax-fow__resources__item__container {
		display: flex;
		margin-top: 0;
	}

	.tax-fow__resources__item__left {
		flex-direction: column;
		width: 40%;
		gap: 20px;
		margin-top: 20px;
	}

	.tax-fow__resources__item__left div {
		flex: none;
	}

	.tax-fow__resources__item__right {
		width: 60%;
	}

	h2.tax-fow__resources__item__title {
		margin-top: 5px;
	}
}

@media screen and (min-width: 1024px) {

	.tax-fow__resources__item__left {
		flex-direction: row;
	}

	.tax-fow__resources__item__left div {
		flex: 1;
	}

	h2.tax-fow__resources__item__title {
		font-size: 24px;
		line-height: 26px;
	}
}
