/***************************************************************
 * Copyright notice
 *
 * (c) 2010 Christian Technology Ministries International Inc.
 * All rights reserved
 *
 * This file is part of the Web-Empowered Church (WEC)
 * (http://WebEmpoweredChurch.org) ministry of Christian Technology Ministries 
 * International (http://CTMIinc.org). The WEC is developing TYPO3-based
 * (http://typo3.org) free software for churches around the world. Our desire
 * is to use the Internet to help offer new life through Jesus Christ. Please
 * see http://WebEmpoweredChurch.org/Jesus.
 *
 * You can redistribute this file and/or modify it under the terms of the
 * GNU General Public License as published by the Free Software Foundation;
 * either version 2 of the License, or (at your option) any later version.
 *
 * The GNU General Public License can be found at
 * http://www.gnu.org/copyleft/gpl.html.
 *
 * This file is distributed in the hope that it will be useful for ministry,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * This copyright notice MUST APPEAR in all copies of the file!
 ***************************************************************/

/* @group Reset Styling */

/* --------------------------------------------------------------

   reset.css
   * Resets default browser CSS.

   Based on work by Eric Meyer:
   * meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/

-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;

}

/* Tables still need 'cellspacing="0"' in the markup. */
/*table { border-collapse: separate; border-spacing: 0; } -------by Ben*/
caption, th, td { text-align: left; font-weight:400; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

a img { border: none; }

a{
color:#288c28;
}

a:active {
	outline: none;
	}

a:focus {
	-moz-outline-style: none;
	}

/* @end Reset Styling */

/* @group Base Styling */

html {
	height: 100%;
}

body {
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
	font-size: 12px;
	line-height: 1.7em;
	color: #555;
	font-weight: normal;
	height: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	text-align: center;
}

/* NOTE: Much of the typography styling is handled in rte.css */


/* @group Table Styling */

/* NOTE: Table Styling is mostly handled in rte.css */
/* table {
	border-collapse:collapse;
	width: 100%;
	} -------by Ben*/

/* @end Table Styling */

/* @group Additional Tags */


pre {
	margin-bottom: 15px;
}

code {
	margin-left: 10px;
	margin-right: 10px;
}

pre code {
	margin-left: 0px;
	margin-right: 0px;
}

pre,
code {
	font-family: 'andale mono', 'monotype.com', 'lucida console', monospace;
}


/* @end Additional Tags */

/* @group TYPO3 General Styling */

div.csc-textpic-center div.csc-textpic-imagewrap,
div.csc-textpic-left div.csc-textpic-imagewrap,
div.csc-textpic-right div.csc-textpic-imagewrap {
    margin-bottom: 0px;
}
    
/* @end */

/* @group Forms */


form input,
form textarea {
	margin-right: 5px;
	margin-bottom: 3px;
}

form input:focus,
form input:hover {
	color: black;
}

form select {
	font-size: 11px;
	padding: 2px;
}

form option {
	margin: 0;
	margin-left: 5px;
	margin-right: 10px;
}

optgroup {
	font-weight: bold;
	font-style: italic;
	margin: 0;
	margin-top: 5px;
}

optgroup option {
	padding-left: 5px;
}

legend {
	font-weight: bold;
	color: black;
}


/* @end Forms */

/* @end Base Styling */

/* @group Common Classes */

.clear {
	clear: both;
}

.clearOnly {
	clear: both;
	height: 0px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	line-height: 0;
}

.outOfSight {
	overflow: hidden;
	width: 0;
	height: 0;
	float: left;
}
.centralHeadline{
	margin:0;
	font-size:26px;
	line-height: 50px;
	text-align: center;
	color: #fff;
	background: #1F4469;
}

.csc-firstHeader {
	/*margin-top: 0px;*/
}

.graphicTextWrapper {
	overflow: hidden;
}

.graphicText {
	line-height: 300px;
	display: block;
}

.csc-textpic-imagecolumn {
	border-bottom: 0px solid #1F4469;
	border-top: 0px solid #1F4469;
}

/* @end Common Classes */

/* @group Layout */

#pageWrap-outter{
	background: #fff url(images/footer_bgjpg) bottom center no-repeat;
	width: 970px;
	margin: 0 auto;
	margin-top: 25px;
	border: 1px solid #f0f0f0;
	-moz-box-shadow: 0px 0px 10px #999;
	-webkit-box-shadow: 0px 0px 10px #999;
	box-shadow: 0px 0px 10px #999;

}

