
:root {
	--yall-text: rgb(27, 129, 27);
	--yall-med: rgb(51, 192, 52);
	--yall-light: rgb(238, 255, 238);
}


.yall {
    color: var(--yall-text);
}
.bible-text {
	font-family: EzraSIL, GentiumPlus, 'PT Serif', serif
}

body {
	margin: 0;
	padding: 0;
	font-family: arial, helvetica;
	font-size: 14px;
}
* {
	box-sizing: border-box;
}
a {
	color:  var(--yall-text);
}

#header {
	--background: var(--yall-text);
	background: #333;
	color: #fff;
	z-index: 1;
	position: fixed;
	width: 100%;
	padding: 1em 1.5em;
	--border-bottom: solid 1px #888;		
	margin: 0 auto 1em;
}


#header-inner {
	display: flex;
	color: #111;
	max-width: 1000px;
	flex-flow: row;
	align-items: center;
	justify-content:space-between;
	margin: 0 auto;
}
#header #logo {
	font-size: 1.3em;
	margin: 0;	
}
#header #logo a {
	color: #fff;
	text-decoration: none;
}
#header .yall {
	color: var(--yall-med);
	font-weight: bold;
}

	#nav-position {
		cursor: pointer;
		width: 8em;
		white-space: nowrap;
		color: #fff;
	}
	#about-link {
		cursor: pointer;
		width: 8em;
		text-align: right;
		--color:var(--yall-text);
		color: #fff;
		text-decoration: none;
	}	

#footer {
	margin: 3em auto 2em;
	--max-width: 1000px;
	text-align: center;
}

/* MOBILE */
#site {
	display: block;
	margin-bottom: 5em;
	padding-top: 6em;
}

	#nav {
		height: 100%; /* 100% Full-height */
		width: 0; /* 0 width - change this with JavaScript */
		position: fixed; /* Stay in place */
		z-index: 1; /* Stay on top */
		top: 0; /* Stay at the top */
		left: 0;
		background-color: #efefef; /* Black*/
		overflow-x: hidden; /* Disable horizontal scroll */
		transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
	}
		#nav.nav-open {
			width: 378px;
		}
		#nav-container {
			width: 378px;
			padding: 14px;
		} 
		#nav.nav-open #nav-container {
			display: block;
		}	
		#nav-header	 {
			display: flex;
			justify-content: space-between;
			--padding: 0.5em;
			align-items:center;
		}

		#nav-close {
			width: 30px;
			height: 30px;
			border: 0;
			background: #666;
			border-radius: 40px;	
			color: #fff;
		}
	#main {
		position: relative;
	}
	.nav-button {
		position: fixed;
		bottom: 2em;
		width: 3em;
		height: 3em;
		border-radius: 100px;
		background-color: transparent;		
		color: #fff;
		border: solid 1px #eee;
		box-shadow: 0 0 2px #ddd;
		margin: 0;
		padding: 0;
		background: #fff;
		cursor: pointer;
	}
	.nav-button:hover {
		
		background-color: #eee;
	}

	.nav-button span {
		display: block;
		border-style:  solid;
		border-color: var(--yall-text);		
		border-width: 2px 2px 0 0;		
		width: 1.2em;
		height: 1.2em;
	}

	#prev-button {
		left: 0.5em;
		content: "<";
	}
	#prev-button span {
		transform: rotate(-135deg);
		margin-left: 1.0em;
		margin-top: 0.8em;
	}
	#next-button {
		right: 0.5em;
		content: ">";
	}	
	#next-button span {
		transform: rotate(45deg);
		margin-left: 0.5em;
		margin-top: 0.8em;
	}

	#main {
		padding: 0 2em 2em;
		line-height: 1.5;
		font-size: 12px;
		margin: 0 1em;
	}

	#nav-search {	
		margin: 1em 0 0.5em;
		--background: #aaa;
		--padding: 0.5em;
		display: flex;
	}
	#nav-search input {
		font-size: 1.25em;
		height: 1.75em;
		vertical-align: middle;		
		width: 70%;
		margin: 0;
		border: solid 1px var(--yall-text);
		display: inline-block;
		flex: 1;
	}
	#nav-search button {
		font-size: 1.25em;
		height: 1.75em;
		vertical-align: middle;
		margin: 0;
		background-color: var(--yall-text);
		color: #fff;
		border: solid 1px var(--yall-text);
		display: inline-block;
	}	

	#nav-options {
		padding: 0.5em 1em;
		background: #eee;
		border: 1px solid rgba(1,1,1,0.15);
		border-width: 1px 0;
		margin: 1em 0 0;
	}

	#nav-options label {
		font-size: 1em;
		height: 1.75em;
		vertical-align: middle;
		margin: 0 1em 0 0;
	}	
	#nav-options select {
		font-size: 1em;
		height: 1.75em;
		vertical-align: middle;
		margin: 0;
		border: solid 1px var(--yall-text);
	}	


