/**
 * FerventWord
 *
 * @package   ferventword
 * @author    Jerry Simmons <jerry@ferventsolutions.com>
 * @copyright 2024 Jerry Simmons
 * @license   GPL-2.0+
 **/


/**
 * iPhone 12 Mini: 360 x 780
 * iPhone 12: 390 x 844
 * iPad: 810 x 1080
 * MacBook: 1280 x 800
 *
 * 1280px
 * 1079px
 * 779px
 * 389px
 **/
@media( max-width: 1079px ) {}
@media( max-width: 779px ) {}
@media( max-width: 389px ) {}

/*** COLORS ********************************
 *          BOLD     LIGHT    BACKGROUND
 * White:   #F8F8F8  #FFFFFF
 * Red:     #7F1518  #EDDCDD
 * Orange:  #BD4B27  #F1D0C7  #F5E8E4
 * Yellow:  #D77C28  #F7E0C7
 * Green:   #2D5126  #E1E4DE
 * Blue:    #1F2655  #DEDFE7  #EBE8EC
 * Purple:  #522D55  #E5E0E6
 * Black:   #282528  #E0E0DF
 ***/

/*** BASIC STRUCTURE ***/
.fwui_container {
	width: 1280px;
	max-width: 90%;
	margin: auto;
	box-sizing: border-box;
	font-size: 16px;
	color: var(--fw-black);
}
.fwui_row {
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
	margin: 10px auto;
	max-width: 1280px;
	width: 100%;
	padding: 10px 0px;
	box-sizing: border-box;
}
.fwui_column {
	position: relative;
	width: 100%;
	dborder: solid 2px red;
}
.fwui_columns_1 .fwui_column {
	width: 100%;
}
.fwui_columns_2 .fwui_column {
	width: calc( 50% - 20px);
}
.fwui_columns_3 .fwui_column {
	width: calc( 33.33% - 20px);
}
.fwui_columns_4 .fwui_column {
	width: calc( 25% - 20px);
}
.fwui_container h1, .fwui_container h2, .fwui_container h3, .fwui_container h4, .fwui_container h5, .fwui_container h6 {
	color: var(--fw-black);
}
.fwui_container p {
	color: var(--fw-black);
}
.fwui_container a {
	color: var(--fw-red);
	font-weight: 600;
}

.fwui_block {
	padding: 10px;
}
@media( max-width: 1079px ) {
	.fwui_row .fwui_column {
		width: calc( 50% - 20px );
		margin: 5px 0px;
	}
	.fwui_columns_1 .fwui_column {
		width: 100%;
	}
}
@media( max-width: 779px ) {
	.fwui_row .fwui_column {
		width: 100%;
		margin: 5px 0px;
	}

}
@media( max-width: 389px ) {

}


/*** NAVIGATION ***/
.fwui_book_nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--fw-black);
	width: 100%;
	padding: 10px clamp(10px, 3vw, 40px);
}
.fwui_book_nav h1,
.fwui_book_nav h2 {
	color: var(--fw-true-white);
	margin: 0;
	padding: 0;
	/* font-size: clamp(14px, 2vw, 30px); */
}
.fwui_book_nav .book_nav_link {
    background-color: rgba(255,255,255,.85); /* Consider using a CSS variable with rgba if available */
}


@media( max-width: 779px ) {
    .fwui_book_nav {
        flex-flow: row wrap;
    }
    .fwui_book_nav h1 {
        order: 1;
        width: 100%;
        text-align: center;
        padding-bottom: 10px;
    }
    .fwui_book_nav .book_nav_link {
		flex-basis: 100%;
		margin: 3px;
		justify-content: center;
	}
	.fwui_book_nav .book_nav_link:first-child,
	.fwui_book_nav .book_nav_link:last-child {
		order: 7;
	    flex-basis: auto;
		margin-bottom: 0px;
    }
}
@media( max-width: 389px ) {
	.fwui_book_nav {
		flex-flow: column;
	}
	.fwui_book_nav .book_nav_link {
		font-size: 16px;
		width: 100%;
	}
	.fwui_book_nav .book_nav_link:first-child,
	.fwui_book_nav .book_nav_link:last-child {
		font-size: 12px;
	}
	.fwui_book_nav .book_nav_link:first-child {
		justify-content: flex-start;
	}
	.fwui_book_nav .book_nav_link:last-child {
		justify-content: flex-end;
	}
}

