/*
 Theme Name: AFCC Calendar - Fresh Child
 Description: Fresh Child Theme
 Author: Joseph Schultz
 Author URI: https://mediaquestweb.com
 Template: fresh
 Version: 1.0.0
*/

/* Temporarily hide Travelin Partners archive links */
.pt-2 {
	padding-top: 20px !important;
}
.pt-3 {
	padding-top: 30px !important;
}
.pt-5 {
	padding-top: 50px !important;
}
.pb-2 {
	padding-bottom: 20px !important;
}
.pb-3 {
	padding-bottom: 30px !important;
}
.pb-5 {
	padding-bottom: 50px !important;
}

.button.small {
	padding: 8px 15px;
}
.button.red {
	background-color: #BA4848;
}
.button.red:hover {
	background-color: #af3737;
}

.site-branding span.logo {
	font-size: 3rem;
}

.html-block {
	max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.wp-block-cover-image-text, .wp-block-cover-text, section.wp-block-cover-image h2 {
	color: #fff !important;}

.wp-block-embed-youtube.alignfull .wp-block-embed__wrapper {
  position: relative;
  height: 0;
  padding-bottom: 56.25%; 
}
.wp-block-embed-youtube.alignfull .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #222222; 
}
body {
	min-height:100vh;
}

figure.wp-block-embed-youtube {
    max-width: 1000px !important;
}

.notice {
    background: #6eb0da;
    padding: 28px 20px;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
    font-weight: bold;
	overflow: hidden;
	position: relative;
}
.notice:after {
    content: "\f0f3";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    left: -13px;
    top: -7px;
    font-size: 4.5em;
    transform: rotate(-29deg);
    opacity: 0.4;
    color: #d4eeff;
	max-width: 80px;
	transition: 200ms ease-in-out;
}
.notice .button {
    padding: 7px 20px;
    margin: 0;
}
.travelin-partners.archive main aside {
	display: none;
}
.travelin-partners.archive main .stories {
	grid-column-start: 1;
    grid-column-end: 3;
}

.travelin-partners.archive #page_hero:after {
	content: none;
}

.max-1000 {
	max-width: 1000px;
	margin: 0 auto;
}
.home-link {
    background: #222222;
}

#content.site-content {
	padding-bottom: 45px;
}

.gform_body input, .gform_body textarea, .gform_body select {
    border-color: #222;
	padding: 10px;
}

#masthead nav ul li a {
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 15px;
}
#masthead ul.sub-menu li a,
#masthead ul.children li a {
    font-size: 0.9em !important;
    letter-spacing: 1px;
}
body.single-page main .wp-block-cover.alignfull,
body.single-post main .wp-block-cover.alignfull {
	max-height: 575px;
}
body.single-page main .wp-block-cover h1 {
    font-size: 6.5rem;
    text-transform: uppercase;
    max-width: 1200px;
    margin-bottom: 1rem;
    letter-spacing: .75rem;
}
body.single-page .wp-block-cover p {
    color: #fff;
    font-size: 2.25rem;
    font-family: "Bodoni", "Times New Roman", serif;
    font-style: italic;
    text-align: center;
    margin-top: 0;
    line-height: 2;
    z-index: 1;
    letter-spacing: 1px;
    max-width: 700px;
}
body.single-page p {
    font-size: 1.75rem;
    line-height: 2;
    color: #666;
    letter-spacing: .125px;
    font-family: "Open Sans";
    font-weight: 100;
}
body.single-page h2 {
    padding: 35px 0 0;
    font-size: 4.5rem;
    text-transform: initial;
    font-weight: 700;
    letter-spacing: 1.5px;
}
h3 {
    font-size: 3.25rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 1.25px;
}
body.single-page .wp-block-columns h2 {
    padding: 0;
}
body.single-page .max-700 {
    max-width: 700px;
}
body.single-page .no-pad-btm {
    padding-bottom: 0;
}
.wp-block-button__link {
	background-color: #222;
	color: white;
	border-radius: 0;
    font-weight: bold;
    letter-spacing: .5px;
}
#footer-widgets .widget .widgettitle {
	letter-spacing: 2px;
    font-weight: 600;
    font-size: 15px;
}
#footer-widgets .widget ul li {
    padding-bottom: 15px;
}
	#footer-widgets #address-block {
		display: grid;
		grid-template-columns: auto 250px; }
		#footer-widgets .po-box {
			text-align: left;
			margin-top: 10px;
			line-height: 30px;
			font-size: 20px; }
.blurbs {
    display: grid;
    grid-template-columns: auto auto auto;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}
.blurb {
    border: 1px solid #eee;
    padding: 24px;
}

.hidden {
	display: none; }




.newsletter td:last-child {
    text-align: left !important;}

.event {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 50px;
    max-width: 1000px;
    margin: 0 auto 50px;
}
.event-date {
    margin: 0 !important;
    width: auto !important;
    text-align: center;
}
.event-date h3 {
    padding: 0;
    margin: 0;
}
.event-date h3:first-child {
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}
.event-date h3:nth-child(2) {
    font-size: 45px;
    line-height: 1;
}
.event-image {
    margin: 0 !important;
}
.event-details {
    margin: 0 !important;
}
.event-details * {
    margin: 0;
    line-height: 1;
}
.event-details h3 {
    font-size: 35px;
    margin-bottom: 5px;
}
.event-details h4 {
    color: #aaa;
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 25px;
}
.event-details p:nth-child(3) {
    color: #222;
    line-height: 1;
    margin-bottom: 7px;
}
.event-details p:nth-child(4) {
    font-size: 15px;
    line-height: 1;
    margin-bottom: 25px;
}
.event-details p:nth-child(5) {
    line-height: 1.5;
    margin-bottom: 25px;
}
a.link-arrow {
    color: #222;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: 600;
}
.link-arrow i.mq-arrow-left {
    height: 20px;
    width: 20px;
    background-image: url(/wp-content/themes/fresh-afcc/assets/img/arrow-left.svg);
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    transform: rotate(180deg);
    margin-left: 20px;
    transition: all 200ms ease-in-out;
}
a.link-arrow:hover i {
    margin-left: 30px;
}

.church-finder p.max-200 {
    line-height: 1.5;
}
.church-finder {
    text-align: center;
    position: relative;
}

#churches {
	text-align: center;
	position: relative;
}

.finder-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
/*     display: flex; */
	display: none;
    justify-content: center;
    align-items: center;
}
.finder-toggle a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0,0,0,.05);
	transition: all 200ms ease;
}
.finder-toggle a:last-child {
    margin-right: 0;
}
.finder-toggle i {
    font-size: 15px;
    color: #ccc;
    transition: all 200ms ease;
}
.finder-toggle a:hover {
    border-color: #222;
}
.finder-toggle a:hover i {
    color: #222;
}


form#searchForm {
    margin-bottom: 50px;
}
label {
    font-family: "Open Sans";
    color: #222;
}
input#addressInput {
    background-color: white;
    border: 1px solid #222;
    border-radius: 3px;
    color: #222;
    padding: 10px;
    font-size: 15px;
    font-family: "Open Sans";
	height: 45px;
    width: 300px;
}
select#radiusSelect {
    border: 1px solid #222;
    border-radius: 3px;
    font-size: 15px;
    font-family: "Open Sans";
    line-height: 1;
    color: #222;
    height: 45px;
	background-color: #fff;
	width: 150px;
}
input[type="submit"] {
    background-color: #222;
    color: white;
    border-radius: 0;
    font-weight: bold;
    letter-spacing: .5px;
	padding: 12px 24px;
	margin: 0 !important;
    border: 0 none;
	transition: all 200ms ease;
	cursor: pointer;
}
.wp-block-button__link {
	transition: all 200ms ease;
}
input[type="submit"]:hover, .wp-block-button__link:hover {
    background-color: #111;
}

.slp_results_container .results_wrapper {
    padding: 50px 0 50px !important;
    border: 0 none !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 0 !important;
    margin: 0 !important;
}
.results_row_left_column {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    align-items: center;
}
span.location_name {
/*     order: 2; */
    font-size: 30px !important;
    font-family: "Zilla Slab";
    letter-spacing: .75px;
}
.slp_results_container .results_wrapper .location_distance {
    float: right;
    vertical-align: text-top;
}
span.location_distance {
    font-weight: bold;
    color: #B42F2F;
    font-size: 20px;
}
.results_row_center_column.location_secondary {
    margin-bottom: 25px;
}
span.slp_result_address {
    font-size: 20px;
    color: #aaa;
}
span.slp_result_address.slp_result_phone {
    float: right;
    color: #aaa;
    font-weight: bold;
}
span.slp_result_contact {
    margin-right: 50px;
    display: inline-block;
}
.slp_results_container .results_wrapper:hover {
    background-color: #fff !important;
}
a.storelocatorlink {
    color: #005588;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
}
a[target="_blank"]:not(.icon):not(.icon_border):not(.button):after {
    color: #005588;
}
a[target="_blank"].wp-block-button__link:after,
a[target="_blank"].hide-target:after {
  content: none !important;
}




.slp_search_form .search_box {
    display: flex;
    justify-content: center !important;
}
#addy_in_address+.search_item {
    display: flex !important;
    align-items: flex-end;
    justify-content: flex-end;
}
.slp_search_form .search_box .search_item label {
    text-align: left;
    min-width: 8em;
    margin-right: .25em;
    display: block;
}
.slp_search_form .search_box .search_item {
    display: block !important;
    flex: none !important;
	margin-bottom: 0 !important;
}
.slp_search_form .search_box .search_item:first-child {
	margin-right: 50px;
}
.slp_search_form .search_box .search_item label {
    text-align: left !important;
    margin-bottom: 5px;
    font-weight: bold;
}
.slp_search_form .search_box .search_item div {
    flex: none !important;
    display: block !important;
}
.slp_search_form .search_box .search_item div:first-child {
	margin-right: 50px;
}





