@import url("reset.css");

html {
	font-size:100.01%;
}

body {
	background-color:#444;
	/*border-bottom:1em solid #000;*/
	border-top:1em solid #000;
	color:#000;
	font:300 10px/1.5em "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	/* IE needs the body height to be set to 10px. Not sure why. Look into this. */
}

a {
	color:#f36b21;
	text-decoration:none;
}

b, strong {
	font-weight:bold;
}

h2 a {
	color:#000;
}

#background-wrapper {
	background:url(../images/background-tile.png) top center repeat-y;
}

#page-wrapper {
	background:url(../images/background-top.png) top center no-repeat;
}

#content-wrapper {
	background-color:#fff;
	padding:0 1.5em;
	margin:0 auto;
	width:96em;
}

#masthead {
	padding:1.5em 0;
}

#masthead h1#branding a {
	background:url(../images/logo.png) bottom left no-repeat;
	display:block;
	float:left;
	height:10.5em;
	text-indent:-9999px;
	width:40.1em;
}

#masthead ul {
	float:right;
}

#masthead li {
	display:inline;
}

#masthead li a {
	display:block;
	float:left;
	height:10.5em;
	margin-left:1.6em;
	text-indent:-9999px;
	width:23em;
}

#masthead li.podcasts a { background:url(../images/podcast-sprite.png) top left no-repeat; }
#masthead li.podcasts a:hover { background-position:bottom left; }
#masthead li.games a { background:url(../images/games-sprite.png) top left no-repeat; }
#masthead li.games a:hover { background-position:bottom left; }

#banner {
	margin-bottom:1.5em;
}

#primary-content {
	float:left;
	margin-right:20px;
	margin-bottom:2em;
	width:71em;
}

#primary-content h3 {
	color:#000;
	font-size:1.133em;
	font-weight:bold;
	line-height:1.765em;
}

.post {
	border-bottom:0.1em solid #ededee;
	margin-bottom:3em;
}

.post:last-child {
	margin-bottom:1em;
}

.post .header {
	border-bottom:.1em solid #ededee;
	line-height:2.0em;
	margin-bottom:1.3em;
}

.post .header h2 {
	font-size:2.4em;
	font-weight:bold;
}

.post .header cite.byline {
	color:#a1a1a1;
	font-size:1.2em;
}

.post .content {
	margin-bottom:10px;
}

.post .content p {
	color:#77787b;
	font-size:1.5em;
	line-height:1.2em;
	margin-bottom:1.2em;
}

.post .content p:last-child {
	margin-bottom:0;
}

.post .archives {
	background:url(../images/archive-button.png) left top no-repeat;
	display:block;
	float:right;
	height:1.6em;
	margin-bottom:-.1em;
	text-indent:-9999px;
	width:16em;
}

#secondary-content {
	float:right;
	width:23em;
}

#secondary-content #flickr {
	height:18.9em;
	margin-bottom:1.5em;
	position:relative;
}

#secondary-content #flickr a#flickr-link {
	background:url(../images/flickr-sprite.png) top center no-repeat;
	position:absolute;
	top:0;
	left:0;
	height:18.9em;
	text-indent:-9999px;
	width:23em;
}

#secondary-content #flickr ul {
	padding-top:1.5em;
	margin-left:-0.3em;
	position:relative;
	z-index:2;
}

#secondary-content #flickr li {
	display:inline;
}

#secondary-content #flickr li a {
	display:block;
	float:left;
	margin:0 0 1em 1.8em;
}

#secondary-content #flickr img {
	background-color:#fff;
	border:0.1em solid #ebebec;
	padding:0.4em;
}

#secondary-content #advice a,
#secondary-content #meet-the-team a,
#secondary-content #calendar a,
#secondary-content #about-pastor-todd a,
#secondary-content #twitter a {
	display:block;
	height:5em;
	margin-bottom:1.5em;
	text-indent:-9999px;
	width:23em;
}

#secondary-content #advice a:hover,
#secondary-content #meet-the-team a:hover,
#secondary-content #calendar a:hover,
#secondary-content #about-pastor-todd a:hover,
#secondary-content #twitter a:hover {
	background-position:bottom left;
}

#secondary-content #advice a { background:url(../images/parents-sprite.png) no-repeat left top; }
#secondary-content #meet-the-team a { background:url(../images/team-sprite.png) no-repeat left top; }
#secondary-content #calendar a { background:url(../images/calendar-sprite.png) no-repeat left top; }
#secondary-content #about-pastor-todd a { background:url(../images/pastor-sprite.png) no-repeat left top; }
#secondary-content #twitter a { background:url(../images/twitter-sprite.png) no-repeat left top; }

