/*
Theme Name: St Aidans
Description: Custom Theme for St Aidans Church Remuera
Author: St Aidans
Author URI: http://www.staidans.co.nz
Tags: Custom

	St Aidans v0.5
	
*/

/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Georgia, "Times New Roman", Times, serif;	font-weight: normal;
	color: #333;
	text-align: center;
}

#page {
	background-color: #d8e0e6;
	text-align: left;
	}

#header {
overflow: hidden;
	}
.traverse {
display:block;
text-align:right;
}

#headerimg 	{
	margin: 0;
	height: 118px;
	width: 960px;
	}

#content {
	font-size: 1.2em;
		margin-bottom:30px;
		display:block;
	}
	#regevents {
	width:700px;
	clear:right;
	display:block;
	}
#slides {
		width:730px;
		height:223px;
	margin-left:232px;
	margin-top:-30px;
	display:block;
		position: absolute;
		overflow:hidden;
		z-index:1000;
		}
	.corner {
	position:absolute;
	z-index:100;
	margin-top:171px;
	}
	
#stlc {
	color:#131037;
	width:200px;
	height:193px;
	float:left;
	display:block;
	margin:0px 10px 0px 20px;
	}
#stlc .time {
	width:100px;
	float:left;
	}
#stlc .location {
	width:100px;
	float:left;
	clear:right;
	}
#stlc h3 {
		color:#131037;
		font-style: italic;
		margin:0px 0px 10px;
}
#stlc .map .button  {
margin-left:100px;
margin-top:10px;
width:80px;
height:22px;
display:block;
float:left;
}
#stlc .new .button  {
margin-left:0px;
margin-top:20px;
width:198px;
height:52px;
display:block;
float:left;
}

#secnav {
height:30px;
float:right;
width:730px;
clear:both;
}
#morelinks {
width:660px;
height:120px;
background-color:#fff;
float:right; }

#announcements {
padding:10px;
width:640px;
height:auto;
background-color:#fff;
float:right; }
#announcements h2 {
font-family: Georgia, "Times New Roman", Times, serif;	font-weight: normal;
color:#131037;
font-style: italic;
margin:0px 0px 10px;
		}
#announcements h3 {
font-family: Georgia, "Times New Roman", Times, serif;	font-weight: normal;
color:#131037;
font-style: italic;
margin:0px 0px 10px;
		}	
		#news .excerpt {
		font-size:12px;
		font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
		color:#666;
		font-style: normal;
}
		
#news {
margin-top:10px;
clear:right;
}
.newsimage{
display:block;
width:130px;
height:auto;
float:left;
}
#news .newstitle {
font-family: Georgia, "Times New Roman", Times, serif;	font-weight: normal;
color:#131037;
font-style: italic;
margin:0px 0px 10px;
		font-size:18px;
		}
#visuallinks {
width:300px;
height:512px;
float:right;
	background-color: #a4bbc9;
}



/*rollover button*/

a.button
{
    display: block;
    cursor: pointer;
}

a.button span, a#active_button span
{
    position: absolute;
    left: -999em;
}

a.button span
{
    text-indent: -999em;
}

@media all  /* this hides the style from IE5 mac */
{
    a.button span
    {
        position: absolute;
        left: -999em;
    }
}
.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	margin-top:15px;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

#twasa {
	background:  url('images/this-week.jpg') no-repeat bottom;
	font-family: Georgia, "Times New Roman", Times, serif;	font-weight: normal; font-style: italic;
	border: none;
	height:118px;
	bottom:0px;
	}
#twasa .widget {
	height:118px;
}
	#twasa .widget-title {
	font-size:1.4em;
	width:180px;
	float:left;
	margin-left:740px;
	margin-top:52px;
	color:#fff;
}
	#twasa .textwidget {
			width:300px;
			margin-top:-38px;
margin-left:350px;
	color:#fff;
	font-size:1.7em;
	float:left;

	}
	#finalwrapper {
	width:100%;
	height:150px;
	bottom:0px;
	position:relative;
	top:-5px;
	margin-bottom:-20px;
	}
	#footerwrapper {
	width:100%;
	height:150px;
		background-color:#131037;
}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
font-family: Georgia, "Times New Roman", Times, serif;	font-weight: normal;
	}

h1 {
	font-size: 3.8em;
	text-align: left;
	padding-left:160px;
	}

#headerimg .description {
	font-size: 1.7em;
	font-style: italic;
	text-align: left;
		padding-left:160px;
	font-family: Georgia, "Times New Roman", Times, serif;	font-weight: normal;
}

h2 {
	font-size: 1.6em;
	}

h2.pagetitle {
	font-size: 1.6em;
	}

#sidebar h2 {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.2em;
	}

h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: white;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}
.sticky h2 {
	padding-top: 10px;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */

/* Begin Navigation */

#navigation {
width:960px;
height:40px;
margin: 0px auto;
text-align:left;
font-size:1.3em;
display:block;
}