.church-wrapper {
	padding: 0;
}
.church {
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}
.church-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    align-items: center;
}
.church-mid {
    margin-bottom: 25px;
}
.church-top span.location_name {
    font-size: 30px !important;
    font-family: "Zilla Slab";
    letter-spacing: .75px;
}
.church-top span.job-position {
    font-weight: bold;
    color: #B42F2F;
    font-size: 20px;
}
.church-mid .church-address {
    font-size: 20px;
    color: #aaa;
}
.church-mid .church-address.church-phone {
    float: right;
    color: #aaa;
    font-weight: bold;
}
.church-btm .church-contact {
    margin-right: 50px;
    display: inline-block;
}
.church-btm .church-contact .church-link {
    color: #005588;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
}







.clear {
	clear: both;
}

.wrapper {
	padding: 0 25px;
}



.travelin-partners a.tpreturn {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.travelin-partners #returnFooter a.tpreturn {
    justify-content: center;
}


.travelin-partners.single main article.story .wp-block-quote:not(.ticket):before {
	background-color: transparent;
}
.travelin-partners span.caption {
	font-size: 14px;
}

.church-top span.job-position {
	max-width: 330px;
	text-align: right;
}

/* Password Protected Page form */
form.post-password-form,
.login_prompt {
  max-width: 600px;
  margin: 50px auto;
  background: #f4f4f4;
  padding: 40px;
  text-align: center;
}
.post-password-form label {
  display: block;
  width: 100%;
	margin-bottom: 10px;
	text-align: left;
}
.post-password-form input {
    display: block;
    width: 100%;
}
.login_prompt .button {
	width: 100%;
	max-width: 300px;
	padding: 14px;
	margin-top: 15px;
}


/* Responsive */

