/* @override 
	http://www.somachurch.us/css/styles.css
	http://www.somachurch.us/css/styles.css
	http://soma.dev/css/styles.css
*/

/* Site: Soma Church Community 
blue #277bc3
burnt orange #ba973a
nav gray #f0f1f2
*/

* {
	margin: 0;
   	padding: 0;
   	outline: 0;
   	line-height: 1;
}

body {
	background: #d8dbde;
	font-size: 62.5%;
   	font-family: "lucida grande", "lucida sans unicode", Arial, Helvetica, Verdana, Tahoma, sans-serif;
}

hr {
	display: none;
}

#skip {
	position: absolute;
	text-indent: -999em;
	list-style: none;
}
input, textarea
{
	background: url(/images/bg_input.gif) no-repeat 0 0;
	border:0;
	padding: 0.2em 0.5em 0.2em;
	font-size: 1em;
	color: #b6b9bd;
	font-family: "lucida grande", "lucida sans unicode", Arial, Helvetica, Verdana, Tahoma, sans-serif;
}

#container{
	background: url(/images/bg_container.gif) no-repeat 5px 0;
	width: 830px;
	margin: 0 auto;
	position:relative;
}

a {
 /*  overflow: hidden;   -- causing cutoff upon display:block; */
}
#content a, #sidebar a, #footer a {
   text-decoration: underline;
}
#content a:hover, #sidebar a:hover, #footer a:hover {
   text-decoration: none;
}
/* =Header
---------------------------------------------------------------------
*/
#header
{
	position:relative;
	width: 770px;
	height: 110px;
	margin: 0 auto;
}
h1 a { 
	display:block; 
	height: 52px;
	width: 324px;
	background: url(/images/bg_h1.gif) no-repeat top left; 
	text-indent: -9999px;
	position:absolute; bottom:5px; left: 13px;
}
/* top bar */
#site_info
{ 
	width: 780px;
	position:absolute; top:12px; 
	font-size: 1.1em;
	color: #fff;
}
	
	p#address
	{
		float:left;
	}
	p#address a
	{
		color: #fff;
		text-decoration:underline;
	}
	/*
	p#login
	{
		text-align:right;
		float:right;
	}
	p#login a {
		color: #fff;
	}
	p#login a#email
	{
		text-decoration: underline;
		float:left;
	}
	p#login a#email:hover
	{
		text-decoration: none;
	}
	p#login a#login
	{
		position:relative; top: -3px;
		float:left;
		display:block;
		background: url(/images/bg_button_login.gif) no-repeat;
		text-transform: uppercase;
		padding: 5px 17px;
		margin: 0 4px;
		text-decoration: none;
	}
	p#login a#login:hover
	{
		text-decoration: underline;
	}
		
*/

#header-image {
	position: relative; 
	top: 0px; 
	left: -20px;	
	z-index: 90;
	width: 528px;
	overflow: hidden;
}

#header-image img {
	border: 0;;
}

a#newHere
{
	display:block;
	position:absolute; top: 105px; right: -50px;
	background: url(/images/bg_new_here.png) no-repeat; 
	text-indent: -999em;
	height: 91px;
	width: 91px;
	z-index: 100;
}

/* =Navigation
---------------------------------------------------------------------
*/
#navigation
{
	font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
	position:absolute; bottom:-7px; right:5px;
	background: url(/images/bg_nav_r.gif) no-repeat right top;
width: 40em;
}
#nav {
	list-style: none; 
	padding: 0 17px;
	float:right;
	background: url(/images/bg_nav_l.gif) no-repeat left top;
}

	#nav li{
		float: left;
	}

	#nav li a {
		display: block;
		background: #f0f1f2 url(/images/bg_nav_a.gif) repeat-x left bottom;
		color: #277bc3; 
		text-decoration: none;
		padding: 7px 8px 8px;
		margin-left: 1px;
		font-size: 1.3em;
		text-transform:lowercase;
	}
	#nav li a:hover {
		background: #277bc3 url(/images/bg_nav_h.gif) repeat-x left bottom;
		color: #f0f1f2; 
	}

		#nav li ul{
			position: absolute;
			left: -999em;
			z-index: 999;
			width: 100px; /* Needs to be same as other 150px value */
			list-style: none;
			line-height: 1;
		}

		#nav li li{
			font-size: 0.9em;
		}

			#nav li ul ul{
				margin: -30px 0 0 115px; /* the -25px and 150px need to be adjusted until the sub-sub-menu sits in the right place */
			}

	#nav li:hover ul ul,
	#nav li.sfhover ul ul{
		left: -999em;
	}

	#nav li:hover ul,
	#nav li li:hover ul,
	#nav li.sfhover ul,
	#nav li li.sfhover ul{
		left: auto;
	}

			#nav li li li{
				font-size: 1em;
			}

		#nav li li a {
			width: 100px; /* Needs to be same as other 150px value, less any padding or margin */
			background: #eee;
			color: #030303;
		}

