/* @override 
	http://covinaaog.cpmpreview.com/css/styles.css
*/

/*=============================================
SITE: 		Covina Assembly of God: Covina, CA
FILE: 		styles.css - main CSS styles for site
CREATED: 	12/1/2009
MODIFIED: 	
AUTHOR: 	Ben Otero (ben@churchplantmedia.com)
			Luke Simpson (luke@churchplantmedia.com)
===============================================*/

/* @group GLOBAL */

html {
	height: 100%;
}

body {
	background: #2f261d url(/images/body_bg.gif) repeat-x;
	margin: 0;
	padding: 0;
	font-size: 62.5%;
	font-family: "Lucida Grande", arial, helvetica, sans-serif;
	color: #4b4b47;
	height: 100%;
}

hr {
	display: none;
}

#skip {
	position: absolute;
	text-indent: -9999px;
	list-style: none;
	overflow-x: hidden;
}

#container {
	margin: 0 auto;
	width: 888px;
	position: relative;
	min-height: 70%;
}

* html #container {
	height: 60%;
}

#mainContent {
	position: relative;
	clear: both;
}

.column {
	float: left;
	display: inline;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	display: inline-block;
}

fieldset {
	border: none;
}

/* Hides from IE-mac \*/

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

/* End hide from IE-mac */

/* @end */

/* @group HEADER */

#header-wrap {
	background: url(/images/header_bg.jpg) no-repeat center top;
}

#header {
	position: relative;
	width: 888px;
	height: 147px;
	margin: 0 auto;
}

#header h1,
#header h1 a {
	display: block;
	width: 352px;
	height: 69px;
}

#header h1 {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 41px;
	left: 24px;
	text-indent: -999em;
	background: url(/images/logo.png) no-repeat;
}

#header h1 a:focus {
	outline: none;
}

#tagline {
	display: block;
	width: 225px;
	height: 35px;
	position: absolute;
	top: 59px;
	right: 12px;
/*backgro

und:url(/images/tagline_bg.png) no-repeat; text-indent:-999em; margin:0;*/
}

#tagline p {
	margin: 0;
	font-size: 1.4em;
	color: #625a51;
	text-align: right;
}

#skip {
	position: absolute;
	top: -999em;
	left: -999em;
}

/* @end */

/* @group NAVIGATION */

#nav, #nav * {
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav {
	height: 38px;
	position: relative;
	padding-left: 23px;
	width: 720px;
	z-index: 11;
}

#nav li {
	float: left;
	display: inline;
}

#nav li a {
	font-size: 1.2em;
	color: #c6b39b;
	text-decoration: none;
	padding: 0 18px;
	display: block;
	line-height: 38px;
}

#nav li:hover a,
#nav li a:hover {
	background: #413427;
	color: #fffffe;
}

#nav li.current {
	background: url(/images/nav_li_current.gif) no-repeat left top;
	position: relative;
	top: -4px;
	margin-bottom: -8px;
	padding-left: 3px;
	font-weight: bold;
}

#nav li.current a, 		
#nav li.current a:hover {
	padding-left: 15px;
	background: url(/images/nav_a_current.gif) no-repeat right top;
	color: #473f36;
	line-height: 42px;
}

#nav li li {
	float: none;
	display: block;
}

#nav li.current li a {
	font-weight: normal;
	padding: 0 18px;
}

#nav li:hover li a,
#nav li li a {
	line-height: 29px;
	background: #f7f2e8;
	color: #292825;
	width: 145px;
	font-size: 11px;
	padding: 0 18px;
}

#nav li.current li {
	padding: 0;
}

#nav li.current li a:hover,
#nav li li a:hover {
	background: #fff;
	color: #cf560d;
	font-weight: bold;
	line-height: 29px;
	top: 0;
	margin-bottom: 0;
	padding: 0 18px;
}

#nav li ul {
	position: absolute;
	left: -5000px;
	z-index: 1001;
	border-top: 0;
	margin-left: -1px;
}

#nav li:hover ul {
	left: auto;
}

