/**********************************************************************************************

	CSS on Sails
	Title: Website
	Author: XHTMLized
	Date: May 2008 

***********************************************************************************************

		
	1. BASE
			1.1 Reset
			1.2 Default styles
			1.3 Basic styles
	
	2. LAYOUT
			2.1 Header
			2.2 Navigation
			2.3 Sidebar
			2.4 Content
			2.5 Footer
			2.6 People
		

***********************************************************************************************/


/* 1. BASE
-----------------------------------------------------------------------------------------------
===============================================================================================*/	



/* 1.1	Reset
-----------------------------------------------------------------------------------------------*/	


	html, body, div, span, applet, object, iframe,
	h1, h2, h3, h4, h5, h6, p, blockquote, pre,
	a, abbr, acronym, address, big, cite, code,
	del, dfn, em, font, img, ins, kbd, q, s, samp,
	small, strike, strong, sub, sup, tt, var,
	b, u, i, center,
	dl, dt, dd, ol, ul, li,
	fieldset, form, label, legend,
	table, caption, tbody, tfoot, thead, tr, th, td {
		margin: 0;
		padding: 0;
		border: 0;
		outline: 0;
		
		vertical-align: baseline;
		background: transparent;
	}
	
	body {
		line-height: 1;
	}
	
	ol, ul {
		list-style: none;
	}
	
	blockquote, q {
		quotes: none;
	}
	
	blockquote:before, 
	blockquote:after,
	q:before, q:after {
		content: '';
		content: none;
	}
	
	:focus {
		outline: 0;
	}
	
	ins {
		text-decoration: none;
	}
	
	del {
		text-decoration: line-through;
	}
	
	table {
		border-collapse: collapse;
		border-spacing: 0;
	}
/* 1.2	Default styles
-----------------------------------------------------------------------------------------------*/	

	body {
		background: #d7cece;
		font: 62.5% Verdana, Trebuchet, sans-serif;
		text-align: center;
		color: #291f1a;
		}

	hr { 
		display: none;
	}
			
	strong {
		font-weight: bold;
	}
			
	em {
		font-style: italic;
	}
		
	abbr, acronym {
		border-bottom: 1px dotted #999; 
		cursor: help;
	}
	
	input, textarea, select {
		font: 1.2em Verdana, Trebuchet, sans-serif;
	}

	a {
		color: #73202c;
		text-decoration: none;
	}
	
	a:hover, 
	a:active {
		color: #73202c;
		text-decoration: underline;
	}
	

/* 1.3	Basic styles
-----------------------------------------------------------------------------------------------*/	

	.hide {
		position: absolute;
		left: -1000em;
		text-align: left;
	}
	
	.clear {
		height: 1%; 
	}
	
	.clear:after {
		display: block; 
		visibility: hidden; 
		clear: both; 
		height: 0; 
		content: "."; 
	}

/* 2. LAYOUT
-----------------------------------------------------------------------------------------------
===============================================================================================*/	

	.container {
		width: 943px;
		position: relative;
		margin: 0 auto;
		text-align: left;
	}
	
	#header {
		height: 353px;
		border-bottom: 3px solid #eeebe2;
		background: url(../images/header.jpg) no-repeat top left;
		position: relative;
	}
	
	body.subpage #header {
		height: 119px;
		background: url(../images/header-sub.jpg) no-repeat top left;
	}
	body.subpage #header a.homeLink {
                height: 119px;
                width: 300px;
                display: block; }
        #header a.homeLink span {
                display: none;
        }
	
	/* Default (two column layout) */
	
	.bg {
		background: #eeebe2;
	}
	
	.content-wrap {
		background: #eeebe2;
		border-bottom: 1px solid #3a2f29; 
		margin: 0 52px;
	}
	
	#content { 
		margin-top: 1px;
		background: #eeebe2;
		font-size: 1.2em;
		line-height: 1.4em;
		padding: 20px 55px;

	} 
	#subForm {
	text-align: right;
	width: 300px;
	border: 1px none #6E001D;
	}
	.imageRight, #content img {
		float: right;
			}

