/*--------------------------------------------------
------------------  Reset   ------------------------
--------------------------------------------------*/
 
a:active {outline:none;}
:focus {-moz-outline-style: none; outline:none;}
* html a {noFocusLine: expression(this.onFocus=this.blur()); outline: none;}

img {border:none;}

/*--------------------------------------------------
------------------ Global Styles -------------------
--------------------------------------------------*/
body, html {height: 100%; width: 100%; margin: 0; padding: 0;}

body {
	background: #150000 url(./images/bg.jpg) top center no-repeat;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 1.125em;
	color: #150000;
}

a {color: #c67629; font-weight: bold; text-decoration: none;}
a:hover {text-decoration: underline;}

h1, .ContentHeader {font-size: 24px;}
h2, .ContentSubHeader {font-size: 18px; font-weight: normal; letter-spacing: -.5px; .line-height: 1.2em;}
h3 {font-size: 14px; color: #c67629; font-weight: normal;}

.HRule, hr {height: 1px; background:; color:; border: none;}

.clear {clear:both; height: 0; margin: 0; padding: 0;}
.floatleft {float: left;}
.floatright {float: right;}
.hidden {visibility: hidden; position: absolute;}

/*--------------------------------------------------
--------------- Structure - Home -------------------
--------------------------------------------------*/

#wrapper {font-size: 11px; height: auto; width: 940px; margin: 0 auto;}

#header {height: 135px; width: 940px;}

#main_top {
	background: url(./images/top_main_bg.jpg) no-repeat; 
	height: 45px; width: 940px; 
	margin: 0 auto;
}

#navbar {background: url(./images/navbar_bg.jpg); height: 70px; margin: 0 0 0 -20px; width: 980px;}

#primary {background: url(./images/primary_bg.jpg) no-repeat; height: 300px; width: 940px; margin: 0 auto;}

	#flashbox_wrap {height: 280px; width: 580px; margin: 0 0 0 20px; position: absolute;}
	
	#welcome {
		height: 145px; 
		width: 250px;
		margin: 100px 0 0 645px;
		overflow: auto;
		position: absolute;
	}
	
#secondary {background: #f5f6de url(./images/secondary_bg.jpg) no-repeat top left; height: 300px; width: 940px; margin: 0 auto;}

	#about_us {height: 110px; width: 540px; margin: 70px 0 0 40px; overflow: auto; position: absolute;}
	
	#interest_buttons {background: #333; height: 90px; width: 590px; margin: 195px 0 0 15px; position: absolute;}
	
	#tabs {background: url(./images/tab_area.jpg) no-repeat bottom left; height: 280px; width: 300px; margin: 0 0 0 620px; position: absolute;}
	
#footer {color: #f5f6de; clear: both; height: 100px; width: 940px;}

/*--- Sub Page ----*/

#marquis_wrap {
	height: 150px; width: 900px;
	margin: 0 auto 20px;
}

#sub_primary {
	background: #f5f6de url(./images/sub_primary_bg.jpg) no-repeat top center;
	color: #270a05;
	float: left;
	min-height: 500px;
	height: auto !important;
	height: 500px;
	width: 940px; 
	margin: 0 auto;
	}

#main_sans_sidebar {height: auto; width: 900px; margin: 0 auto 20px;}

#main {
	display: inline;
	float: left;
	height: auto; width: 590px;
	margin: 0 0 0 20px;
}

#sidebar {
	display: inline;
	float: right;
	height: auto; width: 290px;
	margin: 0 20px 0 0;
}

#no_sidebar {display: none;}

#breadcrumbs {
	border-top: 1px solid #af814b;
	border-bottom: 1px solid #af814b;
	padding: 10px;
	min-height: 20px;
	height: auto !important;
	height: 20px;
	margin: 0 0 20px 0;
}

/*--------------------------------------------------
-------------------- Header ------------------------
--------------------------------------------------*/

#logo {background: url(./images/logo.png) no-repeat; display: block; height: 65px; width: 600px; margin: 55px 0 0 80px; position: absolute;}

