/* global page layout - positioning header, content, mainnav and footer*/

#header {
	margin: -13px 0 -13px 0;
	padding:0;
}

#header:after {clear:both;}


/* #main contains the main content of the page */

#main {display:inline; /* gets around IE 5/6 bug that doubles the margin - ignored by all other browsers - details at http://www.positioniseverything.net/explorer/doubled-margin.html */
	float:left;
	width: 73%;
}

#main:after {clear:both}

#nav { display:inline; /* gets around IE 5/6 bug that doubles the margin - ignored by all other browsers - details at http://www.positioniseverything.net/explorer/doubled-margin.html */
	float:right;
	width:23%;
	margin-right:2%;
	}

#footer {
	clear:both;
	margin-top: 50px;
	border-top: solid 1px #060;
	padding:0 1%;
	margin-left:2%;
	margin-right:2%;	
}

/* end of global page layout */


span.divclear {
	display:block !important;
	clear:both !important;
	padding:0 !important;
	margin:0 !important;
}
/* end clearing declarations */

/* global page styles */

body {color: #000;
	background: #fff;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size: 80%;
	margin: 0;
}

a:link {color: #060;}
a:visited {color: #060;}
a:hover {color: #6c0;}

.b {font-weight:bold;}
.i {font-style:italic;}
.site-name {font-weight:bold;
	color:#060;
}


h1 {font-size: 130%;
	color: #060;
	font-weight:bold;
}

h1.header {color: #fff;
		font-size: 160%;		
		background: #6c0 url(/images/header_grass4.gif) no-repeat right bottom;
		margin-bottom: 17px;
		height: 40px;
		padding-top: 26px;
		padding-left:20px;
}

#main h1.page {margin-left: 20px;
	margin-top: 20px;
	padding-bottom: 5px;
	border-bottom: 1px solid #dec;
}

h2 {font-size: 110%;
	color: #060;
	background-color:#efd;
	font-weight: bold;
}

h2.page {margin-left:20px;
	padding-bottom:0;
	padding-left:10px;
	width:90.5%;}

h2.nav {font-size: 100%;
	background-color:#060;
	color:#fff;
	margin: 0;
	padding:2px 5px 2px 5px;
}

h2.nav.top {border-top: #efd solid 10px;}

ul.page {margin-left: 20px;
	padding-left: 20px;
	font-size: 90%;
}

ul.nav {list-style-type:none;
	text-align:left;
	margin:0 0 10px 0;
	padding:0;
	font-size: 85%;
	color:#000;
}

li.nav {padding-left:15px;
	margin:0;
	background-color:#efd;
	border-bottom: 1px solid #dec;
}

li.nav a:link, li.nav a:visited {text-decoration: none}

li.nav a:hover {color:#fff;
	background:#060;
}	

p.page {margin-left:20px; 
	margin-right: 2%;
	font-size: 90%;
}

p.copyright {font-size: 70%;
		margin-left: 5px;
		color: #060;
		border-bottom: 5px solid #fff;
}

p.date {font-size: 70%;
	font-weight:bold;
	text-align:center;
	color:#060;
	margin-top:10px;
	margin-bottom:62px;}

p.box {background-color: #efd;
		text-align:center;
		padding: 5px;
		margin-left: 150px;
		margin-right: 150px;
		font-weight:bold; 
		color: #060;
}

/* following class is to hide elements that give extra information for users of assistive technology such as screenreaders - for more info see: http://www.webaim.org/techniques/articles/hiddentext */
.hidden {
	position:absolute;
 	left:0px;
 	top:-500px;
 	width:1px;
 	height:1px;
 	overflow:hidden;
}

#teamlinks {padding-left:0;
	background:#efd;
}

#teamlinks ul.teamlinks {margin:0;
	padding-left: 10px;
	list-style-type:none;
	border-top: 3px solid #efd;
	border-bottom: 3px solid #efd;
}

#teamlinks li {
	display:inline;
	font-weight:bold;
	font-size: 12px;
	color: #060;
	margin-left: 5px;
	
	}

#teamlinks li.first {margin-left: 12px;}

#teamlinks a:link, #teamlinks a:visited {
	text-decoration: none; border-right: 1px solid #060;
}

#teamlinks a:hover {background: #060; color:#fff;			
}



/* home page styles */
			
#home #main div.team-picture {
	padding:10px 10px 1px 30px;
	background:#efd;
	margin:0 0 -18px 0;	
}

#home #main #churchlinks {
	background:#efd;

}
#home #main ul.churchlinks {
	list-style-type:none;
	border-bottom: 5px solid #efd;
}

#home #main #churchlinks li {
	display:inline;
	font-weight:bold;
	font-size: 12px;
	color:#060;
}

#home #main #churchlinks li.first {margin-left:12px;}

#home #main #churchlinks li.second {margin-left:23px;}

#home #main #churchlinks li.third {margin-left:18px;}

#home #main #churchlinks li.fourth {margin-left:29px;}
#home #main #churchlinks li.fifth {margin-left:34px;}

#home #main #churchlinks a:link, #churchlinks a:visited {
	text-decoration: none}

#home #main #churchlinks a:hover {background: #060;
	color: #fff;
}


#home #main p.page {margin-left:30px; 
}

#home #main h3.event {margin-left:30px;
	font-size:90%;
	margin-bottom: 0;	 
}

#home #main p.event {margin-left: 30px;
	font-size:90%;
	margin-bottom: 0;
	margin-top: 0;
}

#global #main {width:71%;}

#left, .left {float: left;
	width:49%;
	border-right: #dec solid 1px;
}

#right, .right {float: right;
	width:49%;
	border-right: #dec solid 1px;
}

.sixty-wide {
	width:59%;
}

.forty-wide {
	width:39%;
	}

.seventy-wide {
	width:69%;
}

.thirty-wide {
	width:29%;
	}


.eighty-wide {
	width:79%;
}

.twenty-wide {
	width:19%;
	}

.page {margin-left:20px; 
	margin-right: 2%;
}

#Parish-map img {margin-left: 2%;
	margin-bottom: 20px;	
}

ol.churches {list-style-type: upper-alpha; padding-left: 12px;
}

ol.neighbours {list-style-type: decimal; padding-left: 12px;
}


.nodec {
	text-decoration: none;
	}
