
body {
	margin: 0; 
	padding: 0; /* needed for opera */
	background-image: url('../images/bg.gif');
	background-repeat: repeat-x;
	background-color: #efedd8;
}
body#worship, body#mercy, body#groups, body#child, body#vision {
	background-image: url('../images/bg2.gif');
}
body#events, body#contact, body#sermons {
	background-image: url('../images/bg3.gif');
}

:root{
 overflow-y:scroll;
}



a:link {color: #628032; text-decoration:none;}
a:visited {color: #506829; text-decoration:none;}
a:visited:hover {color: #506829; text-decoration:none;}
a:hover {color: #628032; text-decoration:underline;}
a:active {color: #628032; text-decoration:none;}

#header #logo {
	position: relative;
	width:173px;
	height:169px;
	z-index:2;
	left: 23px;
	top: 10px;

	cursor: pointer;
float: left;
}

h1, h2, h3, h4, h5, h6, p, td, th, li {
	margin: 0;
	padding: 0;
color: #595959;
	font: normal 90% trebuchet, trebuchet ms, arial, helvetica, sans-serif; 
}

div, form, img {
margin: 0;
padding: 0;
color: #595959;
}






#main, #header  {
width: 980px;
margin: 0 auto;
}
body#home #header
{
	background-image: url('../images/logo.jpg');
	background-repeat: no-repeat;
	height: 295px;
}

body#worship #header, 
body#mercy #header, 
body#groups #header, 
body#child #header, 
body#vision #header 
{
	background-image: url('../images/logo2.jpg');
	background-repeat: no-repeat;
	height: 240px;
}
body#sermons #header, 
body#contact #header  {
	background-image: url('../images/logo3.jpg');
	background-repeat: no-repeat;
	height: 195px;
}






#topnav {
margin: 0 0 0 230px;
}
#image {
text-align: right;


}

#main {

clear: both;
}


#col1 {
float: left;
width: 220px;

}
#col1 div {
padding: 0 30px 60px 60px;
}

#col1 div p {
	font-size: 75%;
}

#col1 div table tr.odd td,
#col1 div table tr.even td{
	font-size: 75%;
	backgorund: green;
	padding: 6px 10px 6px 0;
}

#col2 {
float: left;
width: 450px;

}
#col2 div {
padding: 0 0 20px 0;
}

#col3 {
float: left;
width: 285px;
height: 400px;
}
#col3 div {
padding: 0 30px 60px 30px;
}
#col3 div table {
width: 100%;
margin: 0;
}
#col3 div table td 
{
padding: 6px 10px 6px 0;
border-bottom: 1px solid #D9D8CC;
vertical-align: top;
font-size: 85%;
}


#col3 div table td.date {
text-transform: uppercase;
font-size: 80%;
}

#fatcol {
width: 735px;
float: left;

}
#fatcol div{
padding: 0 0 20px 0;
}




#photo1 {
	width: 320px;
	float: left;
	margin: 0 35px 0 0x;
	padding: 0;

}

#photo2 {
	width: 320px;
	float: left;
	margin: 0 0 0 0;
	padding: 0;
}


.album  {
	margin-top: 10px 0 20px 0;
	
	height: 250px;
}
.album img {
	border: 1px solid #979696;
}
.albumname {
	font-size: 16px;
	line-height: 18px;
	padding: 0;
	margin: 2px 0 0 0;
	width: 100%;
	color: #628032;

	
}





table {
width: 100%;
margin-bottom: 12px;
border-collapse: collapse;
}
#fatcol .box table tr td, 
#fatcol .box table tr th,
#col2 div div.box table tr td
 {
vertical-align: top;
padding: 7px 4px 8px 4px;
text-align: left;
border-top: 1px solid #b9b9b9;
border-bottom: 1px solid #D9D8CC;
}


#col1 div table tr td
 {
vertical-align: top;
padding: 7px 4px 8px 4px;
text-align: left;
border-bottom: 1px solid #B9B9B9;
}


#col1 div ul {
	list-style: none;
	margin: 5px 0 0 0; 
	padding: 0;
	border-top: 1px solid #B9B9B9;
}


#col1 div ul li {
	list-style: none;margin: 0; padding: 0;
	}

#col1 div ul li a 
{
	font-size: 90%;
	color: #595959;
	display: block;
	text-decoration: none;
	padding: 7px 4px 8px 8px;
	text-align: left;
	border-bottom: 1px solid #B9B9B9;
	width: 100%;
}
#col1 div ul li a:hover,
#col1 div ul li a.on
{
	background-image: url('../images/lefton.gif');
	background-repeat: repeat-x;
		text-decoration: none;
}








th {

	background-image: url('../bbpress2/bb-templates/kakumei/images/th.jpg');
	background-repeat: repeat-x;
	font-weight: bold;
}

.odd	{cursor: default;}

.highlight {
background-color: #F1F0DE;
cursor: default;
}


.selected {
background-color: #F5F3E6;
cursor: default;
}


#footer {
background: #860b07;
padding: 30px 0 65px 0;
clear: both;
}
#footer p {
width: 980px;
margin: 0 auto;
text-align: center;
color: #FFFFFF;
}

#footer a:link {color: #a6d854; text-decoration:none;}
#footer a:visited {color: #a6d854; text-decoration:none;}

#footer a:hover {color: #a6d854; text-decoration:underline;}
#footer a:active {color: #a6d854;  text-decoration:none;}
#footer a:visited:hover {color: #a6d854; text-decoration:none;}


h1, #col2 div td.box h1 {
color: #860b07;
font: normal 120% georgia, times, times new roman;
padding-bottom: 3px;

}

h3 {
	color: #860b07;
	font-size: 95%;
	margin-top: 3px;
	clear: left;
}
p {
	margin-bottom: 12px;
}

#col2 div .box,
#fatcol div .box
 {
padding: 5px 0px 10px 0px;
margin: 0;
}

p img.right {
float: right;
}
p img.left {
float: left;
}


.pipe {
margin: 0 6px;
}



.time {
	font-size: 70%;
	margin-bottom: 5px;
	padding: 2px 4px;
	background: #E4E2CE;
}

.titlebar {
	font-size: 70%;
	margin-bottom: 5px;
	padding: 2px 4px;
	background: #E4E2CE;
}


h1.announce {
color: #860b07;
font: normal 100% trebuchet, georgia, times, times new roman;
padding-bottom: 3px;
	padding: 2px 4px;
}

p.announce {
	font-size: 70%;
	margin-bottom: 10px;
	padding: 0px 4px;
}




body#sermons object {
margin-bottom: -5px;
}




img.yellowborder {
	float: left;
	margin: .2em 1.4em 2em 0;
	border: 2px solid #fccf14;
}







.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}