img.padd
{float: left;}

#content table img, #content tr img, #content td img {float: left;}
	
	body.subpage #content {
		margin-top: 0;
		float: left;
		padding: 30px 0 0;
		width: 664px; 
		min-height: 350px;
	}
	
	#sidebar {
		width: 165px;
		float: left; 
		padding: 65px 10px 10px 0; 
		background: #eeebe2;
	}
	
	#footer {
		clear: both;
		background: #dcd8cc;
		color: #505050;
		padding: 10px 52px;
	}
	
	body.subpage #footer {
		border-top: 18px solid #eeebe2;
	}
	
/* 2.1	Header
-----------------------------------------------------------------------------------------------*/	
	
	#accessibility-links {
		position: absolute;
		left: -1000em;
		text-align: left;
	}
	
	#header ul.top-nav {
		float: right;
		padding: 5px 0;
		font-size: 1.1em;
	}
	
	#header ul.top-nav li {
		display: inline;
	}
	
	#header ul.top-nav li a {
		color: #370012;
		padding: 0 7px;
	}
		
	#header ul.top-nav li.active a,
	#header ul.top-nav li.active a:hover {
		color: #760027;
		text-decoration: none;
	}
	
	
/* 2.2	Navigation
-----------------------------------------------------------------------------------------------*/	

	#navigation {
		background: #310b0b url(../images/bg-nav.gif) repeat-x top left; 
		padding: 5px 5px 0;
	}
	
	#navigation ul {
		padding-left: 25px;
	}
	
	#navigation li, 
	#navigation p {
		font-weight: bold;
		font-size: 1.1em;
	}
	
	#navigation li {
		float: left;
	}
	
	#navigation li a {
		color: #b7b7b7;
		text-transform: lowercase;
		display: block; 
		padding: 8px 22px 10px 22px;
	}
	
	#navigation li.active a,
	#navigation li.active a:hover {
		background: #d5cecd;
		color: #760027; 
		text-decoration: none;
	}
	
	#navigation li a:hover {
		color: #fff;
		text-decoration: underline;
	}
	
	#navigation p {
		float: right;
		text-align: right;
		font-size: 1em; 
	}
	
	#navigation p a {
		color: #dcd8cc;
		display: block;
		padding: 0 22px 5px;
		background: transparent;
	} 
	
	#navigation p a.current {
		background: #d5cecd;
		color: #760027; 
		text-decoration: none;
	}
		
	/* sub navigation */
	#sub-nav {
		
		}
	#sub-nav .searchBar {
	float: right;
	display: block;
	margin-top: 3px;
	margin-bottom: 3px;	
	}
		
	#sub-nav ul {
		padding-left: 42px;
	}
	
	#sub-nav li {
	float: left;
	font-size: 1.1em;
	font-weight: bold;
	}
	
	#sub-nav li a {
	color: #370012;
	display: block;
	padding: 9px 10px;
	}
	
	#sub-nav li a:hover {
		color: #960032;
		text-decoration: underline;
	}
	
	#sub-nav li.active a,
	#sub-nav li.active a:hover {
		color: #960032;
		text-decoration: none;
	}

	
/* 2.3	Sidebar
-----------------------------------------------------------------------------------------------*/	
	
	#sidebar li { 
		font-weight: normal;
		font-size: 1.1em; 
	}
	
	#sidebar li a {
		color: #960032;
		display: block;
		padding: 6px 0; 
	}
	
	#sidebar li a:hover {
		color: #370012;
		text-decoration: underline;
	}
	
	#sidebar ul li.active a,
	#sidebar ul li.active a:hover {
		color: #370012;
		text-decoration: none;
	}
	#sidebar ul ul {
	margin-left: 20px;
		
		}
