/* CSS Document */

@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Caladea:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sansita+Swashed:wght@300;400;500;600;700;800;900&display=swap');

/* color palette */
.russian-violet { background-color: #3D2B56; }
.gray { background-color: #BEBBBB; }
.apricot { background-color: #FAC9B8; }
.middle-red { background-color: #DB8A74; }
.redwood { background-color: #A85751; }

html, body { color: #BEBBBB; background-color: #3D2B56; width: 100%; height: 100%; margin: 0; padding: 0; overflow: visible; }

body {
	background: #3D2B56 url('/images/sunset_1080x1100.jpg') center top/contain no-repeat scroll;
	font: normal normal normal 16px/1.25em Barlow, Helvetica, Arial, sans-serif;
	height: auto;
}

body.loaded { background-image: none; }

main { overflow: hidden; }

header, article { width: 90%; height: auto; margin: 0; padding: 5%; overflow: hidden; }

h1 {
	color: #DB8A74; background-color: transparent;
	font: normal normal normal 1.5em/1em Caladea, Times, "Times New Roman", serif;
	text-align: center; text-transform: uppercase;
	word-spacing: 0.2em;
	width: auto; height: auto;
	margin: 0; padding: 0;
	float: none;
}

h2 {
	color: #BEBBBB; background-color: transparent;
	font: normal normal bold 1.2em/1.25em Barlow, Helvetica, Arial, sans-serif;
	text-align: left;
	width: auto; height: auto;
	margin: 0; padding: 0;
	float: none;
}

header {
	color: #000; background: transparent url('/images/tbc_narrow.jpg') center top no-repeat scroll;
	padding-top: 5%;
}
header #churchpic { display: none; }
header h1 {
	margin: 0 2em 0.25em; padding: 0;
}
header h2 {
	color: #FFF; background-color: transparent;
	font: normal normal normal 1em/1.25em 'Sansita Swashed', Verdana, Times, 'Times New Roman', serif;
	text-align: left; letter-spacing: 0;
	margin: 312px 0 2.5em 0; padding: 0 1em;
}

header #churchinfo { float: right; }
header #churchinfo p {
	color: #FFF; background-color: transparent;
	font-size: 0.875em; line-height: 1.25em;
	text-align: right;
}
header #churchinfo p a { color: #FFF; }

header div#sbc-logo {
	color: #000; background: transparent url('/images/sbc-stacked_white_150.png') center center/contain no-repeat scroll;
	width: 70px; height: 105px;
	margin: 0 42px 0 0; padding: 0;
}
header div#sbc-logo img {
	color: #000; background: #3D2B56 url('/images/sbc-logo-tm_white_150.png') center center/contain no-repeat scroll;
	width: 100%; height: 100%;
	margin: 0; padding: 0;
	opacity: 1.0;
	will-change: opacity;
	transition: opacity 5s 10s;
}

article#services { color: #3D2B56; background-color: #BEBBBB; }
#services h1 { color: #3D2B56; text-align: left; }
#services h2 { color: #A85751; margin: 0.5em 0 0; padding: 0; }
#services p { margin: 0 0 0.5em; }
#services p exception { font-style: italic; font-size: 0.75em; }
#services p#fbook {
	color: #000; background: transparent url('/images/f_logo_RGB-Blue_58.png') left center/contain no-repeat scroll;
	width: auto; height: auto;
	margin: 0; padding: 0;
	line-height: 36px;
}
#services p#fbook img { width: 36px; height: 36px; margin-right: 12px; }
.loaded header div#sbc-logo img { opacity: 0; }

article#events { color: #FFF; background-color: #A85751; text-align: center; }
#events h1 { color: #FAC9B8; }
#events h2 { color: #3D2B56; font-size: 2em; line-height: 1em; text-align: center; margin: 0 1em 0.5em; }
#events h3 { text-align: center; margin: 0.25em 0; }
#events p a { color: inherit; }

#events div#cantata { display: block; color: #3D2B56; background-color: #FFF; border: solid 1px #3D2B56; margin: 1em 0 0; padding: 0.5em; }
#events div#cantata h2 { 
    margin: 0.5em 1em 0; 
	font-style: italic;
}
#events #vbs img {
	background: transparent url('/images/anchored-vbs-logo_262x200.png') center center/contain no-repeat scroll;
	width: 100%; height: 20px;
	padding: 68.7% 0 0;
}


article#staff {
	color: #3D2B56; background-color: #FAC9B8; /* #DB8A74; */
	width: 95%; height: auto;
	max-width: 7500px;
	margin: 0 auto; padding: 0 2.5% 24px;
}
#staff h1 { color: #A85751; margin: 0.5em 30px 0; float: none; }

#staff div.flex-container { display: flex; flex-wrap: wrap; justify-content: space-around }
#staff .flex-container div {
	text-align: center;
	width: 100%; height: auto;
	margin: 1em 30px 0; padding: 0;
	overflow: hidden;
}
#staff .flex-container div img {
	background: transparent url('/images/pastor_warner_cropped.jpg') left center/contain no-repeat scroll;
	width: 150px; height: 200px;
	float: left;
}
#staff div#music-director img { background-image: url('/images/kevin_mixon_cropped.jpg'); }
#staff div#pianist img { background-image: url('/images/lanette_lagle_cropped.jpg'); }
#staff div#organist img { background-image: url('/images/carol_brown_cropped.jpg'); }
#staff div#sound-technician img { background-image: url('/images/michael_galliher_cropped.jpg'); }
#staff p {
	line-height: 1em;
	font-weight: bold;
	text-align: left;
	margin: 0 0 0 170px; padding: 70px 0 0;
}
#staff p span { font-style: italic; font-weight: normal; font-size: 20px; line-height: 1em; font-family: Aleo; margin: 0.25em 0 0; display: block; }

#staff .flex-container div#pastor img { float: none; }
#staff .flex-container div#pastor p { text-align: center; margin: 0.25em 0 0; padding: 0; }

#staff .flex-container div#pianist img, #staff .flex-container div#sound-technician img { float: right; }
#staff .flex-container div#pianist p, #staff .flex-container div#sound-technician p { text-align: right; margin: 0 170px 0 0; }


footer {
	color: #FFF; background-color: #000;
	text-align: center;
	margin: 0; padding: 1em;
}
footer a { color: #FFF; text-decoration: none; }

/* MISC */
.boldital { font-style: italic; font-weight: bold; }
.wide { display: none; }

/* TOOLTIP */
#tooltip {
	text-align: center;
	color: #fff;
	background: #111;
	position: absolute;
	z-index: 100;
	padding: 15px;
}

#tooltip:after /* triangle decoration */ {
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #111;
	content: '';
	position: absolute;
	left: 50%;
	bottom: -10px;
	margin-left: -10px;
}

#tooltip.top:after {
	border-top-color: transparent;
	border-bottom: 10px solid #111;
	top: -20px;
	bottom: auto;
}

#tooltip.left:after {
	left: 10px;
	margin: 0;
}

#tooltip.right:after {
	right: 10px;
	left: auto;
	margin: 0;
}

body.loaded div.ui-loader { display: none; }