@media only screen and (max-width: 480px) {
	#secondary_header {
		grid-template-columns: auto auto;
	}
	#secondary_header .logo_wrap {
		text-align: left;
	}
	.mobile-icon-wrap {
		margin-right: 0;
		display: block;
		text-align: right;
	}
	#secondary_header .logo_wrap img {
		max-width: 100px;
	}
	.social {
    	display: none;
	}
	nav#secondary-navigation {
		display: none;
	}

	.news-cycle {
		grid-template-columns: none;
		grid-gap: 0;
		height: auto;
	}
	.news-cycle article:first-child, .news-cycle article:nth-child(2), .news-cycle article:nth-child(3) {
		grid-row-start: auto;
		grid-row-end: auto;
		min-height: 250px;
	}
	.news-cycle article .event-title, .news-cycle article:not(:first-child) .event-title {
		font-size: 3.5rem;
	}
	.news-cycle article {
		padding: 10px;
	}
	.news-cycle article:after {
		margin: 10px;
	}
	.archive #content main {
		margin: 0 25px;
	}
	.news-cycle article .content {
		padding: 15px;
	}
	body.single-page main .wp-block-cover.alignfull {
		margin-left: -25px;
		min-width: calc(100% + 50px);
		width: calc(100% + 50px);
		max-width: calc(100% + 50px);
	}
	section.boxed {
		padding: 50px 25px;
		margin-top: 40px;
	}
	#fp_tools .grid {
		grid-template-columns: none;
		grid-gap: 25px;
		padding: 0;
	}
	#fp_tools #daily_scripture, #fp_tools #find_cowboy_church, #fp_tools #about {
		grid-column-start: auto;
		grid-column-end: auto;
	}
	.ticket .content {
		padding: 25px 15px;
	}
	#daily_scripture .scripture {
		font-size: 1.6rem !important;
	}
	#fp_events {
		padding: 50px 25px;
	}
	#fp_events .wrapper {
		padding: 0;
	}
	#fp_events #fp_event_cats {
		grid-template-columns: auto;
		grid-gap: 25px;
	}
	#fp_resources .wrapper {
		padding: 0;
		grid-template-columns: auto;
		grid-gap: 25px;
	}
	#fp_resources .grid .ticket {
		grid-column-start: 1;
		grid-column-end: 3;
	}
	#fp_resources .grid:first-child {
		margin-bottom: 25px;
	}
	#content main {
		padding: 0 25px;
	}
	body.single-page main .wp-block-cover h1 {
		font-size: 3.5rem;
		padding: 0 25px;
		margin: 0;
		width: 100%;
	}
	body.single-page main > h2 {
		margin: 0;
	}
	body.single-page main .wp-block-cover p {
		margin: 10px 0 0;
		font-size: 1.75rem;
		line-height: 1.5;
		padding: 0 25px;
	}
	body.single-page main .wp-block-cover.has-background-dim:before {
		margin: 10px;
	}
	body.single-page main .wp-block-pullquote blockquote p {
		font-size: 2.75rem;
	}
	body.single-page main .wp-block-quote.ticket p {
		font-size: 2.75rem;
	}
	body.single-page main .wp-block-quote.ticket {
		padding: 25px;
	}
	.wp-block-group.bg-grey {
		padding: 50px 25px;
		min-width: calc(100% + 50px);
		width: calc(100% + 50px);
		max-width: calc(100% + 50px);
		margin-left: -25px;
	}
	.wp-block-group.bg-grey .wp-block-image {
		margin: 0;
	}
	.wp-block-group.bg-grey .wp-block-button.is-style-squared {
		margin: 0;
	}
	.wp-block-column h4 + p, .wp-block-column p + p {
		margin: 0;
	}
	.page-id-11 .wp-block-column p:nth-of-type(2n + 1) {
		line-height: 1 !important;
	}
	.wp-block-column p + p:nth-of-type(2n) {
		margin-bottom: 10px;
	}
	.staff-bios {
		display: grid;
		grid-gap: 25px;
		grid-template-columns: 1fr 1fr;
	}
	.staff-bios .wp-block-column {
		margin: 0;
	}
	.staff-bios p {
		margin: 0;
	}
	main {
		margin-bottom: 50px;
	}
	main .wrapper {
		padding: 0;
	}
	.blurbs {
		grid-template-columns: auto;
	}
	.page-id-12 .wp-block-column, .page-id-12 .wp-block-column p {
		margin-bottom: 0;
	}
	.page-id-14 main {
		margin-bottom: 0;
	}
	.page-id-14 .bg-grey .wp-block-spacer {
		display: none;
	}
	.bg-grey .wp-block-button.is-style-squared:last-of-type {
		margin-top: 25px !important;
	}
	.page-id-14 .bg-grey .wp-block-column h4 + p {
		margin-bottom: 25px;
	}

	.church-top, .results_row_left_column {
		justify-content: space-between;
		margin-bottom: 15px;
		align-items: flex-start;
		flex-direction: column;
	}
	.church-mid, .results_row_center_column.location_secondary {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
	}
	.church-mid .church-address:first-child {
		margin-bottom: 5px;
	}
	.church-mid .church-address:nth-of-type(2) {
		margin-bottom: 15px;
	}
	span.slp_result_address {
		margin-bottom: 5px;
	}
	span.slp_result_address.slp_result_phone {
		margin-top: 15px;
	}
	.church-btm, .results_row_right_column.location_tertiary {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
	}
	.church-btm span, .results_row_right_column.location_tertiary span {
		margin-bottom: 10px;
	}
	.church-btm span:last-child, .results_row_right_column.location_tertiaryspan:last-child {
		margin-bottom: 0;
	}
	.slp_search_form .search_box .search_item:first-child {
		margin: 0;
		width: 100%;
	}
	input#addressInput {
		width: 100%;
	}
	#addy_in_address+.search_item {
		flex-direction: column;
		width: 100%;
		justify-content: center;
		align-items: flex-start;
	}
	.slp_search_form .search_box .search_item div:first-child {
		margin: 25px 0 !important;
		width: 100%;
	}
	select#radiusSelect {
		width: 100%;
	}
	div#radius_in_submit {
		width: 100%;
	}
	.slp_search_form .search_box .search_item .slp_ui_button {
		width: 100%;
	}
	.finder-toggle {
		position: absolute;
		top: 135px;
		transform: translate(0);
		display: flex;
		justify-content: center;
		align-items: center;
		left: 0;
	}
	.store_locator_plus.fresh {
		margin-top: 100px !important;
	}
	.event {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-gap: 50px;
		border-bottom: 1px solid #eee;
		padding-bottom: 50px;
		max-width: 1000px;
		margin: 0 auto 50px;
	}
	.event-date {
		margin: 0 !important;
		width: auto !important;
		text-align: center;
		grid-column-start: 1;
		grid-column-end: 2;
	}
	.event-image {
		margin: 0 !important;
		margin-left: 25px !important;
	}
	.event-details {
		grid-column-start: 1;
		grid-column-end: 3;
	}
	.page-id-8 main {
		margin-bottom: 0;
	}




	.travelin-partners #page_hero {
		padding: 0 25px;
		text-align: center;
	}
	.travelin-partners main h1, .travelin-partners .tstory h1 {
		font-size: 5rem;
	}
	.travelin-partners.archive main .wrapper.grid {
		grid-gap: 0;
		grid-template-columns: 1fr;
	}
	.stories {
		order: 2;
		grid-column-end: 3;
		grid-column-start: 1;
	}
	.travelin-partners.archive main aside {
		order: 1;
		padding: 0;
		border: 0 none;
		grid-column-start: 1;
		grid-column-end: 3;
		height: 50px;
		overflow-y: scroll;
		margin-bottom: 35px;
		scroll-behavior: smooth;
	}
	.travelin-partners.archive main article.story {
		margin-bottom: 5rem;
	}
	#upper-bar {
		padding: 26px 0;
	}
	#footer-widgets {
		grid-template-columns: auto;
		padding: 0;
		margin-bottom: 0;
	}
	#footer-widgets .widget {
		grid-column-start: 1;
		grid-column-end: 2;
	}
	#footer-widgets #address-block {
		display: block;
		grid-template-columns: none; }
		#footer-widgets .po-box {
			text-align: center;
			margin-top: 10px;
			line-height: 30px; }


	#copyright {
		background: transparent;
		padding: 25px 18px !important;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
	#copyright p {
		text-align: center;
		line-height: 1.75;
	}
	#upper-bar {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
	#upper-bar ul {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}
	#upper-bar .social {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 25px;
	}
	#upper-bar .social a {
		margin: 0;
	}
	#footer-widgets .widget:last-child {
		text-align: center;
	}
	.travelin-partners.single main {
		padding: 100px 25px;
	}
	.travelin-partners main .wrapper {
		padding: 0;
	}
	.travelin-partners.single main article.story p {
		font-size: 2.125rem;
	}
	.travelin-partners.single main article.story p.deck {
		font-size: 3.5rem;
		width: auto;
		margin-left: 75px;
	}
	.travelin-partners.single main .issue-wrapper {
		left: 25px;
		transform: none;
	}
	.travelin-partners.single main .issue {
		font-size: 1.5rem;
	}
	.travelin-partners.single main article.story .wp-block-pullquote blockquote p {
		font-size: 2.75rem;
	}
	.travelin-partners.single main article.story .wp-block-pullquote {
		padding: 35px 0 0px;
	}
	.travelin-partners.single main article.story .wp-block-quote.ticket {
			padding: 30px;
	}
	.travelin-partners.single main article.story .wp-block-quote p {
		font-size: 2.75rem;
		margin: 0;
	}
	.travelin-partners.single #more-stories .section-label {
		margin: 50px 0;
		font-size: 3rem;
	}
	.travelin-partners.single #more-stories .next-story .content h3 {
		font-size: 3.5rem;
	}
	.travelin-partners.single #more-stories .next-story .content .issue {
		font-size: 1.5rem;
		letter-spacing: 2.5px;
	}
	.travelin-partners .tp-button.white {
		font-size: 2rem;
		padding: 15px 35px;
		margin: 0;
	}
	.travelin-partners a.tpreturn {
		font-size: 2.25rem;
	}
	.travelin-partners.single #more-stories .next-story {
		margin-bottom: 0;
	}
	.travelin-partners #returnFooter {
		text-align: center;
		margin: 50px auto;
	}
	h3.border-bt {
		margin-bottom: 10px;
	}
	.hide-children .wp-block-column:first-child, .hide-children .wp-block-column:first-child p {
		margin: 0;
		padding: 0;
		display: none;
	}
}

