/* for any image replacements; just apply padding-top and height for the image replaced element. */
.ir {
	height/**/:/**/0!important;
	overflow: hidden;
	display: block;
	padding:0; margin:0;
}

/* for any navigation elements */
.nav, .nav ul, .nav dd {
	list-style: none;
	margin: 0; padding: 0;
}

.nav dd {position:relative; z-index:1;}

/* for accessibility elements */
.acc, .nav dt {
	overflow: hidden;
	display: block;
	height: 0; width: 0;
	visibility: hidden;
	position: absolute;
}


/* =LAYOUT
********************************/




body {
	background:url(/!images/mp/2bc_main_background.jpg);	
}

#masthead {width: 856px; position: relative; margin: 0 auto;}

#app, .app
{
	background:url(/!images/mp/2bc_main_content_tile.jpg);
	width:856px;
	margin:0 auto;
}

#top_bar{background:url(/!images/mp/2bc_main_top_edge.jpg) no-repeat; width:856px; height:36px;}
#left_hdr{width:599px; float:left;}
#right_hdr{width:257px; float:right;}

#topnav{background:url(/!images/mp/2bc_main_top_links_rollover.jpg); width:599px; height:32px;}
#mpflash{background:url(/!images/mp/flash/2bc_main_photo_01.jpg); width:599px; height:299px;}

#logo h1{background:url(/!images/mp/2bc_main_logo.jpg); width:257px; height:0px; overflow:hidden; padding-top:123px; margin:0;}
#sidenav{background:url(/!images/mp/2bc_main_nav_rollover.jpg); width:257px; height:208px;}

#content{padding:0 47px 0 45px; clear:both;}

#weekly_sched {background:url(/!images/mp/2bc_main_weekly_schedule.jpg); width:599px; height:52px; float:left;}
#news_header a{background:url(/!images/mp/2bc_int_2bcnews.gif); width:257px; padding-top:58px; float:right;}
#calendar_header a{background:url(/!images/mp/2bc_int_calendar_header.gif); width:257px; padding-top:58px; float:right;}
#sidebar {width:210px; float:right; height:100%;}
#calendar_content{height:100%; width:100%;}
#main{ width:469px; padding: 10px 15px 0 20px; clear:left; float:left;}

#contentfooter {text-align:center;}

#footer_logo {background:url(/!images/mp/2bc_main_footer_logo.gif); width:143px; height:53px; margin:0 auto; margin-top:30px;}

#footer{background:url(/!images/mp/2bc_main_footer_cap.jpg) no-repeat; width:856px; height:79px; clear:both;}

/* = INTERIOR
********************************************/

.app {background:url(/!images/int/2bc_int_content_tile.jpg);}
.interior #left_hdr{width:257px; float:left;}
.interior #right_hdr{width:599px; float:right;}

.interior #logo h1{background:url(/!images/int/2bc_int_logo.jpg); width:257px; height:0px; overflow:hidden; padding-top:142px; margin:0; cursor:hand;}

.interior #topnav{background:url(/!images/int/2bc_int_top_links_rollover.jpg) no-repeat; width:597px; height:32px; padding:0; float:right;}
#sub_img {background:url(/!images/subheads/2bc_int_subhead_sitemap.jpg); width:597px; padding-top:210px; float:right;}

.worship #sub_img{background:url(/!images/subheads/2bc_int_subhead_worship.jpg);}
.discipleship #sub_img{background:url(/!images/subheads/2bc_int_subhead_discipleship.jpg);}
.community #sub_img{background:url(/!images/subheads/2bc_int_subhead_community.jpg);}
.community #sub_img.restore{background:url(/!images/subheads/2bc_int_subhead_community_restore2.jpg);}
.mission #sub_img{background:url(/!images/subheads/2bc_int_subhead_mission.jpg);}
.welcome #sub_img{background:url(/!images/subheads/2bc_int_subhead_welcomevisitors2.jpg);}
.welcome #sub_img.where_weve_been{background:url(/!images/subheads/2bc_int_subhead_welcomevisitors3.jpg);}
.album #sub_img{background:url(/!images/subheads/2bc_int_subhead_photo_album.jpg);}
.staff #sub_img{background:url(/!images/subheads/2bc_int_subhead_meet_our_staff.jpg);}
.directions #sub_img{background:url(/!images/subheads/2bc_int_subhead_directions2.jpg);}
.kidz #sub_img{background:url(/!images/subheads/2bc_int_subhead_2bc_kidz.jpg);}
.student #sub_img{background:url(/!images/subheads/2bc_int_subhead_student_ministry.jpg);}
.partners #sub_img{background:url(/!images/subheads/2bc_int_subhead_ministrypartners.jpg);}
.contact #sub_img{background:url(/!images/subheads/2bc_int_subhead_contact_us.jpg);}
.calendar #sub_img{background:url(/!images/subheads/2bc_int_subhead_calendar.jpg);}
.sitemap #sub_img{background:url(/!images/subheads/2bc_int_subhead_sitemap.jpg);}
.resources #sub_img{background:url(/!images/subheads/sbc_int_subhead_resource_2.jpg);}
.habitat #sub_img{background:url(/!images/subheads/2bc_int_subhead_h4h.jpg);}
.news #sub_img{background:url(/!images/subheads/2bc_int_subhead_2bcnews.jpg);}