/* =Container-Inner
---------------------------------------------------------------------
*/



/* =Content-Wrap
---------------------------------------------------------------------
*/



/* =Content
---------------------------------------------------------------------
*/
#container-inner
{                   
	float:left;        
	width: 834px;
	background: url(/images/bg_container-inner.gif) repeat-y 0 0;
}
#content-wrap
{             
	float:left;        
	width: 830px;                   
	background: url(/images/bg_content-wrap.gif) no-repeat 0 0;
}

#content{
	background: url(/images/bg_content.gif) no-repeat right top;
	width: 490px;
	padding: 0 20px 50px;
	float:right;
	display:inline;
	margin: 20px 20px 0 0;
}

#content blockquote{
   margin-left: 50px;
}

h3 {
	margin: 30px 0 0 0;
	font-size: 1.7em;
	font-weight: normal;
	color: #277bc3;
	text-transform:lowercase;
}

h4, h5, h6 
{
	margin: 20px 0 0 0;
	text-transform:uppercase;
	font-size: 1.2em;
	color: #ba973a;
}

#content a {
	color: #277bc3;
}
#content p, #content ul, #content ol, #content td {
	margin: 20px 0 0 0;
   color: #030303;
   font-size: 1.2em;
   line-height: 1.5;
}

#content ul,
#content ol{
   margin-left: 3em;
}

#content ul#byline{
   display: inline; /* IE6 double margin float bug hack */
   float: left;
   margin-bottom: 30px;
   font-size: 1.1em;
   list-style: none;
}

#content li{
   line-height: 1.5;
}

#content p *,
#content li *{
   font-size: 1em;
}

#content hr{
   display: block;
   margin-bottom: 1em;
}


#content img{
   float: left;
   margin: 0 10px 5px 0;
	padding: 2px;
	border: 1px solid #dcdbd2;
}

#content img#mcms_stats{
   display: none;
}

#content #text{
   clear: both;
   margin-bottom: 20px;
}

#content .sermonbox{
   margin-bottom: 20px;
   width: 490px;
   float: left;
}

#content .sermonbox h4{
   margin-bottom: 5px;
}

#content .sermonbox p{
   padding: 0;
   margin: 0;
}

#content .sermonbox p.sermonlink{
   margin-top: 10px;
}

#content .sermonbox p.eventtime{
   margin-bottom: 0;
}

#content #mediabox{
   float: right;
   width: 125px;
   padding: 5px 5px 0;
   border: 1px solid #d5d5d5;
   font-size: 1.1em;
   list-style: none;
   margin-bottom: 30px;
}

#content #mediabox li{
   margin-bottom: 5px;
   font-weight: bold;
}

#content #mediabox li a{
   display: block;
   height: 16px;
   padding-left: 20px;
   background-repeat: no-repeat;
}

#content #mediabox li#mb_print a{
   background-image: url(/images/mb_print.gif);
}

#content #mediabox li#mb_video a{
   background-image: url(/images/bg_sermonlist_video.gif);
}

#content #mediabox li#mb_download a{
   background-image: url(/images/bg_sermonlist_download.gif);
}

#content #mediabox li#mb_notes a{
   background-image: url(/images/bg_sermonlist_download-notes.gif);
}