/* 2.5	Footer
-----------------------------------------------------------------------------------------------*/	

	#footer a {
		color: #73202c;
	}
	
	#footer li {
		float: left;
		background: url(../images/bg-li.gif) no-repeat center left;
		padding: 0 10px;
	}
	
	#footer li.first {
		padding-left: 0;
		background: none;
	}
	
	#footer li.current a {
		color: #291f1a;
	}
	
	#footer p {
		text-align: right;
	}

#footerlinks #admin_link {
overflow: hidden;
background-position: center;
width: 90px;
height: 25px;
float: left;
margin-right: 1em;
font-size: 0px;
text-align: center; }

#footerlinks #edit_link {
font-size: 0px;
overflow: hidden;

background-position: center;
width: 90px;
height: 25px;
display: block;
float: right;
}	
	
/* 2.6	People
-----------------------------------------------------------------------------------------------*/	

	#people li a {
		display: block;
		position: absolute;
		text-decoration: none;  
		cursor: hand;
	}
		
	#people li a span.onPeople {
		display: none;
	}
	
	#people li.p_jane-and-peter a:hover span.onPeople {
		left: 118px;
		top: 203px;
	}
		
	#people li.p_faith-church a:hover span.onPeople { 
		left: 41px;
		top: 23px;
	}
		
	#people li.p_helen-and-frank a:hover span.onPeople {
		left: -175px;
		top: 118px;
	}
		
	#people li.p_jeremy-and-sarah a:hover span.onPeople {
		left: -113px;
		top: 183px;
	}
		
	#people li.p_pastor-dave a:hover span.onPeople {
		left: -187px;
		top: 188px;
	}
	
	#people li a:hover span.onPeople {
		display: block;
		position: absolute; 
		top: 200px; 
		left: 0; 
		width: 239px;
		height: 143px; 
		text-decoration: none; 
		color: #291f1a;
		z-index: 100; 
		background: url(../images/bg_teaser.gif) no-repeat top left; 
		opacity: .85; /* CSS3 standard */
		filter: alpha(opacity=85); /* IE proprietary style */
		-moz-opacity: .85; /*Mozilla 1.6 and below*/
		padding: 19px 30px 15px 24px;
	}
	
	/*#people li a:hover span strong {
		font-size: 1.4em; 
	}*/ 
		
	#people li a:hover span strong.continue {
		border: 0;
		font-size: 1em;
		padding-top: 5px;
	}
		
	#people li a:hover span strong.continue {
		font-size: 1em;
		color: #73202c; 
		border-top: 1px solid #291f1a;
		margin-top: 11px;
		display: block;
		text-decoration: underline;
	}  
		
	#people li.p_jane-and-peter a {
		top: 0;
		left: 0;
		height: 350px;
		width: 240px;
	}
	
	#people li.p_faith-church a {
		top: 140px;
		left: 255px;
		height: 110px;
		width: 110px;
	}
	
	#people li.p_helen-and-frank a {
		top: 70px;
		left: 400px;
		height: 280px;
		width: 130px;
	}
	
	#people li.p_jeremy-and-sarah a {
		top: 20px;
		left: 545px;
		height: 330px;
		width: 190px;
	}
	
	#people li.p_pastor-dave a {
		top: 0;
		right: 0;
		height: 350px;
		width: 179px;
	} 
	
/* 2.7	Profiles
-----------------------------------------------------------------------------------------------*/	
body.profile1 #header { background: url(../images/p1.jpg) no-repeat top left; }
body.profile2 #header { background: url(../images/p2.jpg) no-repeat top left; }
body.profile3 #header { background: url(../images/p3.jpg) no-repeat top left; }
body.profile4 #header { background: url(../images/p4.jpg) no-repeat top left; }
body.profile5 #header { background: url(../images/p5.jpg) no-repeat top left; }

