/*****************************/
/*** Core html setup stuff ***/
/*****************************/
*, html, body {
	margin:0;
	padding:0;
}
p, div, td {
	line-height:1.3em;
}
html {
  height: 100%;
  margin-bottom: 1px;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Helvetica,Arial,sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 12px;
	color: #333;
}
a:link, a:active, a:visited, a:hover{
	text-decoration: none;
	font-weight: normal;
	color:#0000ee;
}
a:visited {
	color:#5b82ff;
}
a:hover {
	text-decoration: underline;
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 10px; }

img { border: 0 none; }

h2{
	padding: 0;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	font-weight: normal;
	vertical-align: bottom;
	color: #faa61a;
	text-align: left;
	width: 100%;
}

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#wrapper{
	text-align:center;
}
#innerWrapper{
	width:920px;
	margin:0px auto;
	text-align:left;
}
#header{
	background:url(../images/Banner-Worship.jpg) center no-repeat;
	width:920px;
	height:100px;
	margin-bottom:8px;
	
}

#logo{
	float:left;
	margin-left:10px;
	background:url(../images/uniting-church-logo.png) no-repeat left;
	padding-left:90px;
	height:100px;
}
#logo h1{
	margin-top:25px;
	font-size:20px;
	line-height:1.1em;
	color:#ffffff;
}
#logo h2{
	color:#ffffff;
	line-height:1.1em;
}
#logo a, #link a:link, #link a:active, #link a:visited,  #link a:hover{
	text-decoration:none;
	color:#FFFFFF;
} 
#search{
	padding-top:70px;
	float:right;
	width:200px;
}
#search input{
	margin-right:3px;
}
#search .button{
	height:14px;
	width:14px;
	border:none;
}
#navigation{
	background:url(../images/navigation-bg.png) center no-repeat;
	width:920px;
	height:29px;
	text-align:center;
	margin-bottom:5px;
	color:#FFFFFF;
}
#navigation ul{
	list-style:none;
}
#navigation li{
	display:inline;
	line-height:29px;
	border-left:#FFFFFF solid 2px;
}
#navigation li a, #navigation li a:visited, #navigation li a:active, #navigation li a:hover {
	margin:auto 20px 5px 20px;
	text-decoration:none;
	text-transform:capitalize;
	color:#4c4d4f;
	font-weight:bold;
}
#navigation td a, #navigation td a:visited, #navigation td a:active, #navigation td a:hover {
	margin:auto 20px 5px 20px;
	text-decoration:none;
	text-transform:capitalize;
	color:#4c4d4f;
	font-weight:bold;
	line-height:29px;
}

#topMain{
	width:920px;
	height:6px;
	background:url(../images/topMain.png) center no-repeat;
}
#main{
	width:918px;
	height:auto;
	margin:0px auto;
	border-left:1px #e4e4e5 solid;
	border-right:1px #e4e4e5 solid;
}
#left{
	width:217px;
	padding:20px 15px 15px 20px;
	vertical-align:top;
}
#center{
	vertical-align:top;
	padding:20px 15px 15px 20px;/*
	float:right;
	width:625px;*/
}
#pathway, #pathway a:link, #pathway a:visited, #pathway a:active, #pathway a:hover{
	width: 100%;
	text-align: left;
	color:#797a7b;
	font-size:10px;
	margin-bottom:2em;
}
#content{

}
#content ul, #content li{
	margin-left:15px;
	line-height:1.5em;
}

#right{
	width:217px;
	padding:20px 15px 15px 20px;
	vertical-align:top;
}
#bottomMain{
	clear:both;
	width:920px;
	height:6px;
	margin:0px auto 10px auto;
	background:url(../images/bottomMain.png) center no-repeat;
}
#footer{
	width:920px;
	margin:0px auto 30px auto;
	padding-bottom:30px;
	text-align:center;
	color:#797a7b;
	font-size:0.92em;
}
#footer ul{
	list-style:none;
}
#footer li{
	display:inline;
	margin:0px 5px 0px 5px;	
}
#footer a:link, #footer a:visited,  #footer a:active{
	color:#797a7b;
	text-decoration:none;
} 
#footer a:hover{
	color:#797a7b;
	text-decoration:underline;
} 





/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}



/* headers */
div.componentheading {
  padding-left: 0px;
}

h1 {
	padding: 0;
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	color: #666;
	text-align: left;
	width: 100%;
}

#content h2, #content .contentheading, #content .componentheading {
	padding: 0;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: 1.8em;
	line-height:1.3em;
	font-weight: normal;
	vertical-align: bottom;
	color: #3b5178;
	text-align: left;
	width: 100%;
	margin-bottom: 10px;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

#content h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

#content h3, #content .contentheading, table.moduletable th, legend {
	font-weight:bold;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 1.2em;
	color:#000000;
	padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
}

/*****************************************/
/*** Custom Module areas               ***/
/*****************************************/
.moduletable{
	margin: 0px 0px 10px 0px ; 

}
.moduletableS1{
	margin: 0px 0px 10px 0px ; 
	padding: 15px 20px; 
	background: #e1e2e3;

}
.moduletableS1 h3{
	line-height:1.3em;
	margin-bottom:10px;
}