#content #mediabox li#mb_jukebox a{
   background-image: url(/images/bg_sermonlist_listen.gif);
}

#content #mediabox li#mb_podcast a{
   background-image: url(/images/bg_sermonlist_rss.gif);
}


/* =Sidebar
---------------------------------------------------------------------
*/
#sidebar
{
	width: 220px;
	margin: 20px 0 0 25px;
	float:left;
	font-size: 1.1em;
	display:inline;
}
#sidebar a {
   text-decoration: none;
   color: #030303;
}
#sidebar a:hover {
   text-decoration: underline;
}
#sidebar h3 
{
	margin: 0 0 20px;
	font-size: 1.6em;
}
#sidebar h4 
{
	margin: 10px 0 5px;
	font-size: 1.1em;
}
/* podcast */
#sidebar .podcast
{
	position: relative;
	background: url(/images/bg_podcast.gif) no-repeat;
	height: 100px;
	width: 212px;
}
	#sidebar .podcast h3
	{
		position: absolute; top: 17px; left: 45px;
		margin:0;
		font-weight: bold;
		text-transform:capitalize;
		font-size: 1.4em;
		color: #277bc3;
	}
	#sidebar .podcast p.subscribe
	{
		position: absolute; top: 42px; left: 52px;
		font-size: 1.1em;
		text-transform:lowercase;
	}
	#sidebar .podcast p.subscribe a
	{ 
		margin: 0 3px;
		text-decoration: underline;
	}
	#sidebar .podcast p.gotoaudio
	{
		position: absolute; top: 68px; left: 20px;
		font-size: 1.1em;
		background: #f8f8f8;
		padding: 10px 40px 10px 25px;
	}
	#sidebar .podcast p.gotoaudio a
	{
		text-transform:uppercase;
		background: url(/images/bg_arrow.gif) no-repeat left center;
		padding: 0 0 2px 9px;
		color: #277bc3;
		text-decoration: underline;
	}
	#sidebar .podcast p.gotoaudio a:hover,
	#sidebar .podcast p.subscribe a:hover
	{          
		text-decoration: none;
	}
/* events */
#events
{
	background: #f8f8f8;
	padding: 10px;
	margin: 20px 0;
}
/* latest articles */
#sidebar #latestArticles
{
	background: #f8f8f8;
	padding: 10px;
	margin: 20px 0;
}
	#sidebar #latestArticles h4
	{
		color: #030303;
		font-weight:normal;
		font-size: 0.95em;	
	}
	#sidebar #latestArticles h4 a
	{
		float:left;
		font-weight:bold;
		text-decoration:none;
		margin:0 0.5em 0 0;
		font-size: 1.2em;
		color: #ba973a;
	}
	#sidebar #latestArticles h4 a:hover
	{
		text-decoration:underline;
	}
	#sidebar #latestArticles p.date
	{
		font-size: 1.1em;
	}
	#sidebar #latestArticles p.author
	{
		clear:left;
		margin: 0.5em 0 1em;
	}

/* sidebar forms */
#sidebar form
{
	margin: 20px 0;
}
	fieldset
	{
		border:0;
	}
	/* search form */
	#sidebar form#searchForm
	{
		background: url(/images/bg_search.gif) no-repeat;
		padding: 0.65em 0 0 0.8em;
		margin:0;
	}
		#sidebar h3.search
		{
			position:relative; top: 2px; left: 5px;
			font-size: 1.6em;
			color: #d8dbde;
			margin:0;
			text-transform:lowercase;
			font-weight:bold;
		}
		#sidebar form#searchForm input
		{ 
			float:left;
			width: 13.5em;
		}
		#sidebar a#search_go
		{
			background: url(/images/bg_button_search.gif) no-repeat;
			padding: 10px;
			position:relative; 
				top:0.1em; 
				left: 15em; /* width of input + 1.5em */
				/left: 0.7em;
			display:block;
			text-indent: -999em;
			width: 2.5em;
		}		
		
	form#newsletter
	{
		margin:0 0 0 0.8em;
	}
		#sidebar h3.eletter
		{
			font-size: 1.1em;
			margin: 2em 0 0.3em 1.1em;
			text-transform:lowercase;
			font-weight:bold;
		}
		form#newsletter input
		{
			width: 115px;
		}
		form#newsletter input#newsletter_submit
		{
			background: url(/images/bg_button_submit.gif) no-repeat center center;
			padding: 0.4em;
			text-align:center;
			border:0;
			width: 55px;
			color: #fff;
			font-size: 1em;
			text-transform:uppercase;
			font-family: "lucida grande", "lucida sans unicode", Arial, Helvetica, Verdana, Tahoma, sans-serif;
		}

