/*
Theme Name: Fountain of Life Teaching Ministry (2025)
Theme URI: http://www.fountainoflifetm.com/
Description: The Fountain of Life Theme for WordPress.
Version: 2.0
Author: David Walker
Author URI:
*/

/*Global Rules*/

:root {
	--accent-color: #000;
	/*--accent-color: #184280;*/
	--shade-color:#f3f3f3;
	--dark-shade-color: #eee;
	/*--dark-shade-color: rgba(24, 66, 128, 0.19);*/
}

* {
	box-sizing: border-box;
}

html {
	background-color:#d5d5d5;
}

body {
	margin:0 auto;
	background: #fff;
	max-width: 1320px;
	box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.3);
	font-family: "Noto Sans", Arial, "Arial Unicode MS", sans-serif;
  font-size: 18px;
  line-height: 1.55;
	border-top: 4px solid var(--accent-color);
}

img {
	max-width: 100%;
	height: auto;
}

/*Typography*/
h1,h2,h3,h4,h5,h6,b,strong {
	font-weight: 700;
/*	font-family: "Texturina", serif;*/
}
b,strong {
	font-weight: 600;
}

a {
	color:#000;
	text-decoration: none;
}
hr {
	border-top: 1px solid #787878;
	border-bottom: 0;
	opacity:0.3;
	margin:30px 0;
}

.post-date {
font-size: 16px;
  color: #707070;
  font-weight: 500;
  margin-top: -8px !important;
}

/*Main Site Container*/
.table {
	width:100%;
	max-width: 1150px;
	margin:auto;
	padding-top: 0px;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
}

