﻿/*-------------------------------------------

              Title :  Cornerstone
              Usage :  All Pages
              Author:  QualityXHTML

---------------------------------------------*/


/*====================TOC====================

                1. Homepage
                2. Resources
                3. Neighborhood News
                4. About Us

=============================================*/



/* 1. Homepage
---------------------------------------------*/
#welcome {
	position: relative;
	z-index: 3;
	padding: 207px 0 37px;
	min-height: 214px;
	background: #1D5B90 url(../images/welcome_bg.gif) no-repeat -10px 0;
	}

#welcome h2 {
	position: absolute;
	left: -500em;
	}

#welcome img {
	position: absolute;
	bottom: -72px;
	left: 16px;
	}

#welcome blockquote {
	margin-left: 682px;
	width: 280px;
	min-height: 161px;
	color: white;
	font-style: italic;
	font-size: 1.2em;
	line-height: 1.4em;
	text-shadow: #4C8BC7 0 1px 1px;
	letter-spacing: 1px;
	}

#welcome cite {
	display: block;
	margin: 37px 0 0 672px;
	width: 285px;
	color: white;
	font-style: normal;
	font-size: 0.9em;
	text-shadow: #205F97 0 1px 1px;
	}

#worship {
	position: relative;
	z-index: 1;
	padding-bottom: 110px;
	min-height: 663px;
	background: url(../images/worship_bg.png) repeat-x bottom left;
	}

#worship img {
	position: absolute;
	bottom: 104px;
	right: 55px;
	z-index: 3;
	}

#worship h3:first-child {
	padding: 63px 62px 0;
	color: #124275;
	font: 2.7em 'Franklin Gothic Heavy', 'Franklin Gothic Medium', sans-serif;
	text-align: right;
	text-transform: uppercase;
	}

#worship h4 {
	position: relative;
	z-index: 5;
	margin: -4px 63px 0;
	color: #1D5C90;
	font-weight: normal;
	font-size: 1.85em;
	text-align: right;
	text-shadow: #E7EEF6 0 1px 1px;
	}

#worship h4 + p {
	position: relative;
	z-index: 5;
	float: right;
	margin: 8px 62px 0 0;
	width: 10.6em;
	color: #124275;
	font: 1.3em/0.95em 'Franklin Gothic Medium', sans-serif;
	letter-spacing: 2px;
	text-align: justify;
	text-shadow: #DBE5F2 0 1px 1px;
	}

#worship img + h3 {
	margin: 88px 0 0 50px;
	width: 300px;
	color: #2D78B9;
	font-weight: normal;
	font-size: 2.3em;
	text-transform: uppercase;
	text-shadow: #C2D4E8 0 1px 1px;
	}

#worship ul {
	margin: 9px 0 0 50px;
	width: 302px;
	color: #124275;
	font-size: 1.95em;
	text-transform: uppercase;
	text-shadow: #9EB9DA 0 1px 1px;
	}

#worship ul li {
	position: relative;
	margin-bottom: -16px;
	}

#worship ul li em {
	margin-right: 2px;
	font: 1.55em 'Franklin Gothic Heavy', 'Franklin Gothic Medium', sans-serif;
	letter-spacing: 2px;
	}

#worship ul li + li + li {
	margin-top: 21px;
	width: 300px;
	color: white;
	line-height: 1.1em;
	letter-spacing: 3px;
	word-spacing: 3px;
	text-shadow: #7FA0CC 0 1px 1px;
	}

#worship ul li + li + li:first-line {
	letter-spacing: 0;
	word-spacing: 0;
	}

#worship ul li + li + li em {
	font-size: 1.1em;
	}

#worship ul + p {
	margin: 48px 0 0 50px;
	width: 290px;
	color: white;
	font-size: 1.25em;
	line-height: 1.35em;
	text-shadow: #6A90C3 0 1px 1px;
	}

#worship .extra {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 550px;
	height: 550px;
	background: url(../images/worship_extra_bg.jpg) no-repeat top left;
	}


/* 2. Resources
---------------------------------------------*/
#resources {
	position: relative;
	padding-top: 166px;
	overflow: hidden;
	background: #3A86C6;
	}