#pageWrap{
	margin:15px;
	margin-bottom: 0;
	padding:0;
	background: url(images/wrapper_bgjpg) top center repeat-y;
	text-align: left;
}

#content-wrapper{
	margin: 0 0px;
	background: transparent url(images/feature_shadowpng) no-repeat scroll 0 0;
	position: relative;
	z-index: 80;
}

#contentBlock-1{
	margin:2px 0 0 0px;
	padding:15px 0 0 0;
	min-height:300px;
	border-top: 5px solid #1F4469;
}
#contentBlock-2, #contentBlock-3{
	margin-top:10px;
	margin-bottom:10px;
}
#feature {
	margin: 15px 0 0 0;
	padding: 0px;
	background: url(images/feature-bgpng) top no-repeat #fff;
	min-height: 79px;
	border-bottom: 3px solid #1F4469;
}

#feature a {
	color: #288c28;
	text-decoration: underline;
}

#generatedContent-1 {
	width: 230px;
	float: left;
	margin-right: 20px;
	}

#generatedContent-2 {
	width: 230px;
	float: right;
	}

#f1d #contentBlock-1 {
	float: right;
	width: 730px;
	}

#f1e #contentBlock-1 {
	float: left;
	width: 730px;
	}

#f1f #contentBlock-1 {
	float: left;
	width: 480px;
	}

#f2a #contentBlock-1 {
	float: left;
	width: 730px;
	}

#f2a #contentBlock-2 {
	width: 230px;
	float: right;
	}

#f2b #contentBlock-1 {
	float: left;
	width: 730px;
	}

#f2b #contentBlock-2 {
	width: 230px;
	float: right;
	}

#f2c #contentBlock-1 {
	float: left;
	width: 730px;
	}

#f2c #contentBlock-2 {
	width: 230px;
	float: right;
	}


#f2d #contentBlock-1 {
	float: left;
	width: 480px;
	}

#f2d #contentBlock-2 {
	width: 230px;
	float: right;
	}

#f2e #contentBlock-1 {
	float: left;
	width: 480px;
	margin-right: 20px;
	}

#f2e #contentBlock-2 {
	width: 230px;
	float: left;
	}

#f3a #contentBlock-1,
#f3b #contentBlock-1 {
	float: left;
	width: 480px;
	margin-right: 20px;
	}

#f3a #contentBlock-2,
#f3b #contentBlock-2 {
	width: 230px;
	float: left;
	}

#f3a #contentBlock-3,
#f3b #contentBlock-3,
#f3c #contentBlock-3,
#f3d #contentBlock-3 {
	width: 230px;
	float: right;
	}

#f3c #contentBlock-1,
#f3d #contentBlock-1 {
	float: left;
	width: 480px;
	}

#f3c #contentBlock-2,
#f3d #contentBlock-2 {
	width: 230px;
	float: left;
	margin-right: 20px;
	}

/* @end Layout */


/* @group Header */

#header{
	padding: 0 0px;
	margin: 15px 0 0 0;
	background: url(images/header_bgjpg) bottom center no-repeat;
	position: relative;
	height: auto;
}

#masthead {
	float: left;
	margin: 0px 0 0px 0px;
	padding: 0;
	clear: none;
}

#masthead h1 {
	padding: 0;
	margin: 0;
	text-indent: -999em;
}

#masthead h1 a {
	display: block;
	width: 240px;
	height: 60px;
	background: url(images/logo.gif) top left no-repeat;
}

#masthead h1 a:hover {
	color: #333;
}


.topNav{
	float: right;
	margin: -45px 0 0 0;
	padding: 5px 0 0;
	position: absolute;
	z-index: 999;
	top: 0;
	right: 0px;
}

.bottomNav {
	float: right;
	clear: none;
}

#login {
	margin: 0;
	padding-right: 15px;
	float: left;
}

#login,
#login a {
	color: #999;
	text-decoration: none;
}

#login a {
	font-weight: bold;
	text-indent: -999em;
	display: block;
	width: 15px;
	height: 21px;
	background: url(images/lock_blue.gif) top left no-repeat;
}
#login a:hover {
	background: url(images/lock_grey.gif) top left no-repeat;
}