/* Church Finder */
body.churches #page_hero {
	flex-direction: column;
	padding: 30px 0;
	height: auto;
	min-height: 0;
	margin-bottom: 0;
}
body.churches #page_hero h1 {
	color: #222 !important;
	margin: 0;
	font-size: 4rem;
	text-align: center;
}
#fcc-search {
	margin: 10px 0 15px;
	width: 95%;
	max-width: 900px;
}
#fcc-zip {
	padding: 10px;
	min-width: 300px;
	width: 50%;
	border-color: #e4e4e4;
}
#fcc-radius {
	-webkit-appearance: none;
	height: 46px;
	background: #fff;
	border-radius: 0;
	min-width: 100px;
	width: 25%;
	border-color: #e4e4e4;
}
#fcc-submit {
	border: 1px solid #000;
	padding: 12px 15px 11px;
	font-size: 1.8rem;
	min-width: 100px;
	width: calc(25% - 10px);
	-webkit-appearance: none;
}
.fcc-filter .button {
	border: 1px solid: #000;
}
.fcc-filter .button.inactive {
	background: #fff;
	border: 1px solid #e4e4e4;
	color: #222;
}

/* Map view */
body.churches main.map-view {
	display: grid;
	grid-template-columns: 1fr 35%;
	height: calc(100vh - 221px);
	max-height: 800px;
	min-height: 300px;
}
body.churches #content {
	padding-bottom: 0;
}
#fcc-map {
	background: #f9f0df;
}
aside#fcc-results {
	height: calc(100vh - 221px);
	max-height: 800px;
	min-height: 300px;
	overflow: scroll;
	padding: 15px 0px;
}
aside#fcc-results .church {
	border-color: #f8f8f8;
	padding: 25px;
	transition: all 150ms ease-in-out;
	cursor: pointer;
	position: relative;
}
aside#fcc-results .church:last-child {
	border: none;
}
aside#fcc-results .church .actions {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 115px;
  background: #f9f0df;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
	box-shadow: inset 7px 0 10px -10px #d69e64;
	transform: translateX(115px);
	transition: transform 250ms cubic-bezier(.53,.2,.71,1.22)
	/* transition: 400ms cubic-bezier(.68,.01,.01,1); */
	/* cubic-bezier(.68,.01,0,1.27) */
	/* all 250ms cubic-bezier(.53,.2,.71,1.22) */
}
aside#fcc-results .church:hover {
	background: #fafafa;
	/* box-shadow: 0 4px 9px rgba(0,0,0,0.1) */
}
aside#fcc-results .church:hover .actions {
	transform: translateX(0);
}
#fcc-results .church h2 {
	margin: 0 0 5px;
	padding: 0;
	font-size: 3.2rem;
	/* font-weight: 400; */
	letter-spacing: 1.1px;
	line-height: 1;
}
#fcc-results .church p {
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