/* =Footer
---------------------------------------------------------------------
*/

#footer		{ clear: both; background: url(/images/bg_footer.gif) no-repeat -1px 0; padding: 50px; /padding: 25px 50px 50px; }
p.credit	{ float:left;  width: 40%; }
p.powered	{ float:right;  text-align:right; width: 40%; }


#home #search			{ width:202px; height:34px; background:url(/images/footer_bg_search.gif) no-repeat left bottom; float:left; padding:0; position: relative; }
#home #search h3{
   margin: 0;
   position:absolute; 
   top: -14px; left: 5px;
   font-size: 1.6em;
   color: #B7BBC0;
   margin:0;
   text-transform:lowercase;
   font-weight:bold;
}
#home #footer form 		{ background:none; padding:0; position:relative; }
#home #footer fieldset	{ padding:0; margin:0; }
#home #footer input		{ position:absolute; top:6px; left:4px; padding:4px; width:90%}
#footer form a			{ 
						  background:url(/images/bg_button_search.gif) no-repeat; display:block; width:17px; height:17px; text-indent:-9999px; 
						  position:absolute; top:8px; right:-20px;
						}



/* =HOME PAGE
---------------------------------------------------------------------
*/
body#home #container-inner
{                   
	float:left;
	background: url(/images/bg_container-inner_home.gif) repeat-y 1px 0;
}
body#home #content-wrap
{             
	float:left;
	background: url(/images/bg_content-wrap_home.gif) no-repeat 1px -3px;
}
body#home #content 
{
	width: 355px;
	padding:0;
	margin-right: 3em;
}
body#home #sidebar 
{
	width: 355px;
},
#sidebar p
{
	line-height: 1.5;
}
/* upcoming events */
body#home #events 
{
	background: transparent;
	padding:0;
	margin:0 0 2em 2.2em;
}
	body#home #events h3
	{
		margin-left:0;
	}
	body#home #events h4 a
	{
		font-size: 1em;
		color: #ba973a;
		text-decoration:none;
	}
	body#home #events h4 a:hover
	{
		text-decoration:underline;
	}
	body#home #events p 
	{ 
		margin: 0.1em 0;
		font-size: 1.1em;
	}
	body#home #events p.more
	{ 
		display:block;
		text-align:right; 
		width: 330px;
	}
	/* calendar icon in h3 */
	body#home #events h3 img
	{ 
		border:0;
		float:none;
		display:inline;
		position:relative; top: 9px; 
	}
	#events h3 img,
	#latestArticles h3 img{	
		border:0;
		float:none;
		display:inline;
		position:relative; top: 2px; 
		}

/* QUICKLINKS */
#quicklinks
{
	background: url(/images/bg_home_h2.gif) repeat-x;
	height: 150px;
	padding-top: 1px;
}
	#quicklinks ul
	{
		float:left;
		list-style:none;
		margin:0 0 0 1em;
		text-align:center;
	}
	#quicklinks ul li
	{
		float:left;
		display:block;
		text-align:center;
		margin:0;
	}	
	#quicklinks ul li img
	{
		float:none;
		margin: 0.2em;
		display:block;
		clear:both;
		width: 72px; height: 66px;
	}
	#quicklinks ul li a
	{
		color: #808285;
		text-decoration:none;
	}
	#quicklinks ul li a:hover
	{
		color: #277bc3;
	}
	#quicklinks ul li a:hover img
	{
		border: 1px solid #277bc3;
	}