#nav li:hover ul ul, 
#nav li:hover ul ul ul, 
#nav li:hover ul ul ul ul {
	left: -5000px;
}

#nav li:hover ul, 
#nav li li:hover ul, 
#nav li li li:hover ul, 
#nav li li li li:hover ul {
	left: auto;
}

#nav li:hover ul li:hover ul {
	margin: -28px 0 0 150px;
}

/* @end */

/* @group BANNER */

#banner img {
	border: 0;
}

#banner {
	display: block;
	width: 888px;
	height: 222px;
	position: relative;
	top: -4px;
	background: url(/images/sub_banner_bg.jpg) no-repeat;
	z-index: 10;
}

#banner #image {
	margin: 0;
	width: 869px;
	height: 192px;
	background: url(/file/sp.jpg) no-repeat;
	position: relative;
	left: 10px;
	top: 13px;
}

#banner-left {
	display: block;
	width: 93px;
	height: 222px;
	background: url(/images/sub_banner_left.jpg) no-repeat;
	position: absolute;
	top: -10px;
	left: -93px;
}

#banner-right {
	display: block;
	width: 100px;
	height: 222px;
	background: url(/images/sub_banner_right.jpg) no-repeat;
	position: absolute;
	top: -11px;
	right: -100px;
}

/* @end */

/* @group PRIMARY CONTENT */

#primaryContent {
	position: relative;
	width: 860px;
}

#content {
	float: left;
	width: 600px;
	padding-left: 15px;
	padding-bottom: 0;
	position: relative;
}

#content.wide {
	width: 860px;
}

#sidebar .side-section a,
#content a {
	color: #fbd473;
}

#content a:hover {
	text-decoration: none;
}

#lowerContent {
	padding-bottom: 30px;
	margin-top: 7px;
}

#lowerContent p,
#lowerContent li,
#lowerContent td {
	font-size: 1.2em;
	color: #e0d6c3;
	line-height: 1.5em;
}

#subscribe {
	background: url(/images/feed_icon.png) no-repeat left center;
	padding: 4px 0 4px 20px;
	position: absolute;
	top: 10px;
	right: 0;
	font-size: 1.2em;
}

#content p *,
#content li *,
#content td * {
	font-size: 1em;
	line-height: 1;
}

#content li li {
	line-height: 1.5;
}

#content .article p {
	margin-top: 0;
}

#content img {
	border: 0;
}

img.left-align {
	float: left;
	margin: 10px 10px 10px 0;
}

img.right-align {
	float: right;
	margin: 10px 0 10px 10px
}

/* @group HEADINGS */

h2, h3, h4, h5, h6 {
	color: #d54f0d;
	margin-top: 0;
	margin-bottom: 1em;
}

h2 {
	margin-top: 0;
	font-size: 2.4em;
	font-family: georgia, times, roman, serif;
}

#content h1	{
	color:#fbd473
}

#content h3 {
	font-size: 1.5em;
	color: #f5eee0;
}

#content h4 {
	font-size: 1.4em;
	color: #cbbda0;
}

#content h4.title {
	margin: 0;
}

#content h5 {
	font-size: 1.6em;
	font-weight: normal;
	color: #d54f0d;
}

#content h6 {
	font-size: 1.3em;
	color: #998a7c;
	text-transform: uppercase;
	font-weight: normal;
}

/* @end */

/* @group SIDEBAR */

.box {
	background: url(/images/box_bg.gif) repeat-y left top;
}

.box-btm {
	background: url(/images/box_btm.gif) no-repeat left bottom;
	display: block;
	height: 20px;
	width: 235px;
	position: relative;
	margin: 0;
}

#sidebar {
	float: right;
	width: 235px;
	background: url(/images/sidebar_bg.gif) no-repeat;
	position: relative;
}

.box-top {
	width: 235px;
	height: 7px;
	background: url(/images/sidebar_bg.gif) no-repeat;
	clear: both;
}

#sidebar.blank,
	#sermons #sidebar {
	background: none;
}

#sidebar .side-section {
	padding: 0 0 0 12px;
	clear: both;
}