.map-info-box h4 {
	margin: 0 0 5px;
	font-size: 2.5rem;
}
.map-info-box a {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.5rem;
}
.map-info-box p {
	font-size: 14px !important;
	line-height: 1.4 !important;
	margin-bottom: 7px;
}
.map-info-box .info-links {
	display: flex;
	justify-content: space-between;
}


.loadbar {
  display: block;
  background: #eee;
  height: 36px;
	max-width: 500px;
  margin-bottom: 10px;
	border-radius: 3px;
	-webkit-animation-duration: 2.75s;
    animation-duration: 2.75s;
  -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
  -webkit-animation-name: placeHolderShimmer;
    animation-name: placeHolderShimmer;
  -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
  background: #f2f2f2;
  background: -webkit-gradient(linear, left top, right top, color-stop(10%, #f2f2f2), color-stop(18%, #e4e4e4), color-stop(33%, #f2f2f2));
  background: -o-linear-gradient(left, #f2f2f2 10%, #e4e4e4 18%, #f2f2f2 33%);
  background: linear-gradient(to right, #f2f2f2 10%, #e4e4e4 18%, #f2f2f2 33%);
  background-size: 500px 104px;
	background-repeat: repeat;
  position: relative;
}
.loadbar.sm {
  height: 25px;
	max-width: 375px;
}
@-webkit-keyframes placeHolderShimmer{
  0%{
    background-position: -495px 0
  }
  100%{
    background-position: 495px 0
  }
}
@keyframes placeHolderShimmer{
  0%{
    background-position: -495px 0
  }
  100%{
    background-position: 495px 0
  }
}

/* List View */
body.churches main.list-view {
	margin: 50px 0;
}
main.list-view #fcc-results {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 25px;
	padding: 0 20px;
}
main.list-view #fcc-results .church {
	/* background-color: #f8f8f8; */
	padding: 50px 35px 40px;
	border: none;
	position: relative;
	align-items: center;
	justify-content: center;
	min-height: 220px;
}
main.list-view #fcc-results .church .content {

}
main.list-view #fcc-results .church h2 {
	margin-bottom: 8px;
	/* max-width: calc(100% - 75px); */
}
main.list-view #fcc-results .church h2:hover {
	text-decoration: underline;
}
main.list-view #fcc-results .church p {
	margin-bottom: 5px;
}
main.list-view #fcc-results .church p span {
	position: relative;
	display: inline-block;
	margin-right: 33px;
}
main.list-view #fcc-results .church p span:not(:last-child):after {
	content: '';
  background-image: url(assets/img/star.svg);
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  right: -24.5px;
  top: 2px;
}
main.list-view #fcc-results .church .distance {
	position: absolute;
	top: 0;
	right: calc(50% - 50px);
	background: #222;
	color: #F0E3C5;
	font-weight: bold;
	font-size: 1em;
	width: 100px;
	height: 35px;
	padding-top: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	/* flex-direction: column; */
}
main.list-view #fcc-results .church .distance:after {
	content: 'Mi';
	font-size: 0.7em;
	font-weight: 300;
	text-transform: uppercase;
	margin-left: 6px;
}
main.list-view #fcc-results .church .actions {
	margin-top: 20px;
}
main.list-view #fcc-results .church .actions a {
  font-size: 13px;
	font-weight: 600;
  text-transform: uppercase;
  margin-right: 7px;
	margin-bottom: 10px;
  /* background: #F0E3C5; */
	background: #f5eedf;
  padding: 6px 12px;
  min-width: 100px;
  text-align: center;
	color: #9c1c1c;
}
main.list-view #fcc-results .church .actions a i {
	font-size: 12px;
}
main.list-view #fcc-results .church .actions a.church-email {
	/* background: #EDD498; */
}
main.list-view #fcc-results .church .actions a.church-link {
	/* background: #D15A5A; */
	/* background: #dea261; */
}
/* main.list-view #fcc-results .church .actions a.church-profile {
    background-color: #9c1c1c;
    color: #f5eedf;
} */
main.list-view #fcc-results .church .actions a.church-link:after {
	content: none;
}