#search {
	float: left;
	margin: 0 0 0 10px;
	padding: 0;
	width: 170px;
	display: none;
}

#search input{
	padding: 0;
	margin: 0;
	vertical-align: middle;
}

#siteSearchInput {
	width: 130px;
}

#menu-wrapper {
	padding: 0px 0px;
	margin: 0;
	background: white;
	float: right;
}

/* @group Global Menu */

#globalMenu {
	margin: 0;
	padding: 0;
}

#globalMenu li {
	display: inline;
	float: left;
	padding: 0 0px 0 0 ;
	margin: 0 2px 0 0;
}

#globalMenu a,
#globalMenu li span {
	color: #fff;
	font-size: 11px;
	font-weight: normal;
	display: block;
	width: 95px;
	padding: 35px 0 10px 0;
	background: #2879A9;
	text-align: center;
	text-decoration: none;
}

#globalMenu li span {
	text-indent: -999em;
}

#globalMenu a:hover {
	background: #1F4469;
}

#globalMenu li.active a {
	background: #1F4469;
}

/* @end Global Menu */

/* @end Header */

/* @group Footer */


#footer{
	width: 970px;
	margin: 10px auto;
	padding: 0;
	color: #CCCCCC;
	text-align: center;
}


#footerCopyright {
	color: #666;
	float: left;
	clear: none;
	margin-left: 200px;
}

a#footerHomeLink {
	display: block;
	float: right;
	margin-right: 66px;
	color: #999999;
}

a#footerHomeLink:hover {
	color: #fff;
}

/* @end Footer*/

/* @group Local Menu */
#localMenu-top {
	background: url(images/local-menu-top-bg.jpg) top no-repeat;
	margin-bottom: -20px;
	padding: 10px;
	height: 18px;
}

#localMenu {
	margin-left: 0;
	margin-bottom:15px;
	padding-top: 10px;
	border-right: 2px solid #969696;
	min-height:100px;
	padding-bottom:20px;
}

#localMenu ul {
	margin: 10px 0;
}


#localMenu li {
	list-style: none;
	margin-bottom: 10px;
	font-size: 12px;
	padding-right:8px;
	line-height:1.1em;
	font-family:tahoma;
}

#localMenu li li,
#localMenu li li li,
#localMenu li li li li {
	font-size: 12px;
	margin-left:20px;
}

#localMenu li a {
	color: #777;
}

#localMenu li a:hover {
	color: #333;
}

#localMenu li.current a {
	color: #288c28;
	font-weight: bold;
}

#localMenu li.current li a {
	color: #777;
	font-weight: normal;
}

#localMenu li.current li a:hover {
	color: #000;
}

#localMenu li.current {
	background: url(images/local_menu_arrow.gif) no-repeat right -3px;
}

#localMenu li li.current {
    margin-right: -8px;/* this is for the arrow */
}

#localMenu li li li.current {
    margin-right: -16px;/* this is for the arrow */
}

#localMenu li li li li.current {
    margin-right: -24px;/* this is for the arrow */
}

/* @end Local Menu */

/* @group login Styling */
.tx-felogin-pi1{
	margin-top: 35px;
}

/* @end login */


/* @group Module Styling */

.moduleHeader {
	margin: 0;
	padding: 0 15px 0 0;
	color: white;
	background: url(images/right_module_cap.gif) no-repeat right top;
	font-size: 18px;
	text-shadow: 0 1px 1px #000;
    line-height: 1.2em;
}

.moduleHeader .moduleHeaderInnerWrap {
	display: block;
	padding: 8px 0 8px 10px;
	background: #999999 url(images/left_module_cap.gif) no-repeat left top;
}

.moduleFooter {
	height: 15px;
	margin: 0;
	padding-right: 15px;
	background: url(images/right_module_cap.gif) no-repeat right bottom;
	font-size: 1px;
	overflow: hidden;
}

.moduleFooter span {
	display: block;
	height: 15px;
	background: #999999 url(images/left_module_cap.gif) no-repeat left bottom;
}

.moduleBody {
	padding: 15px 10px 10px;
}

.moduleBodyWrap {
	background:white;
	border-left: 1px solid #999999;
	border-right: 1px solid #999999;
	/* Please note that the thickness values on the two border values above will be overridden in the final output. Make sure these values match the constant moduleBodyBorderWidth */
}

