/*
Custom CSS styles for
mountzionbelton.org
*/

/* primary styling **************************************************************/
body {
	color: #EEE;
	background-color: #333;
	overflow-y: scroll;
}
body h1, h2 {
	color: #EEE;
}
body h3, h4, h5 {
	color: #FFE100;
	font-family: "Lucida Sans", "DejaVu Sans", "Open Sans", Verdana, sans-serif;
	font-style: italic;
}
a {
	color: inherit;
}
a:hover {
	color: #FFE100;
	text-decoration: underline;
}
address {
	font-style: normal;
}
address p {
	padding: 0 1em;
}
.text-bold {
	font-weight: bold;
}
.black {
	color: #000000;
}
.white {
	color: #FFFFFF;
}
.yellow {
	color: #FFE100;
}
.motto {
	padding: 1em 2em;
}
.current-events {
	margin: 0;
	padding: 1.5em 2em;
}
.current-events ul li {
	list-style: none;
	margin-bottom: 1em;
}
.current-events ul li:last-of-type {
	margin-bottom: 0;
}
.current-message {
	margin: 0;
	padding: 1.5em 2em;
	/*border-left: thin solid #999;*/
}
.beliefs {
	padding: 0 0 2em 1em;
}
.beliefs a:hover,
.purpose a:hover {
	text-decoration: none;
}
@media screen and (max-width: 640px) {
	.current-events,
	.motto {
		/*border-left: none;*/
		border-bottom: thin solid #999;
	}
}
.aboutus ul li {
	list-style: none;
	list-style-position: outside;
	padding-bottom: 0.5em;
}
.purpose {
	border: thin solid #999;
}
.purpose ul li,
.purpose p {
	font-size: 18px;
}
.staff-headshot {
	margin-bottom: 1.75em;
	padding-left: 2em;
}
.staff-headshot p {
	padding: 0 1em 0 0;
	margin-bottom: 0;
}
.current-message p,
.beliefs p,
.aboutus p,
.service-times p {
	padding: 0 1em;
}
.sermon {
	padding-bottom: 4em;
}
.social {
	padding-bottom: 0.5em;
}
.site-footer {
	background-color: #222;
	padding: 1em;
	margin-top: 0;
	border-top: thin solid #999;
}
.site-footer a {
	margin: 0 0.5em;
}
.site-footer p {
	margin-bottom: 0;
}
/*@media screen and (max-width: 700px) {
	.site-footer {
		display: none;
	}
}*/


/* site banner and logo styling ********************************************/
.banner {
	background-size: cover;
	text-align: center;
	padding: 1em;
	height: 16em;
}
@media screen and (max-width: 420px) {
	.banner {
		max-height: 10.5em;
	}
}
.banner img {
	max-height: 15em;
}
.banner#home {
	background-image: url(../img/cover/hands1280x400.jpg);
}
.banner#beliefs {
	background-image: url(../img/cover/sanctuary1280x400.jpg);
}
.banner#messages {
	background-image: url(../img/cover/worship1280x400.jpg);
}
.banner#about {
	background-image: url(../img/cover/cross1280x400.jpg);
}
.banner#visit {
	background-image: url(../img/cover/church1280x400.jpg);
}


/* navigation bar styling ********************************************************/
nav {
	border-bottom: thin solid #999;
	border-top: thin solid #999;
}
nav ul {
	overflow: hidden;
	color: #EEE;
	background-color: #222;
	padding: 0;
	margin: 0;
	text-align: center;
	-webkit-transition: max-height 200ms;
	-ms-transition: max-height 200ms;
	-moz-transition: max-height 200ms;
	-o-transition: max-height 200ms;
	transition: max-height 200ms;
}
nav ul li {
	display: inline-block;
	padding: 0.7em 0;
}
nav ul li:hover {
	color: #FFE100;
	background-color: #333;
}
nav ul li a {
	font-weight: 700;
	padding: 0.8em 2em;
}
nav ul li a:hover {
	text-decoration: none;
}
.handle {
	width: 100%;
	background-color: #222;
	text-align: left;
	box-sizing: border-box;
	padding: 0.75em 1.5em;
	cursor: pointer;
	margin-top: 0;
	display: none;
}
@media screen and (max-width: 700px) {
	nav ul {
		border-top: none;
		max-height: 0;
	}
	.showing {
		max-height: 18em;
		border-top: thin solid #999;
	}
	nav ul li {
		box-sizing: border-box;
		width: 100%;
		padding: 0.75em;
		text-align: left;
	}
	nav ul li:hover {
		color: #FFE100;
		font-weight: bold;
		background-color: #333;
	}
	.handle {
		display: block;
		text-align: left;
		font-weight: 700;	
	}
}


/* styling for responsive iframes ***********************************************/
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
}
.video-wrapper iframe {
	position: absolute;
	width: 95%;
	height: 95%;
	border: none;
}


/* scroll to top js function ******************************************************/
.back-to-top {
	position: fixed; 
	top: 2em; 
	right: 0;
	text-decoration: none; 
	color: #000; 
	border-radius: 3px; 
	background-color: rgba(235, 235, 235, 0.60);	
	padding: 0 0.3em; 
	display: none;
	font-size: 36px;
	margin: 0;
}
.back-to-top:hover {
	background-color: rgba(135, 135, 135, 0.50);
	text-decoration: none;
}