.fwui_chapter_nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: clamp(300px, 980px, 95%);
	padding: 10px clamp(10px, 3vw, 40px);
	margin: 0px auto 20px;
    border: solid 1px;
    border-top: none;
}
.fwui_chapter_nav h1,
.fwui_chapter_nav h2 {
	margin: 0;
	padding: 0;
	font-size: clamp(18px, 3vw, 30px);
}
@media( max-width: 1079px ) {
}
@media( max-width: 779px ) {
	.fwui_chapter_nav {
		flex-flow: row wrap;
		width: 95%;
	}
	.fwui_chapter_nav h1 {
		width: 100%;
		text-align: center;
		padding-top: 10px;
		order: 2;
	}
	.fwui_chapter_nav .fw_link {
		order: 0;
	}
}
@media( max-width: 389px ) {
	.fwui_chapter_nav {
		flex-flow: column;
	}
	.fwui_chapter_nav h1 {
		padding: 10px 0px;
		order: 2
	}
	.fwui_chapter_nav .fw_link {
		order: 3;
		margin: 3px 0px;
	}
}

/*** HEADINGS ***/
.fwui_heading h1, h1.fwui_heading {
	font-size: clamp(24px, 4vw, 48px);
}
.fwui_heading h2, h2.fwui_heading {
	margin-top: 0;
}




.fwui_books_nav {
	display: flex;
	flex-flow: column;
}
.fwui_ot_books_nav , .fwui_nt_books_nav  {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	margin-bottom: 20px;
	padding: 10px;
	width: 100%;
}
.fwui_books_nav .book_nav_link {
	margin: 5px;
	padding: 10px 20px;
}




/*** FERVENTWORD LINKS ***/
.fw_link {
    display: inline-flex;
    flex-flow: row;
	align-items: center;
	border: solid 1px rgba(0,0,0,.45);
	padding: 5px 10px;
	transition: all .35s ease;
    font-size: clamp(10px, 1.5vw, 12px);
}
.fw_link:hover {
	background-color: var(--fw-true-white);
}
.fw_link_icon {
	opacity: .45;
	height: 20px;
	width: auto;
}
.fwbg_newtab_icon {
	padding-left: 10px;
	opacity: .75;
	color: var(--fw-red);
}
.fw_link_icon.left_icon {
	padding-right: 10px;
}
.fw_link_icon.right_icon {
	padding-left: 10px;
}
/* TODO: Top Icon */

.fw_link_text_block {
	display: flex;
	flex-flow: column;
	line-height: 1em;
	text-align: center;
}
.fw_link_subtext {
	font-size: .7em;
	color: rgba(0,0,0,.65); /* Consider using a CSS variable with rgba if available */
}
.fw_link_text {
	font-size: 1em;
	font-weight: 600;
	color: rgba(0,0,0,.85); /* Consider using a CSS variable with rgba if available */
}

.fw_row {
	padding: 10px;
	background-color: var(--fw-true-white);
}


/*** OUTLINE BLOCK ***/
.fwui_block_outline_ul {
	list-style: 'ᐅ';
	margin-left: 20px;
}
.fwui_block_outline_ul li {
	line-height: 1.15em;
	padding-left: 10px;
	margin-bottom: 5px;
}

.fwui_block_outline_ul li::marker {
	color: var(--fw-red);
}



/*** CONTEXT BLOCK ***/
.fwui_block_context {
	background-color: var(--fw-orange-bg);
}

/*** VISUALS BLOCK ***/
.fwui_block_visuals_items {
    display: flex;
	flex-flow: row wrap;
}
.fwui_block_visuals_item {
	width: 25%;
	padding: 10px;
}
@media( max-width: 779px ) {
	.fwui_block_visuals_item {
		width: 50%;
	}
}


