/*
Theme Name: Fabens Christian Fellowship
Theme URI: https://fabensfellowship.org/
Description: Fabens Christian Fellowship is a welcoming church theme designed to reflect a community centered on sharing the love of Jesus Christ. It highlights weekly gatherings, Sunday worship and prayer services in English and Español, and Wednesday night Bible studies in a small-group setting. Clean, inviting, and community-focused, this theme is built to help churches connect with promoors and members alike.
Author: Josh Rodgers
Author URI: https://joshrodgers.com/
Version: 3.0
*/

/* Reset */
@import url("css/reset.css");

/* Styles */
@import url("css/gravity.css");
@import url("css/wp.css");
@import url("css/plugin.css");

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Global */
html.with-featherlight {
	overflow: hidden;
}

body .featherlight .featherlight-content {
	background: none;
}

/* Overlay */
.overlay {
	display: none;
}

.featherlight .featherlight-content .overlay {
	display: block;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	text-align: center;
	text-decoration: none;
}

.overlay li {
	margin: 20px;
}

/* Nav */
#primary-nav .current_page_item > a,
#primary-nav .current_page_ancestor > a {
	font-weight: bold;
}

.nav-logo img {
	display: block;
	height: 75px;
	transition: all 0.2s ease;
	width: auto;
}

.nav-logo img:hover {
	opacity: 0.9;
}

nav#primary {
	background: #008CBA;
	padding: 0;
	width: 100%;
}

nav#primary .nav-inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	margin: 0 auto;
	max-width: 800px;
	padding: 0 30px;
	width: 100%;
}

ul#primary-nav {
	display: flex;
	justify-content: flex-end;
	margin-left: auto;
}

ul#primary-nav > li {
	margin-left: 2em;
	padding: 25px 2em 20px;
	position: relative;
}

ul#primary-nav a {
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	text-decoration: none;
}

ul#primary-nav li > ul.children {
	background: rgba(0, 140, 186, 0.75);
	display: none;
	left: 1em;
	min-width: 200px;
	position: absolute;
	top: 100%;
	z-index: 999;
}

ul#primary-nav li {
	position: relative;
}

ul#primary-nav li > ul.children {
	display: none;
	left: 50%;
	position: absolute;
	top: 100%;
	transform: translateX(-50%);
}

ul#primary-nav li > ul.children li a {
	text-decoration: none;
}

ul#primary-nav li > ul.children li a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

ul#primary-nav li > ul.children li {
	margin: 0;
	padding: 15px 1em;
}

ul#primary-nav li:hover > ul.children {
	display: block;
}

.flat-nav__list > li {
	border-left: 1px solid rgba(0,0,0,0.05);
	float: left;
	height: 60px;
	position: relative;
}

.flat-nav__list > li > a {
	color: var(--gray);
	display: block;
	font-size: 16px;
	line-height: 60px;
	padding: 0 25px;
	position: relative;
	text-decoration: none;
	transition: all 0.2s ease;
}

.flat-nav__list > li > a:hover {
	background: #f2f2f2;
	text-decoration: underline;
}

.flat-nav__item--logo + li.page_item > a::before {
	border-right: 15px solid var(--white);
	border-top: 60px solid transparent;
	content: "";
	height: 0;
	left: -15px;
	position: absolute;
	top: 0;
	transition: all 0.2s ease;
	width: 0;
	z-index: 1;
}

.flat-nav__item--logo + li.page_item > a:hover::before {
	border-right-color:#f2f2f2;
}

.flat-nav__item--contact {
	position: relative;
}

.flat-nav__item--contact::before {
	content: none;
}

@supports selector(li:has(+ li)) {
	.flat-nav__list > li.page_item > a::after {
		border-bottom:60px solid transparent;
		border-left:15px;
		content: "";
		height: 0;
		position: absolute;
		right: -15px;
		top: 0;
		transition: all 0.2s ease;
		width: 0;
		z-index: 1;
	}
	.flat-nav__list > li.page_item:has(+ .flat-nav__item--contact) > a:hover::after {
		border-left-color: #f2f2f2;
	}
}

/* JS Fallback */
/* Nav Children */
.flat-nav__list li .children {
	background: var(--white);
	border-bottom: 3px solid var(--accent);
	border-radius: 0 0 3px 3px;
	border-top: 1px solid rgba(0,0,0,0.05);
	display: none;
	left: 0;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	top: 100%;
	width: 180px;
	z-index: 999;
}

