@charset "utf-8";

/*****  BayshoreBible.org Stylesheet  *****/

*{
	margin: 0;
	padding: 0;
}



/*****  HTML Elements  *****/

html{
	background: #f8f0e0 url(/img/bg-paper-tile.jpg);
	font-family: Georgia, serif;
	letter-spacing: .1em;
	height: 100%;
	margin-bottom: 1px;
}

h1{
	margin: .5em 0 .75em;
	font-size: 1.8em;
	color: #336;
	line-height: 1.3em;
	clear: left;
}

h2{
	margin: .5em 0 .75em;
	font-size: 1.3em;
	color: #336;
	line-height: 1.2em;
	clear: left;
}

h3{
	margin: .5em 0 .75em;
	font-size: 1.1em;
	color: #336;
	line-height: 1.2em;
	clear: left;
}

h4{
	margin: 0 0 .5em;
	font-size: 1em;
	color: #336;
	line-height: 1.2em;
}

h5{
	margin: 0 0 .5em;
	font-size: .9em;
	color: #336;
	line-height: 1.2em;
}

h6{
	margin: 0 0 .5em;
	font-size: .8em;
	color: #336;
	line-height: 1.2em;
}

p{
	margin: 0 0 1.5em;
}

a{
	color: #24a;
}

a:visited, a:hover{
	color: #248;
}

img{
	border: none;
}



/*****  Page Structure  *****/

#top{
	width: 990px;
	height: 40px;
	margin: 0 auto;
	background: url(/img/bg-top.png);
}

#middle{
	width: 940px;
	margin: 0 auto;
	padding: 10px 25px;
	background: url(/img/bg-middle.png);
}

#bottom{
	width: 990px;
	height: 40px;
	margin: 0 auto;
	background: url(/img/bg-bottom.png);
}



/*****  Header  *****/

#header{
	height: 200px;
	min-width: 990px;
	background: url(/img/bg-header.png);
	overflow-x: hidden;
}

#header_image{
	height: 161px;
	margin: 0 auto;
	background: url(/img/header-image.jpg) no-repeat top;
}



/*****  Top Navigation  *****/

#nav ul{
	list-style-type: none;
}

#nav li{
	/*  Make inline-block work in all browsers  */
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
	/* End inline-block code  */
}

#nav .level-1{
	position: relative;
	margin: -30px auto 0;
	padding: 0 10px;
	width: 960px;
	font-size: 1em;
	text-align: right;
}

#nav .level-1 .short{
	position: relative;
}

#nav .level-1 a{
	display: block;
	margin-top: 2px;
	padding: 4px 8px 10px;
	word-spacing: normal;
	color: #fff;
	text-decoration: none;
}

#nav .level-1 li:hover a{
	color: #24a;
	padding-top: 3px;
	background: #9aa5c6;
	border-top: 1px #8f8fc2 solid;
}

#nav .level-1 .active{
	color: #24a;
	padding-top: 3px;
	background: #9aa5c6;
	border-top: 1px #8f8fc2 solid;
}

#nav .level-2{
	position: absolute;
	visibility: hidden;
	top: 30px;
	right: 0;
	width: 960px;
	font-size: .8em;
	text-align: right;
}

#nav .level-1 .short .level-2{
	top: 30px;
	right: auto;
	left: 0;
	text-align: left;
}

#nav .level-1 li:hover .level-2 a{
	color: #336;
	text-decoration: none;
	padding: auto;
	background: none;
	border: none;
}

#nav .level-1 li:hover .level-2 a:hover{
	color: #24a;
}

#nav .level-1 li:hover .level-2{
	visibility: visible;
}



/*****  Side Navigation  *****/

#content #sidenav{
	float: right;
	list-style: none outside;
	margin: 0;
	padding: 0;
	width: 248px;
	letter-spacing: .2em;
	background: #8088bf;
	border: 1px #4d5273 solid;
}

#content #sidenav li ul{
	list-style: none outside;
	margin: 0;
	padding: 0;
	background: #6f76a6;
}

#content #sidenav li ul li ul{
	list-style: none outside;
	margin: 0;
	padding: 0;
	background: #5e648c;
}

#content #sidenav li,
#content #sidenav li ul li{
	margin: 0;
	padding: 0;
}

#sidenav a{
	display: block;
	text-decoration: none;
	margin: 0;
	padding: 5px 5px 5px 20px;
	color: #fff;
	font-size: 1em;
	line-height: 1.3em;
	border-bottom: 1px #8088bf solid;
}

