/* layout */
* {
	margin: 0;
	padding: 0;
	}
	
html {
	font-size: 100%;
	/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */
	height: 100%;
	margin-bottom: 1px;
}
	
body {
	background: url(/images/bg.jpg) repeat-x #798eb8;
	color: #000000;
	font-size: 11px;
	font-family:  Helvetica, sans-serif, Arial, "Trebuchet MS", Verdana;
	text-align: center;
	margin: 10px auto;
	}


/* Constants */
	
img {
	border: 0px;
	margin: 0 auto;
}

a {
	color: #000000;
	text-decoration: underline;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.3em;
	font-weight: bold;
}

h3 {
	font-size: 1.1em;
}

a:hover {
	text-decoration: none;
}

.pagewidth {
	width: 770px;
	min-height: 100px;
	margin: 0 auto;
}

ul.list {
	margin: 0 0 0 20px;
}


/* Nav */

#nav {
	padding: 10px 0 0 0;
}

#nav ul {
	margin: 0 0 5px 0;
	padding: 0;
	list-style-type: none;
}

#nav ul li {
	display: inline;
	padding-right: 1px;
	padding-left: 1px;

	
} 

#nav ul li a {
	margin-top: -15px;
	padding: 5px 7px 5px 7px;
	width: 60px;
	font-size: 1.2em;
	background: #2f4c85;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
}

#nav ul li a:hover {
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
	background: #798eb8;
}

#nav ul li.active a {
	background: #e2ecfa;
	color: #3e362f;
}

#nav ul li.active a:hover {
	color: #3e362f;
	background: #e2ecfa;
}


/* Index Header */

.index-header {
	background: #e2ecfa;
}

.service-times-location {
	width: 200px;
	min-height: 250px;
	background: url(/images/location_bg.jpg) no-repeat;
	font-family: Arial, Verdana, Helvetica, sans-serif;
}

.service-times-location h2 {
	font-size: 1.4em;
	padding: 7px 10px 10px 10px;
	background: url(/images/service-times-border.gif) bottom no-repeat;
}

.service-times-location p {
	padding: 0 10px 0 10px;
	text-align: center;
	line-height: 1.5em;
}

.service-times-location h3 {
	padding: 10px 10px 5px 10px;
	text-align: center;
	font-size: 1.2em;
}

.get-map {
	position: absolute;
	margin: 50px 0 0 60px;
}

.location {
	text-align:left;
	padding: 10px 10px 10px 10px;
}

.location i {
	font-size: .8em;
}

.flash {
	background: url(/images/temp-flash.jpg) no-repeat;
	width: 540px;
	min-height: 250px;
}


/* Latest Sermon */

.latest-sermon {
	width: 770px;
	margin: 10px auto;
	min-height: 50px;
	background: #b9cbe5 url(/images/latest-sermon.gif) no-repeat;
	color: #1c2244;
}

.latest-sermon a {
	color: #1c2244;
}


.sermon-title {
	padding: 0 20px 0 0;
	font-weight: bold;
	font-size: 1.8em;
}




/* Index Welcome */

.index-welcome {
	width: 770px;
	margin: 10px auto;
	background: #e2ecfa;
	color: #1c2244;
	line-height: 2em;
}

.welcome {
	text-align: left;
}

.welcome h2 {
	font-weight: normal;
	font-size: 1.4em;
}

.new-here {
	text-align: left;
	border-left: 1px dotted #1c2244;
	padding: 0 0 0 10px;

}

.new-here h2 {
	font-weight: normal;
	font-size: 1.4em;
}

.pastors {
	text-align: left;
	border-left: 1px dotted #1c2244;
	padding: 0 0 0 10px;

}

.pastors h2 {
	font-weight: normal;
	font-size: 1.4em;
}


/* Subnav */

#subnav ul {
	margin: 2px 0 2px 0;
	padding: 0;
	list-style-type: none;
}

#subnav ul li {
	display: inline;
	padding-right: 1px;
	padding-left: 1px;

	
} 

#subnav ul li a {
	padding: 0 7px 0 7px;
	width: 60px;
	text-decoration: none;
	color: #black;
	font-weight: bold;
}

#subnav ul li a:hover {
	text-decoration: underline;
	color: #black;
}



/* Content */

.sidebar {
	float: left;
	width: 200px;
	border: 1px solid #1c2244;
	margin: 10px 10px 10px 0;
	color: white;
	font-size: .95em;
}

.sidebar a {
	color: white;
}

.sidebarinside {
	margin: 3px 3px 3px 3px;
	padding: 5px 5px 5px 5px;
	background: #798eb9;
}

.sidebar h3 {
	font-size: 1.4em;
	font-weight: bold;
	text-transform: uppercase;
}

.content {
	width: 750px;
	margin: 10px auto;
	min-height: 450px;
	background: #e2ecfa;
	color: #1c2244;
	text-align: left;
	padding: 0 10px 0 10px;
}

.content h2 {
	font-size: 2.5em;
	padding: 5px 10px 10px 10px;
}

.content-image {
	float: right;
	margin: 0 0 0 10px;
}

.content-image img {
	padding: 3px 3px 3px 3px;
	border: 1px solid #1c2244;
}



/* Footer */

.footer {
	width: 100%;
	background: #1c2244;
	color: white;
	margin: 20px auto;
}

.footercontain {
	width: 810px;
	margin: 0 auto;
}

.footercontain a {
	color: white;
}

.footer p {
	padding: 10px 10px 10px 10px;
}