#resources h2 {
	position: absolute;
	top: 71px;
	left: 50px;
	color: white;
	font: 2.15em 'Franklin Gothic Demi', 'Franklin Gothic Medium', sans-serif;
	text-transform: uppercase;
	text-shadow: #3883C4 0 1px 1px;
	}

#resources img {
	position: absolute;
	top: 82px;
	left: 477px;
	z-index: 3;
	}

#resources ul li h3 {
	margin-bottom: -4px;
	font-weight: normal;
	font-size: 1.5em;
	text-indent: 50px;
	text-transform: uppercase;
	}

#resources > ul > li h3           { color: white;   text-shadow: #3680C2 0 1px 1px; }
#resources > ul > li + li h3      { color: #1D5B90; text-shadow: #C8DDEF 0 1px 1px; background: #C8DDEF; }
#resources > ul > li + li + li h3 { color: #1D5B90; text-shadow: #89B4DB 0 1px 1px; background: #89B4DB; }

#resources ul li ul {
	position: relative;
	z-index: 1;
	padding: 37px 0 15px 53px;
	height: 1%;
	border-top: 2px solid white;
	}

#resources ul li ul           { padding-right: 527px;       background: #C8DDEF; }
#resources ul li + li ul      { padding-right: 0;           background: #89B4DB; }
#resources ul li + li + li ul { padding: 37px 0 110px 53px; background: #66A0D1 url(../images/resources_ul_bg.png) repeat-x bottom left; width: auto; min-height: 455px; }

#resources ul li ul li {
	padding: 0 0 16px 62px;
	min-height: 45px;
	background: url(../images/bullets_bg.png) no-repeat top left;
	font-size: 1.5em;
	line-height: 41px;
	}

#resources ul li + li ul li      { background-position: 0 -125px; }
#resources ul li + li + li ul li { background-position: 0 -250px; }

#resources ul li ul li a {
	color: #1D5C90;
	text-shadow: #C8DDEF 0 1px 1px;
	}

#resources ul li + li ul li a {
	text-shadow: #89B4DB 0 1px 1px;
	}

#resources ul li + li + li ul li a {
	color: white;
	text-shadow: #427DBC 0 1px 1px;
	}

#resources .extra {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1;
	width: 550px;
	height: 550px;
	background: url(../images/resources_extra_bg.png) no-repeat top left;
	}


/* 3. Neighborhood News
---------------------------------------------*/
#calendar {
	position: relative;
	padding: 0 0 25px 61px;
	min-height: 420px;
	overflow: hidden;
	background: #0D469A url(../images/calendar_bg.png) no-repeat 50% 0;
	}

html[xmlns^="HTTP"] #calendar {   /* for Firefox 2 */
	overflow: visible;
	}

#calendar h2 {
	position: absolute;
	left: -500em;
	}

#calendar img {
	position: absolute;
	bottom: 33px;
	right: 0;
	}

#calendar ol {
	padding-top: 132px;
	}

#calendar ol div {
	float: left;
	margin-right: 89px;
	width: 239px;
	}

#calendar ol li {
	margin-bottom: 19px;
	list-style-position: outside;
	}

#calendar ol li h3,
#calendar ol li em {
	color: white;
	font-size: 0.95em;
	text-shadow: #347EC0 0 1px 1px;
	}

#calendar ol li h3 {
	margin-bottom: 2px;
	font-weight: normal;
	line-height: 1.1em;
	}

#calendar ol li em {
	line-height: 1.2em;
	}

#when {
	position: relative;
	z-index: 3;
	float: right;
	margin: -93px 0 -25px 0;
	width: 433px;
	height: 523px;
	overflow: hidden;
	background: url(../images/when_bg.png) no-repeat top left;
	}

#when h3,
#when p {
	visibility: hidden;
	}

#when p a {
	position: absolute;
	bottom: 80px;
	left: 48px;
	width: 128px;
	height: 21px;
	overflow: hidden;
	color: #0A398A;
	text-indent: -500em;
	visibility: visible;
	}

