/*
Theme Name: Taylor's HOPE
Theme URI: https://taylors-hope.org/
Version: 1.0
Description: A custom theme for Taylor's HOPE.
Author: The Snowberry Team
Author URI: https://snowberrymedia.com/
template: bb-theme
*/

:root {
	--icon-external: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M432%2C320H400a16%2C16%2C0%2C0%2C0-16%2C16V448H64V128H208a16%2C16%2C0%2C0%2C0%2C16-16V80a16%2C16%2C0%2C0%2C0-16-16H48A48%2C48%2C0%2C0%2C0%2C0%2C112V464a48%2C48%2C0%2C0%2C0%2C48%2C48H400a48%2C48%2C0%2C0%2C0%2C48-48V336A16%2C16%2C0%2C0%2C0%2C432%2C320ZM488%2C0h-128c-21.37%2C0-32.05%2C25.91-17%2C41l35.73%2C35.73L135%2C320.37a24%2C24%2C0%2C0%2C0%2C0%2C34L157.67%2C377a24%2C24%2C0%2C0%2C0%2C34%2C0L435.28%2C133.32%2C471%2C169c15%2C15%2C41%2C4.5%2C41-17V24A24%2C24%2C0%2C0%2C0%2C488%2C0Z%22/%3E%3C/svg%3E");
}

.fl-page {
	--mec-container-normal-width: 1060px;
	--mec-container-large-width: 1260px;
	--fc-event-bg-color: #CAB0B9;
	--fc-event-border-color: #CAB0B9;
}

.single-mec-events .mec-container {
	padding: 60px 0
}

header {
	position: relative;
	z-index: 10
}

#menu-header-nav .fl-menu-toggle:before {
	width: 6px;
	height: 6px;
	margin: -3px -3px 0 0;
	-webkit-transform: translateX(-3px) rotate(45deg);
	-ms-transform: translateX(-3px) rotate(45deg);
	transform: translateX(-3px) rotate(45deg);
}

@media (min-width:768px) {
	#menu-header-nav .fl-has-submenu .sub-menu {
		left: 50%;
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		transform: translateX(-50%);
	}
}

.menu-item a[target="_blank"]::after {
	content: '';
	width: 0.8rem;
	height: 0.8rem;
	display: inline-block;
	margin-left: 0.33rem;
	-webkit-mask: var(--icon-external);
	mask: var(--icon-external);
	background-color: currentColor;
}

.index1 {
	position: relative;
	z-index: 1
}

.index2 {
	position: relative;
	z-index: 2
}

.fl-module-button {
	max-width: 100%
}

.hero-video .fl-video-poster {
	border-radius: 20px;
	overflow: hidden;
}

@media (min-width:992px) and (max-width:1199px) {
	.fl-builder-content h1 {
		font-size: 60px;
	}

	.fl-builder-content-12 .resource-loop .fl-node-ohz5xfm0bedr {
		flex-direction: column !important;
	}

	.fl-builder-content-12 .resource-loop .fl-node-h1s24oeir6pq img.fl-photo-img {
		aspect-ratio: 3/2;
	}
}

