/* --------------------------------
Site:  bernreformeducc.org
CSS author: Jeff Heiser
Updated:	4/2025
----------------------------------- */
.sr-only { /* better solution */
    height: auto; 
    margin: 0; 
}
.sr-only-focusable:active, .sr-only-focusable:focus {
	position: absolute;
	display: block;
	left: 15px;
	top: 2px;
	right: auto;
	background-color: #f1f1f1;
	color: #800000;
	clip-path: none;
	text-decoration: none;
	line-height: normal;
	padding: 13px 23px 12px;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
	z-index: 9999;
}
html {
	height: 100%;
	transition: font-size .2s linear;
	scroll-behavior: smooth;
}
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
/***** A 1 1 Y  R E S E T *****/
*:focus:not(:focus-visible), *::before:focus:not(:focus-visible), *::after:focus:not(:focus-visible) {
	outline: none;
}
body.using-tab a:focus, body.using-tab .btn:focus, body.using-tab button:focus { 
	outline: none; 
	text-decoration: none; 
	box-shadow: 0 0 0 .1rem #fff, 0 0 0 .3rem #ff0dbf; 
}
/* https://medium.com/@matuzo/writing-css-with-accessibility-in-mind-8514a0007939 */
/***** B O D Y *****/
body {
	height: 100%;
	background: rgba(0,0,0,0); 
	color: #111;
	padding-top: 3.125rem;
}
.background {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
	background: #c0d5e7 url(../images/bkgd_rainbow-mobile.jpg) no-repeat center top;
	background-size: cover;
	z-index: -1;
}
@media only screen and (min-width: 576px) {
	.background { background-image: url(../images/bkgd_rainbow-small.jpg); }	
}
@media only screen and (min-width: 992px) {
	.background { background-image: url(../images/bkgd_rainbow.jpg); }	
}
main { padding-bottom: .25rem; }
/***** H E A D I N G S  /  P *****/ 
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	letter-spacing: .05em;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 -1px 0 rgba(0, 0, 0, 0.7);
}
h1, .h1 {
	font-size: 1.75rem;
	letter-spacing: .1em;
}
h2, .h2 { font-size: 1.5rem; }
h3, .h3 {
	color: #800000;
	font-size: 1.125rem;
}
h4, .h4 {
	color: #800000;
	font-size: 1rem;
}
@media only screen and (min-width: 768px) {
	h1, .h1 { font-size: 2rem; }
	h2, .h2 { font-size: 1.75rem; }
	h3, .h3 { font-size: 1.25rem; }
	.copyright { font-size: .875rem; }
}
@media only screen and (min-width: 992px) {
	h1, .h1 { font-size: 2.25rem; }
	h2, .h2 { font-size: 1.875rem; }
	h3, .h3 { font-size: 1.5rem; }
	h4, .h4 { font-size: 1.25rem; }
}