.flat-nav__list li .children li {
	border-bottom: 1px solid rgba(0,0,0,0.05);
	border-left: 0;
	float: none;
	height: 45px;
}

.flat-nav__list li .children li a {
	background: var(--white);
	color: var(--gray);
	display: block;
	line-height: 45px;
	padding: 0 15px 0 30px;
	text-decoration: none;
}

.flat-nav__list li .children li a:hover {
	background: #f2f2f2;
}

/* Media */
@media screen and (max-width: 900px) {
	#primary-nav li:not(:last-child) {
		display: none;
	}
}

@media screen and (min-width: 901px) {
	#primary-nav > li:last-child {
		display: none;
	}
}

/* Hero */
#hero {
	font-family: "Open Sans", sans-serif;
}

#hero img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

#hero .btn-fill {
	background: #000;
	color: #fff;
}

#hero .btn-fill:hover {
	background: #2E2E2E;
}

#hero .btn-primary {
	background: none;
	border: 2px solid #000;
	color: #000;
}

#hero .btn-primary:hover {
	border: 2px solid #2E2E2E;
	color: #2E2E2E;
}

#hero .btn-primary,
#hero .btn-fill {
	border: 2px solid #2E2E2E;
	border-radius: 50px;
	display: inline-block;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	margin: 10px;
	padding: 14px 26px;
	text-decoration: none;
	transition: all 0.2s ease;
}

/* Slider */
.creative-bg--slider {
	display: block;
	height: 75vh;
	position: relative;
	width: 100%;
}

.creative-bg--slider .creative-slider--wrap {
	align-items: stretch;
	display: flex;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.creative-slider--wrap .swiper {
	height: 100%;
	width: 100%;
}

.creative-slider--wrap .swiper-slide .slide-bg {
	background-position: center;
	background-size: cover;
	height: 100%;
	width: 100%;
}

.creative-bg--slider .creative-slider--wrap .slide-bg:before {
	background: rgba(252, 252, 252, 0.6);
	content: " ";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.creative-bg--slider .slider-content {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 10;
}

.slider-content .content-row {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	text-align: center;
	width: 100%;
}

.content-row .content-column {
	margin: 0 auto;
	max-width: 65%;
}

.content-column .slide-subheading {
	animation: fadeInUp 1s ease forwards;
	animation-delay: 0.3s;
	filter: blur(4px);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.2;
	margin-top: 0;
	opacity: 0;
	text-transform: uppercase;
	transition: opacity 0.5s ease, filter 0.5s ease;
}

.slide-subheading img {
	height: auto;
	margin-bottom: 25px;
	width: 300px;
}

.content-column .slide-heading {
	animation: fadeInUp 1s ease forwards;
	animation-delay: 0.5s;
	filter: blur(4px);
	font-size: 86px;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.085;
	margin-bottom: 25px;
	margin-top: 0;
	opacity: 0;
	transition: opacity 0.5s ease, filter 0.5s ease;
}

.content-column .creative-btns--wrap {
	animation: fadeInUp 1s ease forwards;
	animation-delay: 0.7s;
	display: inline-flex;
	filter: blur(4px);
	margin-top: 20px;
	opacity: 0;
	transition: opacity 0.5s ease, filter 0.5s ease;
}

.creative-btns--wrap .creative-btn,
.creative-btns--wrap .creative-btn.btn-fill {
	background: transparent;
	border: 2px solid #010101;
	border-radius: 50px;
	color: #010101;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.085em;
	margin: 0 10px;
	padding: 11px 32px 10px;
	text-decoration: none;
}

.creative-btns--wrap .creative-btn.btn-fill {
	background-color: #2E2E2E;
	color: #fff;
}

.creative-status {
	animation: fadeInRight 1s ease forwards;
	animation-delay: 0.5s;
	border-left: 2px solid #000;
	bottom: 30px;
	color: #2E2E2E;
	filter: blur(4px);
	font-size: 16px;
	font-weight: 500;
	left: 30px;
	line-height: 1.375;
	opacity: 0;
	padding-left: 10px;
	position: absolute;
	width: 205px;
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translate3d(0, 37px, 0);
	}
	100% {
		filter: blur(0);
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes fadeInRight {
	0% {
		opacity: 0;
		transform: translateX(50px);
	}
	100% {
		filter: blur(0);
		opacity: 1;
		transform: translateX(0px);
	}
}

/* Media */
@media only screen and (max-width: 1366px) {
	.content-row .content-column {
		max-width: 100%;
		padding: 0px 30px;
	}
	.creative-status {
		display: none;
	}
}

@media only screen and (max-width: 981px) {
	.content-column .slide-heading {
		font-size: 67px;
	}
}

@media only screen and (max-width: 575px) {
	.content-row .content-column {
		padding: 0px 10px;
	}
	.content-column .slide-heading {
		font-size: 46px;
		margin-bottom: 25px;
	}
	.content-column .creative-btns--wrap {
		flex-direction: column;
	}
	.creative-btns--wrap .creative-btn,
	.creative-btns--wrap .creative-btn.btn-fill {
		margin-bottom: 15px;
	}
	.content-column .slide-subheading {
		font-size: 16px;
	}
}

/* Main */
#main {
	margin: 0 auto;
	padding: 25px 40px 0;
	max-width: 1400px;
	width: 100%;
}

#main a {
	color: #000;
	font-weight: bold;
}

#main a:hover {
	text-decoration: none;
}