/*** TIMEFRAMES BLOCK ***/
.fwui_block_timeframes_wrapper {
	border: solid 2px var(--fw-green);
	container-type: inline-size;
	container-name: timeline;
}
.fwui_block_timeframes_year_row {
	display: flex;
	align-items: center;
	border-left: solid 10px transparent;
}
.fwui_block_timeframes_year_row:nth-child(odd) {
	background-color: var(--fw-green-light);
	padding: 2px;
}
.fwui_block_timeframes_events_wrapper {
	width: 100%;
	padding: 0px 5px;
}
.fwui_block_timeframes_event_wrapper {
	display: flex;
	flex-flow: row;
	align-items: center;
}
.fwui_block_timeframes_event_wrapper:nth-child(n+2) {
	border-top: dashed 1px var(--fw-green);
}
.fwui_block_timeframes_event_wrapper .event_title {
	color: var(--fw-black);
	width: 50%;
	padding: 0px 5px !important;
}

.fwui_block_timeframes_wrapper p { padding-bottom: 0px; }

.fwui_block_timeframes_year {
	width: 100px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: right;
	color: var(--fw-green);
	flex-shrink: 0;
}
.fwui_highlight_year {
	border-left: solid 10px var(--fw-yellow); /*#344f2b; */
	font-weight: 800;
}

.fwui_block_timeframes_event_correlation_wrapper {
	padding: 5px;
	font-weight: 400;
	font-size: 80%;
}
.fwui_block_timeframes_event_correlation p {
	line-height: 1em;
	margin-bottom: 5px;
	color: var(--fw-black);
}
.fwui_block_timeframes_event_correlation p:last-child {
	margin-bottom: 0px;
}

/*
.expanded .fwbg_ui_expanded_data_timeframes_event_correlation_wrapper {
	border: solid 1px #344f2b;
	padding: 5px;
}

.fwui_block_timeframes_event_correlation_wrapper > p {
	color: var(--fw-green);
	cursor: pointer;
	font-weight: 400;
}
.fwui_block_timeframes_event_correlation_wrapper.expanded .expand { display: none; }
.fwui_block_timeframes_event_correlation_wrapper .collapse { display: none; }
.fwui_block_timeframes_event_correlation_wrapper.expanded .collapse { display: block; }
.fwui_block_timeframes_event_correlation_wrapper.expanded .fwui_block_timeframes_event_correlation { display: block; }
.fwui_block_timeframes_event_correlation_wrapper .fwui_block_timeframes_event_correlation { display: none; }
*/

@media( max-width: 1079px ) {}
/*@media( max-width: 779px ) { */
@container timeline ( max-width: 779px ) {
	.fwui_block_timeframes_event_wrapper {
		display: flex;
		flex-flow: column;
		align-items: center;
	}

	.fwui_block_timeframes_event_wrapper .event_title {
		width: 100%;
	}
	.fwui_block_timeframes_event_correlation_wrapper {
		width: 100%;
		padding: 0px 5px;
	}
}
@media( max-width: 389px ) {}