@media(max-width: 768px) {
	.table {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/*Site Areas*/
/*.header, .nav, .main {
	display: table;
	border-collapse: separate;
	border-spacing: 20px 10px;		
	width: 100%;
	table-layout: fixed;
}*/

ul.main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	align-self: end;
	font-weight: 600;
	font-size: 16px;
}

@media(max-width: 768px) {
	ul.main-menu {
		display: none;
	}
}

ul.main-menu li a {
	padding-bottom: 3px;
	border-bottom: 3px solid #fff;
	transition: 0.2s ease-in-out;
}

ul.main-menu li.current_page_item a,
ul.main-menu li a:hover {
	border-bottom: 3px solid var(--accent-color);
}

/*Contact Button*/
ul.main-menu li.page-item-19 a {
	background: transparent;
  padding: 6px 17px 9px 17px;
  border-radius: 0;
  border: 3px solid var(--accent-color);	
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
padding-bottom: 17px;
  padding-top: 8px;
  padding-left: 25px;
  padding-right: 25px;
  gap: 30px;
}


@media(max-width: 768px) {
	.header {
		padding-left: 10px;
		padding-right: 10px;
		padding-bottom: 9px;
	  padding-top: 6px;
	}
}

/*.main {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
}*/

/*Header*/
/*.header-logo {
	display: table-cell;
	width:40%;
	vertical-align: top;
}*/

.header-logo a {
	display: block;
}

.header-logo img {
	max-width:280px;
}

@media(max-width: 768px) {
	.header-logo img {
		width:210px;
	}
}

.header-promo {
	display: table-cell;
	width:60%;
	text-align: right;
	vertical-align: middle;

	padding-top: 38px;
}

@media(max-width: 768px) {
	.header-promo {
		display: none !important;
	}
}

.newsletterSignup-regular {
	display: block;
	padding-bottom: 5px;
	padding-top: 0px;
}
.newsletterSignup-accent {
	font-size:18px;
	font-weight: bold;
	display: block;
}

/*Navigation*/
.nav {
background:#292929;
}

@media(max-width: 768px) {
	.nav {
		display: none;
	}
}

.nav ul {
	
	display: flex;
	flex: 1;
	width:100%;
	list-style: none;
	margin:0;
	padding:0;
	
}
.nav ul li {
	flex: 1;
	border:1px solid #535353;
}
.nav ul li a {
	font-weight: 500;
	color:#fff;
	display: block;
	text-align: center;
	padding: 18px 5px 18px 5px;
	text-transform: uppercase;
	font-size:14px;
	line-height: 14px;
	transition: 0.2s background;



/*		font-family: "Texturina", serif;*/
}

@media (min-width: 1200px) {
	.nav ul li a {
		font-size:14px;
		line-height: 14px;
	}
}

@media (min-width: 768px) and (max-width: 979px) {
	.nav ul li a {
		font-size: 12.5px;
		line-height: 12.5px;
	}
}


.nav ul li a:hover, .nav ul li.current_page_item a, .nav ul li.current_page_parent a {
	background: var(--accent-color);
}

/*Main (article + sidebar)*/
.article {
	box-sizing:border-box;
	vertical-align: top;
}

.article-maxwidth {
	max-width: 694px;
}

.post-date + p img {
	max-width: 100%;
	height: auto;

	aspect-ratio: 16/9;
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.article iframe {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16/9;
}

main {
	padding-top: 35px;
}

@media(max-width: 768px) {
	main {
		padding-top: 20px;
	}
}

.article.books {
	padding:0 0 40px 0;
}
.article h1:first-child, .article h2:first-child {
	margin-top: 0;
}
.article h1 {
	color:#000 !important;
	font-size: 36px;
  line-height: 45px;
	margin: 0 0 24px 0;
}

@media(max-width: 768px) {
	.article h1 {
		font-size: 27px;
		line-height: 32px;
	}
}

.article h2 {
	color:#000 !important;
	font-size:140%;
	line-height: 1.4;
	margin:26px 0 0 0;
}
.article h3 {
	color:#000 !important;
	font-size:105%;
}
/*.article p {
	font-size: 17px;
	line-height: 25px;
}

@media(max-width: 768px) {
	.article p {
	  font-size: 15px;
	  line-height: 23px;
	}
}*/

.article p {
	margin: 20px 0;
}

.article a {
	color:#000 !important;
	text-decoration: none;
	border-bottom: 1px solid #c9c9c9;
}
.article ul, .article ol {
	margin-top: 25px;
	margin-bottom: 25px;
	margin-left: 0;
	padding-left: 17px;
}
.article ul li, .article ol li {
	margin-bottom: 15px;
}
.article blockquote {
	border-left: 4px solid var(--accent-color);
	margin: 30px 0;
	font-weight: 500;
	background: var(--shade-color);
	padding: 6px 26px;
}

.article blockquote .reftext {
	vertical-align: super;
  font-size: 10px;
  margin-right: 6px;
}

.article blockquote b,
.article blockquote strong {
	font-weight: 500;
}

.sidebar {
	/*background:#ccc;*/
	box-sizing:border-box;
}
.sidebar-box {
	border-top: 4px solid var(--accent-color);
	background: var(--shade-color);
	padding: 20px;
	box-sizing: border-box;
	margin-bottom:20px;
	position: relative;
}

.sidebar-box ul {
	padding-left: 16px;
	margin-left: 0;
	list-style: square;
}

.sidebar-box p:last-child {
	margin-bottom: 0;
}
.sidebar-box h3 {
	color:#000 !important;
	margin-top: 0;
	font-size: 131%;
	line-height: 1.3;
	margin-bottom: 0;
}

.sidebar-box.books a {
	display: block;
}

.sidebarBoxHead {
display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 5px;
}

.sidebarBoxHead img {
	max-width: 145px;
	padding-top: 3px;
}

form#searchform {
	margin-top: 10px;
}

form#searchform > div {
	display: flex;
}

form#searchform input[type="text"] {
padding: 10px;
  border-radius: 0;
  appearance: none;
  border: 0;
  width: 100%;	
  background: rgba(20, 20, 20, 0.1);
}

form#searchform input[type="submit"] {
	padding: 11px 20px !important;
  text-transform: none !important;
  font-weight: 500 !important;
}

input#searchsubmit {
	margin-left: -42px;
  margin-top: 2px;
width: 34px;
  height: 34px;
  background-size: 22px;
  background-image: url('/wp-content/themes/fol2025/images/searching-magnifying-glass.png');
  background-repeat: no-repeat;
  color: #fff;
  cursor: pointer;
  border-radius: 0;
  border: 0;
  text-transform: uppercase;
  font-size: 0;
  background-position: center;
  background-color: transparent;
}


.booksList-intro {
	padding: 0 0 15px 0;
}

.booksList {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(4, 1fr);
}
@media(max-width: 768px) {
	.booksList {
		grid-template-columns: repeat(2, 1fr);
	}
}
.booksList-item {
	padding:25px;
	background: var(--shade-color);
	box-sizing: border-box;
	text-align: center;
}
.booksList-item a {
	text-decoration: none;
}
.book-title {
	padding: 5px 0 0 0;
	color: #000;
	font-weight: 600;
	font-size: 18px;
	line-height: 25px;
	font-family: "Texturina", serif;

	display: none;
}

.booksSidebar {
display: grid;
gap: 20px;
grid-template-columns: repeat(2, 1fr);
}

.booksSidebar-item {
	box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.1);
}

