/**
Theme Name: CYBERsprout
Author: CYBERsprout
Author URI: https://cybersprout.net
Description: CYBERsprout\'s child theme for Astra
Version: 2.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cybersprout
Template: astra
*/


/*Make Astra full width by default*/
.ast-container, .ast-woo-shop-archive .site-content > .ast-container {
	max-width:100%;
}
.ast-container, #primary, .ast-plain-container #primary {
	padding:0;
	margin:0;
}
button.ast-search-submit {
	display: none;
}
input#search-field {
	height: 46px;
	margin: 0 20px 20px 0;
}
.paragraph-margin-correction p {
	margin-bottom: unset;
}


/* Column Classes
    Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */

.one-half,
.one-third,
.one-fourth,
.one-fifth,
.one-sixth,
.two-thirds,
.two-fourths,
.two-fifths,
.two-sixths,
.three-fourths,
.three-fifths,
.three-sixths,
.four-fifths,
.four-sixths,
.five-sixths {
  float: left;
  margin-left: 2.564102564102564%;
}

.one-half,
.two-fourths,
.three-sixths {
  width: 48.717948717948715%;
}

.one-third,
.two-sixths {
  width: 31.623931623931625%;
}

.two-thirds,
.four-sixths {
  width: 65.81196581196582%;
}

.one-fourth {
  width: 23.076923076923077%;
}

.three-fourths {
  width: 74.35897435897436%;
}

.one-fifth {
  width: 17.9487184%;
}

.two-fifths {
  width: 38.4615393641026%;
}

.three-fifths {
  width: 58.9743603282051%;
}

.four-fifths {
  width: 79.4871812923077%;
}

.one-sixth {
  width: 14.52991452991453%;
}

.five-sixths {
  width: 82.90598290598291%;
}

.first {
  clear: both;
  margin-left: 0;
}

@media only screen and (max-width: 768px) {
  .one-half, .one-third, .one-fourth, .one-fifth, .one-sixth, .two-thirds, .two-fourths, .two-fifths, .two-sixths, .three-fourths, .three-fifths, .three-sixths, .four-fifths, .four-sixths, .five-sixths {
    width:100%;
	margin-left: 0;
  }
}



/* BUTTONS
 * Used to customize or tweak and set alternative styled buttons
 * NOTE: use the Customizer to style the bulk of the site's buttons.
--------------------------------------------- */

/* (.inverted-colors) : white BG w/black TXT,BRDR -hover- black BG w/white TXT */
/* STATIC state */
.inverted-colors a.uabb-button *,
.inverted-colors a.uabb-btn *,
.inverted-colors .fl-slide-cta-button a * {
    color: #000000 !important;
}
.inverted-colors .uabb-creative-button-wrap a, 
.inverted-colors .uabb-creative-button-wrap a:visited,
.inverted-colors a.uabb-btn, 
.inverted-colors a.uabb-btn:visited,
.inverted-colors .fl-slide-cta-button a, 
.inverted-colors .fl-slide-cta-button a:visited{
    background: none;
    background: #ffffff;	/* remove if you want it transparent */
    border: 1px solid #000000 !important;
}
/* HOVER state */
.inverted-colors a.uabb-button:hover *,
.inverted-colors a.uabb-btn:hover *,
.inverted-colors .fl-slide-cta-button a:hover *{
    color: #ffffff !important;
}
.inverted-colors .uabb-creative-button-wrap a:hover,
.inverted-colors a.uabb-creative-transparent-btn.uabb-transparent-fade-btn:hover,
.inverted-colors a.uabb-btn:hover,
.inverted-colors .fl-slide-cta-button a:hover{
    background: #000000 !important;
}
.inverted-colors .uabb-creative-button-wrap a:hover,
.inverted-colors a.uabb-btn:hover,
.inverted-colors .fl-slide-cta-button a:hover{
    border: 1px solid #000000 !important;
}