#main h6 {
	color: #555;
	font-size: 20px;
	margin-top: 20px;
}

#main h2,
#main h6 {
	font-family: "Open Sans", sans-serif;
	font-size: 2em;
	font-weight: 700;
	text-align: center;
}

#main p,
#main ul {
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	padding-top: 20px;
}

#main p:last-of-type,
#main ul:last-of-type {
	margin-bottom: 45px;
}

#main ul {
    list-style: initial;
    margin: initial;
}

#main li {
    display: list-item;
	margin: 20px 0 0 20px;
}

/* Partners */
#partners {
	background: #fff;
	padding: 0 40px;
}

#partners .col {
	background: #333;
	margin: -25px auto 0;
	max-width: 1400px;
	padding: 40px;
	position: relative;
	top: 25px;
	width: 100%;
}

#partners img {
	display: block;
	margin: 0 auto 14px;
	max-height: 70px;
	transition: all 0.2s ease;
	width: auto;
}

#partners a:hover img {
	opacity: 0.9;
}

#partners h2 {
	color: #ccc;
	font-family: "Open Sans", sans-serif;
	font-size: 25px;
	font-weight: 600;
	margin: 0 0 10px;
	text-align: center;
}

#partners p {
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 25px;
	margin-bottom: 20px;
	text-align: center;
}

/* Buttons */
#partners .btn-primary {
	background: #008CBA;
	border: 2px solid transparent;
	border-radius: 40px;
	color: #fff;
	display: inline-block;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 20px;
	text-decoration: none;
	transition: all 0.2s ease;
}

#partners .btn-primary:hover {
	background: #0299c1;
	color: #fff;
}

#partners .btn-primary:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* Media */
@media (max-width: 1100px) {
	#partners {
		padding: 0 20px;
	}
	#partners .col {
		padding: 40px 20px;
	}
	#partners img{
		margin-bottom: 12px;
		max-height: 56px;
	}
}

/* Promo */
#promo {
	background: #008CBA;
	padding: 65px 40px 40px;
}

#promo .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin: 0 auto;
	padding: 0 10px;
	max-width: 1400px;
	width: 100%;
}

#promo .col {
	flex-grow: 1;
}

#promo .col:nth-child(2) {
	text-align: right;
}

#promo h2 {
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 40px;
	position: relative;
	top: -5px;
}

/* Buttons */
#promo .btn-primary {
	background: #fff;
	border: 2px solid transparent;
	border-radius: 50px;
	color: #008CBA;
	display: inline-block;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	margin: 5px;
	padding: 14px 26px;
	text-decoration: none;
	transition: all 0.2s ease;
}

#promo .btn-primary:hover {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

#promo .btn-primary:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* Media */
@media (max-width: 1000px) {
	#promo {
		padding: 80px 10px 40px;
	}
	#promo .col {
		flex: 0 0 100%;
		width: 100%;
	}
	#promo h2 {
		text-align: center;
	}
	#promo .col:nth-child(2) {
		display: flex;
		justify-content: center;
	}
}

/* Footer */
#foot {
	background: #e8e8e8;
	padding: 40px;
}

