/*
Theme Name: Grace and Peace
Theme URI: 
Description: 
Version: 
Author: Norah Smith
Author URI: 
*/

/*******************************************************************************
			RESETS
*******************************************************************************/

body, h1, h2, h3, h4, h5, h6, blockquote, p, form {
	
	margin: 0;
	padding: 0;
}
body {
	background: #551f19;
	font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
  color: #fff;
	vertical-align: top;
	font-size: 100%;      /* 100% = 16px */
	line-height: 1.125em; /* 16�1.125=18px */
	min-width: 940px;
}

/*******************************************************************************
			GLOBAL STYLES
*******************************************************************************/

a {	
	color: #336699;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a img {
  border: 0;
}

p {
	
	margin-bottom: 1em;
}

h1,h2,h3,h4, h1 a, h2 a, h3 a, h4 a {
  color: #6e5fa2;
  font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}

h1 {
  font-size: 2em;
  line-height: 1.3em;
  margin-top: 0;
  margin-bottom: 0.25em; 
}

h2 {
  font-size: 1.5em;
  line-height: 1.3em;
  margin-top: 0.334em;
  margin-bottom: 0.334em;
}

h3 {
  font-size: 1.3em;
  line-height: 1.3em;
  margin-top: 0.3845em;
  margin-bottom: 0;
}

h4, h5, h6
{
  font-size: 1.1em;
  line-height: 1.3em;
  margin-top: 0.4545em;
  margin-bottom: 0.4545em;
}

/*******************************************************************************
			MAIN WRAPPER AND CONTAINERS
*******************************************************************************/

#wrapper {
  background: #f7fbfc url(img/header-tile.png) top repeat-x;

  /* Use a 14px base font size with a 16px line height */
  font-size: 0.875em; /* 16px x .875 = 14px */
  line-height: 1.286em; /* 14px x 1.286 = 18px */
  
  color: #000;

}

.container {
  width: 930px;
  margin: auto;
}

/*******************************************************************************
			HEADER
*******************************************************************************/

#header {
  background: url(img/header-bg.png) top center no-repeat;
}

#header .inner {
  padding-top: 26px;
}

.site-title {
  float: left;
  width: 280px;
  height: 272px;
  background: url(img/logo.jpg) left top no-repeat;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.site-title a {
  display: block;
  margin: 0;
  padding: 0;
  width: 280px;
  height: 272px;
  text-indent: -999em;
  text-decoration: none;
  overflow: hidden;
}

.support {
  background: url(img/header-img.jpg) left top no-repeat;
  width: 625px;
  height: 172px;
  float: left;
  padding: 50px 24px 50px 0;
  color: #fff;
  font-size: 2.5em;
  text-align: center;
}

/*******************************************************************************
			NAVIGATION
*******************************************************************************/

#header-widgets {
  color: #fff;
  margin: 0;
  padding: 5px 35px;
  list-style-type: none;
  background: url(img/nav-bg.png) top center no-repeat;
  height: 62px;
  font-size: 1.142em;
  font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
  font-weight: bold;
}

#header-widgets a {
  color: #fff;
  text-decoration: none;
}

#header-widgets .flexipages_widget ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
  height: 44px;
  line-height: 44px;
}

#header-widgets .flexipages_widget li {
  display: inline-block;
  *display: inline;
  padding-left: 15px;
  margin-left: 10px;
  height: 44px;
  line-height: 44px;
  background: url(img/nav-spacer.png) top left no-repeat;
}

#header-widgets .flexipages_widget li:first-child {
  background: none;
  padding-left: 0;
  margin-left: 0;
}

#header-widgets .flexipages_widget li a {
  display: inline-block;
}

/*******************************************************************************
			MAIN CONTENT AREA
********************************************************************************/

#content-wrap {
  background: #7668a7 url(img/main-tile.png) top repeat-x;
}

#content {
  background: #fff url(img/content-tile.png) center top repeat-y;
}

#content .gradient {
  background: url(img/content-gradient.png) center top no-repeat;
}

#content .shadow {
  background: url(img/content-shadow.png) center bottom no-repeat;
  padding: 0 25px 10px;
}

#main {
	float: left;
	display: inline;
	width: 560px;
	margin-left: 30px;
}

#main-no-side {
	margin: 0 30px;
}

.main-inner {
  margin: 10px;
}

.columns {
  margin: 1em 0;
}

.col-left {
  clear: left;
  display: inline;
  float: left;
  width: 400px;
  margin: 0 20px 1em 0;
}

.col-right {
 float: left;
 width: 400px;
 margin: 0 0 1em;
}

/*******************************************************************************
			SIDEBAR
*******************************************************************************/

#sidebar {
	width: 290px;
	display: inline;
	float: right;
}