/* Church Profile Pages */
.church-profile #page_hero {
	min-height: 300px;
	display: flex;
	align-items: flex-end;
	background-size: cover;
}
.church-profile #page_hero h1 {
	line-height: 1;
}
.church-profile .returnToMap {
	display: none;
	background: #F0E3C5;
	padding: 5px 15px;
	color: #222222;
	position: absolute;
	top: 25px;
	left: 50%;
	transform: translateX(-50%);
}
.church-profile #page_hero.overlay:after {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0));
}
.church-profile .breadcrumbs {
  font-size: 1.4rem;
  text-transform: uppercase;
  list-style: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
  margin: 0;
	color: #fff;
}
.church-profile .breadcrumbs li {
  margin-right: 5px;
}
.church-profile .breadcrumbs i {
  font-size: 1.4rem;
}
.church-profile .breadcrumbs a {
  color: #ebd8b1;
}
.church-profile .page-title {
	color: #fff;
}
.church-profile main .wrapper {
	display: grid;
	grid-template-columns: 1fr 350px;
	grid-gap: 25px;
}
.church-profile .sidebar-wrapper {
	position: sticky;
	top: 50px;
}
.church-profile .sidebar p {
	line-height: 1.2;
}

@media screen and (max-width: 930px) {
	/* Single Churches */
	.single-church .church-profile main .wrapper {
		grid-template-columns: 1fr;
	}
	.single-church .church-profile main article {
		order: 2;
	}
	.single-church .church-profile main .sidebar {
		order: 1;
		background-color: #f4f4f4;
		padding: 25px;
		margin-top: 25px;
	}
	.single-church .church-profile .sidebar-column {
		display: grid;
    grid-template-columns: 115px 1fr;
    text-align: left;
    align-items: center;
    grid-gap: 20px 0;
	}
	.single-church .church-profile .sidebar-column * {
		margin: 0;
	}
	.single-church .church-profile .sidebar-column h5 {
		font-size: 2rem;
	}
}
@media screen and (max-width: 740px) {
	main.list-view #fcc-results {
		grid-template-columns: 1fr;
	}
	main.map-view {
		grid-template-columns: 1fr !important;
	}
	aside#fcc-results {
		display: none;
	}
}
@media screen and (max-width: 628px) {
	#fcc-zip {
		width: 100%;
		margin-bottom: 10px;
	}
	#fcc-radius {
		width: 100%;
		margin-bottom: 10px;
	}
	#fcc-submit {
		width: 100%;
	}
	.afcc-team-grid.cols4 {
		grid-template-columns: 1fr 1fr;
	}

	.church-profile #page_hero {
		min-height: 230px;
	}
	.church-profile #page_hero h1 {
		text-align: center;
		font-size: 4.5rem;
	}
	.church-profile .returnToMap {
		display: inline-block;
	}
	.church-profile #page_hero .breadcrumbs {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	body.churches #content main {
		padding: 0;
	}
	body.churches main.map-view {
		margin-bottom: 0;
	}
}

/* Hide admin menu items from Authors */
#wp-admin-bar-tribe-events,
#wp-admin-bar-search,
ul#wp-admin-bar-site-name-default {
	display: none !important;
}