/*--------------------------------------------------
-------------------- Primary ------------------------
--------------------------------------------------*/

.tab {position: absolute; z-index: 2;}
.topleft {margin: -5px 0 0 15px;}
.topright {margin: -3px 0 0 545px;}
.bottomright {margin: 230px 0 0 547px;}
.bottomleft {margin: 228px 0 0 17px;}

/*--------------------------------------------------
-------------------- Secondary ---------------------
--------------------------------------------------*/

#login {
height: auto; width: 300px;
margin: 12px 0 0 290px;
position: absolute; 
}

#logout {
height: auto; width: 300px;
margin: 0 0 0 290px;
position: absolute;
}

.login_username {
	background: #ebe4b8;
	border: #dbd5ac 1px solid;
	color: #150000;
	margin: 0 5px 0 0;
	padding: 5px;
	width: 100px;
}

.login_password {
	background: #ebe4b8;
	border: #dbd5ac 1px solid;
	color: #150000;
	margin: 0 5px 0 0;
	padding: 5px;
	width: 100px;	
}

.login_submit {
	background: #530000;
	border: none;
	color: #f5f6de;
	cursor: pointer;
	padding: 5px;
	width: 50px;
}

#logout p {
	color: #150000;
	margin: 15px 0 0 20px;
	width: 280px;
}

#interest_button1 {background: url(./images/interest_button1.jpg); display: block; float: left; height: 90px; width: 195px;}
#interest_button2 {background: url(./images/interest_button2.jpg); display: block; float: left; height: 90px; width: 200px;}
#interest_button3 {background: url(./images/interest_button3.jpg); display: block; float: left; height: 90px; width: 195px;}

#tabs ul {list-style: none; padding: 0; margin: 0;}

/*---- Tabs Off State----*/
#tab1 {background: url(./images/news_tab_off.jpg); display: block; float: left; height: 50px; width: 100px;}
#tab2 {background: url(./images/events_tab_off.jpg); display: block; float: left; height: 50px; width: 100px; .margin: -18px 0 0 0;}
#tab3 {background: url(./images/blog_tab_off.jpg); display: block; float: left; height: 50px; width: 100px; .margin: -36px 0 0 0;}

/*---- Tabs Clicked State ---*/

#tabs ul li.active #tab1 {background: #eee url(./images/news_tab_over.jpg); height: 50px; width: 100px;}
#tabs ul li.active #tab2 {background: #eee url(./images/events_tab_over.jpg); height: 50px; width: 100px;}
#tabs ul li.active #tab3 {background: #eee url(./images/blog_tab_over.jpg); height: 50px; width: 100px;}

/*---- Tab Content Boxes ----*/

#tab-1, #tab-2, #tab-3 {background: url(./images/tab_area_content.jpg) no-repeat; height: 150px; width: 220px; margin: 90px 0 0 40px; .margin: 35px 0 0 40px; position: absolute;}

/*--------------------------------------------------
---------------   Recent News   --------------------
--------------------------------------------------*/
	
#announcement_list, #blog_list, #event_list {height: 150px; padding: 0; width: 220px;}

	#announcement_list li, #blog_list li, #event_list li {
	border-bottom: 1px solid #d0cfca;
	height: 29px;
	line-height: 160%;
	list-style: none;
	overflow: hidden;
}
	
	#announcement_list li:hover, #blog_list li:hover, #event_list li:hover {background: #d0cfca;}

	#announcement_list li a, #blog_list li a, #event_list li a {
	color: #150000;
	display: block;
	font-weight: normal;
	height: 29px;
	padding: 7px 0 7px 10px;
	position: absolute;
	width: 220px;
	text-decoration: none;
}

		#event_list li a, #blog_list li a {padding: 7px 0 7px 0;}
		#event_list .list_title, #blog_list .list_title {margin: 0 0 0 50px;}

.list_date3 {
	border-right: 1px solid #bbb;
	font-weight: bold; 
	margin: 0; 
	padding: 0 5px 0 0;
	position: absolute; 
}


/*--------------------------------------------------
------------------ footer ------------------------
--------------------------------------------------*/

#copyright {
	float: left;
	margin: 20px 0 0 20px;
}

#design_credit {
	float: right;
	margin: 20px 20px 0 0;
}

/*--------------------------------------------------
------------------ CSS MENU ------------------------
--------------------------------------------------*/

/* standard menu setup */
.menu, .menu ul {z-index:1999; cursor: pointer; list-style-type:none; padding:0px; margin:0px; text-align:left; display:block; position:relative;}
.menu {margin-left:15px;}
.menu li {float:left;}
.menu li:hover {position:relative;z-index:1999;}
.menu li:hover>ul {display:block; position:absolute;}
.menu ul li {clear:both; display:block;}

/* first level styling (".menu ul a" for vertical | ".menu a" for horizontal) */
.menu a {padding:0px 15px; display:block; margin:0px; text-decoration: none; font-weight: bold; font-size: 12px; color:#f5f6de;}
.menu a.first {border-left:0px;}
.menu a.firstsubitem {border-top:0px;}

/* first level vertical centering */
.menu .cssnavlevelone {height:50px; vertical-align:middle;}
img.cssnavlevelone {border:0px;}

/* submenu colors/style */
.menu li ul li a {
	padding: 5px 10px 5px; 
	background:#220d0a; 
	font-weight:normal; 
	width:150px; 
	font-size: 11px;	
}

/* first level sub menu container */
.menu li ul {display:none;}
/* 2nd level sub menu container (needs nothing if horizontal) */
.menu ul li ul {border-top:none; }
/* 3rd+ level sub menu container */
.menu li ul li ul {margin-left:120px; margin-top:-20px;}

/* first level rollovers */
#navbar li:hover>a {background: #220d0a; color: #c67629; cursor: pointer; display:block;}

/* submenu rollovers (if desired) */
#navbar li ul li:hover>a {cursor: pointer; display:block; background: #220d0a;}

/*---------- ie6 MAIN MENU hacks -----------*/
* html .menu {display:inline-block;}
* html .menu li a {display:block;float:left;}
* html .menu table a {border: 0px;}
* html .menu li ul {display:block;position:absolute;visibility:hidden;}

* html .menu iframe {position:absolute; left:-9999px; top:-9999px; border:0px; width:0px; height:0px; margin:0px; padding:0px; list-style:none;display:none;visibility:hidden;}

/* correct position issue */
* html .menu li a table {position:relative;left:-16px;top:-1px;}
* html .menu li a table li a table {position:relative;left:-12px;top:9px;}

/* correct table border issue */
* html .menu table {border-collapse:collapse;}

/* first level rollovers (".menu" for vertical | "#navbar" for horizontal) */
* html #navbar a:hover {background: #220d0a; color: #c67629;}

/* sub level rollovers (if desired) */
* html #navbar table a:hover {background:#220d0a;}
* html .menu li ul li a {font-size:8pt;}

/* enter as many levels as you wish to support */
* html .menu a:hover ul ul {visibility:hidden;}
* html .menu a:hover table table iframe {visibility:hidden;}
* html .menu a:hover ul a:hover ul ul {visibility:hidden;}
* html .menu a:hover ul ul a:hover table table iframe {visibility:hidden;}
* html .menu a:hover ul a:hover ul a:hover ul ul {visibility:hidden;}
* html .menu a:hover ul a:hover ul a:hover table table iframe {visibility:hidden;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover ul ul {visibility:hidden;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover table table iframe {visibility:hidden;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul ul {visibility:hidden;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover ul a:hover table table iframe {visibility:hidden;}
* html .menu a:hover ul a:hoverul a:hover ul a:hover ul a:hover ul a:hover ul ul {visibility:hidden;}
* html .menu a:hover ul a:hoverul a:hover ul a:hover ul a:hover ul a:hover table table iframe {visibility:hidden;}
* html .menu a:hover ul a:hover ul a:hoverul a:hover ul a:hover ul a:hover ul a:hover ul ul {visibility:hidden;}
* html .menu a:hover ul a:hover ul a:hoverul a:hover ul a:hover ul a:hover ul a:hover table table iframe {visibility:hidden;}

* html .menu a:hover ul {visibility:visible;z-index:2000;}
* html .menu a:hover table iframe {left:expression(this.nextSibling.offsetLeft);top:expression(this.nextSibling.offsetTop);width:expression(this.nextSibling.offsetWidth);height:expression(this.nextSibling.offsetHeight); filter:alpha(opacity=0);display:block;visibility:visible;}
* html .menu a:hover ul a:hover ul {visibility:visible;}
* html .menu a:hover ul a:hover table iframe {left:expression(this.nextSibling.offsetLeft);top:expression(this.nextSibling.offsetTop);width:expression(this.nextSibling.offsetWidth);height:expression(this.nextSibling.offsetHeight); filter:alpha(opacity=0);display:block;visibility:visible;}
* html .menu a:hover ul a:hover ul a:hover ul {visibility:visible;}
* html .menu a:hover ul a:hover ul a:hover table iframe {left:expression(this.nextSibling.offsetLeft);top:expression(this.nextSibling.offsetTop);width:expression(this.nextSibling.offsetWidth);height:expression(this.nextSibling.offsetHeight); filter:alpha(opacity=0);display:block;visibility:visible;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover ul {visibility:visible;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover table iframe {left:expression(this.nextSibling.offsetLeft);top:expression(this.nextSibling.offsetTop);width:expression(this.nextSibling.offsetWidth);height:expression(this.nextSibling.offsetHeight); filter:alpha(opacity=0);display:block;visibility:visible;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul {visibility:visible;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover ul a:hover table iframe {left:expression(this.nextSibling.offsetLeft);top:expression(this.nextSibling.offsetTop);width:expression(this.nextSibling.offsetWidth);height:expression(this.nextSibling.offsetHeight); filter:alpha(opacity=0);display:block;visibility:visible;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul {visibility:visible;}
* html .menu a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul a:hover table iframe {left:expression(this.nextSibling.offsetLeft);top:expression(this.nextSibling.offsetTop);width:expression(this.nextSibling.offsetWidth);height:expression(this.nextSibling.offsetHeight); filter:alpha(opacity=0);display:block;visibility:visible;}

/*--------------------------------------------------
------------------ Calendar ------------------------
--------------------------------------------------*/

/* ----------- CSS Tooltip ------------*/
a.tt {position:relative;}
a.tt span.tooltip {display: none;}
a.tt:hover span.tooltip {
    background:#150000;
    color:#f5f6de;
    display:block;
    padding:5px;
    position:absolute;
    text-align:left;
    top:15px; left:15px;
    width:200px;
    z-index:101;
}
/* ----------- JS Tooltip ------------*/
.boxoverbody {
    background: #150000;
	border: 2px solid #000;
    width: 200px;
    color:#f5f6de;
    font-size: .75em;
    display: inline-block;
    padding: 10px 15px 0 15px;
}

/* ----------- Mini Cal Styles ------------*/

#calendartable td a {display:block; height:25px; text-align:center;}
#calendartable td a:hover {background:#c67629; z-index:1}
#calendartable .emptyday a:hover {background:transparent;}

/* ----------- MAIN Cal Styles ------------*/

.CalOverTitle {font-weight:bold; color: #c67629;}

#maincal {display: block;}
#mainCal td {width: 14%; vertical-align: top; padding: 5px 10px; font-size: 12px;}

#mainCal .WeekendDay A, A.CalendarWeekendDayLink {color:#620b0b; line-height: 1em;}
#mainCal .WeekDay A, A.CalendarWeekDayLink {color: #620b0b; line-height: 1em;}
#mainCal .ToDay A, A.CalendarToDayLink {color: #f5f6de; line-height: 1em;}
#mainCal .ToDay A:HOVER, #mainCal .WeekDay A:HOVER, #mainCal .WeekendDay A:HOVER {z-index:1;}

img.caldot {border:0px; vertical-align: middle; padding-right: 2px;}
.calEventName {font-size: 11px; margin-bottom:3px;}
.calEventName:hover {text-decoration: underline;}

.CalendarDayOn {cursor: pointer; cursor: hand; background: #c67629;}

.ToDay {background: #c67629; opacity: .9; filter:alpha(Opacity=90);}
.WeekendDay {border: 1px solid #af814b;}
.WeekDay {border: 1px solid #af814b;}

.CalendarDayNumber, .CalendarCurrentDayNumber  {color: #150000; font-weight: bold;}

/*--------------------------------------------------
------------- Global App Styles --------------------
--------------------------------------------------*/

.ColumnHeader {color: #fff; background: #270a05; font-weight: bold; padding: 5px;}

.SmallNote {font-size: 80%;font-style:italic;}
.RequiredFieldLabel {font-weight:bold;}

.PicOff {border: 5px solid #fff; margin:5px;vertical-align:middle;}
.PicOn {border: 5px solid #285262;margin:5px;vertical-align:middle;}

/* ie6 hacks */

* html #recent_news li a {width: 210px;}
* html #announcement_list li a:hover, * html #blog_list li a:hover, * html #event_list li a:hover {text-decoration: underline;}

/*------ NEW FRONT END -------*/

#pagination a {padding:3px 5px;border:1px solid #af814b; line-height:2em; text-decoration:none; font-weight:bold;}
#pagination a:hover {background:#af814b; border:1px solid #af814b;}
#pagination .OnPageNumber {color:#150000;border:1px solid transparent;}

form {margin:0px;padding:0px;}
input, select {margin-bottom:5px; margin-right:5px;vertical-align:middle;}
 
table.contentTable, table.itemTable {width:100%;} 
.contentTable td, .itemTable td {border-bottom: 1px solid #af814b; text-align:left;}
.contentTable th {color:#150000; border-bottom: 2px solid #af814b; text-align:left; font-size:120%;}
.contentTable th strong, .itemTable th strong {font-size:100%;}
.contentTable th span {font-size:100%;font-weight:normal;}
.contentTable td, .contentTable th, .itemTable td, .itemTable th {padding:5px;}
.itemTable th {color:#150000;width:100px;border-bottom: 1px solid #af814b;text-align:right;font-size:120%;padding-right:20px;}
.tdcheckbox {width:75px;text-align:center;}
 
fieldset {
 border:1px solid #af814b;
 padding:0px;margin:20px 0;
}
fieldset div { padding:20px; }
fieldset legend { margin:0 0 0 20px; color:#150000; font-weight:bold; font-size: 120%; }

.submitbutton, .smallbutton, .smallselect, .smallinput {color:#222;border:1px solid #ccc;letter-spacing:0px;font-family:"trebuchet ms";font-size:12px;font-weight:bold;background:#fff url(/sr/images/buttonbg.jpg) repeat-x;margin:1px;
padding:0px 7px;overflow:visible;vertical-align:middle;}
.smallbutton, .smallselect, .smallinput {font-size:10px;font-weight:normal;padding:2px;text-transform:uppercase;}
.smallinput {background-image:none;}
.smallbutton, .submitbutton {cursor:pointer;}
.smallselect {border:none;}

.borderbox {padding:5px;border:1px solid #af814b;}
.iconlink {margin:0px 2px;display:inline;border:none;}

#editorbg>td {background:#fff;}
#editorbg td {color:#000;}

#help, .help {margin-bottom:10px;padding:10px;background:#ffffcc;border:2px solid #dddb54;color: #000;}
#help ol {margin-top:3px;margin-bottom:3px;}
#error, .error {background-color: #fbe3e4; border: 3px solid #FBC2C4; color: #BB0000;
font-size: 11px; margin-bottom: 20px; padding: 5px;}
#error ul, .error ul {margin:0px;margin-left:15px;padding:0px;}
#success, .success {margin-bottom:10px;padding:10px;background-color:#E6EFC2;border:2px solid #C6D880;color:#529214}

/*---------- COLOR LEGEND -----------*/
.FGColor1 {color:#285262;}               /* SAME AS a:link color */
.FGColor2 {color:#fff;}               /* SAME AS  a:hover color */
.BGColor1 {background-color:#2c3958;}    /* SAME AS .ColumnHeader background-color */
.BGColor1FG {color:#fff;}             /* SAME AS .ColumnHeader color */
.BGColor2 {background-color:#34548d;}    /* SAME AS .Today background-color */
.BGColor2FG {color:#fff;}             /* SAME AS a.CalendarToDayLink color */
.BGColor3 {background-color:#bbb;}    /* SAME AS .WeekDay background-color */
.BGColor3FG {color:#285262;}             /* SAME AS a.CalendarWeekDayLink color */
.BGColor4 {background-color:#999;}    /* SAME AS .WeekendDay background-color */
.BGColor4FG {color:#285262;}             /* SAME AS a.CalendarWeekendDayLink color */
.LineColor {color:#a8bfdf;}              /* SAME AS hr or .HRule color */
/*---------- COLOR LEGEND -----------*/

/*--------------------------------------------------
------------- Sliding Panel --------------------
--------------------------------------------------*/

/***** clearfix *****/
.clear {clear: both;height: 0;line-height: 0;}
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
.clearfix {height: 1%;}
.clearfix {display: block;}

/* sliding panel */
#toppanel {
    position: absolute;   /*Panel will overlap  content */
    position: relative;   /*Panel will "push" the content down */
    top: 0;
    width: 100%;
    z-index: 9999;
}

#panel {
	background: #000;
	border-bottom: 5px solid #e5e5e5;
	color: #fff;
	display: none;
	font-size: 12px;
	height: auto;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 9999;
}

#panel_content {width: 940px; height: 250px; margin: 20px auto;}

	#panel_content h2 {.margin-top: 10px; line-height: 1.2em;}
	#panel_content fieldset {border: 0;}
	#panel_content a {}

	#panel_module1 {
		background: #111;
		width: 260px; height: 75px;
		margin: 0 0 20px 0;
		padding: 0 20px 20px;
		position: absolute;
	}
	
		#panel_module1 ul, #panel_module1 li {display: inline; padding: 0;}
		#panel_module1 .iconlink {margin: 0 5px 0 0;}
		
	#panel_module2 {
		background: #111;
		width: 260px; height: 115px;
		margin: 115px 0 0 0;
		padding: 0 20px 20px;
		position: absolute;
	}	
	
		.sermon_title {
			border-top: 1px solid #333;
			border-bottom: 1px solid #333;
			font-style: italic;
			font-size: 18px;
			height: 18px;
			margin: 0 0 10px 0;
			overflow: hidden;
			padding: 10px 0;
			width: 260px;
			}
			
	#panel_module3 {
		background: #111;
		width: 260px; height: 230px;
		margin: 0 0 0 320px;
		padding: 0 20px 20px;
		position: absolute;
	}
	
		.site_search {width: 260px;}
		.site_search fieldset {border: none; margin: 0; padding: 0;}
		.search_field {width: 150px;}
		
		.login_username {}
		.login_password {margin-bottom: 0;}
		.login_submit {margin-bottom: 0;}
	
	#panel_module4 {
		background: #111;
		width: 260px; height: 230px;
		line-height: 1em;
		margin: 0 0 0 640px;
		padding: 0 20px 20px;
		position: absolute;
	}
	
		#panel_module4 p {line-height: 1.25em;}

/* Tab */

#toggle_bar {height: 30px; margin: 0 auto; width: 920px;}
#toggle {display: inline; float: right; height: 40px; width: 170px;}
#open {background: url(./images/panel_open.png) no-repeat; display: block; height: 40px; width: 170px;}
#close {background: url(./images/panel_close.png) no-repeat; display: block; height: 40px; width: 170px;}