.unframed .moduleBody,
.unframed .moduleBodyWrap {
	padding: 0;
	border: 0;
}

.unframed .moduleBodyWrap {
	background:none; 
} 

.moduleBodyBleed {
	padding: 0;
}

.columnGroup {
	margin-bottom: 0px;
}

.column {
	padding: 20px 0;
}

.column-1 {
	border-right: 1px solid #1F4469;
	margin-left: -1px;
}

.column-1 p {
	padding-right: 25px;
}

.columnGroupRule {
	border-bottom: 1px solid #7f7f7f;
}

.moduleGroup {
	margin-bottom: 10px;
	margin-top:5px;
}

.moduleFeature {
	margin-bottom: 15px;
}

/* @end Module Styling */



/* @group Forms */

.csc-mailform-field label,
.csc-mailform-field label {
	display: block;
}

/* @end */
.csc-menu ul {
	margin: 0;
	padding: 0;
}

.csc-menu li {
	list-style: none;
	list-style-type: none;
	padding: 0;
	margin: 0 0 10px 0;
}

.csc-menu li a {
	line-height: 25px;
	display: block;
	background: #e6e6e6;
	padding: 0 20px;
	text-decoration: none;
}

.csc-menu li a:hover {
	background: #2879A9;
	color: #fff;
}

.contenttable {
	border: 0;
}

.contenttable tr td {
	padding: 1px 0px 1px 15px;
}

.contenttable tr.odd td {
	background: #e6e6e6;
}

.contenttable tr td p {
	margin: 0;
	padding: 0;
}

.front-pic-border {
	border-bottom: 1px solid #1F4469;
	border-top: 1px solid #1F4469;
	padding-top: 15px;
}

.front-pic-border .csc-textpic-imagecolumn {
	border-top: 1px solid #1F4469;
}

/************* Section Menus ********************/
.sectionMenuWrapper {
	width: 100%;
}

.sectionMenu {
	margin: 0;
	text-align: left;
}

.sectionMenu .menuItem {
	display: inline-block;
	width: 250px;
	margin: 0 20px 20px 0;
	vertical-align: top;
}

.wrapper {
	vertical-align: top;
}

.menuItem > a + .wrapper {
	margin-left: 120px;
}

.menuItem > a {
	float: left;
	vertical-align: top;
}

.menuItem h3 {
	margin: 0;
}


/***************** form style ********************/

label {
	font-weight: bold;
	display: block;
	margin-top: 10px;
}

.instructions {
	font-size: 10px;
	line-height: 1.1em;
}

input[type=text],
input[type=password],
textarea,
select {
	background-color: #fff;
	border: 1px solid #bbb;
	margin: 5px 0 0 0;
}

input[type=text]:focus,
input[type=password]:focus
textarea:focus,
select:focus {
	border-color: #666;
}

input[type=text],
input[type=password],
textarea,
select {
	margin: 3px 0;
}

input[type=text],
input[type=password] {
	/* width: 300px; */
	padding:3px;
}

textarea {
	width: 390px;
	height: 250px;
	padding: 3px;
}

input[type=checkbox],
input[type=radio] {
	position: relative;
	top: .25em;
}

/* Account for Frontend User Registration using <label> for checkbox items with no other surround markup */
#tx-srfeuserregister-pi1-fe_users_form input[type=checkbox] + label,
#tx-srfeuserregister-pi1-fe_users_form input[type=radio] + label {
	margin-top: 0;
	display: inline;
	font-weight: normal;
}
#tx-srfeuserregister-pi1-fe_users_form input[type=checkbox] + label:after,
#tx-srfeuserregister-pi1-fe_users_form input[type=radio] + label:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.inline {
	display: inline-block;
	vertical-align: top;
}

.error, .notice, .success {
	border:2px solid #DDDDDD;
	margin-bottom:1em;
	padding:0.8em;
}

.error {
	background: #FBE3E4 none repeat scroll 0 0;
	border-color: #FBC2C4;
	color: #8A1F11;
}

.success {
	background: #E6EFC2 none repeat scroll 0 0;
	border-color: #C6D880;
	color: #264409;
}

.notice {
	background: #FFF6BF none repeat scroll 0 0;
	border-color: #FFD324;
	color: #514721;
}

form ol,
form ul {
	list-style-type: none;
	margin-left: 0;
}