#foundation {
	position: relative;
	padding: 400px 0 110px;
	min-height: 177px;
	background: url(../images/foundation_bg.jpg) no-repeat bottom left;
	}

* + html #foundation {
	margin-top: -406px;
	padding-top: 407px;
	min-height: 171px;
	width: 1000px;
	}

#foundation h3 {
	position: absolute;
	top: 57px;
	left: 43px;
	width: 487px;
	height: 264px;
	overflow: hidden;
	background: url(../images/foundation_h3_bg.png) no-repeat top left;
	text-indent: -500em;
	}

#foundation h4,
#foundation ol {
	position: absolute;
	left: -500em;
	}

#foundation table {
	clear: both;
	margin-left: 64px;
	width: 813px;
	table-layout: fixed;
	}

html:not(:first-of-type) #foundation table {   /* for WebKit */
	width: 810px;
	table-layout: auto;
	}

#foundation table caption {
	color: white;
	font: 1.55em/1.1em 'Franklin Gothic Demi', 'Franklin Gothic Medium', sans-serif;
	letter-spacing: 2px;
	text-align: left;
	text-transform: uppercase;
	text-shadow: #518EC7 0 1px 1px;
	}

html[xmlns^="HTTP"] table caption {
	margin-left: 64px;
	}

#foundation table tr th,
#foundation table tr td {
	color: white;
	font-weight: normal;
	font-size: 0.9em;
	line-height: 1.7em;
	text-align: left;
	text-shadow: #4886C3 0 1px 1px;
	vertical-align: top;
	}

#foundation table tr th {
	padding-right: 36px;
	width: 70px;
	}


/* 4. About Us
---------------------------------------------*/
#we {
	padding: 201px 0 30px;
	min-height: 227px;
	background: #8EB8DD url(../images/we_bg.png) no-repeat 0 0;
	}

#we h2,
#we blockquote,
#we cite {
	position: absolute;
	left: -500em;
	}

#we p {
	margin: 0 51px 20px 52px;
	color: #1D5C90;
	font-size: 0.95em;
	line-height: 1.35em;
	text-shadow: #B8D3EA 0 1px 1px;
	}

#staff {
	padding: 23px 0 110px 52px;
	min-height: 889px;
	background: #0D469A url(../images/staff_bg.png) repeat-x top left;
	}

#staff h3 {
	margin-bottom: 35px;
	color: white;
	font: 2.6em 'Franklin Gothic Heavy', 'Franklin Gothic Medium', sans-serif;
	text-transform: uppercase;
	text-shadow: #044276 0 1px 1px;
	}

#staff ul li {
	position: relative;
	z-index: 3;
	width: 838px;
	}

#staff ul li:first-child { margin-bottom: 36px; }
#staff ul li + li + li   { margin-top: 57px; }

* + html #staff ul li:first-child + li { margin-top: -69px; }
* + html #staff ul li + li + li        { margin-top: 42px; }

#staff ul li img           { float: right; margin: -63px 3px 0 42px }
#staff ul li + li img      { float: left;  margin: 7px 30px 0 7px; }
#staff ul li + li + li img { float: right; margin: 13px -26px 0 21px; }

#staff ul li h3 {
	margin-bottom: -6px;
	color: white;
	font: 1.6em 'Franklin Gothic Book', 'Franklin Gothic Medium', sans-serif;
	text-shadow: #1551A2 0 1px 1px;
	}

#staff ul li h4 {
	margin-bottom: 1px;
	color: white;
	font: 1.6em/1.1em 'Franklin Gothic Demi', 'Franklin Gothic Medium', sans-serif;
	text-transform: uppercase;
	text-shadow: #1551A2 0 1px 1px;
	}

#staff ul li p {
	color: white;
	font-size: 0.9em;
	line-height: 1.5em;
	text-shadow: #1551A2 0 1px 1px;
	}

#staff ul li p ins {
	text-decoration: none;
	}

#staff ul li p a {
	display: inline-block;
	border-bottom: 1px solid;
	color: white;
	line-height: 1em;
	text-decoration: none;
	}

#staff .extra {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1;
	width: 550px;
	height: 550px;
	background: url(../images/staff_extra_bg.jpg) no-repeat top left;
	}