﻿/*
	Layout
	
	BODY
		MainWrapper
			Main
				Content	
		Footer
*/

/* THE FOLLOWING CODE RESETS THE QUIRKY BEHAVIOR BETWEEN DIFFERENT BROWSERS. */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;}q:before,q:after{content:'';}

html, body, form, #mainwrapper  
{
	height: 100%;
}

body
{
	background: #9A8975;
}

body > #mainwrapper 
{
	min-height: 100%;
}

#mainwrapper 
{
	width:923px;
	height: auto;
  	margin: auto;
	background:url('images/mainbg.jpg') repeat-y;
  	padding-top:13px;
	overflow:hidden;
	padding-bottom: 100px;  /* must be same height as the footer */
}

#main 
{
	height: 100%;
	margin:auto;
	width: 860px;
}

#header
{
  	width: 860px;
  	height: 129px;
  	padding-bottom: 10px;
  	overflow: hidden;
  	background:url('images/headerbg.png') no-repeat;
  	position: relative;
}


#sponsor
{
	position:relative;
	height:21px;
	left:139px;
	z-index:2;
	width:500px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:70%;
	font-style:italic;
	color:#fff;
}

#congregation
{
	position:relative;
	height:21px;
	left:139px;
	z-index:2;
	width:500px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:110%;
	color:#fff;
}

#date
{
	position:relative;
	height:21px;
	left:500px;
	z-index:2;
	width:100%;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:110%;
	color:#fff;
}

#tagline 
{
	position: relative;
	height: 21px;
	left: 139px;
	z-index: 2;
	width: 500px;
	color:  #fff;
	text-transform:uppercase;
	font-family: Futura Medium, myriad pro, arial, helvetica, verdana, sans-serif;
	font-size: 110%;
}

#content 
{
  	width: 860px;	/* image width */
}

.contentbox
{
	background-position: top center;
  	background-image: url('images/contentImage.gif');
	background-repeat: no-repeat;
  	background-color: #C7B299; 
	height: 590px;
	position: absolute;
}

.contenttext
{
	width: auto;
	padding: 40px 35px 0px 35px;
  	color: black;
  	font-size: 100%;
  	font: medium AGaramond Pro, myriad pro, arial, helvetica, verdana, sans-serif;
  	text-align: left;	
}

#footer 
{
	margin: auto;
	width: 860px;
	margin-top: -100px; /* negative value of footer height */
	height: 100px;
	font-family: Futura Medium, myriad pro, arial, helvetica, verdana, sans-serif;
	font-size: 70%;
	position:relative;
	clear:both;
	float: inherit;
}

#footer a
{
	font-size: 13px;
	text-decoration: none;
  	color: #000000;
}

#footer a:hover
{
  	background: #000000;
	font-size: 13px;
	text-decoration: none;
  	color: #ffffff;
}

a
{
	text-decoration: underline;
  	color: #0000ff;
	text-transform: capitalize;
}

a:hover
{
	text-decoration: none;
  	color: red;
}

th
{
	font-family: Futura Medium, myriad pro, arial, helvetica, verdana, sans-serif;
  	font-size: 16px;
	font-weight: bold;
}

td
{
	font-family: Futura Medium, myriad pro, arial, helvetica, verdana, sans-serif;
  	font-size: 14px;
}

td.main
{
	font-family: Futura Medium, myriad pro, arial, helvetica, verdana, sans-serif;
  	font-size: 17px;
	vertical-align: text-top;
}

h3
{
	margin-bottom: 2px;
	margin-top: 10px;
}

.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 */

.alignleft 
{
	float: left;
}

.alignright 
{
	float: right;
}
