@charset "utf-8";
/* CSS for Christ United Reformed Church Santee, copyright 2009.*/
/* -------------------------------------------------------------*/
/* =universals
Apply to all elements, unless otherwise indicated below: */
/* * { margin: 0; padding: 0; } */

/* =body */
body  { margin: 0; padding: 0; background: #3A0809; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000; background-image: url(../images/background.jpg); background-repeat: repeat-x; background-position: left top;
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; }
	
p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:small; text-align:left; padding: 0 15px; }

/* =hx */
h1, h2, h3, h4, h5 { font-family: Georgia, "Times New Roman", Times, serif; color:#954b4b; padding: 0 15px; }

/* =sidebar_hx */
#sidebar1 h1, #sidebar1 h2, #sidebar1 h3, #sidebar1 h4, #sidebar1 h5, #sidebar1 p {
	padding: 0; margin:0;
}

/* =h1 */
h1 { font-size:1.4em; }
#header h1 { margin: 0; padding: 10px 0; }

/* =h2 */
h2 { font-size:1.2em; }

/* =h3 */
h3 { font-size:1em; }
#sidebar1 h3 {
	background-image:url(../images/gray_sidebar_tile.gif);
	font-size: 1.2em;
	color: #333333;
	padding-top: 0.5em;
	padding-right: 0.8em;
	padding-bottom: 0.5em;
	padding-left: 0.8em;
}	

/* =h4 */
h4 { font-size:.9em; }
#sidebar1 h4 {
	background-image:url(../images/gray_sidebar_tile.gif);
	font-size: .9em;
	color:#840F32;
	padding-top: 1em;
	padding-right: 1em;
	padding-bottom: 0.8em;
	padding-left: 1em;
}
	
/* =h5 */
h5 {font-size:.8em; }

#sidebar1 li {
	padding:0.5em 0;
	list-style-type: square;
}

/* =p */
#sidebar1 p {
	padding: 0.5em;
	background-image:url(../images/gray_sidebar_tile.gif);
}

/* =a */
a:link { color:#b76666;	text-decoration:none; border-bottom:thin dotted #b76666; }
a:visited { color:#675c47; text-decoration:none; border-bottom:thin dotted #675c47; }
a:hover { color:#990000; text-decoration:none; border-bottom:thin dotted #990000; }
a:active { color:#000000;}
#sidebar1 a:link { color:#840F32; text-decoration:none; border-bottom:thin dotted #840F32; }
#sidebar1 a:visited { color:#675c47; text-decoration:none; border-bottom:thin dotted #675c47; }
#sidebar1 a:hover { color:#530000; text-decoration:none; border-bottom:thin dotted #530000; }

/* =img */
img.pic {float: right; border: thin solid #999; padding: 1px; margin: 0 0 10px 10px; }
#header img a { border-style:none; border:none; }
#container #header img { border-style:none; border:none; }
#container_wide #header img { border-style:none; border:none; }
#sidebar1 a img {
	border: none;
	text-decoration:none;
	display: block;
	margin-right: auto;
	margin-left: auto;
}
.photo_captioned {
	width:auto;
	height:auto;
	padding: 0.2em;
	margin: 0.2em;
	border: thin solid #C6BDA8;
}
.photo_captioned p {
	text-align:center;
	font-size:0.9em;
	margin-bottom: 0px;
	padding-bottom: 0.2em;
	border:none;
}
img.headgraphic {
	width:auto;
	height:auto;
	margin:0 auto 2em;
}

/* =container */
#container #header object { float: none; }
#container #mainContent li { margin-left: 15px; padding-left: 1.2em; text-indent:-1.2em;  list-style-type: none; line-height: 1.4em; } 
#container {
	width: 60em;
	background: #fef2cf;
	border: 1px solid #000000;
	text-align: left;
	margin: 0 auto 0 auto;
} 

/* =container_wide for Google Results Page */
#container_wide #header object { float: none; }
#container_wide #mainContent li { margin-left: 15px; padding-left: 1.2em; text-indent:-1.2em;  list-style-type: none; line-height: 1.4em; } 
#container_wide { width: 70em; background: #fef2cf; border: 1px solid #000000; text-align: left; margin: 0 auto 0 auto; } 
/* End container_wide for Google Results Page */

/* =header */
#header { background-image: url(../images/logo_background.jpg); background-repeat: repeat-x; background-position: left 0px;
	background-color: #7E1013; }

/* =NavigationBar */
#mainnav {
	clear: both;
	width: 60em;
	height: 2.4em;
	background-image:url(../images/nav_bkgnd.gif);
	background-repeat: repeat-x;
	background-color: #ffd698;
	background-position: left bottom;
	position: relative;
	z-index: 999999;
}

/* =Wide Nav for Google Page */
#mainnav_wide { clear: both; width: 70em; height: 2.4em; background-image:url(../images/nav_bkgnd.gif);
	background-repeat: repeat-x; background-color: #ffd698; background-position: left bottom;
	position: relative; }
/* End Wide Nav for Google Page */

#nav a { display: block; width: 11em; w\idth: 11em; color: #472323;
	text-decoration:none; padding:0.25em 2em; border-style: none; }	
	