/* series */
#series 
{
	background: url(/images/bg_home_h2.gif) repeat-x;
	margin: 1em 0 0;
	padding-top: 1px;
}
	#series img
	{
		float:none;
		margin: 0.5em auto 0.5em;
		display:block;
		max-width: 258px;
	}
	#series p
	{
		margin:0 0 0 2.4em;
		font-size: 1.1em;
	}
	#series h4{
		text-align: center;
	}


body#home #series h3, body#home #quicklinks h3
{
	margin:1em 0 0.4em 1.7em; 
	padding:0;
}

/* =SIDEBAR HOME
------------------------------------------------------ */
/* graphic and directions link */
body#home #directions
{
		background: url(/images/bg_home_directions.png) no-repeat;
	position:relative; z-index: 100;
	height: 400px;
	width: 355px;
	margin: 1em 0 0 1em;
}
	img#mainGraphic
	{
		
	}
	p.directions
	{
		text-align:center;
		position: absolute; top: 360px; left: 0; z-index: 200;
		display:block; height:39px; line-height:39px;
		font-size: 1em;
		width: 355px;
		overflow:hidden;
		background:#000; opacity:.7;
		filter:alpha(opacity=70);
	}
	#sidebar a.directions
	{
		position:relative; z-index: 300;
		color: #fff;
		text-align:center;
		text-decoration:none;
		width: 365px;
		padding: 1px 25px 1px 0;
	}
	
	#sidebar a.directions:hover
	{
		text-decoration:underline;
	}
	
	
/* Blog */
body#home #latestNews
{
	margin:3em 1em 0 1em;
	border-top: 1px solid #cfd1d3;
	padding: 0.3em 0 0;
	width: 355px;
}
	body#home #latestNews h3
	{
		margin: 0.5em 0 0.8em;
		float:left;
	}
	body#home #latestNews a.rss
	{
		background: url(/images/bg_rss.gif) no-repeat right center; 
		display:block; 
		float:right;
		margin: 1.1em 0 0 1.1em;
		padding: 2px 17px 2px 0;
		font-weight:bold;
		font-size: 0.95em;
		color: #bb5306;
	}
	body#home #latestNews h3 span
	{
		display:block; 
		float:left;
	}
	body#home #latestNews h4
	{
		margin: 1em 0 0.3em;
		clear:left;
		text-transform: capitalize;
		font-size: 1em;
	}
	body#home #latestNews p
	{
		line-height: 1.5;
	}
	body#home #latestNews a.read-more 
	{
	 text-align:right;
	 display:block;
	 width: 350px;
	 margin-top: 20px;
	}
	
	#blog #text{
   padding-top: 20px;
}
	
	#blog #pagination {
	float: right;
	margin-top: 0px;
	background: url(/images/bg_latest-sermon.png);
	padding: 7px 10px 3px 14px;
}

#blog #pagination span.page {
	display: inline-block;
	float: left;
	position: relative; top:6px;
	font-size: 13px;
	color: #1f1f1f;
	padding-right: 10px;
	line-height: 1.2;
}

#blog #pagination p {
	display: inline-block;
	position: relative;
	font-size: 13px;
	padding-right: 50px;
    background: url(/images/bg_blog_pagination.png) no-repeat right 4px;
    margin: 0;
    line-height: 1;
}

#blog #pagination p a {
	color: #2168a3;
	display: inline-block;
	width: 16px;
	height: 24px;
	line-height: 1.6;
	padding: 3px 1px 0 8px;
}

#blog #pagination a.current {
	background: url(/images/bg_blog_pagination_a_current.png) no-repeat 0 0;
	color: #5a5956;
	font-weight: bold;
	text-decoration: none;
}

#blog #pagination a.next, 
#blog #pagination a.previous {
	width: 21px;
	height: 20px;
	display: block;
	text-indent: -999em;
	padding: 0;
}

#blog #pagination a.next {
	position: absolute;
	right: 0;
	top: 4px;
    background: url(/images/bg_pagination_next.png) no-repeat;
}

#blog #pagination a.previous {
	position: absolute;
	right: 21px;
	top: 4px;
	background: url(/images/bg_pagination_prev.png) no-repeat;
}