#subnav {
	margin: 7px 0 20px;
	padding: 10px 17px 0 17px;
	background: url(/images/box_bg.gif) repeat-y left top;
}

#subnav .box-btm {
	margin-left: -17px;
}

#snav, #snav * {
	margin: 0;
	padding: 0;
	list-style: none;
}

#snav li {
	display: none;
}

#articles li#snav_resources,
	#articles li#snav_resources li,
	#sermons li#snav_resources,
	#sermons li#snav_resources li,
	#snav li.current,
	#snav li.current li {
	display: block;
}

#snav li.current li li {
	display: none;
}

#snav li li.current li {
	display: block;
}

#articles li#snav_resources a,
	#sermons li#snav_resources a,
	#snav li.current a {
	display: block;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	color: #fbd473;
	padding: 0 7px 9px;
	border-bottom: 1px solid #32291e;
	margin-bottom: 7px;
}

#articles li#snav_resources li a,							
	#sermons li#snav_resources li a,
	#snav li.current li a {
	font-size: 13px;
	font-weight: normal;
	color: #f7f1e5;
	padding: 0 7px;
	margin: 0;
	border: 0;
	height: 32px;
	line-height: 28px;
	overflow: hidden;
}

#snav li.current li a:hover {
	text-decoration: underline;
	color: #fff;
}

#articles li#snav_resources li#snav_resources_articles a,	
	#sermons li#snav_resources li#snav_resources_sermons a,
	#snav li li.current a:hover,
	#snav li li.current a {
	background: url(/images/current_arrow.gif) no-repeat;
	position: relative;
	left: -17px;
	padding: 0 0 0 24px;
	height: 31px;
	color: #fff;
	margin: 0;
	line-height: 28px;
	width: 189px;
	text-decoration: none;
}

#sermons li#snav_resources li a:hover,
	#articles li#snav_resources li a:hover,
	#snav li li a:hover {
	color: #292927;
}

/* 3RD LEVELS - initially hide 3rd levels */

#snav li li.active a,
	#snav li li.current.active a {
	background: url(/images/right_arrow.gif) no-repeat right center;
	display: inline;
	padding-right: 10px;
	color: #2d2d2d;
}

#snav li li.current.active a:hover {
	text-decoration: underline;
	color: #525252;
}

#snav li.current li li a {
	margin-left: 15px;
	color: #fff;
}

#snav li li.active li a,
	#snav li li.current li a:hover,
	#snav li li.current li a {
	background: none;
	color: #c6b39b;
	text-decoration: none;
	margin-left: 15px;
}

#snav li li.current li a:hover {
	text-decoration: underline;
}

#snav li li.active li.current a:hover,
	#snav li li.active li.current a {
	left: -32px;
	padding-left: 38px;
	width: 175px;
	background: url(/images/current_arrow.gif) no-repeat;
	color: #fff;
	text-decoration: none;
	display: block;
}

/* SERMON AND ARTICLE PAGE CORRECTIONS */

#events li#snav_home,
	#articles li#snav_home,
	#sermons  li#snav_home {
	display: none;
}

/* @end */

/* @end */

/* @group SECONDARY CONTENT */

#secondaryContent {
	position: relative;
}

#secondaryContent .column {
	width: 267px;
	margin-right: 30px;
	background: url(/images/stripe_bg.gif) repeat-x left 26px;
}

/* @end */

/* @group FOOTER */

#footer {
	position: relative;
	margin-top: -1em;
	background: #201911;
	height: 200px;
}

#footer-inner {
	margin: 0 auto;
	width: 860px;
	text-align: center;
	height: 157px;
	padding-top: 25px;
	background: url(/images/vignette_bg.png) no-repeat center 102px;
}

#footer p {
	font-size: 1.1em;
	color: #f8f3e9;
	margin: 0 0 1px;
	line-height: 1.6em;
}

#footer a {
	color: #dc5d10;
}

#footer a:hover {
	text-decoration: none;
}

#footer-buttons {
	margin-top: 11px;
}

#footer img {
	border: 0;
}

/* @end */