/* :::::::::: >>>>> CSS GRID NEW PRODUCT LAYOUT */
#boxedWrapper {
	margin: 0 auto;
	background-color: #fff;
}

@media only screen and (min-width: 1200px) {
	#boxedWrapper {
		width: 1200px;
	}
}

@media only screen and (min-width: 1500px) {
	#boxedWrapper {
		width: 1500px;
	}
}

/* Homepage Grid */

.home-grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	gap: 4px;
	grid-template-areas:
		"home-hero home-hero home-minor1 home-minor3"
		"home-hero home-hero home-minor1 home-minor4"
		"home-hero home-hero home-minor2 home-minor5";
	border: 0px solid #f4f4f4;
	background-color: #f4f4f4;
	min-height: 620px;
}

.overlay {
	background-color: #7a2f7ee6;
	display: none;
	margin: -30px;
	opacity: 0;
	width: 120%;
	padding: .5em .1em;
}

.overlay a:not(.fp-btn) {
	color: #000;
	background-color: #fec357;
	padding: 0.05em 0.5em;
	text-decoration: none;
	border-radius: 3px;
	display: inline-block;
	transition: background-color 0.2s ease, outline-offset 0.1s ease;
	outline: 2px solid rgb(237, 187, 237);
	outline-offset: 2px;
}

.overlay a:not(.fp-btn):hover {
	background-color: #f5b030;
	color: #000;
	outline: 3px solid rgb(221, 207, 221);
	outline-offset: 3px;
}

.overlay a:not(.fp-btn):focus {
	background-color: #f5b030;
	color: #000;
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.home-hero {
	grid-area: home-hero;
}

@media only screen and (max-width: 767px) {
	.home-grid-container {
		grid-template-columns: 1fr;
		grid-template-rows: 400px 400px 400px 400px 400px 400px;
		grid-row-gap: 1px;
		grid-template-areas:
			"home-hero"
			"home-minor1"
			"home-minor2"
			"home-minor3"
			"home-minor4"
			"home-minor5";
	}

	.home-hero,
	.home-minor1,
	.home-minor2,
	.home-minor3,
	.home-minor4,
	.home-minor5 {
		background-size: cover;
		background-position: center;
		padding: 20px;
		display: flex;
	}
}

.home-grid-border {
	background-color: #707070;
}

.home-hero:hover .overlay,
.home-hero:focus .overlay,
.home-hero:focus-within .overlay,
.home-minor1:hover .overlay,
.home-minor1:focus .overlay,
.home-minor1:focus-within .overlay,
.home-minor2:hover .overlay,
.home-minor2:focus .overlay,
.home-minor2:focus-within .overlay,
.home-minor3:hover .overlay,
.home-minor3:focus .overlay,
.home-minor3:focus-within .overlay,
.home-minor4:hover .overlay,
.home-minor4:focus .overlay,
.home-minor4:focus-within .overlay,
.home-minor5:hover .overlay,
.home-minor5:focus .overlay,
.home-minor5:focus-within .overlay {
	opacity: 1;
	display: grid;
}

.home-hero:focus,
.home-minor1:focus,
.home-minor2:focus,
.home-minor3:focus,
.home-minor4:focus,
.home-minor5:focus {
	outline: 4px solid var(--color-amber);
	outline-offset: -4px;
}

.text {
	padding: 25px 25px 0 25px;
	align-self: end;
}

.home-hero:hover .home-hero-header,
.home-hero:focus .home-hero-header,
.home-hero:focus-within .home-hero-header,
.home-minor1:hover .home-hero-minor,
.home-minor1:focus .home-hero-minor,
.home-minor1:focus-within .home-hero-minor,
.home-minor2:hover .home-hero-minor,
.home-minor2:focus .home-hero-minor,
.home-minor2:focus-within .home-hero-minor,
.home-minor3:hover .home-hero-minor,
.home-minor3:focus .home-hero-minor,
.home-minor3:focus-within .home-hero-minor,
.home-minor4:hover .home-hero-minor,
.home-minor4:focus .home-hero-minor,
.home-minor4:focus-within .home-hero-minor,
.home-minor5:hover .home-hero-minor,
.home-minor5:focus .home-hero-minor,
.home-minor5:focus-within .home-hero-minor {
	display: none;
}

.home-minor1 {
	grid-area: home-minor1;
}

.home-minor2 {
	grid-area: home-minor2;
}

.home-minor3 {
	grid-area: home-minor3;
}

.home-minor4 {
	grid-area: home-minor4;
}

.home-minor5 {
	grid-area: home-minor5;
}

.home-hero,
.home-minor1,
.home-minor2,
.home-minor3,
.home-minor4,
.home-minor5 {
	background-size: cover;
	background-position: center;
	padding: 30px;
	display: flex;
	min-height: 210px;
}

.home-hero-header,
.home-hero-header-over,
.home-hero-minor,
.home-minor-header-over {
	align-self: flex-end;
	color: #fff;
	font-weight: 500;
	line-height: 1em;
	text-shadow: var(--shadow-sharp);
	font-size: 1.5em;
}

.home-hero-header-over {
	font-size: 2.25em;
}

.home-hero-minor {
	font-size: 1.875em;
}

@media only screen and (max-width: 767px) {
	.home-hero-header,
	.home-hero-header-over,
	.home-hero-minor {
		font-size: 1.8125em;
	}
}

.home-hero-content,
.home-minor-content {
	color: #fff;
	margin-top: 15px;
	animation: fadeIn 0.5s ease-in;
}

.home-hero-header-over,
.home-minor-header-over {
	animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.home-hero-content a:not(.fp-btn),
.home-minor-content a:not(.fp-btn) {
	color: #fff;
	text-decoration: underline;
}

.home-minor-content,
.home-minor-content p,
.home-minor-content a:not(.fp-btn) {
	color: #fff;
	font-size: .9em;
	margin: 10px 0 10px 0;
	line-height: 1.5em;
	text-decoration: none;
}

.subheader-background {
	background-color: var(--color-navy);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
	min-height: clamp(115px, 25vw, 400px);
	display: flex;
	align-items: flex-end;
}

.subheader-background-text {
	color: #fff;
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	font-weight: 600;
	padding-bottom: 1rem;
}

.subheader-background-text a {
	color: #fff;
}

.subheader-background-text h1 {
	font-size: 3em;
	color: #fff;
	text-shadow: 1px 1px 5px #00000090;
	margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
	.subheader-background-text h1 {
		font-size: 1.5em;
	}
}

.ctct-custom-form input[type="text"] {
	border: 2px solid #b0b6bb !important;
}

.ctct-custom-form {
	padding: 0;
	width: 100% !important;
}


.mission {
	font-size: clamp(1.25rem, 1rem + 1.5vw, 1.875rem);
	line-height: 1.4em;
}

/* Cards */

.card-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	grid-gap: 20px;
	line-height: normal;
}

#partners .main-content .card-container {
	max-width: 100%;
}

