
* {
	padding: 0;
	margin: 0;
}

body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	background: url(../images/fauxShadow.gif) 256px 0 repeat-y fixed;
	background-color: #fff;
}


/* layout styles
--------------------------------------------------------------------------*/

#header {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 256px;
	width: 1024px;
	height: 256px;
	z-index: 60;
	background: url(../images/leaves.jpg) 0 128px no-repeat;
}

#header h1 {
	padding-top: 256px; /* this is to push the text out of the visible area */
	background: url(../images/heading.gif) 20px 38px no-repeat;
}

#cmalogo {
	position: fixed;
	top: 20px;
	left: 137px;
	width: 100px;
	height: 93px;
	z-index: 2000;
	background: url(../images/logos/cma_white.png) no-repeat !important;
	background: url(../images/logos/cma_white.gif) no-repeat ;
}

#cmalogo h2 {
	display: none;
}

#purpose {
	position: absolute;
	top: 110px;
	left: 415px;
	z-index: 80;
}

#purpose h3 {
	font-size: 0.7em;
	white-space: nowrap;
}

#footer {
	position: fixed;
	bottom: 0;
	left: 0;
	height: 50px;
	width: 256px;
	z-index: 2000;
	text-align: center;
	font-size: x-small;
	color: #fff;
}

#footer a {
	color: #fff;
}

#footer a:hover {
	color: #fc0;
}

#content {
	position: absolute;
	top: 256px;
	left: 360px;
	width: 50%;
	z-index: 10;
}

/* Pure CSS drop-down menu.
   Thanks to Eric Meyer (http://www.meyerweb.com/eric/css/edge/menus/demo.html)
   and Anthony Eggert (http://www.stylephreak.com/index.php/archives/2004/05/css-only-branching-menu/)
   for the basic idea.
---------------------------------------------------------------------*/

#menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 256px;
	height: 960px;
	padding-top: 120px;
	z-index: 1000;
	list-style-type: none;
	background-image: url(../images/margin4.jpg);
}

#menu li {
	position: relative;
	list-style-type: none;
	list-style-position: outside;
	text-align: right;
	overflow: visible;
}

#menu li>ul {
	display: none;
}

#menu li ul {
	position: absolute;
	top: 1px;
	left: 256px;
	width: 220px;
	z-index: 1500; /* ensure the submenus are rendered in front of the parent menus */
}

/* Full cascading functionality for advanced browsers 
   Hidden from Opera 3-6, NN4, IE Mac 4-5, Safari 1, Konq 2-3.
   See http://www.dithered.com/css_filters/css_only/media_mixed_case.html
------------------------------------------------------------------------------*/
@media All {
	
	#menu li:hover > ul {
		display: block;
	}
	
	#menu ul li {
		margin-top: -1px;
	}
	
	#menu ul li a {
		width: 220px;
	}
	
	#menu ul ul {
		left: 238px;
	}
	
	#menu ul li a.submenu {
		background-image: url(../images/sub.gif);
		background-position: right;
		background-repeat: no-repeat;
	}
}

/* cssmenu link/hover styles 
----------------------------------------------------------------------*/

#menu li a {
	display: block;
	text-decoration: none;
	text-align: right;
	white-space: nowrap;
	font-size: 1.6em;
	padding-right: 16px;
	line-height: 2em;
	color: #666;
}

#menu li a#selected {
	color: #fff;
}

#menu li a:hover, #menu li a#selected:hover {
	color: #333;
}

#menu ul li a {
	text-align: left;
	font-size: 1em;
	line-height: 1.4em;
	white-space: normal;
	color: #333;
	background-color: #6c6;
	border: 1px solid #585;
}

#menu ul li a:hover {
	background-color: #6b6;
}

#menu ul ul li a {
	font-size: 1em;
	background-color: #f93;
	border: 1px solid #fc6;
}

#menu ul ul li a:hover {
	background-color: #fa5;
}

/* content styles
--------------------------------------------------------------------*/

#content h1, #content h2, #content h3, #content p, #content ul, #content ol {
	margin: 1em 0;
	clear: both;
}

#content h1 {
	font-size: 3em;
	font-weight: normal;
	margin: 0.5em 0;
	color: #f60;
}

#content h2 {
	color: #666;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	margin-left: -24px;
	padding-left: 24px;
	background: url(../images/flower.png) 0 0 no-repeat !important;
	background: url(../images/flower.gif) 0 0 no-repeat; /* clipped by IE */
}

#content h3 {
	color: #fc0;
	margin-bottom: -0.5em;
	text-align: center;
}

#content p {
	line-height: 1.5em;
}

#content dt {
	margin-top: 1em;
	font-weight: bold;
}

#content dd {
	margin-bottom: 1em;
	margin-left: 20px;
}

#content hr {
	color: #ddd;
	background-color: #ddd;
	border: 0;
	height: 1px;
}

th {
	color: #444;
	font-weight: bold;
	font-style: italic;
}

table, td, th {
	border:none;
	border-collapse:collapse;
	margin:0;
	padding:0;
}

table.zebra {
	width: 100%;
	margin:2px;
	padding:2px;
}

table.zebra tr.odd {
	background-color: #eee;
}