#foot h2 {
	color: #000;
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 15px;
	text-transform: uppercase;
}

#foot ul {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

#foot ul,
#foot p {
	color: #555;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
}

#foot a {
	border-bottom: 1px solid #008CBA;
	color: #000;
	font-weight: 600;
	text-decoration: none;
}

#foot a:focus-visible {
	outline: 1px solid #008CBA;
	outline-offset: 3px;
}

#foot a:hover {
	border-bottom: 1px solid #000;
}

#foot strong {
	color: #444;
	font-weight: 700;
}

#foot em {
	font-style: normal;
	opacity: 0.85;
}

#foot .wrap {
	background: url("images/bgfoot.png") 98% 100% no-repeat;
	background-size: 5%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
	margin: 0 auto;
	max-width: 1400px;
	width: 100%;
}

#foot .col {
	flex: 1 1 0;
	padding: 0 10px;
}

#foot .col ul:not(.social) > li {
	line-height: 25px;
	margin-bottom: 15px;
}

#foot .col li.address {
	line-height: 20px;
	margin: 20px 0 15px;
}

#foot .col li.address a {
	border-bottom: 0;
	font-weight: normal;
	text-decoration: none;
}

#foot .col li.address a:hover,
#foot .col li.address a:focus-visible {
	border-radius: 6px;
	outline: 1px solid #008CBA;
	outline-offset: 3px;
}

#foot .col li.address span {
	display: block;
}

#foot .col:nth-child(1) {
	flex-grow: 1.1;
}

#foot .col ul ul.children {
	margin-top: 15px;
}

#foot .col ul ul.children li:last-child {
	margin-bottom: 0;
}

#foot .col ul.social {
	display: flex;
	gap: 12px;
}

#foot .col ul.social li {
	font-size: 18px;
}

#foot .col ul.social li a {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 999px;
	color: #555;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	padding: 0;
	width: 36px;
}

#foot .col ul.social li a:hover {
	background: #f5f5f5;
	color: #000;
}

#foot .col:nth-child(2) {
	flex-grow: 1.6;
}

#foot .col:nth-child(3) {
	flex-grow: 1;
}

#foot .col:nth-child(3) > ul {
	columns: 2;
	column-gap: 12px;
}

#foot .col:nth-child(3) ul {
	margin: 0;
	padding: 0;
}

#foot .copy {
	flex: 0 0 100%;
	text-align: center;
}

/* Media */
@media (max-width: 1100px) {
	#foot {
		padding: 40px 10px;
	}
	#foot .wrap {
		background: url("images/bgfoot.png") 95% 90% no-repeat;
		background-size: 25%;
	}
	#foot .col {
		flex: 1 1 100%;
	}
	#foot .col:nth-child(1) {
		margin-bottom: -20px;
	}
	#foot .col:nth-child(3) ul {
		display: grid;
		grid-template-columns: 1fr;
	}
	#foot .copy {
		margin-top: 20px;
	}
}















/* Pastors */
.layout {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-family: "Open Sans", sans-serif;
	line-height: 1.5em;
	margin-top: -1em;
	margin-left: auto;
	margin-right: auto;
	max-width: 75em;
	padding: 2em 1em;
}

.layout:nth-child(even) {
	flex-direction: row-reverse;
}

.layout:nth-child(odd) p,
.layout:nth-child(even) img,
.layout:nth-child(even) p {
	padding-right: 3.5em;
}

.layout__item {
	min-width: 400px;
	padding-top: 1em;
}

.layout__item--body {
	flex-basis: 15rem;
	flex-grow: 9999;
}

.layout__item--figure {
	flex-grow: 1;
	margin-right: auto;
}

.layout h2 {
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 10px;
}

.layout img {
	height: 100%;
	max-height: 400px;
	width: auto;
	vertical-align: middle;
}

/* Media */
@media (min-width: 10000px) {
	.layout img {
		margin-left: 3.5em;
	}
	.layout:nth-child(odd) {
		padding-left: 3.5em;
	}
}
@media (max-width: 850px) {
	.layout:nth-child(odd) {
		padding-left: 20px;
		padding-right: 3.5em;
	}
	.layout:nth-child(even) p {
		padding-right: 0;
	}
	.layout__item {
		padding-left: 0;
	}
	.layout img {
		padding: 0;
	}
	.layout p {
		width: 100%;
	}
}