.booksSidebar-item a {
	display: block;
}

.booksSidebar-item img {
	max-width: 100%;
	height: auto;
	width: 100%;
	display: block;
}

/*Content List*/
.contentList {
	list-style: none;
	margin:15px 0 0 0 !important;
	padding:0 !important;
}
.contentList h3 {
	margin: 0 0 12px 0;
	font-size: 22px;
	line-height: 33px;
}
@media(max-width: 768px) {
	.contentList h3 {
		font-size: 19px;
		line-height: 29px;
	}
}

.contentList p {
	margin:6px 0 0 0;
}
.contentList li {
	border-bottom: 2px solid #d5d5d5;
	padding-bottom: 25px;
	margin-bottom: 25px !important;
}
.contentList a {
	text-decoration: none !important;
}

/*Footer*/
.footer {
	width: 100%;
	color:#000;
	font-size:15px;
	background: var(--dark-shade-color);
	border-top: 4px solid var(--accent-color);
}
.footer a,
.footer p {
	color:#000;
	font-size:15px;
}
.footer table {
	
	width: 100%;
	padding:3px 20px;
}


.header-promo {
display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  gap: 5px;	
}

.header-search {
	align-self: flex-end;
	margin-right: 6px;
background: #eee;
  padding: 5px;	
}

/*
.tagList {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tagList li {
	margin: 3px 0;
}*/

.articles_pagination a {
	display: inline-block;
	background: #000;
	color: #fff !important;
	border: 0;
	text-decoration: none;
	padding: 10px 20px;
}

.articleCards {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(3, 1fr);
	box-sizing: border-box;
}

@media(max-width: 768px) {
	.articleCards {
		grid-template-columns: 1fr;
	}
}

.articleCards li {
	display: flex;
	flex-direction: column;
  position: relative;
  transition: 0.2s;
}

.articleCards li img {
	aspect-ratio: 16/9;
	object-fit: cover;
	object-position: center;
	margin: 0;
	display: block;
	width: 100%;
}

.card-body {
	flex: 1;
	padding: 17px 22px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	box-sizing: border-box;
}

.articleCards li p.card-date {
font-size: 14px;
  color: #707070;
  font-weight: 500;
}


.articleCards li p.card-kicker {
	font-size: 13px;
	line-height: 13px;
	font-weight: 500;
	color: var(--accent-color);
	margin: 0 0 10px 0 !important;
	text-transform: uppercase;
}

.articleCards li:hover {
	background: var(--shade-color);
}

.articleCards li h3 {
	margin: 0;
	font-size: 23px;
	line-height: 31px;
}

.articleCards li h3 a {
	border: 0;
	text-decoration: none;
}

.articleCards li h3 a:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.articleCards li p {
	margin-bottom: 0;	
	font-size: 17px;
}

@media(max-width: 660px) {
	.articleCards li p {
		font-size: 15px;
	}

	.articleCards li h3 {
		font-size: 21px;
		line-height: 30px;
	}
}

.articleCards--halves {
	grid-template-columns: repeat(2, 1fr);
}

@media(max-width: 768px) { 
	.articleCards--halves {
		grid-template-columns: 1fr;
	}
}

.header-social {
	align-self: flex-end;
}

@media(max-width: 768px) {
	.header-social {
		padding-top: 30px;
	}
	.header-social p {
		display: none;
	}

	.header-search {
		display: none;	
	}
}

.header-mobile-menu {
	display: none;
}

@media(max-width: 768px) {
	.header-mobile-menu {
		display: block;
	}
	.header-mobile-menu a {
		width: 100%;
		text-align: center;
		display: inline-block;
		background: var(--accent-color);
		color: #fff !important;
		text-decoration: none;
		padding: 10px 10px 13px 10px;
		font-size: 15px;
		font-weight: 700;
		text-transform: uppercase;
	}
}

#mobile-menu {
	display: none;
}

@media(max-width: 768px) {
	#mobile-menu {
			display: block;
			background: #eee;
			border-top: 3px solid black;		
	}

	#mobile-menu ul {
		list-style: none;
		margin: 0 0 30px 0;
		padding: 0;
		position: relative;
	}

#mobile-menu li::before {
  content: '▶';
  color: #a4a4a4;
  position: absolute;
  font-size: 12px;
  left: 0;
}


	#mobile-menu li {
		margin: 8px 0;
		padding-left: 20px;
	}
}


/*PAGINATION:*/

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
}

.pagination a,
.pagination span {
	display: inline-block;
	background: #e4e4e4;
	width: 42px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	color: #000;
	text-decoration: none;
	font-weight: 600;
}