#navigation a {
color:#fff;
}
#navigation ul {
list-style:none;
margin:0px;
margin-left:110px;
display:block;
height:30px;
clear:left ;
}
#secnav ul {
list-style:none;
margin:0px;
display:block;
height:30px;
clear:left ;
}
#navigation li, #secnav li {
display: block;
float:left;
padding:7px 12px 7px 12px;
}
#navigation li a {
}
#navwrapper #navigation .current_page_item, #navwrapper #navigation .current_page_parent, #navigation .current_page_ancestor {
background-color:#96b0c2;
}
#navwrapper #navigation .current_page_item a {
color:#131037;
}
#secondarynavigation {
width:960px;
height:28px;
display:block;
margin: 0px auto;
text-align:left;
font-size:1em;
padding-top:4px;

}
#secondarynavigation ul {
list-style:none;
height:28px;
display:block;
margin:0px;
clear:both;
margin-left:70px;
}
#secondarynavigation li {
display: block;
float:left;
padding-top:5px;
}
#secondarynavigation li a {
padding: 0px 10px 10px 10px;
}
#secondarynavigation .current_page_item, #secondarynavigation .current_page_parent {
}
#secondarynavigation .current_page_item a, #secondarynavigation .current_page_ancestor a {
color:#fff; 
}
#secondarynavigation .current_page_item a, #secondarynavigation .current_page_ancestor a {
background: url('images/subnav-cur.png') no-repeat center 15px;

}
/* Begin Structure */
body {
	margin: 0px;
	padding: 0;
	background: #96b0c2 url('images/st-aidans-body-bg.png') center repeat-y;
	font-family: 'Lucida Grande', Verdana, Sans-Serif;

}
#pagewrapper {
	display:block;
	width:100%;
	text-align:center;
}
#page {
	background-color: #d8e0e6;
	margin: 0px auto;
	padding: 0;
	clear:both;
	width:960px;
	}
	
#headerwrapper {
width:100%;
height:118px;
margin-top:-75px;
background: url('images/st-aidans-banner.png') repeat-x top center;
z-index:99;
}
#navwrapper {
width:100%;
height:30px;
background-color:#131037;
z-index:99;
}
#secondarynavwrapper {
width:100%;
height:48px;
background-image: url('images/secnav-bg.png') ;
background-repeat: repeat-x;
margin-bottom:-19px;

z-index:99;
}
#header {
	background: url('images/st-aidans-banner.png') no-repeat top center;
	background-color: #73a0c5;
	margin: 0px auto;
	padding: 0;
	height: 118px; 
	width: 960px;
}

#headerimg {
	margin: 0;
	height: 118px;
	width: 100%;
	}
.cross {
display:block;
position:absolute;
margin-left:35px;
margin-top:20px;
float:left;
z-index:2000;
}
#header .search {
position:absolute;
margin-left:700px;
margin-top:50px;
float:right;
}
#breadcrumbs {
width:930px;
height:10px;
background-color: #FFF;
padding:7px 15px;
}
#breadcrumbs a {
color: #131037;
}
#pageimage {
width:960px;
height:223px;
display:block;
}
#xtnav {
width:300px;
height:115px;
float:left;
margin-right:10px;
margin-left:20px;
overflow:hidden;
text-align:left;
margin-top:10px;
	background: url('images/news-bg.png');


}
#grid {
width:300px;
height:135px;
float:left;
margin-right:10px;
overflow:hidden;
text-align:left;
margin-top:10px;
margin-bottom :30px;

}
#grid, #makelink {
width:300px;
height:135px;
float:left;
margin-right:10px;
overflow:hidden;
text-align:left;
margin-top:10px;
margin-bottom :30px;

}
#grid img, #xtnav img, #makelink img {
border: 4px solid #96B0C2;
background-color: #96B0C2;
float:left;
margin-right:10px;
width:119px;
}
#grid a, #xtnav a ,#makelink a {
	font-family: Georgia, "Times New Roman", Times, serif;	font-weight: normal; font-style: italic;
color:#131037;
font-size:1.3em;
line-height:25px;
}

.pageinfo {
font-size:1.5em;
}
#xtnav .pageinfo {
margin-top:20px;
display:block;
}
.upshadow {
width:100%;
background-image: url('images/shadow.png');
height:5px;
}

.excerpt {
display:block;
font-size:.5em;
margin-top:5px;
}
.narrowcolumn {
	float: left;
	padding: 10px 0 20px 5px;
	margin: 0px 0 0;
	width: 730px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 15px;
	width: 930px;
	}

.homecolumn {
	padding: 0px;
	margin: 0px;
	width: 960px;
	}
.post {
	margin: 0 0 40px;
	text-align: left;
	}