#sidebar .inner {
}

#sidebar .sidebar-widgets {
	list-style-type: none;
	margin: 0;
	padding: 0 10px 0 10px;
}

#sidebar .sidebar-widgets .widget{
	margin: 10px 0;
}

#sidebar ul li h2 {
	color: #0053a4;
}

#sidebar ul ul li {
	line-height: 1.6em;
	padding: 0;
}

#sidebar .side-content {
  background: url(img/callout-tile.png) center repeat-y;
  color: #fff;
  font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
  overflow: hidden;
}

#sidebar .side-content h2, #sidebar .side-content h3, #sidebar .side-content h4, #sidebar .side-content h5, #sidebar .side-content h6 {
  color: #fff;
}

#sidebar .side-content a {
  color: #fff;
}

#sidebar .side-content h2, #sidebar .side-content h3 {
  color: #d3ae7a;
  font-family: Georgia, Times, "Times New Roman", serif;
}

#sidebar .side-content .content-wrap {
  background: url(img/callout-top.png) center top no-repeat;
}
#sidebar .side-content .side-content-main {
  background: url(img/callout-bottom.png) center bottom no-repeat;
  padding: 25px;
  
}

/*******************************************************************************
			FOOTER
*******************************************************************************/

#footer	{
  color: #fff;
	font-size: .9em;
	line-height: 1.5em;
	background: #551f19 url(img/footer-tile.png) top repeat-x;
	min-height: 75px;
	border-top: 10px solid #fff;
	padding: 1em 0;
	text-align: center;
}

#footer a {
 color: #fff;
}

#footer p {
}

#footer .inner {
  margin: 0 auto;
  width: 860px;
}

#footer-widgets {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#footer-widgets .flexipages_widget ul {
  padding: 0;
  margin: 0;
}

#footer-widgets .flexipages_widget li {
  display: inline;
  border-left: .1em solid #fff;
  margin-left: .5em;
  padding-left: 1em;
}

#footer-widgets .flexipages_widget li:first-child {
  margin-left: 0;
  padding-left: 0;
  border: 0;
}

/*******************************************************************************
			USED FOR CONTENT ADDED IN WORDPRESS
*******************************************************************************/

.post {
	padding: 1em 0;
}

.post .title {
	font-size: 2em;
	margin-bottom: .5em;
	padding-bottom: .5em;
}

.post .title a {
 text-decoration: none;
}

.post .title a:hover {
  text-decoration: underline;
}

.entry	{

}

p.postmetadata {
	border-top: 1px solid #0053A4;
	margin: .5em 0 0 0;
	padding: .5em 0 0 0 ;
	clear: both;
}

.comments-template {
	border-top: 1px solid #0053A4;
	margin: .5em 0 0;	
	padding: .5em 0 0;
}

.type-page .comments-template {
  margin: 0;
  border: 0;
  padding: 0;
}

.comments-template ol {
	list-style: none;
	margin: 0;
	padding: 0 0 1em;	
}

.comments-template ol li {
	border-bottom: 1px solid #0053A4;
	margin: .5em 0 0;	
	padding: 0 0 .5em;	
}

.comments-template h2, .comments-template h3 {
	font-size: 1.1em;
}

.commentmetadata {
	font-size: .9em;
}

.comments-template p.nocomments {
	padding: 0;
}

.comments-template textarea{
	font-size: .9em;
}

/* Image Positioning */
.alignright {
  float: right;
  display: inline;
  margin: 0 0 15px 15px;
}

.alignleft {
  float: left;
  display: inline;
  margin: 0 15px 15px 0;
}

.aligncenter {
  display: block;
  margin: auto;
  text-align: center;
}

.wp-caption-text {
  text-align: center;
}

/* Post Lists */
.post-list {
  margin-left: 0;
  padding-left: 0;
}

.post-list li {
  margin-left: 20px;
  }

.post-list .date, .ec3_events .date {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 1.3em;
  color: #9a6a33;
  margin-bottom: .5em;
}

.ec3_events {
  margin-left: 0;
  padding-left: 0;
}

.ec3_events, .ec3_events ul, li.ec3_list  {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  }
  
li.ec3_list ul {
  list-style: disc;
  color: #000;
}

li.ec3_list li {
  margin-left: 20px;
  }
  
table td {
    padding: 5px 0;
}

/* Clearing Floats */
/* slightly enhanced, universal clearfix hack */
.clear-block:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clear-block { display: inline-block; }
/* start commented backslash hack \*/
* html .clear-block { height: 1%; }
.clear-block { display: block; }
/* close commented backslash hack */

/* Tiny MCE */
.closer {
  line-height: 1.2;
}

.main-header {
  margin-bottom: 0;
}

.sub-header {
  margin-top: -.2em;
}