@media only screen and (min-width: 700px) {
	#header {
		position:unset;
		border: 0;
		padding: 1em 1em;
	}
	
	body:not(.HOME) #header-inner {

	}
	body:not(.HOME) #site {
		display: flex;
		margin-left: auto;	
		margin-right: auto;			
		max-width: 1000px;
		padding-top: 1em;	
		--flex-direction: row-reverse;	
	}
	body:not(.HOME) #nav {
        position: relative;
        width: 350px;
        transition: none;
		height: auto;
		background-color: transparent;
	}
    body:not(.HOME) #nav.nav-open {
        width: 350px;
    }	
    body:not(.HOME) #nav-container {
		position: sticky;
		top: 0;		
		padding: 0;
		width: auto;
    }   
	body:not(.HOME) #nav-header {
		display: none;
	}

	body:not(.HOME) #nav-search {	
		padding: 1em;
		background: #eee;
		border: 1px solid rgba(1,1,1,0.15);
		border-width: 1px 0;
		margin: 0 0 2px 0;
	}	

	body:not(.HOME) #main {
        flex: 1;
		padding: 0 4em 0 0;
		line-height: 1.5;
		font-size: 12px;
		margin :0;
	}

	body:not(.HOME) #prev-button,	
	body:not(.HOME) #next-button {
		top: 50%;
		bottom: unset;
	}
}



.warning {
	background: #efefef;
	margin: 1em 0;
	padding: 1em;
	border: solid 1px #aaa;
	speak: never;
}


/* HOME PAGE */

body.HOME #site {
	width: 100%;
	margin: 0;
	max-width: 100%;
	padding: 0;
}
body.HOME #main {
	width: 100%;
	margin: 0;
	padding: 0;
}
body.HOME #prev-button,
body.HOME #next-button {
	display: none;
}


.home-section {
	font-size: 1.2em;
}

.home-section-inner {
	margin: 0 auto;
	max-width: 1000px;
	padding: 1em;
}
.home-section-alt {
	background-color: var(--yall-light);
}

#home-typing .home-section-inner{
	height: 9em;
	font-size: 2em;
	text-align: left;
	padding: 3em 1em;
	line-height: 1.2;
}
@media only screen and (min-width: 700px) {
	#home-typing .home-section-inner{
		padding: 2em;
		height: 7em;
	}	
}

#home-statement .home-section-inner{
	padding: 1.5em 0.5em 0.5em;
	font-size: 4em;
	text-align: center;
	line-height: 1.0;
}
.cross-out {
	color: #ccc;
	text-decoration: line-through;
}
@media only screen and (min-width: 700px) {
	#home-statement .home-section-inner {
		padding: 0.5em;
		line-height: 1.3;
		font-size: 5em;
	}
}

#home-info {
	--background: #333;
	color: #fff;
	text-align: center;


	background-image: linear-gradient(45deg, rgba(245,70,66, 0.75), rgba(8,83,156, 0.75)), url(/static/bible-group-sm.jpg);
    background-origin: content-box;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 50%;	
	
}
#home-info .home-section-inner {
	padding: 4em;
}
#home-info p {
	font-size: 1.5em;
	line-height: 1.5;
	margin: 0 0 1em;
}

.features-list {
	font-size: 1.1em;
}
@media only screen and (min-width: 700px) {
	.features-list {
		display: flex;
		justify-content : space-between;
		gap: 3em;	
	}
	.features-list .feature {
		flex: 1;
	}
}

#home-examples {
	
}
#home-examples .home-section-inner {
	padding: 3em 1em;
}

#home-examples p {
	font-family: EzraSIL, GentiumPlus, 'PT Serif', serif;
	font-size: 1.2em;
}
.center {
	text-align: center;
}
.btn {
	display: inline-block;
	padding: 0.5em 1.25em;
	background: #aaa;
	color: #fff;
	text-decoration: none;
	border-radius: 2em;;
	font-size: 1.2em;
}
.btn:hover { 
	background: #ddd;
	color: #333;
}

.btn-action { 
	background: var(--yall-text);
}
.btn-action:hover { 
	background: var(--yall-med);
}



#typing {
	--height: 4em;
}
#typing a {
	color: #999;
}

.FRT_1 .is1 {
	font-size: 1.5em
}


.quote-list {
	
}
.quote-list .quote {
	text-align: center;
	margin: 0 0 2em;
} 
/* ALT style
border-top: 4px solid green;
padding: 1em;
border-radius: 4px;
flex: 1;
background: #fff;
*/
.quote-list .quote img {
	width: 5em;
	height: 5em;
	border-radius: 3em;
	object-fit: cover;
	object-position: center center;
}
.quote-list .quote h4 {
	color: var(--yall-text);
	margin: 0.25em 0 0;
	font-size: 1.2em;
}
.quote-list .quote h5 {
	font-style: italic;
	font-weight: normal;
	margin: 0 0 1em;
}
.quote-list .quote p {
	font-family: EzraSIL, GentiumPlus, 'PT Serif', serif;
	margin: 0 0 1em;
}
@media only screen and (min-width: 700px) {
	.quote-list {
		display: flex;
		justify-content : space-between;
		gap: 3em;	
	}
	.quote-list .quote {
		flex: 1;
	}
}




.cols {
	
}

@media only screen and (min-width: 700px) {
	.cols {
		display: flex;
		justify-content : space-between;
		gap: 3em;	
	}
	.cols .col-third {
		flex: 1;
		width: 33%;
		--padding: 10px;
	}
}

.iframe-video-container {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
  
.iframe-video {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}