#nav, #nav ul { background:none; padding: 0; list-style: none; line-height: 1.8em;
	float: left; width: 60em; margin: 0; }

#nav li { float: left; width: 10em; padding:0; }

/*Dropdown lists - second-level*/
#nav li ul { position: absolute; left: -999em; /* Do NOT use "display: none" as it isn't read by screen readers */
	background-color:#FFD9A0; width: 15em; w\idth: 15em; height:auto; font-weight:normal;
	margin:0; padding-bottom: 0.5em; }

#nav li li { padding-right: 2em; width: 13em; } /*padding + width must equal w/idth in #nav li ul*/

#nav li:hover, #nav li.sfhover{ background-color: #FEF2CF; float: left;
	border: thin; border-bottom-style: groove; border-color: #CBA87C; }

#nav li:hover ul ul, #nav li.sfhover ul ul { left: -999em; }

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { left: auto; }
/* lists nested under hovered list items */

#container #mainnav #nav #current { text-decoration:underline; }

/* End Main Navigation Bar */

	
/* Tips for sidebar1:
1. since we are working in percentages, it's best not to use padding on the sidebar. It will be added to the width for standards compliant browsers creating an unknown actual width. 
2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the "#sidebar1 p" rule.
3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
*/
#sidebar1 {
	float: right;
	width: 24%;
	background-image:url(../images/gray_sidebar_tile.gif);
	margin-top: 0em;
	margin-right: 0em;
	margin-bottom: 0px;
	margin-left: 0em;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	position: relative;
}


/* begin styles for RSS Feed */

.rss-box {
	width:92%;
	border:none;
	margin-right: 1.75%;
	margin-left: 1.75%;
	padding: .25em;
	}

.rss-items {
	margin:0.25em;
	padding-left: .25em;
	list-style-position: inside;
	padding-top: 0.25em;
	padding-right: 0.25em;
	padding-bottom: 0.25em;
}

.rss-item a { font-family:Verdana, Arial, Helvetica, sans-serif; }