#partners .main-content .card-container > div,
#partners .main-content .card {
	min-width: 0;
}

@media only screen and (min-width: 500px) {
	.card-container {
		grid-template-columns: 1fr 1fr;
	}

	.item-1 {
		grid-column: 1 / span 1;
	}
}

@media only screen and (min-width: 850px) {
	#volunteer .card-container,
	#what-we-do .card-container {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}

	#news-and-events .card-container {
		grid-template-columns: 1fr 1fr;
	}

	#help .card-container {
		grid-template-columns: 1fr 1fr;
	}

	.card-container {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media only screen and (min-width: 1200px) {
	#partners .card-container {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

/* card */

.card {
	min-height: 100%;
	background: #f7f2ff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #444;
	border: 1px solid var(--color-blue);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

a.card:hover,
a.card {
	text-decoration: none;
}

.card article {
	padding: 20px 20px 20px 20px;
	display: flex;
	flex: 1;
	flex-direction: column;
}

.card .thumb {
	padding-bottom: 60%;
	background-size: cover;
	background-position: center center;
}

#news-and-events .card .thumb {
	padding-bottom: 30%;
	background-size: contain;
	background-position: top center;
	background-repeat: no-repeat;
	margin: 10px;
}

.card p {
	flex: 1;
	/* make p grow to fill available space*/
	line-height: 1.5;
	font-family: var(--font-sans);
	font-size: 0.7em;
	color: #000;
	margin: 10px 0;
}

/* typography */
.card-header {
	font-size: 1.1em;
	margin: 0;
	color: var(--color-navy);
	font-weight: 500;
	text-align: center;
	text-shadow: 0px 0px 2px #fff;
}

.card-date {
	font-size: 0.75em;
	font-weight: bold;
	color: var(--color-text-light);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 2em 0 0 0;
}

.col-2 {
	column-count: 2;
}

@media (min-width: 768px) {
	.row.equal {
		display: flex;
	}
}

.video-responsive {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}
.video-responsive iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}

.no-gutter {
	margin-right: 0;
	margin-left: 0;
}

.no-gutter > [class*="col-"] {
	padding-right: 0;
	padding-left: 0;
}

.container-fluid-no-gutter {
	padding: 0px;
}

/* Yumpu */
.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.staff-text,
.staff-title {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.staff-image a {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.staff-title {
	font-size: 0.75em;
	color: #555;
	text-align: center;
}

.staff-image {
	margin: 0.5em 0 0.5em;
}

.staff-text {
	margin: 0.5em 0 0.5em;
}

.img-circle {
	border-radius: 50%;
	border: 5px solid #ccc;
	width: 300px;
	object-fit: cover;
}

#staff-home .img-circle {
	max-width: 65%;
}

.center {
	text-align: center;
	margin: 0 auto;
}