.pagination span {
	background: #686868;
	color: #fff;
}

.pagination a:hover {
	background: #2f2f2f;
	color: #fff;
}


/*Wordpress styles:*/

ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	list-style: none;
	margin: 40px 0 0 0;
	padding: 0;
}

ul.page-numbers li a,
ul.page-numbers li span {
	display: inline-block;
	background: #eee;
	width: 42px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	color: #000;
	text-decoration: none;
	font-weight: 600;
}

ul.page-numbers li span {
	background: var(--accent-color);
	color: #fff;
}

ul.page-numbers li a:hover {
	background: #2f2f2f;
	color: #fff !important;
}

.pagination_links {
padding-bottom: 38px;
  text-align: center;
  display: flex;
  justify-content: center;	
}

.page_title {
	padding: 56px 0 77px 0;
  /*background: var(--dark-shade-color);*/
  background: #000;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.page_title-small {
	padding: 36px 0;
}

/*.page_title:before {
	content:'';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('/wp-content/themes/fol2025/images/light.jpg');
	background-size: 105%;
	background-position: top -250px center;
	opacity: 0.25;
}*/

.page_title:before {
	content:'';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('/wp-content/themes/fol2025/images/empty-tomb.jpg');
	background-size: 100%;
	background-position: center;
	opacity: 0.6;
	background-size: cover;
}


.page_title h1 {
	margin: 0;
	line-height: 1.2;
	font-size: 41px;
}

@media(max-width: 660px) {
	.page_title h1 {
		font-size: 27px;
	}
}

.page_title p {
	line-height: 1.5;
	margin-top: 23px;
	margin-bottom: 0;
}

@media(max-width: 768px) {
	.page_title p,
	.page_title .btn {
		/*display: none;*/
	}

	.page_title p {
		font-size: 14px;
	}

	.page_title {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}

.page_title p,
.page_title h1 {
	max-width: 1020px;
}

.page_title .btn {
	margin-top: 30px;
	color: #fff;
	border: 1px solid #fff !important;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: black;
  font-weight: 600;
  opacity: 1;
  font-family: "Noto Sans", Arial, "Arial Unicode MS", sans-serif;
}
::-moz-placeholder { /* Firefox 19+ */
  color: black;
  font-weight: 600;
  opacity: 1;
  font-family: "Noto Sans", Arial, "Arial Unicode MS", sans-serif;
}
:-ms-input-placeholder { /* IE 10+ */
  color: black;
  font-weight: 600;
  opacity: 1;
  font-family: "Noto Sans", Arial, "Arial Unicode MS", sans-serif;
}
:-moz-placeholder { /* Firefox 18- */
  color: black;
  font-weight: 600;
  opacity: 1;
  font-family: "Noto Sans", Arial, "Arial Unicode MS", sans-serif;
}

.articles-box form#searchform input[type="text"] {
width: 100%;
}


.sectionHead {
	display: grid;
	grid-gap: 20px;
	align-items: center;
	grid-template-columns: auto 1fr auto;
	padding-bottom: 30px;
}

.sectionHead h1 {
	margin: 0 !important;
}

@media(max-width: 660px) {
.sectionHead h1 {
	font-size: 21px;
}
}

.dividerline {
	height: 1px;
	width: 100%;
	background: #b5b5b5;
}

.btn {
	text-decoration: none;
	border: 2px solid #b5b5b5 !important;
display: inline-block;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 15px;
}


/*PRINT STYLES*/

@media print {
	.header,
	.grid_4,
	.footer,
  .page_title {
		display: none !important;
	}
	
	.grid_8 {
		width: 100% !important;
		max-width: 100% !important;
	}
}

.blog_search {
	background: #f0f0f0;
	padding: 24px 15px;
}

.blog_search form {
	display: flex;
}

.blog_search input[type="search"] {
	flex: 1;
	border: 2px solid #000;
}

.blog_search input[type="search"],
.blog_search button {
	font-size: 17px;
	outline: 0;
	padding: 14px;
}

.blog_search button {
	appearance: none;
	border-radius: 0;
	border: 0;
	background: #000;
	color: #fff;
	padding-left: 30px;
	padding-right: 30px;
	cursor: pointer;
}

.header-toggle {
	display: none;
}

@media(max-width: 768px) {
	.header-toggle {
		display: block;
	}

	a#menu_toggle {
	border: 2px solid #b5b5b5 !important;
		padding: 8px 16px;
		font-size: 15px;
		font-weight: bold;
	}
}