#doc {
padding:1em;
width:900px;
margin:auto;
}

/*##########################
##  GENERAL MARKUP STYLE  ##
##########################*/

h1 {
font-weight:bold;
font-size:1.7em;
padding:0.5em;
color:#bc6ed2;
}
h2 {
font-size:1.2em;
font-weight:bold;
padding:0.5em;
}
h4 {
font-size:1em;
font-weight:bold;
padding:0.5em 0.5em 0 0.5em;
}
p, img {
padding:0.5em;
}
strong, bold, h4 {
font-weight:bold;
}
ul {
padding: 0 0 1em 0;
list-style-type:disc;
}
em {
font-style:italic;
}

/*#############################
## IE hacking goes in here   ##
#############################*/
* html {
font-size:large;
f\ont-size:25px;
}

* html .main{
width:70%;
w\idth:69%; /* ie6 hack */
margin:0 20px 20px 4px;
}
*html #top-nav {
margin:32px 0 0 0px;
}
* html #top-nav li a, * html #top-nav li strong,
* html ul#top-nav li.cur a,
* html ul#top-nav li.over a,
* html ul#top-nav li:hover a{
padding:4px 9px 2px 3px;
}
* html #home-link-list-main a, * html #home-link-list-main a:visited {
width:197px;
}

* html #chaplink A{
padding-top:6px;
}
* html #chaplink {
padding-top:3px;
}
* html #top-nav li {
font-size:1.1em;
}

* html body {
font-size:0.6em;
} 

* html #homepage-links {
width:235px;
margin:15px 20px 20px 0;
}
* html .search-form {
width:280px;
}
* html #denom-image, * html #denom-image P, * html #denom-image IMG {
width:236px;
float:right;
}
* html #denom-image P {
text-align:center;
font-weight:bold;
font-size:13px;
background:#fff;
width:224px;
margin:-10px 0 0 7px;
}
* html #extra-list P {
margin-bottom:10px;
}
* html #hd {
height:45px;
}
.est TABLE {
padding:0px;li
}
/*##########################
##  MAIN DOCUMENT LAYOUT  ##
##########################*/

#hd {
height:75px;
width:900px;
background:#5ca0e7 url(/media/images/css/header.jpg) no-repeat;
float:left;
clear:left;
}
#ft {
height:50px;
width:900px;
background:#5ca0e7;
padding:none;
float:left;
clear:left;
}
#bd {
background:#e2e2e2;
width:900px;
height:500px;
overflow-y:scroll;
float:left;
clear:left;
}
.main{
margin:0 20px 20px 20px;
width:70%;
float:left;
}
.second {
width:25%;
float:left;
}

/*##########################
##  LARGE HOMEPAGE NAV    ##
##########################*/


#homepage-links {
margin:35px 20px 20px 0;
width: 200px;
font-weight:bold;
font-size: 1.2em;
float:left;
height:500px;
}
#home-link-list-main {
margin: 0; /*removes indent IE and Opera*/
padding: 0; /*removes indent Mozilla and NN7*/
list-style-type: none; /*turns off display of bullet*/
}
#home-link-list-main LI {
}
#home-link-list-main a, #home-link-list-main a:visited {
display: block;
padding: 10px 2px 10px 35px;
border-bottom: 1px solid #4f6b72;
background: transparent url(/media/images/css/leaf-over2.gif) no-repeat 1000px 1000px;
color: #75a73f;
text-decoration: none;
width:160px;
}
#home-link-list-main a:hover {
border-bottom: 1px solid #4f6b72;
background: transparent url(/media/images/css/leaf-over2.gif) no-repeat -3px 18px;
color: #4f6b72;
}


/*##########################
##   TOP NAVIGATION CSS   ##
##########################*/


#top-nav{
width:900px;
font-size:12.5px;
font-weight:bold;
color:#666;
margin:53px 0 0 0px;
list-style-type:none;
}
#top-nav ul{
padding:0px;
}
#top-nav li{
float:left;
margin:0px;
padding:0 0 0 4px ;
border-bottom:1px solid #999;
background:url(/media/images/css/tabgrey.gif) #5ca0e7 top left no-repeat;
}
#top-nav li a{
text-decoration:none;
color:#666;	
background:url(/media/images/css/tabgrey.gif) transparent top right no-repeat;
display:block;
padding:4px 12px 2px 6px;
}
#top-nav li:hover
{
background:url(/media/images/css/tabgrey.gif) #3375b2 top left no-repeat;
border-bottom:1px solid #036;
}
#top-nav li strong,
ul#top-nav li.cur a,
ul#top-nav li.over a,
ul#top-nav li:hover a
{
display:block;
color:#bc6ed2;
text-decoration:none;
background:url(/media/images/css/tabgrey.gif) transparent top right no-repeat;
padding:4px 12px 2px 6px;
}