.worship h1, .worship h2, .worship h3 {color:#3e661f;}
.discipleship h1, .discipleship h2, .discipleship h3 {color:#a07c30;}
.community h1, .community h2, .community h3 {color:#963b26;}
.mission h1, .mission h2, .mission h3 {color:#2e5574;}
.partners h1, .partners h2, .partners h3 {color:#2e5574;}


.interior #sidebar {width:212px; float:left; height:100%; position:relative; top:-100px;}
.interior #sidenav{background:url(/!images/int/2bc_int_left_nav_rollover.jpg) no-repeat -45px 0; width:212px; height:230px;}
.interior #news_header a {background:url(/!images/int/2bc_int_2bcnews.gif) no-repeat -45px 0; width:212px; height:58px; float:left; clear:left;}
.interior #calendar_header a {background:url(/!images/int/2bc_int_calendar_header.gif) no-repeat -45px 0; width:212px; height:58px; float:left; clear:left;}
.interior #calendar_content{height:100%; width:100%; clear:left;}
.interior #content {}
.interior #main{ width:550px; padding:0; float:right; position:relative}
.interior .content { padding: 10px 50px 0 20px;}
.interior #contentfooter{ width:480px; float:right; padding:30px 35px 15px;}
.interior .footernav a {white-space:nowrap;}

.sub_subnav {font-size:.75em;}
#subnav a.AT {font-weight:bold;}


/********************************************************
* MAIN NAV AND DROPDOWNS                                *
********************************************************/

/**************************
* TOP NAV                 *
**************************/
.home #topnav dl {padding-left:45px;}
#topnav dd {float:left; }

#topnav a.ir
{
	background:url(/!images/mp/2bc_main_top_links_static.jpg) no-repeat;
	padding-top:32px;
	width:138px;
}

.interior #topnav a.ir{background:url(/!images/int/2bc_int_top_links_static.jpg) no-repeat;}


#topnav dd#worship a.ir{ background-position:-45px 0px; }
#topnav dd#discipleship a.ir{ background-position:-183px 0px; }
#topnav dd#community a.ir{ background-position:-321px 0px; }
#topnav dd#mission a.ir{ background-position:-459px 0px; }

.interior #topnav dd#worship a.ir{background-position:0px 0px; }
.interior #topnav dd#discipleship a.ir{background-position:-138px 0px; }
.interior #topnav dd#community a.ir{background-position:-276px 0px; }
.interior #topnav dd#mission a.ir{background-position:-414px 0px; }

#topnav a.ir:hover, #topnav .AT a.ir {background:transparent none;}

/**************************
* SIDE NAV                *
**************************/

#sidenav a.ir
{
	background:url(/!images/mp/2bc_main_nav_static.jpg) no-repeat;
	padding-top:22px;
	width:210px;
}

#sidenav dd#welcome a.ir{background-position:0 0;}
#sidenav dd#album a.ir{background-position:0 -22px;}
#sidenav dd#staff a.ir{background-position:0 -44px;}
#sidenav dd#directions a.ir{background-position:0 -66px;}
#sidenav dd#kidz a.ir{background-position:0 -88px;}
#sidenav dd#student a.ir{background-position:0 -110px;}
#sidenav dd#partners a.ir{background-position:0 -132px;}
#sidenav dd#resources a.ir{background-position:0 -154px;}
#sidenav dd#contact a.ir{background-position:0 -176px;}

.interior #sidenav a.ir{background:url(/!images/int/2bc_int_left_nav_static.jpg) no-repeat;}

.interior #sidenav dd#home a.ir{background-position:-45px 0;}
.interior #sidenav dd#welcome a.ir{background-position:-45px -22px;}
.interior #sidenav dd#album a.ir{background-position:-45px -44px;}
.interior #sidenav dd#staff a.ir{background-position:-45px -66px;}
.interior #sidenav dd#directions a.ir{background-position:-45px -88px;}
.interior #sidenav dd#kidz a.ir{background-position:-45px -110px;}
.interior #sidenav dd#student a.ir{background-position:-45px -132px;}
.interior #sidenav dd#partners a.ir{background-position:-45px -154px;}
.interior #sidenav dd#resources a.ir{background-position:-45px -176px;}
.interior #sidenav dd#contact a.ir{background-position:-45px -198px;}

#sidenav a.ir:hover, #sidenav .AT a.ir {background:transparent none;}

/* Dropdowns and flyouts
*********************************/

.nav ul
{
	opacity: .9;
	filter: alpha(opacity:90);
	float:left;
	padding: 0;
	margin: 0;
	list-style:none;
	z-index:2;
	position:absolute;
	background-color:#36678d;
	display:none;
}

.home #topnav dd#worship ul {left:1px;}
.home #topnav dd#worship ul a {width:137px;}

.interior #topnav dd#mission ul {right:1px;}
.interior #topnav dd#mission ul a {width:137px;}

.nav ul a {display:inline-block;}

.nav ul a
{	
	font-size:smaller;
	display:block;
	padding:.5em 0;
	color:#ffffff !important;
	font-weight:bold;
	text-decoration:none;
	border-bottom:2px solid white;
	text-align:center;
	width:138px;
}

#sidenav ul a
{
	font-size:small;
	width:210px;	
}

.home #sidenav ul {border:2px solid white; border-right:0;}
.home #sidenav ul a {	border-right:2px solid white; border-bottom:0; text-align:right; padding-right:25px; width:185px;}
.interior #sidenav ul {border:2px solid white; border-left:0;}
.interior #sidenav ul a { border:0;	border-left:2px solid white; text-align:left; padding-left:25px; width: 185px;}

.nav ul a:hover {text-decoration:underline;}

.nav li {background-color:#36678d; width:inherit;}

#topnav dd#worship li{background-color:#3d661e;}
#topnav dd#discipleship li{background-color:#97762d; }
#topnav dd#community li{background-color:#953b25; }
#topnav dd#mission li{background-color:#2d5573; }


.nav ul li 
{	
	float: none;
}

.nav li ul {
position: absolute;
display:none;
}

.nav li.active li ul {
display:block;
}

.nav dd.active {z-index:10;}

.nav dd.active ul.menu { display:block;}

.home #sidenav dd.active ul.menu {display:block; left:-214px; top:0px;}
.interior #sidenav dd.active ul.menu {display:block; right:-214px; top:0px;}
*html .interior #sidenav dd.active ul.menu {display:block; right:-215px; top:0px;}

#registerform th {font-size:1.2em;}
#registerform dt {font-weight:bold;}

.newsimage { padding-left:10px; padding-bottom:10px; }