.post.hentry, .page.hentry {
	margin: 0 0 10px;
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	clear:both;
	padding-top:15px;
	margin: 0px auto;
	width: 960px;
	background-image: url('images/footer-bg.png');


	}
#twasa {
	padding: 0;
	clear:both;
	margin: 0 auto;
	width: 960px;
	}
#footer .left {
color: #fff;
clear:left;
padding-left:20px;
	display: block;
	float: left;
		width: 200px;
	text-align: left;

	}
#footer .addy {
	color: #fff;
float: right;
	margin-left:400px;
	width: 200px;
	height:135px;
	padding-right:20px;
text-align: right;
	background-image: url('images/addy-bg.png');
	}
/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 25px;
	margin: 0;
	}

h2 {
	margin: 0px 0 0;
	border-bottom: dashed grey 1px;
	padding-bottom:10px;
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size:2em;
}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */

#content h3 {
margin:0px;
color: #000080;
font-size: 1.6em;

}
#content p {
color: #000080;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 10px 30px 10px 0;
	margin-left: 10px;
	width: 170px;
	min-height:300px;

		background: url('images/sidebar-bg.jpg') no-repeat;
	float:left;
	display:block;
	}

#sidebar form {
	margin: 0;
	}
#sidebar .current_page_item a {
color:#131037;
}
	
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	height:20px;
display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
	}
.searchnav {
height:20px;
	display: block;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 10px;
	}
	
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */



/* START SLIDING PANEL */

/* Extra div to handle some IE scenarios with absolute positioning. */
#sliding-panel-container {
	position: relative;
	display: block;
	z-index: 999;
	width: 100%;
	}

/* Sliding panel. */
#sliding-panel {
	position: relative;
	top: 0;
	z-index: 999;
	width: 100%;
	margin: 0 auto;
	text-align: center;
	}

/* The part of the panel that actually slides. */
#sliding-panel .panel {
	overflow: hidden;
	display: none;
	position: relative;
	z-index: 10;
	width: 100%;
	height: 180px;
	background: #040D12;
	}

/* Widget container. */
#sliding-panel .panel-content {
	overflow: hidden;
	width: 960px;
	height: 150px;
	margin: 5px auto;
	padding: 0;
	text-align: left;
	}

/* Sliding panel widgets. */
#sliding-panel .widget {
	overflow: hidden;
	float: left;
	width: 230px;
	height: 170px;
	margin: 0;
	padding: 0 5px;
	font: normal normal normal 10px/17px Georgia, Times, 'Times New Roman', serif !important;
	color: #888;
	background: transparent;
	border: none;
	}
#sliding-panel .widget-inside {
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	}
#sliding-panel .widget-inside ul {
padding:0px;}
/* Sliding panel widget titles. */
#sliding-panel .widget-title {
	margin: 0 0 5px 0;
	padding: 0;
	font: normal normal bold 10px/17px Arial, Verdana, sans-serif !important;
	color: #999;
	text-transform: none;
	background: transparent;
	border: none;
	}

/* Sliding panel widget lists. */
#sliding-panel .widget ul {
	margin-left: 0px;
	list-style: square;
	}
#sliding-panel .widget ul li {
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	}

/* Sliding panel widget links. */
#sliding-panel .widget a {
	font-style: italic;
	color: #eee;
	text-decoration: none;
	}
#sliding-panel .widget a:hover {
	text-decoration: underline;
	}

/* Toggle div wrapper. */
#sliding-panel .tab {
	position: relative;
	top: -35px;
	z-index: 9999;
	height: 37px;
	border-top: 2px solid #040D12;
	}

/* Wrapper for the open/close button. */
#sliding-panel .tab .toggle {
  	clear: both;
	display: block;
	position: relative;
	width: 960px;
	height: 35px;
	line-height: 35px;
	margin: 0 auto;
	}

/* Open/close link. */
#sliding-panel .tab a {
	display: block;
	float: right;
	position: relative;
	width: 130px;
	height: 35px;
	top: -1px;
	margin: 0;
	padding: 0;
	font: normal normal bold 12px/33px Georgia, Times, 'Times New Roman', serif !important;
	color: #fff;
  	background: #040D12;
 	text-align: center;
	}
	
	#sliding-panel .cntct a {
		z-index: 99999;
	position: relative;
	width: 130px;
	height: 35px;
	top: 0px;
	left:300px;
	margin: 0;
	margin-bottom:-70px;
	padding: 0;
	font: normal normal bold 12px/33px Georgia, Times, 'Times New Roman', serif !important;
	color: #fff;
 	text-align: center;
	}

/* Open link. */
#sliding-panel .tab a.open {
	}

/* Close link. */
#sliding-panel .tab a.close {
	}

/* Open/close link hover. */
#sliding-panel .tab a:hover {
	cursor: pointer;
	text-decoration: underline;
	}

/* Open/close link array (&urarr;). */
#sliding-panel .tab a .arrow {
	font-style: normal;
	}