#blog #pagination a.next:hover,
#blog #pagination a.previous:hover{
   background-position: 0 -20px;
}

#blog #pagination a.next.off,
#blog #pagination a.previous.off{
   background: none;
}

#comments {
	padding: 3em 0;
	background: #f9f9f9;
	border: 1px solid #e6e6e6;
}

#comments .comment {
	padding: 10px;
}

#comments .alt {
	background: #efefef;
}

#post-comment-form {
	width: 450px;
	margin: 5em 0;
	padding: 15px;
	background: #ebf3f6;
	border: 1px solid #d1dfe5;
}

#blog #post-comment-form h3 {
	margin: 0 0 20px;
	border: 0;
	padding: 0;
	font-size: 17px;
	color: #343d43;
}

#post-comment-form label {
	display: inline-block;
	width: 88px;
	font-size: 13px;
	color: #5e6265;
	font-weight: bold;
	vertical-align: top;
	padding-top: 8px;
}

#post-comment-form input,
#post-comment-form textarea {
	width: 360px;
	height: 21px;
	padding: 4px;
	border: 1px solid #ddd;
	margin-bottom: 8px;
	vertical-align: middle;
}

#post-comment-form textarea {
	height: 100px;
}

#post-comment-form input.submit {
	width: auto;
	height: auto;
	clear: both;
	float: none;
	border: auto;
	background: #30902b;
	color: #fff;
	margin-left: 8px;
	padding: 5px;
	font-size: 1.2em;
}



/* newsetter */
body#home #eletter
{
	position:absolute; bottom: 44px; left: 43px;
	/bottom: 48px;
	/left: 34px;
}
		body#home h3.eletter
		{
			font-size: 1.1em;
			margin: 2em 0 0.3em 1em;
			/margin: 2em 0 0.3em 1.5em;
			text-transform:lowercase;
			font-weight:bold;
		}
		body#home #eletter
		{
			text-align:left;
		}

/* body footer */
body#home #footer{
	clear: both;
   padding: 60px 50px 50px 50px;
   /padding: 30px 50px 50px 45px;
	text-align:right;
}
	body#home p.credit
	{	
		float:none; 
		width: 100%;
		margin-bottom: 0.5em;
	}
	body#home p.powered
	{
		float:none; 
		width: 100%;
	}
body#home h3
{
	margin: 1.2em 1.2em 0.2em;
}



















/* =CALENDAR
---------------------------------------------------------- */
#content table.calendar{
	background: #f5f3dc;
   margin-bottom: 25px;
   border: 1px solid #fff;
   border-right: 0;
   border-bottom: 0;
   border-collapse: collapse;
}

#content table.calendar caption{
   padding-bottom: 10px;
   font-size: 1.4em;
   color: #277bc3;
   font-weight:bold;
}

#content table.calendar caption span{
   color: #ba973a;
}

#content table.calendar th{
	background: #9f9f9f url(../images/bg_thead.gif) repeat-x;
   padding: 5px 0;
   font-size: 1.3em;
   color: #fff;
   font-weight: normal;
}

#content table.calendar td{
   width: 68px;
   height: 68px;
   padding: 2px;
   border: 1px solid #fff;
   color: #9f9f9f;
   border-left: 0;
   border-top: 0;
   font-size: 1em;
   vertical-align: top;
}

#content table.calendar td.empty{
}

#content table.calendar td a{
   text-decoration: none;
}

#content table.calendar td ul{
   margin: .5em 0 0 .5em;
   font-size: 100%;
   list-style: none;
}

#content table.calendar td li{
   margin-bottom: .75em;
   font-size: 1.1em;
   line-height: 1.2;
}

#content table.calendar td li a{
   text-decoration: underline;
}

#content table.calendar td li a:hover{
   text-decoration: none;
}

#cobblestone a {
	display: block;
	width: 125px;
	height: 22px;
	background: url(../images/cb.gif) no-repeat;
	text-indent: -9999px;
	margin: 0px 0 0 285px;
}

body#home #cobblestone a {
	margin: -20px 0 0 265px;
}

#cobblestone a:hover {
	opacity: .75;
}