/* UABB Adv Menu > off canvas > mobile */
.uabb-creative-menu.off-canvas .uabb-off-canvas-menu .uabb-menu-toggle:before {
    padding: 10px;
}
.uabb-creative-menu.off-canvas .uabb-off-canvas-menu .uabb-has-submenu-container a span.menu-item-text > span.uabb-menu-toggle {
    padding: 0 10px;
}


/* BB Loop alignment fix */
ul.fl-loop-grid {
	margin: unset !important;
}


/* styles moved from builder layouts to global */
/***********************************************/

/* Custom style for site */
ul.sub-menu {
  border-radius: 9px !important;
  overflow: hidden;
}

/* Top corners */
ul.sub-menu > li:first-child > a {
  border-radius: 9px 9px 0 0;
}

/* Bottom corners */
ul.sub-menu > li:last-child > a {
  border-radius: 0 0 9px 9px;
}

.gform_wrapper form .gfield_required {
    color: #000000 !important;
}


/* Space between FAQ rows */
.ewd-ufaq-faq-div {
	margin-bottom: 10px !important;
}

/* FAQ bar */
.ewd-ufaq-faq-title {
	background: #BE5D3D !important;
	border-radius: 10px !important;
	padding: 12px 18px !important;
}

/* Align icon and question */
.ewd-ufaq-faq-title .ewd-ufaq-post-margin {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Question text */
.ewd-ufaq-faq-title-text h4 {
	color: #ffffff !important;
	font-size: 20px !important;
	line-height: 1.25 !important;
	margin: 0 !important;
}

/* Plus/minus icon */
.ewd-ufaq-post-margin-symbol {
	color: #ffffff !important;
	flex: 0 0 auto !important;
}

/* Answer */
.ewd-ufaq-faq-body {
	padding: 14px 18px !important;
}

/* Mobile */
@media (max-width: 768px) {
	.ewd-ufaq-faq-title {
		padding: 10px 14px !important;
	}

	.ewd-ufaq-faq-title-text h4 {
		font-size: 16px !important;
	}

	.ewd-ufaq-faq-title .ewd-ufaq-post-margin {
		gap: 9px !important;
	}
}



/* =========================================================
   SERIES ARCHIVE CARDS
========================================================= */

.series-archive-card {
	background: #BE5D3D;
	border-radius: 20px;
	overflow: hidden;
	text-align: center;
	color: #ffffff;
	height: 100%;
	display: flex;
	flex-direction: column;
}


/* Featured image */

.series-archive-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.series-archive-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.series-archive-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


/* Content area */

.series-archive-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 28px 32px;
}


/* Title */

.series-archive-card .series-archive-title {
	margin: 0 -12px 32px !important;
	padding-bottom: 0 !important;
	font-size: 28px;
	line-height: 1.15;
}

.series-archive-title a {
	color: #ffffff;
	text-decoration: none;
}

.series-archive-title a:hover {
	color: #ffffff;
}


/* Button wrapper */

.series-archive-link {
	margin-top: auto;
}


/* Button */

.series-archive-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	max-width: 100%;
	min-height: auto;
	padding: 14px 18px;

	background: #ffffff;
	color: #000000;
	border-radius: 999px;

	font-family: "Josefin Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 18px;
	text-decoration: none;

	transition: transform 0.2s ease, opacity 0.2s ease;
}

.series-archive-link a:hover {
	color: #000000;
	transform: translateY(-2px);
	opacity: 0.92;
}


/* =========================================================
   SERIES CARD — TABLET
========================================================= */

@media (max-width: 1024px) {
	.series-archive-content {
		padding: 24px 22px 28px;
	}

	.series-archive-card .series-archive-title {
		margin-bottom: 24px !important;
		font-size: 22px;
	}
}


/* =========================================================
   SERIES CARD — MOBILE
========================================================= */

