/*--------Page layout--------*/
/*Header*/
#header {
	height:120px;
	background-image: url(top-bar.jpg); 
	background-repeat:no-repeat;
}

/*Main content in the middle*/
#mainContent {
	float:left;
	display:inline;
	width:55%;
	margin-left:174px;
	padding: 0 8px 0 8px;
}

/*Primary nav on the left*/
#primaryNav {
	float:left;	
	width:174px;
	margin-left:-55%;
	position:relative;
	left:-190px;
}
/*Secondary nav on the right*/
#secondaryNav {
	float:left;
	width:150px;
	margin-right:-15px;
}

/*Outer container with a min and max width*/
/*IE 6 doesn't support min and max width but will ignore this due to the child selector (also not supported)...*/
html>body #outerContainer {
	width:auto;
	max-width:1000px;
	min-width:750px;
	position:relative;
}
/*...but will see this and fix the width for now. This gives a usable fixed width in IE 6 and a better sizable width as people upgrade to Firefox or IE7.*/
#outerContainer {
	width:764px;
	position:relative;
}



/*--------Styling--------*/
/*Global styles*/
body {
	font-family:trebuchet MS, verdana, sans-serif;
	background:#FCFEFD;
	margin:0px;
	font-size:90%;
}
h1 {
	color:#003366;
	background-image: url('heading_line.gif');
	background-repeat: no-repeat; 
	background-position:bottom left;
	margin-top:0px;
	margin-bottom:12px;
}
h2 {

	color:#003366;
	font-size:120%;
	margin-top:16px;
	margin-bottom:0px;
}
h3 {

	color:#003366;
	font-size:110%;
	margin-bottom:0px;
	padding-bottom:0px;
	
}
h4 {
	margin-bottom:0px;
	
}

a {
	color:#743a36;
	text-decoration:none;
}

a:hover {
	color:#7f5650;
	text-decoration:underline;
}

p {
	margin-top:8px;
}

/*Additional styling for specific content areas*/
/*Header*/
#header {
	background-image: url(top-bar.jpg); 
	background-repeat:no-repeat;
}

/*Main content styling*/
#mainContent img {
	padding:10px;
}

#mainContent table  {
	border-style:none;
	border-collapse: collapse;
}

#mainContent th  {
	background:#D3DEEB;
	color:#003366;
	border-style:solid;
	border-color:#FFFFFF;
	text-align:left;
	padding:4px;
}

#mainContent td  {
	background:#EBF1F7;
	border-style:solid;
	border-color:#FFFFFF;
	vertical-align:top;
	padding:4px;
	font-size:90%;
}

/*Primary nav styling*/
#primaryNav {
	height:464px;
	background-image: url(side-bar.jpg); 
}

#primaryNav h2 {
	display:none;
}

#primaryNav ul {
	position: relative;
	left:10px;
	width:110px;
	font-size:90%;
	padding-bottom:8px;
	padding-top:8px;
	padding-left:10px;
	margin:0px;
	list-style-type: disc;
	list-style-image: url(list-item.gif);
	background-image: url(menu-sep.gif);  
	background-repeat: no-repeat; 
	background-position: top left;
}

#primaryNav ul ul {
	font-size:95%;
	padding-bottom:2px;
	padding-left:0px;
	padding-top:2px;
	list-style-type: none;
	list-style-image: none;
	background-image: none;  
}

#primaryNav ul.first  {
	padding-top:24px;  
	background-image: none;  
}

#primaryNav ul.last  {
	background-image: none;  
}

#primaryNav a  {
	color: #000000;
}

#primaryNav a.active {
	color: #006699;
}

#primaryNav a:hover  {
	color: #0099CC;
	text-decoration:none;
}

/*Secondary nav styling*/
#secondaryNav h2 {
	color:#003366;
	font-size: 14px;
	padding-left:8px;
	padding-top:4px;
	padding-bottom:16px;
	margin-bottom:0px;
	margin-top:4px;
	height: 22px;
	background-image: url('secnav-top.gif');
	background-repeat: no-repeat; 
}

#secondaryNav .content {
	font-size: 12px;
	padding-left:12px;
	padding-right:8px;
	padding-top:4px;
	margin-top:0px;
	margin-bottom:0px;
	padding-bottom:5px;
	background-image: url('secnav-middle.gif');
	background-repeat: repeat-y; 
}

#secondaryNav .content ul {
	margin:0px;
	padding:0px 0px 0px 14px;
}

#secondaryNav .content p {
	margin:0px;
	padding:0px;
}

#secondaryNav .footer {
	padding-top:0px;
	margin-top:0px;
	margin-bottom:10px;
	height: 12px;
	background-image: url('secnav-bottom.gif');
	background-repeat: no-repeat; 
}

/*Bread crumb trail*/
#breadCrumb {
	font-size:80%;
	padding-top:0px;
	padding-bottom:4px;
}



/*Site-wide classes*/
.captioned_image_right {
	float:right;
	color:#406080;
	margin:10px;
	padding:8px;
	border-style:solid;
	border-width:1px;
	font-size:80%;
}

.captioned_image_right  img {
	display:block;
	margin:0;
}

.captioned_image_right  p {
	color:#003366;
	margin:0;
}

.captioned_image_left {
	float:left;
	font-size:80%;
	color:#003366;
	padding:10px;
	padding-right:10px;
}

.alsoSee, .highlight {
	border-style:solid;
	border-width:1px;
	border-color:#a3b5c6;
	background:#EBF1F7;
	padding:8px;
	margin:0px;
}

.author {
	font-style:italic;
}

.licence {
	margin-top:40px;
	padding-top:8px;
	border-top:1px solid #CCCCCC;
	font-size:70%;
	color: #777777;
}

.timeTable td {
	background:#FFFFFF;

}

/*IE6 fixes*/
/*Fudges to remove any formatting that causes a change of font width in IE6. Causes layout problems.*/
li>cite {
	font-style:italic;
}
cite {
	font-style:normal;
}
div>pre {
	font-family:monospace;
}
pre {
	font-family:trebuchet MS, verdana, sans-serif;
}
tr>th {
	font-size:100%;
}
th {
	font-size:90%;
}
p>em {
	font-style:italic;
}
em {
	font-style:normal;
}

/*Page-specific styles*/
#homeLinks {
	list-style-type: none;
	list-style-image: none;
	padding-left:0px;
}
	
#homeAbout {
	font-size:120%;
	margin-left:24px;
}

#homeWedding {
	font-size:140%;
	margin-left:0px;
	padding:10px;
}

#homeNews {
	font-size:110%;
	margin-left:40px;
}

#weddingReadings  li {
	margin:8px;
}

#weddingReadings  a {
	display:block;
	font-size:80%;
}