/* close button */
p.close a { 
	display: block;
	width: 60px;
	height: 20px;
	position: absolute;
	right: 180px;
	top: 324px;
}

/* number navigation */
ul.num-nav {
	position: absolute;
	bottom: 0;
	right: 0; 
	padding: 0;
}

ul.num-nav li {
	float: left;
	padding: 0;
	display: block;
	width: 22px;
	height: 22px;
	margin-left: 4px;
}

ul.num-nav li a {
	display: block;
	width: 22px;
	height: 22px;  
	padding: 0 !important;  
	overflow: hidden;
}

/* profile box */
#profileFrame {
	color: #3a2f29; /* MFC charcoal */
	font-size: 1.2em;
	line-height: 1.5em;
	/* Size */
	width: 357px; 
	height: 180px; 
	/* Positioning */
	z-index: 50000;
	position: absolute; 
	left: 361px;
	top: 85px;
	/* iframe type of overflow */
	overflow: auto; 
	/* edge treatments */
	padding: 20px; 
	border-top: 3px solid #3a2f29; 
	border-bottom: 1px solid #3a2f29;
	/* scrollbar color (IE only) */
	scrollbar-face-color: #827a73;
	scrollbar-highlight-color: #cacaca; 
	scrollbar-3dlight-color: #ffffff; 
	scrollbar-darkshadow-color: #3a2f29; 
	scrollbar-shadow-color: #999999; 
	scrollbar-arrow-color: #EEEBE2; 
	scrollbar-track-color: #dcd8cc; 
}
#profileFrame p.nopadd {
	padding-bottom: 5px;
}

#profileFrame a {
	text-decoration: underline;
}

#profileFrame a:hover {
	text-decoration: none;
}

#profileFrame strong {
	font-size: 1.2em;
}
#header h2 {
	position: absolute;
	left: 381px;
	top: 45px;
	font-size: 22px;
	line-height: 26px;
	font-weight: bold;
	color: #3a2f29; /* MFC charcoal */
}
#profileFrame ul {  
	padding: 0 0 14px 30px;
}
#profileFrame ul li {   
	list-style: disc; 
}
#profileFrame p {
	padding-bottom: 14px;
} 


/******** GALLERY MODULE ********/ 
#photo h1{
	text-align: center;
        margin-bottom: 0.5em !important;
	}
#photo .navigation{
	height: 75px;
	text-align: center;
	width: 400px;
	margin: 0 auto;
	}	
	#photo .previous, #photo .next{
		padding: 0px;
		display: block;
		width: 40px;
		height: 25px;
	}
	#photo .previous{
		float: left;
		background: url(/images/previous.gif) no-repeat;
	}
	#photo .next{
		float: right;
		background: url(/images/next.gif) no-repeat;
	}
        #photo .back{
	        font-size: 0.9em;
                color: #aaa;
                text-decoration: none;
        }
        #photo .back:hover{
	        text-decoration: underline;
        }
	#photo p{
		margin: 0 0 10px 0;
	}
	#photo .image{
		clear: both;
		text-align: center;
	}
	#photo .image img{
		border: 1px solid #111;
	}
        #photo .description{
	   width:400px; 
                margin: 1em auto; 
                font-size:0.9em; 
                text-align: center;
        }
#gallery {
margin-left: 50px; }

#gallery ul{
  margin: 0;
  padding: 0;
}
  #content .right-side #gallery ul li{
    margin: 0 5px 5px 0;
    list-style-type: none;
    float: left;
    width: 150px;
    height: 155px;
    line-height: 150px;
    text-align: center;
    border: 1px solid #ccc;
    background-color: #b4cbf0;
  }

  #gallery ul li:hover{
      border: 1px solid #aaa;

  }


#content .right-side #gallery li img{
    vertical-align: middle;
    border-top: 0px solid #000;
    border-bottom: 0px solid #000;
  }




/******** SITEMAP MODULE ********/

#sitemap li.sub{
list-style-type: none;
}
