#home_featured {}

#home_featured {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 40px 0;
}

#home_featured div:first-child {
	width: calc(50% - 10px);
	display: flex;
	flex-direction: column;
}

#home_featured div:first-child a {
	background: #ECE8E3;
	flex: 1;
	padding: 20px;
	border: 1px solid rgba(217, 209, 199, 0.5);
	transition: all 0.3s ease;
	padding: 32px 40px;
}

#home_featured div:first-child a:hover {
	background-color: #D9D1C7;
}

body[class*="philanthropy"] #home_featured div:first-child a {
	background-color: white;
}
body[class*="philanthropy"] #home_featured div:first-child a:hover {
	background-color: rgba(189,72,0,0.2);
}




#home_featured div:first-child a {
	color: #00020D;
}

#home_featured div:first-child a h2,
#home_featured div:first-child a span {
	color: #020873;
}

body[class*="philanthropy"] #home_featured div:first-child a h2{ color:#BD4800; }


#home_featured ul.news {
	width: calc(50% - 10px);
}

#home_featured div:first-child a span {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	background-position: 0 100%, 0 100%;
	background-repeat: no-repeat, no-repeat;
	background-size: 0 1px, 100% 1px;
	transition: background-size .5s
}

#home_featured div:first-child a span {
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(9, 88, 167, 0.25), rgba(9, 88, 167, 0.25));
}

#home_featured div:first-child a:hover span {
	background-size: 100% 1px, 100% 1px
}

#home_featured div:first-child div {
	width: 55%;
}

#home_featured div:first-child a {
	background-image: url("/assets/themes/bf_2020/images/test/home_f.svg");
	background-repeat: no-repeat;
	background-size: calc(40% - 40px) auto;
	background-position: calc(100% - 32px) 50%;
}

.bannerholder {
	padding: 20px 20px;
	margin: 0 auto;
	max-width: 1600px;
}

.bannerlink {
	display: flex;
	justify-content: space-between;
}

.bannerlink div {
	padding: 48px 0;
	width: calc((((100% - (11 * 20px)) / 12) * 5) + (3 * 20px));
	margin: 0 20px 0 calc((((100% - (11 * 20px)) / 12) * 1) + (2 * 20px));
}

.bannerlink>b {
	display: block;
	flex: 1;
	content: "";
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left center;
	min-height: 414px;
}

.bannerlink p {
	color: #00020D;
	margin-bottom: 24px;
}

#home_featured p:last-child,
.bannerlink p:last-child {
	margin-bottom: 0;
}

.bannerlink p:first-child {
	font-family: Merriweather;
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 18px;
	/* identical to box height */
	text-transform: uppercase;
	margin-bottom: 32px;
	color: #FFFFFF;
}

.bannerlink h2 {
	font-weight: 300;
	font-size: 36px;
	line-height: 45px;
	line-height: 1.25;
	margin-bottom: 16px;
	color: #FFFFFF;
}

.bannerlink p a {
	text-decoration: none;
	color: inherit;
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(9, 88, 167, 0.25), rgba(9, 88, 167, 0.25));
	background-position: 0 100%, 0 100%;
	background-repeat: no-repeat, no-repeat;
	background-size: 0 1px, 100% 1px;
	transition: background-size .5s
}

.bannerlink p a:hover {
	background-size: 100% 1px, 100% 1px
}

@media all and (max-width: 1199px) {
	.bannerlink div {
		margin: 0 20px 0 0;
		padding: 36px 20px 36px 44px;
		width: calc(50% - 10px);
	}

	body[class*="philanthropy"] #home_featured { margin-left: 8px;  margin-right: 8px; }

}

@media all and (max-width: 899px) {
	#home_featured ul.news {
		width: 100%;
	}
	#home_featured>div:first-child {
		width: 100%;
		margin-bottom: 20px;
	}
	.bannerlink div {
		width: 100%;
	}
	.bannerlink {
		flex-direction: column;
	}
	.bannerlink::after {
		height: 0;
		min-height: 0;
		padding-bottom: 60%;
	}

	body[class*="philanthropy"] #home_featured { margin-left: 16px;  margin-right: 16px; }

}

@media all and (max-width: 599px) {
	#home_featured ul.news {
		width: 100%;
	}
	#home_featured>div:first-child {
		width: 100%;
		margin-bottom: 20px;
	}
	#home_featured div:first-child a {
		background-position: center 20px;
		background-size: 15rem;
		padding: 186px 16px 16px;
	}
	#home_featured div:first-child div {
		width: 100%;
	}
	.bannerlink h2 {
		font-size: 2.4rem;
	}
	.bannerlink div {
		padding: 16px;
	}

	body[class*="philanthropy"] #home_featured { margin-left: 0;  margin-right: 0; }

}

@media all and (-ms-high-contrast:none) and (max-width: 1399px) {
	#home_featured div:first-child {
		min-height: 30vw;
	}
	#home_featured ul.news li>a {
		min-height: 30vw;
	}
}

@media all and (-ms-high-contrast:none) and (max-width: 1199px) {
	#home_featured div:first-child {
		min-height: 36vw;
	}
	#home_featured ul.news li>a {
		min-height: 36vw;
	}
}

@media all and (-ms-high-contrast:none) and (max-width: 899px) {
	#home_featured div:first-child {
		min-height: 0;
	}
	#home_featured ul.news li>a {
		min-height: 40vw;
	}
	#home_featured div:first-child a {
		flex: auto;
	}
}

@media all and (-ms-high-contrast:none) and (max-width:599px) {
	#home_featured div:first-child {
		min-height: 0;
	}
	#home_featured div:first-child a {
		flex: auto;
	}
}