/***** L I N K S *****/ 
a {
	color: #800000;
	cursor: pointer;
	transition: all .3s ease-in-out;
	-webkit-touch-callout: none;
	-ms-user-select: none; /* IE 10 version for Windows Phone 8 */
}
a:hover, a:focus {
	background-color: rgba(0,0,0,.1);
	color: #800000;
}
.imgLink { text-decoration: none; }
.imgLink:hover, .imgLink:focus { 
	background: transparent; 
	opacity: 0.75;
}
.textLink, p > a {
	position: relative;
	display: inline-block;
	color: #800000;
	font-weight: 700;
	padding: .1em .2em;
	border-radius: .2em;
	text-decoration: none;
}
.textLink:hover, .textLink:focus, p > a:hover, p > a:focus { text-decoration: none; }
.textLink::after, p > a::after {
    position: absolute;
    left: 0;
    bottom: .2em;
    width: 100%;
    content: '';
    border-bottom: .1em solid currentColor;
    transition: opacity .25s linear, transform .2s ease-in-out;
}
.textLink:not(:hover)::after, p > a:not(:hover)::after {
    opacity: 0;
    transform: scaleX(0);
}
main a.plain-link { background: none; }
main a.plain-link:hover, main a.plain-link:focus { background: #800000; }

.btn[href$=".pdf"]::after  {
	display: inline-block;
	font-family: 'FontAwesome';
	font-style: normal;
	font-weight: normal;
	font-size: 80%;
	color: #da372c;
	content: "( \f1c1\ )";
	line-height: 0;
	white-space: no-wrap;
	text-indent: 0;
	margin: -0.15em 0 0 .4em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { font-size: .6875rem; font-style: italic; } /* Style Alt Text */

/***** M O B I L E  N A V I G A T I O N *****/
.navbar-header {
	width: 100%;
	height: 3.125rem;
	display: flex;
    justify-content: space-around;
    align-items: center;
	background-color: #800000;
    list-style: none;
	margin: 0;
	padding: 0;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}
.navbar-header a {
	position: relative;
	display: flex; 
	flex-direction: column;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-around;
    color: #fff;
	text-decoration: none;
	z-index: 5;
}
.navbar-header a:last-child { margin-top: .2em; }
.navbar-header a:hover, .navbar-header a:focus { background: rgba(255,255,255,0.25); }
.navbar-header a:hover i::before, .navbar-header a:focus i::before { 
	color: currentColor; 
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 -1px 0 rgba(0, 0, 0, 0.7);
}
.navbar-brand { margin: 0; }

/***** N A V I G A T I O N *****/
.navbar-form .btn { border-radius: 0 .25rem .25rem 0; }
.navbar {
    width: 100%;
    height: 3.125rem;
	display: flex;
	background-color: #800000;
	margin: 0;
	padding: 0;
	border: 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px) saturate(100%);
	transition: transform 0.5s ease;  
	transform: translateY(0); 
}
.navbar-hide { transform: translateY(-110%); }
.navbar-nav { 
	flex-direction: row;
	justify-content: center;
	width: 100%; 
}
.nav-item { 
	flex: 0 0 10%;
	max-width: 10%;
}
.nav-link {
	display: flex; 
	flex-direction: column;            
	align-items: center;
	justify-content: space-between;
	flex: 1 1 auto;
	text-decoration: none;
	padding-top: .1rem;
	padding-bottom: .1rem;
}
.nav-link.active, .nav-link:hover, .nav-link:focus { background-color: rgba(255,255,255,0.2); }
.nav-link:hover i::before, .nav-link:focus i::before { 
	color: currentColor; 
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 -1px 0 rgba(0, 0, 0, 0.7);
}
#home a.home, #member a.member, #ministries a.ministries, #donate a.donate,
#events a.events, #about a.about, #contact a.contact, #history a.history {
	background: rgba(255,255,255,0.25);
	color: currentColor;
	pointer-events: none;
	cursor: default;
}
.navbar-form {
	width: 22rem;
	max-width: 100%;
	margin: .5rem auto 0;
}
.icon_canvas {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	text-align: center;
}
.icon_canvas i {
	display: block;
	width: 100%;
	height: auto;
	line-height: 1;
	font-size: 1.75rem;
	color: #fff;
}
.iconText {
	line-height: 1.125rem;
	font-size: .6875rem;
	color: #fff;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
@media only screen and (max-width: 400px) {
	.nav-item { 
		flex: 0 0 33%;
		max-width: 33%;
	}
	.searchBox { 
		flex: 0 0 96%;
		max-width: 96%;
	}
	.col-6 {
        flex: 0 0 90%;
		max-width: 90%;
		margin-left: 5%;
	}
}
@media only screen and (max-width: 767.98px) {
	.navbar-collapse, .navbar-collapse.show {
		position: absolute;
		top: 3.125rem;
		left: 50%;
		width: 100%;
		max-width: 28.125rem;
		background: url(../images/bkgd_gray_texture.jpg) repeat-y #eee5d3;
		margin: 0;
		padding: 1rem;
		border: .25rem solid #ddd;
		border-top: none;
		border-radius: 0 0 .375rem .375rem;
		transform: translateX(-50%);
	}
	.navbar-nav { 
		flex-wrap: wrap;
		margin: 0 auto; 
	}
	.icon_canvas i { font-size: 2.25rem; }
    .navbar-header .icon_canvas i { font-size: 2rem; }
	.nav-item { 
		flex: 0 0 25%;
		max-width: 25%;
		margin: 0 auto 1rem;
	}
	.searchBox { 
		flex: 0 0 90%;
		max-width: 90%;
		margin: .25rem;
	}
	.nav-link, .navbar-nav i::before, .navbar-nav .iconText, .nav-link:hover i::before, .nav-link:focus i::before{ 
		color: #800000; 
	}
    .input-group-btn button i.fa-magnifying-glass::before { color: #fff; }
	.nav-link:hover .iconText, .nav-link:focus .iconText { text-decoration: underline; }
}

@media only screen and (min-width: 992px) { .iconText { font-size: .8125rem; } }

/***** P A G E  H E A D E R *****/
.page-header {
	position: relative;
	text-align: center;
	margin: 2rem auto 0;
}
.page-header h2 {
	position: relative;
	display: inline-block;
}
.page-header h2::after {
	position: absolute;
	left: 10%;
	right: 0;
	bottom: -8px;
	height: 2px;
	width: 100%;
	content: "";
	display: inline-block;
	background-image: -webkit-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,0)); 
	background-image: -moz-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,0)); 
	background-image: -ms-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,0)); 
	background-image: -o-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,0)); 
	margin-left: -10%;
	margin-right: -10%;
}
@media only screen and (min-width: 768px) {
	.page-header h2::after {
		width: 120%;
		left: 0;
	}
}
/***** T O O L T I P S  /  P O P O V E R S *****/
.tooltip-inner {
	max-width: 20rem;
	background-color: #800000;
	background-image: -webkit-linear-gradient(top, #e66666 0%, #800000 100%);
	background-image:      -o-linear-gradient(top, #e66666 0%, #800000 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#e66666), to(#800000));
	background-image:         linear-gradient(to bottom, #e66666 0%, #800000 100%);
	background-repeat: repeat-x;
	font-weight: 700;
	border: 1px solid #fff;
	box-shadow: .1rem .1rem .15rem rgba(0,0,0,0.5);
}
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { border-top-color: #fff; }
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { border-bottom-color: #fff; }
.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { border-left-color: #fff; }
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { border-right-color: #fff; }
.popover { 
	width: 190px; 
	background-color: #800000;
	background-image: -moz-linear-gradient(135deg, #cc9999 0%, #800000 50%, #cc9999 100%); /* ff3.6+ */
	background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #cc9999), color-stop(50%, #800000), color-stop(100%, #cc9999)); /* safari4+,chrome */
	background-image: -webkit-linear-gradient(135deg, #cc9999 0%, #800000 50%, #cc9999 100%); /* safari5.1+,chrome10+ */
	background-image: -o-linear-gradient(135deg, #cc9999 0%, #800000 50%, #cc9999 100%); /* opera 11.10+ */
	background-image: -ms-linear-gradient(135deg, #cc9999 0%, #800000 50%, #cc9999 100%); /* ie10+ */
	background-image: linear-gradient(315deg, #cc9999 0%, #800000 50%, #cc9999 100%); /* w3c */
	border-color: #fff;
}
.popover-body { color: #fff; }
.popover.bottom > .arrow::after { border-bottom-color: #fff; }

/***** G O T O P *****/
.gotop, .gotop:focus {
	display: none;
	position: fixed;
	bottom: .5rem;
	right: .5rem;
	width: 2rem;
	height: auto;
	font-size: 3rem;
	color: #800000;
	background-color: rgba(0,0,0,0);
	opacity: 1;
	padding: 0;
	border: 0;
	-webkit-appearance: none; /* Safari */
	z-index: 50;
}
.gotop:hover { opacity: 0.8; }
@media (max-width: 991px) { .gotop { display: none !important; } }

.card {
	background: url(../images/bg_bible.png) no-repeat 50% 50% #fff;
	border: 0;
	border-top: 1px solid #eee;
	border-radius: 6px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3), 0 2px 20px rgba(0, 0, 0, 0.094) inset, 0 -1px 7px rgba(0, 0, 0, 0.1);
}
.card-body .h2 {
	position: relative;
	display: inline-block;
	margin-bottom: 1em;
}
.card-body .h2::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: 2px;
	width: 120%;
	content: "";
	display: inline-block;
	background-image: -webkit-linear-gradient(left, rgba(128,0,0,0), rgba(128,0,0,1), rgba(128,0,0,0)); 
	background-image: -moz-linear-gradient(left, rgba(128,0,0,0), rgba(128,0,0,1), rgba(128,0,0,0)); 
	background-image: -ms-linear-gradient(left, rgba(128,0,0,0), rgba(128,0,0,1), rgba(128,0,0,0)); 
	background-image: -o-linear-gradient(left, rgba(128,0,0,0), rgba(128,0,0,1), rgba(128,0,0,0)); 
	margin-left: -10%;
	margin-right: -10%;
}
.card-body .h2.indigo::after {
	background-image: -webkit-linear-gradient(left, rgba(26,35,126,0), rgba(26,35,126,1), rgba(26,35,126,0)); 
	background-image: -moz-linear-gradient(left, rgba(26,35,126,0), rgba(26,35,126,1), rgba(26,35,126,0)); 
	background-image: -ms-linear-gradient(left, rgba(26,35,126,0), rgba(26,35,126,1), rgba(26,35,126,0)); 
	background-image: -o-linear-gradient(left, rgba(26,35,126,0), rgba(26,35,126,1), rgba(26,35,126,0)); 
}
@media only screen and (max-width : 767px) {
	.card-body .h2::after {
		width: 100%;
		left: 10%;
	}
}

ol { counter-reset: list; }
ol li { 
	display: block; 
	cursor: help;
	line-height: 2;
	white-space: nowrap;
	padding-left: 1em;
}
ol li:before {
	content: counter(list) ". ";
	counter-increment: list;
	color: #800000;
	font-weight: bold;
}
ol.ol-indigo li:before { color: #1a237e; }
.columns {
	-webkit-columns: 5 10em;	/* Chrome, Safari, Opera */
	-moz-columns: 5 10em;		/* Firefox */
	columns: 5 10em;
	-moz-column-fill: balance;	/* Firefox */
	column-fill: balance;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto; 
}
@media only screen and (max-width: 360px) {
	ol li {  padding-left: 0; }
	.columns { 
		-webkit-columns: 2 9em; 
		-moz-columns: 2 9em; 
		columns: 2 9em; 
	}
}
.jscroll {
	position: -webkit-sticky;
	position: sticky;
	top: 15px;
}
.bg-light2 { background-color: rgba(255,255,255,0.5)!important; }
.copyright { text-align: center; font-size: .8125rem; margin: 1.5rem auto; }
.font18 { font-size: 1.125rem; }
.gold { color: #c89e47; }
.indigo { color: #1a237e; }
.maroon { color: #800000; }
.scale2 { transition: all .3s ease-in-out; }
.scale2:hover {
	transform: scale(1.5);
	transform-origin: center right;
}