#primary-content.blog.archives .post {
	border-bottom:none;
	font-size:1.5em;
	margin-bottom:0;
}

#primary-content.blog.single .post {
	border-bottom:none;
}

#primary-content.blog.archives h3 {
	display:inline;
	margin-right:.5em;
}

#primary-content.blog.archives h3 a {
	color:#000;
}

#primary-content.blog.archives cite {
	color:#a1a1a1;
	font-size:0.8em;
}

#primary-content.blog.archives h2, 
#primary-content.contact h2,
#primary-content.members h2,
#primary-content.page h2 {
	border-bottom:.042em solid #ededee;
	font-size:2.4em;
	font-weight:bold;
	line-height:2.0em;
	margin-bottom:.65em;
}

#primary-content.page .content {
	color:#77787b;
	font-size:1.5em;
	line-height:1.2em;
}

#primary-content.page h3 {
	clear:both;
}

#primary-content.page p {
	margin-bottom:1.2em;
}

#primary-content .post img, #primary-content img.border {
	background-color:#ddd;
	border:1px solid #999;
	padding:2px;
}

#primary-content .post img, #primary-content img.left {
	float:left;
	margin:0 10px 10px 0;
}

#primary-content img.right {
	float:left;
	margin:0 10px 10px 0;
}

#primary-content.podcasts .post {
	border-bottom:none;
	padding-bottom:1.8em;
}

#primary-content.games .post {
	border-bottom:none;
	margin-bottom:1em;
	padding-bottom:none;
}

#primary-content.games .post .content {
	font-size:1.5em;
}

#primary-content.games h2, #primary-content.podcasts h2 {
	line-height:2.0em;
}


#primary-content.contact p {
	margin-bottom:1.8em;
}

#primary-content.contact li,
#primary-content.members #login li {
	margin-left:10.5em;
	line-height:2.5em;
}

#primary-content.contact li label,
#primary-content.members #login li label {
	display:block;
	float:left;
	margin-left:-10.5em;
	width:10em;
}

#primary-content.contact li label.checkbox,
#primary-content.members #login li label.checkbox {
	display:inline;
	float:none;
	margin:0;
	width:auto;
}

#primary-content.contact textarea,
#primary-content.members #login textarea {
	height:15em;
	width:30em;
}

#primary-content.members #login #forgot-password {
	font-size:0.866em;
}

#primary-content.members .post h3 {
	font-size:20px;
	font-weight:bold;
	line-height:20px;
}

#primary-content.members .post, #primary-content.members .post .content {
	border-bottom:none;
	font-size:10px;
}

#pagination {
	font-size:1.5em;
	font-weight:bold;
	letter-spacing:3px;
	margin-top:1em;
	text-align:center;
}

.tags {
	color:#999;
	font-size:12px;
}

#comments h3 {
	border-bottom:1px solid #EDEDEE;
	font-size:18px;
	line-height:30px;
	margin-bottom:10px;
}

#comments .comment .content {
	color:#555;
	font-size:13px;
	line-height:20px;
}

#comments .comment .content p {
	margin-bottom:10px;
}

#comments .comment .byline {
	border-bottom:1px solid #f2f2f2;
	color:#888;
	font-size:12px;
	padding-bottom:10px;
	margin-bottom:25px;
}

#comments .comment .byline .name {
	color:#666;
}

#comments {
	color:#555;
	font-size:14px;
}

#comments form li {
	margin-left:150px;
	line-height:35px;
}

#comments form label {
	color:#77787b;
	display:block;
	float:left;
	margin-left:-150px;
	width:140px;
}

#comments form li.checkbox label {
	color:#555;
	display:inline;
	float:none;
	margin:0;
	width:auto;
}

#search {
	background-color:#f8f8f8;
	border:1px solid #ebebec;
	padding:10px;
}

#search input.query {
	margin-right:5px;
	width:130px;
}

#search input.submit {
	width:60px;
}

#cse-search-results iframe {
	width:710px;
}

#footer-wrap {
	background:url(../images/footer-background.png) repeat-x left top;
	border-top:.3em solid #bbb;
	color:#fff;
	font-size:1.2em;
	height:6em;
}

#footer {
	margin:1em auto;
	width:82.5em;
}

#footer .copyright {
	float:left;
	padding:0.417em 0;
}

#footer a {
	color:#fff;
}

#footer ul {
	float:right;
}

#footer li {
	display:inline;
}

#footer li a {
	display:block;
	float:left;
	padding:0.417em;
}

#footer .team-login {
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	background-color:#404040;
}

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

.clearfix
{
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */