/* @override http://generationchurch.org/css/home.css */

@import url(/css/_base.css); /* import globals */

#content {
	padding: 0;
	background: #fff url(/images/bg_feature.jpg) no-repeat;
	}
#homepage_sidebar {
	float: right;
	width: 250px;
	z-index: 101;
	}


/* INTRODUCTION
==============================================================================*/
#introduction {
	margin: 0 -30px 20px 0;
	width: 280px;
	height: 305px;
	background: url(/images/bg_missionstatement.gif) no-repeat 100% 135px;
	}
#introduction h2 {
	height: 135px;
	margin-bottom: 40px;
	background: url(/images/h2_takingthereality.jpg) no-repeat;
	}
#introduction p {
	margin: 7px 25px 7px 10px;
	font: italic normal 12px/16px georgia;
	color: #5d4718;
	}
#introduction a {
	color: #e65200;
	text-decoration: none;
	border-bottom: 1px solid #e65200;
	}
#introduction a:hover {
	color: black;
	background: #f9df79;
	border-bottom: 1px solid black;
	}


/* CALENDAR
==============================================================================*/
#calendar {
	margin-right: 48px;
	min-height: 350px;
	background: url(/images/bg_events.gif) 0 0 no-repeat;
	}
#calendar h2 {
	height: 80px;
}
#calendar ul {
	height: 210px;
	padding: 0 15px;
	overflow: auto;
	list-style: none;
	text-align: center;
	font: normal 11px/1.5 helvetica,arial,sans-serif;
}
#calendar li {
	margin: 0 0 .5em;
}

/* FEATURE
==============================================================================*/
#feature {
	position: absolute;
	width: 349px;
	top: 29px;
	left: 60px;
	overflow: hidden;
	text-align: center;
	}
#feature h2 a {
	display: block;
	height: 169px;
	background-color: transparent;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	}

/* NEWS
==============================================================================*/
#news {
	float: left;
	width: 350px;
	margin: 250px 0 0 30px;
	padding-left: 30px;
	color: #777;
	background: url(/images/h2_news.gif) no-repeat;
	}
#news h2 {
	height: 90px;
	}
#news h4 {
	position: relative;
	clear: both;
	margin-bottom: 1em;
	font: bold normal 14px/1 helvetica;
	color: #555;
}

#news h4 em {
	display: block;
	position: absolute;
	left: -40px;
	width: 40px;
	font: 10px verdana,tahoma,sans-serif;
	color: #999;
}
#news p,
#news ul,
#news ol {
	margin: 0 0 1.5em;
	font: normal 11px/1.5 helvetica,arial,sans-serif;
	}
#news ul,
#news ol {
	padding: 0 20px;
	}
#news ul {
	list-style-type: square;
	}
#news a {
	color: #e65200;
	text-decoration: none;
	border-bottom: 1px solid #e65200;
	}
#news a:hover {
	color: black;
	background: #f9df79;
	border-bottom: 1px solid black;
	}
#news .news_detail {
	clear: both;
	line-height: 15px;
	text-align: center;
	color: #999;
	}
#news img.r {
	float: right;
	position: relative;
	margin: 0 0 5px 10px;
	padding: 2px;
	border: 1px dashed #555;
	}
#news object,
#news img {
	max-width: 350px;
}
#entryform {
	display: none;
	margin: -5px 15px 10px;
	padding: 0 10px;
	background: white url(/images/bg_diagonals.gif);
	border-bottom: 1px solid #f9df79;
	}
	#entryform fieldset {
		padding-top: 15px;
		border: 0 none;
		}
	#entryform label {
		display: block;
		padding-bottom: 2px;
		font: normal 10px 'lucida grande',tahoma,sans-serif;
		}
	#entryform fieldset input,
	#entryform fieldset textarea {
		margin-bottom: 10px;
		width: 100%;
		}
	#entryform fieldset textarea {
		height: 100px;
		}
	#entryform input[name="title"] {
		font: bold 12px georgia;
		text-transform: uppercase;
		letter-spacing: 1.5px;
		}
	#entryform .buttons {
		padding-bottom: 15px;
		text-align: center;
		font-size: 10px;
		}


/* RECENT MESSAGES
==============================================================================*/
#messages {
	margin-bottom: 20px;
	}
#messages h2 {
	height: 85px;
	background: url(/images/h2_previouslyfromthepulpit.gif) no-repeat;
	}
#messages ul {
	margin-right: 20px;
	border-top: 1px solid #ddd;
}
#messages li {
	text-align: right;
	font: normal 10px/1 georgia;
	list-style-type: none;
	border-bottom: 1px solid #ddd;
	}
#messages li span {
	display: block;
	float: left;
	font-size: 12px;
	text-align: left;
	}
#messages li a {
	display: block;
	padding: 8px 2px;
	color: #333;
	text-decoration: none;
	}
	#messages li a span {
		color: #e65200;
	}
#messages li a:hover {
	color: black;
	background: #eee;
	}
#messages p a {
	display: block;
	text-align: center;
	margin-right: 20px;
	text-decoration: none;
	text-transform: uppercase;
	font: bold 12px/2 georgia;
	color: #ccc;
}
#messages p a:hover {
	color: #999;
	background: #ddd;

}


/* RANDOM PHOTOS
==============================================================================*/
#photos {
	float: left;
	width: 450px;
	height: 68px;
	background: url(/images/bg_photos.jpg) no-repeat;
	}
#photos h2 {
	display: none;
	}
#photos img {
	width: 60px;
	height: auto;
	}
.flickr_badge_image {
	float: left;
	margin: 3px 5px;
	}
#flickr_badge_image1 { margin-left: 60px; }

#photos a img {
	border: 1px solid #999;
	}
#photos a:hover img {
	border: 1px solid #e65200;
	}


/* HOMEPAGE & MISCELLANEOUS
==============================================================================*/
h1 span { /* secret button for admin */
	display: block;
	position: absolute;
	top: 0;
	right: 60px;
	width: 80px;
	height: 70px;
	}