form hr {
	height: 1px;
	border: none;
	border-top: 1px solid #bbb;
	margin: 15px 0 15px 0;
}


.mapleft {
	border-right: 1px solid #1F4469;
}

.mapnest {
  width:940px;
}

.maptop {
  Xpadding:10px;
}

.mapcat {
  width:200px;
  float:left;
  padding:5px;
  border-top:1px solid #ccc;
  border-left:1px solid #ccc;
  display: none;
}

#map {
  float:right;
  clear: none;
  padding:0px;
}

.mapbottom {
float: left;
  clear:none;
  margin-left:0px;
  width:300px;
}

.mapbottom ul {
  padding:0 0 0 0px;
  margin: 0;
  margin-bottom: 10px;
  list-style: none;
  list-style-type: none;
}

.mapbottom ul li {
	background: #e6e6e6;
	margin-bottom: 5px;
	padding-left: 15px;
	font-size: 10px;
}

.mapbottom ul li:hover {
	background: #f6f6f6;
}

.mapbottom ul li span {
	float: right;
}

.mapbottom ul li span a {
	padding: 2px 5px;
	background: #333;
	color: #fff;
	margin-right: 2px;
	text-decoration: none;
}

.mapbottom ul li span a:hover {
	background: #2879A9;
}

#infobox {
  border: 3px solid #2879A9;
  width: 300px;
  position: absolute;
  background: #fff;
  z-index: 998;
  display: none;
}

/*
.tx-rgpopup-Nest {
	position:absolute;
	border: 1px solid #CC3333;
	width:350px;
	border:10px solid blue;
	z-index:5;
}*/
	
.tx-rgpopup-dragbar {
	background-color: #2879A9;
	cursor:hand; 
	cursor:pointer;
  padding: 0px 0 3px 10px;
	height: 30px;
	line-height: 30px;
}
.tx-rgpopup-left {
	font-size : 13px; 
	font-weight: bold;
	color: white;
	float: left;
	padding-left: 5px;
}
		
.tx-rgpopup-right {
	text-align:right;
	padding-right: 1px;
}
.tx-rgpopup-mainNest {
	text-align: left;
	padding: 10px;
	background-color: white;
}	

/* tooltip at POI on map */
.markerTooltip {
  background: #fff;
  color:#000;
  padding: 3px 6px;
  white-space: nowrap;
  border: #333 solid 1px;
  -moz-border-radius:10%;
  -moz-opacity: 85%;
  opacity: 0.85;
  z-index:4;
}


#poitab {
	margin: 0;
	padding: 0 0 20px 0 !important; padding:0;

	width:220px;
border-bottom: 1px solid #9FB1BC;
}

#poitab li {
	margin: 0; 
	padding: 0;
	display: inline;
	list-style-type: none;
}
	
#poitab a, #poitab a:link, #poitab a:visited {
	float: left;
	line-height: 14px;
	font-weight: bold;
	padding: 0 12px 6px 12px;
	text-decoration: none;
	color: #708491;  	
}

#poitab .act a, #poitab a:link.active, #poitab a:visited.active, #poitab a:hover {
	color: #000;
	background: url(square.gif) no-repeat bottom center;
}

.poi-content {
clear:both;
height:80px;
overflow:auto;
}
/*
#rggooglemap-largeoverview div {
position:relative;
}
#map_overview {
position:relative;
top:0px;
left:0px;
}
*/


th.tx-mmforum-th {
	background: #1F4469 !important;
}

th.tx-mmforum-th div {
	margin-left: 40px;
}

.csc-uploads {
	width: 100%;
}

.csc-uploads  .tr-odd {
	background: #e6e6e6;
}

.csc-uploads  .tr-even {
	background: #fff;
}

#image-gallery {
	height: 260px;
}

#image-gallery .csc-default {
	float: left;
	clear: none;
	width: auto;
}

#image-gallery .csc-textpic {
	float: left;
	clear: none;
	margin: 10px 15px 10px 0;
}

#image-gallery .csc-textpic-imagewrap {
	width: 140px;
	height: 100px;
	overflow: hidden;
}

#image-gallery .csc-textpic-imagewrap a {
	display: block;
	width: 130px;
	height: 98px;
	padding: 0;
	overflow: hidden;
	text-align: center;
	background: #e6e6e6;
	border: 1px solid #1F4469;
}

#image-gallery .csc-textpic-imagewrap a img {

}