#content td {
	padding: 5px;
	border: 1px solid #ddd;
}

#content strong, #content em, #content b, #content dt, #content blockquote {
	color: #444;
}

#content .author, #content .passage {
	color: #888;
	border-left: 4px solid #fc0;
	padding-left: 10px;
}

#content blockquote {
	font-size: small;
	font-weight: bold;
	font-style: italic;
	margin: 0 40px;
}

#content a {
	font-weight: bold;
	text-decoration: none;
	color: #f60;
}

#content a:hover {
	text-decoration: underline;
	color: #c30;
	color: #f93;
}

#content ul, #content ol {
	margin-left: 40px;
}

/* in-page submenus
-------------------------------------------------*/

#content ul.children, #content ul.related, #content ul.anchors {
	list-style-type: none;
	margin-left: 40px;
}

#content ul.children a, #content ul.related a, #content ul.anchors a {
	display: block;
	text-align: center;
	width: 256px;
}

#content ul.children a, #content ul.anchors a {
	margin-top: 1px;
	padding-top: 4px;
	padding-bottom: 1px;
	padding-left: 7px;
	padding-right: 7px;
	border-bottom: 5px solid #ccc;
	background-color: #777;
	color: #fc0;
}

#content ul.children a:hover, #content ul.anchors a:hover {
	padding-left: 0;
	text-decoration: none;
	color: #fe6;
	background-color: #f60;
	border-left: 7px solid #fc0;
	border-bottom: 5px solid #fc0;
	
}

#content ul.related a {
	width: auto;
	margin-right: 40px;
}

#content ul.related a {
	color: #333;
	background-color: #6c6;
	border: 1px solid #585;
	margin-bottom: -1px;
}

#content ul.related a:hover {
	color: #333;
	background-color: #6b6;
	text-decoration: none;
}

#content ul.related span.external a {
	background-color: #f93;
	border: 1px solid #fc6;
}

#content ul.related span.external a:hover {
	background-color: #fa5;
}

#content ul.related {
	margin-bottom: 4em;
}

#content #breadcrumbs {
	display: block;
	width: 920px;
	margin-left: -104px;
	padding-left: 104px;
	padding-right: 104px;
	line-height: 2em;
	font-weight: bold;
	background: #eee url(../images/fauxShadow_gray.gif) 256px 0 repeat-y fixed;
	color: #777;
}

/* image drop shadows
---------------------------------------------------------*/

div.img {
	display: block;
	margin: 15px 10px 5px 20px;
	background: url(../images/shadow.png) right bottom no-repeat !important;
	background: url(../images/shadow.gif) right bottom no-repeat;
}

div.img img {
	display: block;
	position: relative;
	margin: -6px 6px 6px -6px;
	padding: 10px;
	background-color: #fffcf3;
	border: 1px solid #f60;
}

div.img.left {
	float: left;
	clear: left;
	margin-left: 6px;
}

div.img.right {
	float: right;
	clear: right;
	margin-right: 0;
}


/* special styles for church directory listing
-------------------------------------------------------------------*/

div.church {
  clear: both;
  margin-top: 3em;
  margin-bottom: 5em;
  width: 100%;
}

div.section {
  clear: both;
  margin-left: 20px;
}

span.title {
  clear: both;
  display: inline;
  float: left;
  font-weight: bold;
  font-variant: small-caps;
  letter-spacing: 1px;
  padding: 2px;
  margin-bottom: 2px;
  color: #fe6;
  background-color: #f60;
	
}

span.web {
  display: inline;
  float: right;
  text-align: right;
  font-weight: bold;
  margin-top: 6px;
}

span.region, span.service, span.pastor {
  clear: both;
  display: block;
  font-weight: bold;
  
}

span.region {
  margin-bottom: 2px;
  background-color: #fc0;
}

span.service, span.pastor {
  background-color: #ccc;
}

span.address, span.post {
  display: block;
  text-align: left;
  background-color: #eee;
}

/*

span.address, span.post {
  clear: left;
  float: left;
  text-align: left;
  background-color: #eee;
  width: 66%;
}

span.phone, span.mobile, span.fax, span.email {
  clear: right;
  display: block;
  float: right;
  text-align: left;
  background-color: #eee;
  width: 33%;
}

span.email {
  letter-spacing: -1px;
}

*/

/* Next / previous styles (for sequences of pages) */

#content span.previous a {
  text-align: right;
  float: left;
}

#content span.next a {
  text-align: left;
  float: right;
}

#content span.next a, #content span.previous a {
  width: 45%;
  padding-top: 4px;
  padding-bottom: 1px;
  padding-left: 7px;
  padding-right: 7px;
  margin-top: 1em;
  margin-bottom: 2em;
  border-bottom: 5px solid #ccc;
  background-color: #777;
  color: #fc0;
}

#content span.next a:hover, #content span.previous a:hover {
  text-decoration: none;
  color: #fe6;
  background-color: #f60;
  border-bottom: 5px solid #fc0;
}

#content span.previous a:hover {
  padding-right: 0;
  border-right: 7px solid #fc0;
}

#content span.next a:hover {
  padding-left: 0;
  border-left: 7px solid #fc0;
}
	