.rss-item a:link { color:#840F32; }

.rss-item a:visited { color: #666666; }

.rss-item a:hover { color:#CC0000; }

.rss-date { font-size: .7em; font-weight : normal; color: #333333; }
/*end rss feed*/

.tinytext { line-height: .8em; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: .4em; }


/* Tips for mainContent:
1. the space between the main_content and sidebar1 is created with the right margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this right margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 430px or smaller (this includes images).
3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
*/


#container #images {
	background-color: #FEF2CF;
	background-image: url(../images/church_steeple_bkgnd2.jpg);
	float: left;
	width: 76%;
	background-repeat: repeat-x;
	height: 252px;
	border-style: none;
}

#mainContent {
	width: 75%;
	float:left;
	padding-top: 0px;
	margin-top: 0px;
}

#mainContent_wide {
	width: auto;
	float:left;
	padding-top: 0px;
	padding-right: 5px;
	padding-left: 15px;
}
#mainContent.clearfloat { padding: 15px 26% 0 10px; background-color:#FEF2CF; }
/* margin: 0 26% 0 10px;the left margin should mirror the margin on the header and footer for proper alignment. */

/*Table Settings */

table {
	font-family:verdana, arial, sans-serif;
	font-size:90%;
	line-height:1.7em;
	float: left;
	padding: 0px;
	background-color:#fff;
	/*border-top-width: 15px;
	border-right-width: 0px;
	border-bottom-width: 15px;
	border-left-width: 15px;*/
} 
tr { padding:0.5em; background:#fff; border:10px solid #aaa; 
  border-width:1px 200px 0 50px; border-color:#000 #888 #000 #888; margin:2px 25px; 
  width:300px; } 
tr.odd { background:#eee; }
td, th { padding:1% 2% 1% 2%; }
caption { background:url(two.gif) no-repeat 5px 20px;
  width:100%; font-size:3em; line-height:2em; font-family:Verdana, Geneva, sans-serif; 
  text-align:right; margin-right:-5em; color:#ddd; padding-right:0.5em; }
* html caption { background:url(one.gif) no-repeat 5px 20px; }
th {
	background:#512122;
	color:#fef2cf;
	text-align:left;
}
th a { display:block; font-size:1.5em; font-family:Verdana, Geneva, sans-serif; 
 color:#000; text-decoration:none; border-left:5px solid #fff; padding-left:1em; }
th a:hover { border-left:5px solid #000; color:#fff; }
td { color:#000; }
td + td + td {color:#000; }
tr:hover { background:#DED0BE; }
/* End Table */

.bold {
	font-weight:bold;
}
.center {text-align:center; }

.center-italic {text-align:center; font-style:italic; }

p.scripture {font-family:inherit; font-style:italic; }

.superscript {
	vertical-align:super;
	font-size:60%;
	line-height:0;
	color:#990000;
}

p.footnote { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.7em; margin-left: 4em;	margin-right: 4em; }

.color-text {color:#954b4b; }

.smaller {font-size:90%; }

.small {
	font-size:75%;
	line-height: 1.4em;
}

.leading {line-height:1.4em; }

.smallcaps {font-size:90%; font-variant:small-caps; }

.italic {font-style:italic; }

.pilgrim-button {
	clear:both;
	padding:0;
	margin:0;
}

.no-padding { padding:0;
}

div#heidelberg {
	width:500px;
	height:187px;
	background: url(../images/heidelberg_castle_1620.jpg) no-repeat center center;
	float: none;
	margin: 0px auto;
	padding: 0px;
}

.offpage {
	display:block;
	width:100%;
	height:1px;
	text-indent:-9999px;
	margin: 0px;
}

.divider {
	background-image:url(../images/body_divider.gif);
	background-repeat: no-repeat;
	background-position: center center;
	margin-top: auto;
	margin-left: auto;
}

.sec_divider {
	background-image: url(../images/body_divider_section.gif);
	background-repeat: no-repeat;
	background-position: center center;
	margin-top: auto;
	margin-left: auto;
}

.sidebar_sub {
	background-image:url(../images/sbar_divider.gif);
	background-repeat: no-repeat;
	margin-right: auto;
	margin-left: auto;
	float: left;
	width: 100%;
	background-position: center bottom;
	padding: 0 0 15px 0;
	margin-bottom: 15px;
	position: relative;
}

.section_sidebar {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #535562;
	margin-right: 0.5em;
	margin-left: 0.5em;
	clear: both;
	padding-top: 0.5em;
	padding-bottom: 1em;
}


#footer {
	padding: 0 10px;
	background:#C6BDA8;
	position: relative;
} 
#footer p {	margin: 0; padding: 10px 0; }
/* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
/* padding on this element will create space, just as the the margin would have, without the margin collapse issue */



/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin: 0 0 1em 1em;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin: 0.3em;
}


.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
#content2 {
	width: 20em;
	margin-right: 2em;
}
#content1 {
	width: 20em;
}

.old_doc {
	width: 40em;
	background-image:url(../images/old_paper2.jpg);
	background-repeat: no-repeat;
	float: left;
	padding-top: 4em;
	padding-right: 2em;
	padding-bottom: 2em;
	padding-left: 2em;
	clear: both;
	margin-left: 1em;
}
