/**
 * 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
 **/
/*** 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-text);
}
.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-text);
}
.fwui_container p {
	color: var(--fw-black-text);
}
.fwui_container a {
	color: var(--fw-red-text);
	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;
	}

}
/*** 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 */
}
/* These chips keep a fixed light background on the dark nav bar in both color
   schemes, so their text and rule stay fixed dark rather than following
   --fw-black-text. */
.fwui_book_nav .book_nav_link { border-color: rgba(0,0,0,.45); }
.fwui_book_nav .book_nav_link .fw_link_text { color: rgba(0,0,0,.85); }
.fwui_book_nav .book_nav_link .fw_link_subtext { color: rgba(0,0,0,.65); }


@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: 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 var(--fw-black-rule);
	padding: 5px 10px;
	transition: all .35s ease;
    font-size: clamp(10px, 1.5vw, 12px);
}
.fw_link:hover {
	background-color: var(--fw-surface);
}
/* button.fw_link (see FerventWord_UI::button_html()) has to shed the UA button styling
   .fw_link never had to override for an <a>: buttonface background, buttontext color,
   the 2px outset border and the Arial font stack. */
button.fw_link {
	background-color: transparent;
	color: inherit;
	font-family: inherit;
	cursor: pointer;
	text-align: inherit;
}
.fw_link_icon {
	opacity: .45;
	height: 20px;
	width: auto;
}
/**
 * These icons are <img> elements pointing at SVG files, so their ink cannot be
 * recolored from CSS — only filtered.
 *
 * invert(1) alone would flip the red icons to cyan. Following it with
 * hue-rotate(180deg) puts the hue back: black ink becomes white (hue-rotate is
 * a no-op on neutrals) and the brand red becomes a light red close to
 * --fw-red-text. One filter covers both cases.
 *
 * Opacity lifts from .45 to .7 because light ink at .45 over the dark canvas
 * lands around 4:1, just under AA.
 **/
@media ( prefers-color-scheme: dark ) {
	body.fwbg .fw_link_icon {
		filter: invert(1) hue-rotate(180deg);
		opacity: .7;
	}
	/* The red icons come back as a muted mauve rather than white, so they need
	   full opacity to clear 4.5:1 where the neutral ones clear it at .7. */
	body.fwbg .fw_link_icon[src*="-red"] {
		opacity: 1;
	}
	/* The book nav chips keep a light background in both schemes (see
	   .fwui_book_nav .book_nav_link above), so their ink must stay dark. */
	body.fwbg .fwui_book_nav .fw_link_icon {
		filter: none;
		opacity: .45;
	}
}
.fwbg_newtab_icon {
	padding-left: 10px;
	opacity: .75;
	color: var(--fw-red-text);
}
.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: var(--fw-black-text-65);
}
.fw_link_text {
	font-size: 1em;
	font-weight: 600;
	color: var(--fw-black-text-85);
}

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


/*** 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-text);
}



/*** CONTEXT BLOCK ***/
.fwui_block_context {
	background-color: var(--fw-orange-bg);
}
ul.scripture-quotations {
    margin-top: -.75em;
    list-style: unset;
    margin-left: 1.5em;
}

/*** 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-text);
	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-text);
	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-text);
}
.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-text);
	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: 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;
	}
}
/*** 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%;

	/* Reserves the line box of the label below, which is out of flow - see there. */
	min-height: 1.35em;
}
.above_progress_bar_label {
	/**
	 * Out of flow on purpose. The wrapper's padding-left is written inline by the
	 * template as the book's progress through the Bible, so on a late book it is
	 * ~98% - and an in-flow label then starts at the wrapper's right edge and lays
	 * out its own width beyond it. transform pulls it back visually but does not
	 * shrink the box, so /revelation/ measured 465px of scrollWidth in a 389px
	 * viewport while looking perfectly fine. Taking it out of flow keeps the static
	 * position and the transform, and stops it widening the wrapper.
	 */
	position: absolute;

	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: var(--fw-orange-light);
	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;
	}
}
/**
 * Below the hover breakpoint above, these popovers can never open - so they were
 * 180px of invisible, unreachable layout apiece, centred on sections that shrink to
 * 6px wide. Absolutely positioned boxes still count toward scrollable overflow, so
 * the rightmost ones pushed a 389px page out to 456px and every book page scrolled
 * sideways. opacity: 0 does not take an element out of layout; display: none does.
 */
