/* Reset */
html, body, h1, h2, h3, h4, h5, h6, p, div, dl, dt, dd, ul, li, ol, form, fieldset, input, textarea {
	margin: 0;
	padding: 0;
}
img {
	border: 0;
}
li, ol {
	list-style: none;
}
body {
	background: #2e2e2e;
	color: #272727;
	font: 80%/140% "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
	text-align: center;
	background-color: #333333;
}

.inner {
	text-align: left;
	width: 950px;
	margin: 0 auto;
}

.clear {
	clear: both;
}

.grey {
	color: #606060;
}

.green {
	color: #FFFFFF;
}

h2 {
	color: #FFFFFF;
	font-size: 1.7em;
	font-weight: normal;
	margin-bottom: 8px;
}

h3 {
	color: #444;
	background: #d3d3d3;
	font-size: 1.4em;
	font-weight: normal;
	margin-bottom: 8px;
	padding: 6px;
}

h4 {
	color: #666;
	font-size: 1.3em;
	font-weight: normal;
	margin-bottom: 8px;
}

p {
	margin-bottom: 16px;
}

a {
	color: #FFFFFF;
}

a:hover {

}

/* Header */
#header {
	background: #000;
	height: 396px;
	border-bottom: solid 5px #FFFFFF;
}

#header-image {
	width: 950px;
	height: 396px;
	margin: 0 auto;
}
#header-image.loading {
  background: url(/images/loader.gif) no-repeat center center;
}

/* Top Nav */
#top-nav {
	text-transform: uppercase;
	background: url(/images/topnavbk.jpg) repeat-x;
	border-top: solid 1px #fff;
}

#top-nav ul {
	margin-left: 6px;
}

#top-nav li {
	display: inline;
}

#top-nav li a {
	color: #fff;
	text-decoration: none;
	padding: 6px 12px;
	display: block;
	float: left;
}

#top-nav li a:hover,
#home #h-nav a,
#about #a-nav a,
#ministries #m-nav a,
#staff #s-nav a,
#giving #g-nav a,
#edge8 #e-nav a,
#edgezones #ez-nav a,
#listen #l-nav a,
#news #n-nav a,
#contact #c-nav a {
	color: #FFFFFF;
}

/* Content */
#content-container {
	background: #f6f6f6;
}

#content-container .inner {
	background: url(/images/sidebk.jpg) repeat-y top right;
}

#content-body {
	width: 585px;
	padding: 18px 0 18px 16px;
	float: left;
}

#content-body dt {
	font-weight: bold;
}

#content-body dd {
	margin-bottom: 14px;
}

a#more-edge {
	text-indent: -9999px;
	background: url(/images/moreedge.jpg) no-repeat 0 0;
	width: 178px;
	height: 36px;
	display: block;
	overflow: hidden;
}

a:hover#more-edge {
	background-position: 0 -36px;
}

#service-times {
background: none;
float: right;
margin: 6px 12px 0 0;
}

/* Side-bar */
#side-bar {
	color: #fff;
	width: 292px;
	margin-right: 12px;
	float: right;
}

#side-bar h3 {
	background: url(/images/sidefade.jpg) repeat-x;
	color: #fff;
	padding: 14px 14px 7px 14px;
}

#side-bar a {
	color: #89c540;
}

#side-bar a:hover {
	background: #333;
}

#side-bar a:hover.none {
	background: none;
}

#sub-nav {
}

#sub-nav li a {
	text-decoration: none;
	background: #222;
	display: block;
	margin-bottom: 1px;
	padding: 5px 14px;
}

#sub-nav li a:hover {
	color: #999;
}

.side-content {
	margin: 0 14px 24px 14px;
}

#news-brief dt {
	background: url(/images/note.jpg) no-repeat;
	font-size: 1.2em;
	line-height: 90%;
	padding-left: 16px;
}

.date {
	color: #89c540;
	font-size: 10px;
}

#news-brief dd {
	margin: 0 0 16px 16px;
}


/* Series */
.series {
	clear: both;
}

.series img {
	float: left;
	margin-bottom: 24px;
}

.series ul {
	float: right;
	width: 380px;
	margin-bottom: 24px;
}

.series li a {
	text-decoration: none;
	padding: 5px;
	border-bottom: solid 1px #d3d3d3;
	display: block;
}

.series-date {
	font-size: .9em;
	color: #212121;
}

.series img {
	background: #ddd;
	padding: 8px;
}

/* Contact */

#email-form {
	margin-top: 24px;
}

.input {
	width: 340px;
	padding: 5px;
	border: solid 1px #888;
}

.formTextArea {
	width: 340px;
	height: 70px;
	padding: 5px;
	border: solid 1px #888;
}

#questionscomments {
	width: 340px;
	height: 70px;
	padding: 5px;
	border: solid 1px #888;
}

#submit {
	color: #fff;
	border: none;
	background: #999;
	padding: 6px 14px;
	border: solid 1px #888;
}

#email-form em, .required {
	color: #999;
	font-size: .9em;
}
.warning {
	font-size: .9em;
	color: #ff0000;
}

#map {
	float: right;
	background: #efefef;
	border: solid 1px #999;
	margin: 0 0 16px 16px;
	padding: 10px;
}

/* Footer */
#footer {
	background: url(/images/footerbk.jpg) repeat-x;
	clear: both;
}

/* Footer Boxes */
#foot-boxes {
	padding: 32px 0 0 16px;
}

#foot-boxes a {
	color: #FFFFFF;
	text-decoration: none;
}

#foot-boxes a:hover, #foot-boxes a:hover.purple {
	background: none;	
	color: #fff;
}

#left-box, #middle-box, #right-box {
	text-align: right;	
	float: left;
}

.middle {
	margin: 0 60px;
}

#foot-boxes a.purple {
	color: #bd8fd8;
}


/* Bottom Nav */
#bottom-nav {
	color: #555;
	padding: 16px;
	border-top: solid 1px #555;
	clear: both;
}

#bottom-nav li {
	display: inline;
	margin-right: 6px;
	padding-right: 8px;
	border-right: solid 1px #555;
}

#bottom-nav li a {
	color: #555;
	font-size: .9em;
	text-decoration: none;
}

#bottom-nav li a:hover {
	background: none;
	color: #89c540;
}

#bottom-nav li.no-border {
	border: none;
}

/* EVENT TABS */
#weekly-events {

	margin-top: 32px;
}

#weekly-events ul {
	background: url(/images/eventstitle.jpg) no-repeat;
	height: 24px;
	padding: 7px 0 0 40px;
}

/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {


}
.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0 0 0 1px;
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 20px;
    background: url(tab.png) no-repeat;
}
.ui-tabs-nav a {
	margin: 1px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
	padding-left: 0;
	color: #FFFFFF;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap; /* required in IE 6 */
	outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 1px;
    z-index: 2;
    margin-top: 0;
    color: #fff;
}
.ui-tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 18px; /* IE 6 treats height as min-height */
    min-height: 18px;
    padding-top: 6px;
    padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-bottom: 1px;
}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
	color: #ccc;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
	background: url(/images/eventsbk.jpg) repeat-x;
    border-top: 1px solid #97a5b0;
    padding: 1em 8px;
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}


/* ---------------------- */
/* Staff Page */
.staff-box {
	clear: both;
	border-bottom: solid 1px #ddd;
	margin-bottom: 24px;
}

.staff-image {
	width: 176px;
	margin-bottom: 24px;
	float: left;
	background: #ddd;
}

.staff-image img {
	padding: 8px 8px 5px 8px;
}

.staff-copy {
	float: right;
	width: 400px;
}

/* outmost wrapper element */
#scrollable {
	width:585px;
}

#scrollable ul {
	margin: 18px 0 12px 0;
}

#scrollable li {
	background: #ccc;
	margin: 0 1px 12px 0;
	padding: 5px 7px;
	float: left;
	cursor: pointer;
}

#scrollable li:hover, #scrollable li.active {
	color: #fff;
	background: #89c540;
}

/* container for the scrollable items */
div.items {
	width:585px !important;
	height: 396px;
}

.items img {
	border: solid 8px #fff;
}
.last {
margin-left: 10px;
}