main.lesson-container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	width: 100%;
	transition: all 150ms ease-in-out;
	padding-top: 0;
	padding-bottom: 0;
}
.chapter {
	position: relative;
	z-index: 2;
}
#lesson-pag {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
	background: #fff;
}
#lesson-pag a {
	color: #666;
	display: flex;
}
#lesson-pag a i {
	margin: 0 10px;
	line-height: 1.1;
}
#lesson-pag a:hover {
	color: #BA4848;
}
.vid-container {
	position: relative;
}
#toc-toggle {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #fff;
  background: rgba(43, 51, 63, 0.5);
  padding: 10px 10px 8px;
  border-radius: 3px;
	cursor: pointer;
}
#toc-toggle:hover {
	background-color: rgba(0,0,0,0.7);
}
.video-tray {
	background: #f8f8f8;
	padding: 30px 25px;
}
.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
	margin-bottom: 20px;
}
.title-bar h1 {
	font-size: 32px;
	margin: 0 !important;
}
.title-bar .video-length {
	font-size: 22px;
	font-weight: 600;
}
.lesson-container .video-description,
.lesson-container p {
	margin: 5px 0 15px;
	font-size: 16px;
	line-height: 1.6;
	max-width: calc(100% - 60px);
}
#video-tabs {
	display: flex;
	border-bottom: 2px solid #e4e4e4;
	margin-top: 25px;
}
#video-tabs .tablink {
	padding: 20px 25px;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	font-weight: 600;
	color: #666;
}
#video-tabs .tablink:hover {
	color: #BA4848;
}
#video-tabs .tablink.active {
	border-color: #666;
	color: #BA4848;
}
.tab-content {
	display: none;
}
.tab-content.active {
	display: block;
}
.video-tray h2 {
    font-size: 28px;
}
.video-tray h3 {
    font-size: 24px;
}
.video-tray .tab-content h2 {
	font-size: 28px;
	padding-top: 16px;
	margin-left: 0%;
	margin-right: 0%;
}
.video-tray .tab-content h3 {
	font-size: 24px;
	margin: 20px 0 12px;
}
.video-tray p,
.video-tray ul,
.video-tray ol {
	line-height: 1.6;
	font-size: 16px;
	margin-bottom: 15px;
	margin-left: 0%;
	margin-right: 0%;
}
.link-table {
	width: 100%;
  margin: 0px 0 20px;
}
.link-table td {
  border-bottom: 2px solid #eee;
  padding: 15px 0px;
}
.link-table td:last-child {
  text-align: right;
}
.link-table td i {
  margin-right: 5px;
}

.site-content {
	position: relative;
}
#toc {
  position: absolute;
/*   top: 72px; */
	top: 0;
  right: 0;
  bottom: 0;
  background: #f5edde;
	width: 325px;
	/* transform: translateX(100%); */
	transition: all 150ms ease-in-out;
	z-index: 1;
	overflow-y: scroll;
}
#toc.open {
	/* transform: translateX(0); */
}
#toc h3 {
  margin: 0;
  background: #222;
  color: #f5edde;
  padding: 15px 10px;
  font-size: 24px;
	text-align: center;
}
#toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
	position: sticky;
	top: 0;
}
#toc li a,
#toc li > span {
	padding: 10px 10px 10px 20px;
	width: 100%;
	display: inline-block;
}
#toc li.current-chapter {
	padding: 10px 10px 10px 20px;
}
#toc li.current-chapter a {
	padding: 0;
	color: #222; }
#toc li.novideo {
	color: #666;
	cursor: not-allowed;
}
#toc li i {
	margin-right: 10px;
	font-size: 18px;
}
.toc-section {
  border-top: 1px solid #dec9a2;
  border-bottom: 1px solid #dec9a2;
	padding: 15px 10px 15px 18px;
	margin: 5px 0;
	font-weight: 600;
}
#g2p_wrapper {
	/* display: grid;
	grid-template-columns: 1fr; */
}
#g2p_wrapper .chapter {
	width: 100%;
	background: #f8f8f8;
	transition: all 150ms ease-in-out;
}
#g2p_wrapper.view-toc .chapter {
	/* grid-template-columns: 1fr 300px; */
	width: calc(100% - 325px);
}

#next-lesson {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 45px 0 25px;
}

.ggp-logo {
	margin: 15px auto;
    max-width: 375px;
/*     margin-bottom: -60px; */
    z-index: 4;
    position: relative; }

@media only screen and (max-width: 600px) {
	.hide-mobile {
		display: none !important;
	}
  .ggp-logo {
	max-width: 75%; 
  }
	
  #lesson-pag {
	padding: 25px 0 5px; }
	
	#toc {
		position: relative;
		width: 100%;
		top: 0; 
		height: 57px;
		overflow: hidden;
	}
	
	#toc h3 {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	#toc.expand {
		height: auto;
	}
	#toc.expand h3 i {
		transform: rotate(180deg);
	}
	
	#toc-toggle {
		display: none;
	}
	
	.vid-container {
		position: sticky;
		top: 0;
	}
	
	.single-g2p_lesson .page-title {
		font-size: 3.5rem;
	}
	
	.title-bar {
		flex-direction: column-reverse;
		align-items: flex-start;
	}
	.title-bar .button {
		width: 100%;
		margin-bottom: 20px;
	}
	
	.lesson-container .video-description,
	.lesson-container p {
		max-width: 100%;
	}
	
	.link-table .button {
		width: 135px;
	}
	
  #g2p_wrapper.view-toc .chapter {
	width: 100%; }
	
  .lesson-container .video-description {
	max-width: 100%; }
}
@media only screen and (max-width: 480px) {
	#content main.lesson-container,
	.page-id-1648 #content main {
		padding-right: 0;
		padding-left: 0;
	}
}


.wp-block-columns.columns-max-width .wp-block-column:first-child {
	max-width: 650px;
	margin-left: auto;
}
.wp-block-columns.columns-max-width .wp-block-column:last-child {
	max-width: 650px;
	margin-right: auto;
}