#sidenav li ul li a{
	padding-left: 40px;
	font-size: .9em;
	line-height: 1.2em;
	background-image: url('/img/menu-l2.png');
	background-repeat: no-repeat;
	background-position: left;
}
	
#sidenav li ul li ul li a{
	padding-left: 60px;
	font-size: .8em;
	line-height: 1.1em;
	background-image: url('/img/menu-l3.png');
	background-repeat: no-repeat;
	background-position: left;
}

#sidenav a:hover{
	color: #248;
	border-bottom: 1px #bfceff solid;
	background-color: #bfceff;
}

#sidenav a.active{
	background-image: url('/img/menu-arrow.png');
	background-repeat: no-repeat;
	background-position: left;
}



/*****  Content  *****/

#content{
	position: relative;
	margin: -30px 0 -10px;
	line-height: 1.5em;
	color: #228;
}

#content ul{
	margin: 0 1.5em;
}

#content li{
	margin: .5em 0;
}

#title{
	margin-bottom: 2em;
	width: 900px;
	height: 50px;
	padding: 10px 20px;
	background: url(/img/bg-bar.png) no-repeat;
}

#title h1{
	margin: 0;
}

#text{
	position: relative;
	margin-left: 20px;
	width: 640px;
	z-index: 1;
}

#text-wide{
	position: relative;
	margin-left: 20px;
	z-index: 1;
}

#text p,
#text-wide p{
	font-size: .95em;
}

#text ul,
#text-wide ul{
	margin-bottom: 1em;
	font-size: .95em;
}

#text ul ul,
#text-wide ul ul{
	font-size: inherit;
}

#text .snapshots{
	float: right;
}


/* Features */

#slideBox{
	position: relative;
	width: 640px;
	height: 320px;
	float: left;
}

#slideBox img{
	position: absolute;
	top: 0;
	left: 0;
}


/* Welcome */

#welcome{
	margin-left: 640px;
	padding: 90px 20px 20px 40px;
	height: 210px;
	text-align: right;
	color: #fff;
	background: #404070 url('/img/bg-welcome.png') no-repeat;
}

#welcome h1{
	margin: 0 -5px 0 -40px;
	color: #ffdf40;
	font-size: 1.3em;
	letter-spacing: normal;
	font-style: italic;
	clear: none;
}

#welcome a{
	color: #ffdf40;
	font-style: italic;
}


/* Homepage quickbar */

#quickbar{
	position: relative;
	white-space: nowrap;
	letter-spacing: 0;
	height: 60px;
	padding: 5px 5px 15px;
	background: url(/img/bg-bar.png) repeat-x;
	clear: both;
}

.quickbar-box{
	float: left;
	margin: 0 15px;
	width: 270px;
	height: 50px;
	text-align: center;
}

.quickbar-box img{
	float: left;
}

.quickbar-box p{
	margin-top: 5px;
	font-size: .8em;
	font-weight: bold;
	line-height: 1.5em;
	color: #0d0d1a;
}

.quickbar-box .bigger{
	font-size: 1.2em;
}

#quickbar .vertical{
	position: relative;
	height: 50px;
	border-right: 1px #0d0d1a solid;
	float: left;
}

/* Homepage ministry guide */

#ministry-guide{
	float: right;
	width: 216px;
	padding: 0 20px 1em;
	line-height: 1em;
	color: #300;
	background: url(/img/bg-ministry-guide.jpg) repeat-y;
	border: 1px #300 solid;
}

#ministry-guide h2{
	margin: 0 -20px;
	padding: .2em 20px;
	color: #fff;
	font-size: 1.3em;
	text-align: center;
	background: #300;
	border-top: 2px #960 solid;
	border-bottom: 2px #960 solid;
}

#ministry-guide .ministryLink{
	font-size: .9em;
	line-height: 1.6em;
}

#ministry-guide p{
	margin: 1em 0;
	font-size: .8em;
}

#ministry-guide ul{
	font-size: .9em;
	margin: 0 0 0 1.5em;
}

#ministry-guide a{
	color: #300;
}

#ministry-guide a:hover{
	text-decoration: underline;
	color: #900;
}



/*****  Preview Box on Home Page  *****/

#previews{
	position: relative;
	margin: 1em 0;
	height: 200px;
	background: #e8efff url('/img/bg-previews.png') repeat-y;
	border: 10px #e8efff solid;
}

.goto-link{
	margin: .5em .1em;
	font-size: .8em;
	font-weight: bold;
}

.preview-box{
	position: relative;
	padding: 0 10px 0 13px;
	width: 290px;
	float: left;
}

.preview-box h2{
	margin: 0;
	font-size: 1.1em;
}