@media( max-width: 1079px ) {
	.color_progress_bar_hover {
		display: none;
	}
}
.color_progress_bar_hover p {
	padding: 0px !important;
	line-height: 1.25em;
	text-align: center;
	font-size: 14px;
}
/**
 * The grouping heading inside a popover - "PENTATEUCH" above the book names.
 *
 * It was tinted with the section's own hue on that hue's own light surface, which
 * orange and yellow cannot survive: #BD4B27 on #F1D0C7 is 3.47:1 and #D77C28 on
 * #F7E0C7 is 2.42:1. There is no tint that rescues them either - --fw-yellow-text
 * measures 3.09:1 against plain white, so in light mode it is a bold hue for
 * borders and fills, not a text colour. Green, blue and purple happened to pass
 * only because those hues are dark to begin with. The heading is --fw-black-text
 * now, in both schemes; the grouping is still colour-coded by the popover's border
 * and background, which is what carries the hue.
 *
 * body.fwbg, because this is the load-order trap in CLAUDE.md section 6: `.fwbg p`
 * in ferventword.css is (0,1,1) and is enqueued after this file, so it beat the
 * (0,1,0) class selector and BOTH declarations below were dead. The heading was
 * rendering at the book names' exact size and weight, which left colour as its only
 * cue - the same colour that failed. Restoring the weight is what lets the heading
 * read as a heading without depending on colour at all.
 */
body.fwbg .color_progress_bar_hover_title {
	color: var( --fw-black-text ) !important;
	font-weight: 800;
	font-size: 16px;
}

/**
 * Per-section hue. Each of these used to carry a matching
 * `#id .color_progress_bar_hover_title { color: ... !important }` line; those are
 * gone with the heading colour above. They were (1,1,0) plus !important, so they
 * would have out-specified the fix and put the failing orange and yellow straight
 * back. The border and background below still carry the grouping's colour.
 */
#ot_pentateuch .color_progress_bar_hover {
	border-color: #BD4B27;
	background-color: var(--fw-orange-light);
}
#ot_history .color_progress_bar_hover {
	border-color: #D77C28;
	background-color: var(--fw-yellow-light);
}
#ot_poetry .color_progress_bar_hover {
	border-color: #2D5126;
	background-color: var(--fw-green-light);
}
#ot_major_prophets .color_progress_bar_hover {
	border-color: #1F2655;
	background-color: var(--fw-blue-light);
}
#ot_minor_prophets .color_progress_bar_hover {
	border-color: #522D55;
	background-color: var(--fw-purple-light);
}
#nt_gospels .color_progress_bar_hover {
	border-color: #BD4B27;
	background-color: var(--fw-orange-light);
}
#nt_history .color_progress_bar_hover {
	border-color: #D77C28;
	background-color: var(--fw-yellow-light);
}
#nt_letters .color_progress_bar_hover {
	border-color: #2D5126;
	background-color: var(--fw-green-light);
}
#nt_prophecy .color_progress_bar_hover {
	border-color: #1F2655;
	background-color: var(--fw-blue-light);

	/**
	 * Revelation is the last section and only ~1.6% of the bar, so it sits flush
	 * against the right edge. The popover is centred on its section by the column
	 * flex box, which hung half of its 180px off the page - 1297px inside a 1280px
	 * viewport, with the hover working. Anchor it to the section's right edge so it
	 * opens leftward instead.
	 */
	right: 0;
}





/*** 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: var(--fw-red-text);
	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: var(--fw-red-text);
}
#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: var(--fw-red-text);
	border-color: var(--fw-red-text);
	border-width: 3px;
}




/*** LIST BLOCK ***/
#fwui_block_lists_block {
	background-color: var(--fw-blue-bg);
}
.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: var(--fw-surface);
}
.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: var(--fw-orange-bg);
}
#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 var(--fw-black-rule);
	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: var(--fw-red-light);
}
.fwui_block_doctrines {
	display: flex;
	flex-flow: row wrap;
}
.fwui_block_doctrines .fwui_block_doctrine {
	padding: 5px 10px;
	border: solid 1px var(--fw-black-rule);
	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
 ***/