@media (max-width: 600px) {
	.series-archive-card {
		border-radius: 20px;
	}

	.series-archive-content {
		padding: 24px 20px 26px;
	}

	.series-archive-card .series-archive-title {
		margin: 0 0 22px !important;
		font-size: 19px !important;
	}

	.series-archive-link a {
		width: 200px;
		padding: 12px 18px;
	}
}


/* =========================================================
   RE:CHURCH RESOURCE FILTERS
========================================================= */

.resource-filters .facetwp-search,
.resource-filters .facetwp-dropdown {
	height: 56px;
	padding: 0 18px;

	background-color: #F6F1EB;
	border: 1px solid #BE5D3D;
	border-radius: 8px;
	box-shadow: none;

	color: #333333;
	font-size: 18px;
}


/* Search field */

.resource-filters .facetwp-input-wrap {
	width: 100%;
}

.resource-filters .facetwp-search {
	width: 100%;
	padding-right: 50px;
}

.resource-filters .facetwp-search::placeholder {
	color: #6F6A66;
	opacity: 1;
}


/* Search icon */

.resource-filters .facetwp-icon {
	right: 16px;
	opacity: 1;
}

.resource-filters .facetwp-icon::before {
	filter: sepia(1) saturate(3) hue-rotate(325deg);
}


/* Dropdown */

.resource-filters .facetwp-dropdown {
	min-width: 275px;
	cursor: pointer;
}


/* Reset link */

.resource-filters .facetwp-reset,
.resource-filters a {
	color: #BE5D3D;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}

.resource-filters .facetwp-reset:hover,
.resource-filters a:hover {
	color: #95442C;
	text-decoration: underline;
}

.resource-filters .facetwp-reset,
.resource-filters .facetwp-reset:hover,
.resource-filters .facetwp-reset:focus {
	color: #BE5D3D;
	text-decoration: underline !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}


/* Focus state */

.resource-filters .facetwp-search:focus,
.resource-filters .facetwp-dropdown:focus {
	border-color: #BE5D3D;
	outline: 3px solid rgba(190, 93, 61, 0.18);
}


/* Keep both controls the same width */

.resource-filters .facetwp-facet {
	width: 320px !important;
	max-width: 100%;
}

.resource-filters span.facetwp-input-wrap {
	display: block !important;
	width: 100% !important;
}

.resource-filters input.facetwp-search,
.resource-filters select.facetwp-dropdown {
	display: block !important;
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}


/* =========================================================
   RESOURCE FILTERS — TABLET
========================================================= */

@media (max-width: 1024px) {
	.resource-filters .fl-col-group {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.resource-filters .fl-col {
		width: 100% !important;
	}

	.resource-filters .fl-col-content,
	.resource-filters .fl-module-content,
	.resource-filters .facetwp-facet {
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center;
	}

	.resource-filters .facetwp-facet {
		width: 320px !important;
		max-width: 100%;
	}

	.resource-filters .facetwp-reset,
	.resource-filters .reset-search {
		display: table;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}


/* =========================================================
   RESOURCE FILTERS — MOBILE
========================================================= */

@media (max-width: 767px) {
	.resource-filters .fl-col-group {
		display: block;
	}

	.resource-filters .fl-col {
		width: 100% !important;
		margin-bottom: 15px;
	}

.resource-filters .facetwp-facet {
	width: 100% !important;
	max-width: 250px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

	.resource-filters .facetwp-dropdown {
		width: 100%;
	}
}

.resource-filters input.facetwp-search,
.resource-filters select.facetwp-dropdown,
.resource-filters .facetwp-reset,
.resource-filters .reset-search {
	font-family: "Josefin Sans", sans-serif !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	color: #333333 !important;
}

.resource-filters input.facetwp-search::placeholder {
	font-family: "Josefin Sans", sans-serif !important;
	font-weight: 500 !important;
	color: #333333 !important;
	opacity: 1;
}

/* Keep Reset Search underlined */
.resource-filters .facetwp-reset,
.resource-filters .reset-search,
.resource-filters .facetwp-reset:hover,
.resource-filters .reset-search:hover {
	color: #333333 !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}