#previews .preview-right{
	margin-right: -10px;
}

#previews .preview-left{
	margin-left: -10px;
}


/* Home "Upcoming Events" Styles */

#preview-calendar ul{
	list-style: none outside;
	margin: .5em 0 0;
}

#preview-calendar ul li{
	margin: 0;
	padding: 0;
}

.event-title{
	display: block;
	margin: 0 1em 0 0;
	padding: .5em .1em;
	font-size: .9em;
	line-height: 1em;
	border-bottom: 1px #e0e8f8 solid;
}

.event-details-wrapper{
	visibility: hidden;
	position: absolute;
	width: 330px;
	background: url('/img/popup-arrow.png') no-repeat;
	z-index: 1;
}

.event-details{
	margin-top: 10px;
	padding: .5em;
	font-size: .8em;
	border: 8px #fff solid;
	background: #e8efff;
}

.event-details p{
	margin: 0 0 .4em;
	line-height: 1.4em;
	letter-spacing: .1em;
}


/* Home "In the Mission Field" Styles */

#preview-missionaries h2{
	margin-bottom: 1em;
}



/*****  Footer  *****/

#footer{
	height: 60px;
	margin: 2em 0 0;
	padding: 10px;
	background: #404070 url(/img/bg-footer.png) repeat-x;
	color: #fff;
	font-size: 10pt;
	line-height: 14pt;
}

#footer .address{
	height: 70px;
	width: 223px;
	margin: -10px;
	padding: 10px 0 0 10px;
	float: left;
	background: url(/img/bg-footer-address.png) no-repeat;
}

#footer #menuwrapper{
	position: relative;
	top: auto;
	min-width: auto;
	max-width: auto;
	margin: 12px 0 0 250px;
	padding: 0;
	font-size: 1.1em;
}

#footer #menuwrapper ul{
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
	float: left;
}

#footer #menuwrapper li{
	display: block;
	height: 24px;
	margin: 0 6px;
	padding: 6px 8px 0;
	float: left;
}

#footer #primary-nav{
	position: auto;
	right: auto;
}

#footer #primary-nav a{
	color: #ddd;
	text-decoration: none;
}

#footer #primary-nav a:hover{
	color: #fff;
}

#footer .menuparent .unli{
	display: none;
}

#footer .menuactive{
	height: auto;
	border-bottom: none;
	background: none;
}

#footer-menu{
	font-size: 10pt;
	margin: 20px 0 0 215px;
}

#footer-menu ul{
	list-style-type: none;
}

#footer-menu ul li{
	display: inline-block;
	margin: 0 0 0 .8em;
}

#footer-menu ul li ul{
	visibility: hidden;
	display: none;
	position: absolute;
}

#footer-menu a{
	color: #ddd;
	text-decoration: none;
}

#footer-menu a:hover{
	color: #fff;
}

#footer-menu h1, #footer-menu h2, #footer-menu h3, #footer-menu h4, #footer-menu h5, #footer-menu h6, #footer-menu p{
	color: #fff;
	font-size: 10pt;
	margin: 0;
}



/*****  Copyright and Sub-Footer  *****/

#sub-footer{
	margin: -15px auto;
	padding: 0 0 50px;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: .7em;
	line-height: 1.3em;
	color: #404070;
}



/*****  Contact Form  *****/

#contactForm{
	font-size: .9em;
	padding: .5em 1em;
	border: none;
	background: #e8efff;
}

#contactForm input{
	width: 20em;
}

#contactForm textarea{
	width: 50em;
	height: 20em;
}

#contactForm .required{
	color: #f00;
	font-weight: bold;
}

#contactForm #submitContactForm{
	width: 10em;
}

#contactForm .error{
	color: red;
}



/*****  Podcast Page  *****/

ul#podcastList{
	list-style: none;
	margin-left: 0;
	font-size: .8em;
	letter-spacing: normal;
	height: 300px;
	overflow-y: scroll;
	border: 1px #336 solid;
}

ul#podcastList li{
	margin: 0;
	padding: .25em 1em;
}

ul#podcastList .even{
	background-color: #e8efff;
}



/*****  Miscellaneous  *****/

.left{
	float: left;
	margin: 0 .5em .5em 0;
}

.right{
	float: right;
	margin: 0 0 .5em .5em;
}

.right-offset{
	float: right;
	margin: 0 -290px 0 0;
}

.side-image{
	position: absolute;
	right: -290px;
	top: 300px;
	z-index: 0;
}

.clear{
	clear: both;
}

.clear-left{
	clear: left;
}