/*##########################
# RESOURCES RESULTS TABLE ##
##########################*/

#results-table {
width: 95%;
text-align:left;
}
.establishment #results-table {
margin:1em;
width: 90%;
}
#results-table caption {
padding: 0 0 5px 0;
width: 300px;
font: bold 16px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
text-align: left;
}

#results-table th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
border-top: 1px solid #C1DAD7;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
background: #CAE8EA url(/media/images/css/bg_header.jpg) no-repeat;
}
#results-table td {
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
background: #fff;
padding: 6px 6px 6px 12px;
color: #4f6b72;
}
#results-table td.row2 {
background: #F5FAFA;
color: #797268;
}
#results-table A, #results-table A:visited, A.previous-link, A.previous-link:visited , A.next-link, A.next-link:visited, A:visited, A{
text-decoration:none;
color:#5ca0e7;
font-weight:bold;
}
#results-table A:hover, #results-table A:active, A.previous-link:hover, A.previous-link:active, A.next-link:hover, A.next-link:active, A:hover, A:active {
text-decoration:none;
color:#bc6ed2;
font-weight:bold;
}


/*##########################
# SPECIFIC CONTENT STYLES ##
##########################*/
#tableresults {
width: 90%;
margin:auto;
}

#error_msg{
color:white;
font-size: 12px;
padding:1em;
border: 1px solid #CAE8EA;
margin:auto;
margin-top:1em;
background:#ff9900;
width:90%;
}

.intro-text LI {
list-style-type:none;
padding:10px 10px 0 10px;
font-style:italic;
}

IMG.homepage-image {
margin:10px 0 0 0;
border: 2px solid #5ca0e7;
width:200px;
padding:0px;
}
#extra-list ul {
list-style-type:none;
}
#extra-list {
margin-top:20px;
color:#fff;
background:#5ca0e7;
width:204px;
font-size:16px;
font-weight:bold;
}
#extra-list LI {
padding:5px;
border-bottom: 1px solid #fff;
}
#extra-list A, #extra-list A:visited {
color:#fff;
}
#extra-list a:hover{
color:#000000;
}
P.intro-thingy {
margin-top:30px;
font-weight:bold;
font-size:1.1em;
color:#bc6ed2;
}

.search-form {
margin-top:0.2em;
float:right;
width:210px;
}

#chaplink {
padding-top:6px;
float:right;
padding-right:5px;
}
#chaplink-cym {
padding-top:8px;
float:right;
}
#chaplink a {
padding:8px 286px 0px 0px;
font-size:1em;
color:#000;
background:url(/media/images/css/footer-right.jpg) no-repeat top right;
}
#chaplink-cym a {
padding:8px 277px 0px 0px;
font-size:1em;
color:#000;
background:url(/media/images/css/footer-right-cym.jpg) no-repeat top right;
}
#flag {
float:left;
width:150px;
margin:6px 0 10px 25px;
height:50px;
}
#flag img {
padding:0px
}
.establishment {
margin:1em;
}
.establishment strong, H4{
color:#4f7f1c;
}
.establishment ul {
padding:0.5em;
list-style-type:none;
}
#faith-list-large, .home-link-list-main {
list-style-type:none;
font-size:1.2em;
padding:0 0 0 2em;
}
.backlink {
padding:0 0 0 1em;
}
#link-box {
font-size:13px;
}
#link-box TABLE{
margin: 2px 0.5em 2px 0.5em;
float:left;
}
#content-denom{
float:left;
padding-bottom:10px;
}
#spacer {
clear:both;
width:100%;
}

#content-denom P{
margin-right:5px;
}
#denom-image, #denom-image P {
width:237px;
float:right;
margin-left:20px;
}
#denom-image P {
margin:-10px 6px 0 0;
text-align:center;
font-weight:bold;
font-size:13px;
background:#fff;
}
H4.groups {
padding:0.5em;
font-weight:bold;
}
.estab-image{
width:250px;
float:right;
}
#extra-list P {
font-size:0.8em;
}
.facilities TD {
padding-right:10px;
}
SPAN.facilities {
margin:1em 0 1em 0;
}
SPAN.facilities A, SPAN.facilities A:visited{
color:white;
}
#extra-list A#rel-warn, #extra-list A#rel-warn:visited {
color:#e2e2e2;
}
H2.search-results {
padding-bottom:0.5em;
}
.est TABLE, .est TABLE TD {
vertical-align:top;
valign:top;
}

