/*
Original design: andreas01 (v3.0 - Apr 24, 2008) - A free xhtml/css website template by Andreas Viklund.
For more information, see http://andreasviklund.com/templates/andreas01/
*/

/* Main body */
body {background:#f4f4f4 url(img/bg.gif) top center repeat-y; color:#404040; font:80% Verdana,Tahoma,Arial,sans-serif; margin:0 auto; padding:0;}
#wrap {background:#fff; color:#404040; margin:10px auto; width:760px;}
#banner {background-image: url("img/IMG_0257-6.jpg"); width: 760px; height: 123px; margin-bottom: 10px; font-size: 2.0em;}
#banner p {font-weight: 700; color:#505050; padding: 10px}

/* Basic tags */
a {background-color:inherit; color:#286ea0; font-weight:700; text-decoration:none;}
a:hover {background-color:inherit; color:#286ea0; text-decoration:underline;}
a img {border:0;}
p {margin:0 0 1.4em;}
p.postcode {margin: 0.2em;}

/* Header */
#header {height:45px; margin:10px 0 0; padding:0;}
#header h1 {background-color:inherit; color:#505050; float:left; font-size:2em; margin:0 0 10px; width:350px;}
#header h1 a {background-color:inherit; color:#505050; text-decoration:none;}
#header p {float:right; font-weight:700; line-height:1.3em; margin:8px 0 0; text-align:center; width:400px;}
#frontphoto {border:0; margin:0 0 10px;}

/*Left and right sidebar */
#leftside {clear:left; float:left; margin:0 0 5px; padding:0; width:140px;}
#leftside p,#leftside ul {margin:0 0 16px; padding:0;}
#leftside p {font-size:0.9em; line-height:1.4em;}
#leftside li {line-height:1.2em; list-style:none; margin:0 0 6px; padding:0;}
#leftside ul ul {margin:6px 0 0 10px; padding:0;}
#leftside ul ul li {margin:0 0 4px;}
#leftside ul ul li a {font-weight:400;}
#leftside h2,#leftside h3 {color:#505050; font-size:1.2em; margin:0 0 8px; padding:0;}

/* Main menu */
#leftside ul.avmenu {display:block; list-style:none; margin:0 0 18px 0; padding:0; width:140px;}
#leftside ul.avmenu li {display:inline; line-height:1.4em; padding:0; width:140px;}
#leftside ul.avmenu li a {background-color:#f4f4f4; border-left:4px solid #ccc; color:#505050; float:left; font-weight:700; margin-bottom:5px; padding:5px 1px 5px 5px; text-decoration:none; width:130px;}
#leftside ul.avmenu li a:hover,#leftside ul.avmenu li a.current {background-color:#eaeaea; border-left:4px solid #286ea0; color:#505050;}
#leftside ul.avmenu ul {margin:0 0 0 15px; padding:0 0 5px; width:125px;}
#leftside ul.avmenu ul a {font-weight:400; padding:3px 1px 3px 5px; width:115px;}
#leftside ul.avmenu ul ul {width:113px;}
#leftside ul.avmenu ul ul a {width:100px;}

/* Main content */
#contentwide {border-left:1px solid #e0e0e0; line-height:1.5em; margin:0 0 5px 150px; padding:0 0 0 10px;}
#contentwide h2 {font-size:1.6em; margin:0 0 10px;}
#contentwide h3 {font-size:1.3em; margin:0 0 8px;}
#contentwide h4 {margin:0 0 6px;}
#contentwide img {background:#ccc; border:3px solid #f0f0f0; color:#303030; display:inline; padding:1px;}
#contentwide ul,#contentwide ol {margin:0 0 16px 20px; padding:0;}
#contentwide li {margin:0; padding:0 0 0 5px;}
#contentwide ul ul,#contentwide ol ol {margin:0 0 0 16px; padding:0;}

/* Churches service timetable */
#services thead, #parishstaff thead {background-color: #c0c0c0;}
#services tbody, #parishstaff tbody {background-color: #f4f4f4;}
#services thead tr th, #services tbody tr td {width: 16%; text-align: center;}
#services thead tr th {vertical-align: bottom;}
#services tbody tr td {vertical-align: top;}
#services tbody tr.current {background-color: #ffffd0;}
#services tbody tr.nb {background-color: #ffffff;}
#parishstaff {width: 100%}
#parishstaff thead tr th {text-align: left;}
#parishstaff tbody tr td {vertical-align: top;}

/* Team staff */
.teamstaffmemberleft h3 {text-align: left;}
.teamstaffmemberleft img {float: left; margin: 5px; border: none;}
.teamstaffmemberright h3 {text-align: right;}
.teamstaffmemberright img {float: right; margin: 5px; border: none;}

/* Church Schools */
.churchschools h3 {text-align: left;}
.churchschools img {float: right; margin: 5px; margin-bottom: 10px; border: none;}
.churchschools hr {clear: right;}

/* Christmas Services */
.ChristmasServicesTable {border-color: gray; border-width: 3px; border-style: solid;}
.ChristmasServicesTable tr {vertical-align: top}
.ChristmasServicesTable tr td {border-color: gray; border-width: 1px; border-style: solid;}
p.P2, p.P4, p.P9 {font-weight: bold; font-size: 110%; margin: 0;}
p.P5, p.P7, p.P10 {margin: 0;}

/* Footer */
#footer {background:#fff; border-top:2px solid #e0e0e0; clear:both; color:gray; margin:0 auto; padding:10px 0; text-align:center; width:760px; line-height:1.5em; font-size:0.9em;}
#footer p {margin:0; padding:0;}
#footer a {background-color:#fff; color:gray; font-weight:400; text-decoration:none;}
#footer a:hover {text-decoration:underline;}
#footer span {font-size:1.2em;}

/* Additional classes */
.left {float:left; margin:3px 10px 2px 0;}
.right {float:right; margin:2px 0 2px 10px;}
.textright {text-align:right; margin:5px 0;}
.center {text-align:center;}
.small {font-size:0.8em;}
.bold {font-weight:700;}
.timestamp {font-size:1.2em; margin:-5px 0 15px 10px;}
.timestamp a {font-weight:400;}
.announce {background-color:#f4f4f4; border-left:4px solid #ccc; clear:left; color:#505050; font-size:0.9em; line-height:1.5em; margin:30px 0 15px; padding:7px 5px 2px 5px; width:126px;}
.announce p {margin:10px 0 0; padding:0;}
.postinfo {background-color:#f4f4f4; border-left:4px solid #ccc; color:#606060; font-size:0.9em; line-height:1.4em; margin:1px 0 20px; padding:8px 5px 8px 8px;}
.clearing {clear:left; margin:0; padding:0; visibility:hidden;}
.hide {display:none;}