@media (max-width:767px) {
	.header-box {
		padding: 0 20px;
	}

	.header-box--logo {
		order: 1
	}

	.header-box--button {
		order: 2;
		justify-content: flex-end;
		flex-basis: auto !important;
		flex-grow: 0 !important;
	}

	.header-box--menu {
		order: 3;
		justify-content: flex-end;
		flex-basis: auto !important;
		flex-grow: 0 !important;
	}

	.fl-module-menu.fl-node-5b6da39c22e73 .menu a {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	
	.fl-module-menu.fl-node-5b6da39c22e73 .fl-menu .sub-menu a {
		color: #ffffff;
	}
}

@media (max-width:525px) {
	.header-box {
		padding: 0 10px;
	}

	.header-box--button .fl-button {
		width: 120px !important
	}
}

.resource-grid .fl-post-grid-post {
	background-color: #FFE3B1;
	border: 0;
	padding: 25px;
	text-align: center;
	border-radius: 20px;
}

.resource-grid .fl-post-grid-post .fl-post-text {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.resource-grid .fl-post-text .fl-post-meta {
	font-size: 21px;
	color: #291822;
	line-height: 1.2;
	margin: 0 0 12px;
	padding: 0
}

.resource-grid .fl-post-text .fl-post-title {
	font-size: 28px;
	color: #291822;
	line-height: 1.2;
	margin: 0 0 12px;
	padding: 0
}

.resource-grid .fl-post-text .fl-post-title a {
	color: inherit
}

.resource-grid .fl-post-text .fl-post-excerpt {
	color: #291822;
	margin: 0;
	padding: 0
}

.resource-grid .fl-post-text .fl-post-excerpt p {
	margin: 0;
	padding: 0
}

.resource-grid .fl-post-more-link {
	text-align: center;
	padding-top: 23px;
	border-top: 1px solid #FFBE1D;
	margin-top: 12px
}

.resource-grid .fl-post-more-link a {
	text-align: center;
	color: #291822;
	font-weight: 700;
	width: 200px;
	max-width: 100%;
	padding: 17px;
	background-color: #FFBE1D;
	display: inline-block;
	border-radius: 50px;
}

.resource-grid .fl-post-more-link a i {
	font-size: 110%;
	margin-left: 5px
}

.resource-grid .fl-post-more-link a:hover {
	background-color: #F7D146;
	color: #291822;
}

@media (max-width:767px) {
	.resource-grid .fl-post-grid-post {
		height: auto !important;
	}
}

.facetwp-facet {
	margin-bottom: 0 !important;
}

.event-lists .fl-post-feed-post {
	border: 0;
	margin: 0 !important
}

.event-lists .fl-post-feed-post .fl-post-text {
	padding: 40px 0;
	align-items: center;
	border-bottom: 1px solid #D4CBD0;
	display: flex;
}

.event-lists .fl-post-feed-post:last-child .fl-post-text {
	border-bottom: 0;
}

.event-lists .fl-post-text .fl-post-eventdate {
	line-height: 1;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	width: 129px;
	min-width: 129px;
	text-align: center;
	height: 129px;
	background-color: #F5D4F0;
	color: #291822;
	border-radius: 50%;
	font-size: 51px;
	font-weight: 400;
	font-family: Literata, serif
}

.event-lists .fl-post-text .fl-post-eventdate .month_name {
	font-size: 21px;
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	font-family: Inter, sans-serif
}

.event-lists .fl-post-text .fl-post-title {
	margin: 0 30px;
	padding: 0;
	flex-grow: 1;
	color: #291822;
	font-size: 38px;
	line-height: 1.2;
	font-family: Inter, sans-serif;
	font-weight: 700
}

.event-lists .fl-post-text .fl-post-more-link a {
	text-align: center;
	color: #291822;
	font-weight: 700;
	width: 200px;
	max-width: 100%;
	padding: 17px;
	background-color: #FFBE1D;
	display: inline-block;
	border-radius: 50px;
}

.event-lists .fl-post-text .fl-post-more-link a:hover {
	background-color: #F7D146;
	color: #291822;
}

@media(max-width:767px) {
	.event-lists .fl-post-feed-post .fl-post-text {
		display: block;
	}

	.event-lists .fl-post-text .fl-post-title {
		margin: 15px 0;
	}
}

.news-posts .fl-post-grid-post {
	border: 0;
	display: flex;
	flex-direction: column;
	overflow: visible;
	margin-top: 55px;
}

.news-posts .fl-post-grid-image {
	padding: 0 35px;
	position: relative;
	margin-top: -55px;
}

.news-posts .fl-post-grid-image a {
	z-index: 1;
	position: relative;
}

.news-posts .fl-post-grid-text {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.fl-module-loop .fl-module-photo {
	min-width: 25%;
}

.fl-module-loop p:empty {
	display: none
}