/*
Theme Name: Crossroads Theme
Description: Custom theme for Crossroads Church of Monticello.
Author: Matt Barnes
Author URI: http://hayloftdesign.com/
*/

/* reset */
html{color:#000;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}

/* Global Styles */

em, i {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}

object {
	margin: 20px 0;
	display: block;
}

/* Basic Containers */

html {
	background: #fbfcfd url(images/background.jpg) no-repeat fixed top center;
}

body {
	background: #FFF;
	border: 3px solid #FFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 18px;
	margin: 18px auto 30px;
	width: 939px;
	-moz-box-shadow: 0 0 25px #333;
	-webkit-box-shadow: 0 0 25px #333;
	box-shadow: 0 0 25px #333;
}

/* Header */

#header {
	background: #0070c4;
	height: 110px;
	position: relative;
}

h1#branding {
	background: url(images/crossroads-wordmark.png) no-repeat;
	height: 65px;
	position: absolute;
	right: 15px;
	text-indent: -9999px;
	top: 15px;
	width: 335px;
}

/* Navigation */

a.homepage-link {
	background: url(images/crossroads-logo.png) no-repeat;
	color: #0070c4;
	display: block;
	font-size: 9px;
	font-weight: bold;
	height: 15px;
	left: 10px;
	line-height: 9px;
	padding: 64px 0 0 4px;
	position: absolute;
	text-decoration: none;
	top: 15px;
	width: 126px;
}

#nav ul {
	position: absolute;
	left: 150px;
	top: 15px;
	font-weight: bold;
}

#nav ul li {
	line-height: 13px;
	font-size: 11px;
}

#nav ul li a,
#nav ul li a:link,
#nav ul li a:visited {
	color: #FFF;
	text-decoration: none;
}

#nav ul li a:hover,
#nav ul li a:active,
#nav ul li a:focus {
	color: #f7c92d;
}

/* Main Content */

#main-content {
	float: right;
	width: 710px;
	height: 540px;
	position: relative;
	overflow: hidden;
}

.content-wrap {
	overflow: auto;
	height: 430px;
	padding: 0 30px 30px 30px;
	width: 650px;
}

div[class="extra-gradient"] /* Using attribute selector to hide transparent png from IE6 */ {
	background: url(images/black-gradient.png) repeat-x;
	height: 10px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

/* Sub-Navigation */

#sub-nav ul {
	border-bottom: 1px solid #0070c4;
	overflow: hidden;
	margin: 0 30px 10px;
	padding: 12px 0;
}

#sub-nav li {
	float: left;
}

#sub-nav li a,
#sub-nav li a:link,
#sub-nav li a:visited {
	border-right: 1px solid #0070c4;
	color: #0070c4;
	display: block;
	font-size: 11px;
	line-height: 11px;
	padding: 2px 8px;
	text-decoration: none;
}

#sub-nav li:last-child a {
	border: none;
}

#sub-nav li a:hover,
#sub-nav li a:active {
	text-decoration: underline;
}

/* Sub Content */

#sub-content {
	border-right: 3px solid #0070c4;
	float: left;
	width: 226px;
	height: 540px;
	position: relative;
}

.description {
	background: url(images/mission-statement.png) no-repeat;
	text-indent: -9999px;
	height: 87px;
	width: 195px;
	margin: 20px auto 0;
}

.service-times {
	position: absolute;
	bottom: 60px;
	left: 6px;
	font-size: 10px;
	font-weight: bold;
	line-height: 20px;
}

.msg-button {
	position: absolute;
	bottom: 10px;
	left: 2px;
}

/* Footer */

#footer {
	clear: both;
	border-top: 3px solid #0070c4;
	text-align: center;
	padding: 5px 0;
	font-size: 10px;
}

#footer img {
	vertical-align: middle;
}

/* Typography */

h1, h2 {
	clear: both;
	color: #0070C4;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 20px;
	margin-bottom: 10px;
}

h3 {
	font-weight: bold;
	clear: both;
}

#main-content p {
	margin-bottom: 15px;
}

.content-wrap ul, ol {
	margin-left: 25px;
	margin-bottom: 15px;
}

ol li {
	list-style: decimal;
}

.content-wrap ul li {
	list-style: disc;
}

.content-wrap img {
	margin-bottom: 15px;
	border: 1px solid #AAA;
}

/* WordPress utility classes */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	display: inline;
	}

.alignleft {
	float: left;
	margin-right: 20px;
}

.alignright {
	float: right;
	margin-left: 20px;
}

.wp-caption-text {
	font-style: italic;
	font-size: 12px;
	color: #888;
}