/*** BOOK PROGRESS BAR ***/
d#fwbg_book_progress_bar {
	dbackground-color: #fff;
	padding: 5px;
	padding-bottom: 50px;
}
#color_progress_bar {
	display: flex;
}
.color_progress_bar_section {
	border: solid .5pt #282528;
	height: 40px;
	flex-shrink: 0;
}
#ot_pentateuch {
	background-color: #BD4B27;
	background: linear-gradient(90deg, rgba(189,75,39,1) 0%, rgba(241,208,199,1) 90%);
	width: 20.44%;
}
#ot_history {
	background-color: #F7E0C7;
	background: linear-gradient(90deg, rgba(215,124,40,1) 0%, rgba(247,224,199,1) 90%);
	width: 27.37%;
}
#ot_poetry {
	background-color: #E1E4DE;
	background: linear-gradient(90deg, rgba(45,81,38,1) 0%, rgba(225,228,222,1) 90%);
	width: 9.70%;
}
#ot_major_prophets {
	background-color: #DEDFE7;
	background: linear-gradient(90deg, rgba(31,38,85,1) 0%, rgba(222,223,231,1) 90%);
	width: 16.34%;
}
#ot_minor_prophets {
	background-color: #E5E0E6;
	background: linear-gradient(90deg, rgba(82,45,85,1) 0%, rgba(229,224,230,1) 90%);
	width: 3.57%;
}
#nt_gospels {
	background-color: #F1D0C7;
	background: linear-gradient(90deg, rgba(189,75,39,1) 0%, rgba(241,208,199,1) 90%);
	width: 10.60%;
}
#nt_history {
	background-color: #F7E0C7;
	background: linear-gradient(90deg, rgba(215,124,40,1) 0%, rgba(247,224,199,1) 90%);
	width: 3.02%;
}
#nt_letters {
	background-color: #E1E4DE;
	background: linear-gradient(90deg, rgba(45,81,38,1) 0%, rgba(225,228,222,1) 90%);
	width: 7.35%;
}
#nt_prophecy {
	background-color: #DEDFE7;
	background: linear-gradient(90deg, rgba(31,38,85,1) 0%, rgba(222,223,231,1) 100%);
	width: 1.61%;
}

#below_progress_bar_labels {
	position: relative;
	display: flex;
	justify-content: space-between;
}
#below_progress_bar_labels::before {
	position: absolute;
	display: block;
	content: '';
	height: 1em;
	width: 2px;
	background-color: #282528;
}
#below_progress_bar_labels::after {
	position: absolute;
	display: block;
	content: '';
	height: 1em;
	width: 2px;
	background-color: #282528;
	right: 0px;
}
.below_progress_bar_label {
	display: block;
	padding: 5px !important;
	background-color: #282528;
	color: #fff !important;
	text-transform: uppercase;
	font-size: 12px;
	transform: translatey(10px);
}

#above_progress_bar_labels {
	position: relative;
	padding-left: 5.24%;
}
.above_progress_bar_label {
	display: inline-block;
	padding: 0px 5px;
	background-color: #282528;
	color: #fff !important;
	text-transform: uppercase;
	transform: translateX(-50%) translateY(-10px);
	font-size: 12px;
}
.left_side .above_progress_bar_label {
	transform: translateX(-20%) translateY(-10px);
}
.right_side .above_progress_bar_label {
	transform: translateX(-80%) translateY(-10px);
}
#above_progress_bar_labels::before {
	display: block;
	content: '';
	position: absolute;
	height: 1em;
	width: 2px;
	bottom: 0px;
	background-color: #282528;
}
.pentateuch .above_progress_bar_label { background-color: #BD4B27; }
.pentateuch #above_progress_bar_labels::before { background-color: #BD4B27; }
.historical-books .above_progress_bar_label { background-color: #D77C28; }
.historical-books #above_progress_bar_labels::before { background-color: #D77C28; }
.poetic-books .above_progress_bar_label { background-color: #2D5126; }
.poetic-books #above_progress_bar_labels::before { background-color: #2D5126; }
.major-prophets .above_progress_bar_label { background-color: #1F2655; }
.major-prophets #above_progress_bar_labels::before { background-color: #1F2655; }
.minor-prophets .above_progress_bar_label { background-color: #522D55; }
.minor-prophets #above_progress_bar_labels::before { background-color: #522D55; }
.gospels .above_progress_bar_label { background-color: #BD4B27; }
.gospels #above_progress_bar_labels::before { background-color: #BD4B27; }
.epistles .above_progress_bar_label { background-color: #2D5126; }
.epistles #above_progress_bar_labels::before { background-color: #2D5126; }
.prophecy .above_progress_bar_label { background-color: #1F2655; }
.prophecy #above_progress_bar_labels::before { background-color: #1F2655; }


.color_progress_bar_section {
	position: relative;
	display: flex;
	flex-flow: column;
	align-items: center;
}
.color_progress_bar_hover {
	position: absolute;
	border: solid 2px #BD4B27;
	border-radius: 15px;
	background-color: #F1D0C7;
	padding: 10px;
	min-width: 180px;
	z-index: 0;
	opacity: 0;
	overflow: hidden;
	cursor: default;
	pointer-events: none;
	transition: all .35s ease;
}
@media( min-width: 1080px ) {
	.color_progress_bar_section:hover .color_progress_bar_hover {
		opacity: 1;
		z-index: 9;
	}
}
.color_progress_bar_hover p {
	padding: 0px !important;
	line-height: 1.25em;
	text-align: center;
	font-size: 14px;
}
.color_progress_bar_hover_title {
	color: #BD4B27 !important;
	font-weight: 800;
	font-size: 16px;
}

#ot_pentateuch .color_progress_bar_hover {
	border-color: #BD4B27;
	background-color: #F1D0C7;
}
#ot_pentateuch .color_progress_bar_hover_title { color: #BD4B27 !important; }
#ot_history .color_progress_bar_hover {
	border-color: #D77C28;
	background-color: #F7E0C7;
}
#ot_history .color_progress_bar_hover_title { color: #D77C28 !important; }
#ot_poetry .color_progress_bar_hover {
	border-color: #2D5126;
	background-color: #E1E4DE;
}
#ot_poetry .color_progress_bar_hover_title { color: #2D5126 !important; }
#ot_major_prophets .color_progress_bar_hover {
	border-color: #1F2655;
	background-color: #DEDFE7;
}
#ot_major_prophets .color_progress_bar_hover_title { color: #1F2655 !important; }
#ot_minor_prophets .color_progress_bar_hover {
	border-color: #522D55;
	background-color: #E5E0E6;
}
#ot_minor_prophets .color_progress_bar_hover_title { color: #522D55 !important; }
#nt_gospels .color_progress_bar_hover {
	border-color: #BD4B27;
	background-color: #F1D0C7;
}
#nt_gospels .color_progress_bar_hover_title { color: #BD4B27 !important; }
#nt_history .color_progress_bar_hover {
	border-color: #D77C28;
	background-color: #F7E0C7;
}
#nt_history .color_progress_bar_hover_title { color: #D77C28 !important; }
#nt_letters .color_progress_bar_hover {
	border-color: #2D5126;
	background-color: #E1E4DE;
}
#nt_letters .color_progress_bar_hover_title { color: #2D5126 !important; }
#nt_prophecy .color_progress_bar_hover {
	border-color: #1F2655;
	background-color: #DEDFE7;
}
#nt_prophecy .color_progress_bar_hover_title { color: #1F2655 !important; }





/*** VISUALS SEARCH ***/
#fwui_block_visuals_search_field_block {
	margin: auto;
	width: 800px;
	max-width: 90%;
	height: 45px;
	border: solid 2px #7F1518;
	display: flex;
	align-items: center;
	border-radius: 5px;
}
#fwui_block_visuals_search_field_block label {
	height: 100%;
	width: 50px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #7F1518;
	padding: 10px;
}
#fwui_block_visuals_search_field_block input {
	width: 100%;
	padding: 10px 10px !important;
	font-size: 16px;
	border: none;
}

#fwui_block_visuals_search_items {
	margin-top: 40px;
	display: flex;
	flex-flow: row wrap;
}
#fwui_block_visuals_search_items > div {
	width: 150px;
	max-width: 48%;
}
#fwui_block_visuals_search_meta_block {
	width: 100%;
	text-align: center;
	font-size: 90%;
	opacity: .5;
}




/* Search Pages */
#fwui_block_visuals_search_pages_block {
	margin: 40px auto 20px;
	display: block;
	border: solid 2px #7F1518;
	border-radius: 5px;
	width: 100%;
	opacity: 1;
	visibility: visible;
	position: relative;
	transition: all .25s ease;
}
#fwui_block_visuals_search_controls {
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	align-items: center;
	background-color: #7F1518;
}
#fwui_block_visuals_search_controls img {
	height: 100%;
	max-height: 30px;
	width: auto;
	cursor: pointer;
}
#fwui_block_visuals_search_controls_meta {
	text-align: center;
	color: #fff;
}


#fwui_block_visuals_block[data-pages="0"] #fwui_block_visuals_search_pages_block,
#fwui_block_visuals_block[data-pages="1"] #fwui_block_visuals_search_pages_block {
	visibility: hidden;
	width: 0px;
	opacity: 0;
}
#fwui_block_visuals_search_items .fwui_block_visuals_item { display: none; }



#fwui_block_visuals_search_pages {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	width: 100%;
	height: 100%;
	dmax-height: 50px;
	dheight: 100px;
	justify-content: center;
}
#fwui_block_visuals_search_pages p {
	padding: 0px;
	cursor: pointer;
	border: solid 1px #282528;
	margin: 4px !important;
	height: 90%;
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .35s ease;
}
#fwui_block_visuals_search_pages p:hover,
#fwui_block_visuals_search_pages .active {
	font-weight: 800;
	color: #7F1518;
	border-color: #7F1518;
	border-width: 3px;
}




/*** LIST BLOCK ***/
#fwui_block_lists_block {
	background-color: #EBE8EC;
}
.lists_block_heading {
	padding: 5px 0px;
}

.fwui_block_lists {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
}

.fwui_block_list {
    padding: 10px;
    border: solid 1px;
    width: calc(50% - 20px);
    margin: 10px;
}
.fwui_block_list_row {
	display: flex;
	flex-flow: column;
	text-align: center;
	align-items: center;
	width: 100%;
	padding: 5px 10px 5px 5px;
	border-left: solid 10px transparent;
}
.fwui_block_list_row.highlight {
	border-left: solid 10px #1F2655;
}
.fwui_block_list_row:nth-child(odd) {
	background-color: rgba(255,255,255,.5);
}
.fwui_block_list_row p {
	width: 100%;
	padding: 0px 10px;
}
.fwui_block_list_label {
	font-weight: 600;
	padding-bottom: 5px !important;
	margin-bottom: 10px;
	border-bottom: dashed 1px rgba(0,0,0,.25);
}
.fwui_block_list_reference_links {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	width: 100%;
}
.fwui_block_list_reference_wrapper {
	text-align: center;
	margin-bottom: 10px;
}

@media( max-width: 779px ) {
	.fwui_block_list {
		width: 100%;
	}
	.fwui_block_list_row {
		flex-flow: column;
	}
	.fwui_block_list_row p {
		text-align: center;
	}
}


/*** DOCTRINE BLOCK ***/
#fwui_block_doctrine_block {
	margin-top: 20px;
	background-color: #f5e8e4;
}
#fwui_block_doctrine_block h3 {
	font-size: 1.15em;
}
.fwui_block_doctrines {
	display: flex;
	flex-flow: row wrap;
}
.fwui_block_doctrines .fwui_block_doctrine {
	padding: 5px 10px;
	border: solid 1px rgba(0,0,0,.25);
	margin: 0px 5px 10px;
	min-width: 300px;
}
.fwui_block_doctrine_reference_links {
	display: flex;
	flex-flow: row wrap;
	/* justify-content: space-around; */
	text-align: center;
}
.fwui_block_doctrine_reference_wrapper {
	padding: 0px 10px 5px;
}


/*** TEACHINGS BLOCK ***/
#fwui_block_teachings_block {
	margin-top: 20px;
	background-color: #EDDCDD;
}
.fwui_block_doctrines {
	display: flex;
	flex-flow: row wrap;
}
.fwui_block_doctrines .fwui_block_doctrine {
	padding: 5px 10px;
	border: solid 1px rgba(0,0,0,.25);
	margin: 0px 5px 10px;
	min-width: 300px;
}


/*** COLORS ********************************
 *          BOLD     LIGHT    BACKGROUND
 * White:   #F8F8F8  #FFFFFF
 * Red:     #7F1518  #EDDCDD
 * Orange:  #BD4B27  #F1D0C7  #F5E8E4
 * Yellow:  #D77C28  #F7E0C7
 * Green:   #2D5126  #E1E4DE
 * Blue:    #1F2655  #DEDFE7  #EBE8EC
 * Purple:  #522D55  #E5E0E6
 * Black:   #282528  #E0E0DF
 ***/
