/***************************************************************
 * 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;
  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; }
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:active {
  outline: none;
}

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

/* @end Reset Styling */

/* @group Base Styling */

html {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.6em;
  color: #666;
  font-weight: normal;
  height: 100%;
  background: url(images/wood-bg2.jpg) top center no-repeat fixed #597387;
}

/* 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%;*/
}

/* @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: 10px;
}
    
/* @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;
}

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: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.outOfSight {
  overflow: hidden;
  width: 0;
  height: 0;
  float: left;
}
.centralHeadline{
margin-top:0;
font-size:30px;
}
.csc-firstHeader {
/*margin-top: 15px; */
}

.graphicTextWrap {
  overflow: hidden;
}

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

/* @end Common Classes */

/* @group Layout */

#pageWrap {
  width: 914px;
  margin: 0 auto;
  padding: 0;
  padding-bottom: 15px;
  background: #fff;
  border-bottom: 2px solid #678094;
}

#feature {
  margin: -30px 0 30px 0;
  position: relative;
  padding: 0;
  z-index: 10;
  padding: 17px;
  color: #ececec;
  min-height: 188px;
  background: url(images/feature-bg.jpg) top center no-repeat #4a4a4a;
  font-size: 14px;
}

#feature h1,
#feature h2,
#feature h3,
#feature h4,
#feature h5,
#feature h6 {
  color: #fff;
}

#feature a {
  color:#f1dd24;
}

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

#generatedContent-1 {
  width: 186px;
  float: left;
  padding-left:20px;
/*  margin-top: 15px; */
}

#generatedContent-2 {
  width: 189px;
  margin-right: 17px;
  float: right;
}

#contentBlock-1{
  min-height:30px;
  margin:0 17px;
  padding-bottom:10px;
}

#contentBlock-2, #contentBlock-3{
  padding-bottom:10px;
}

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

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

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

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

#f2a #contentBlock-2 {
  width: 189px;
  margin-right: 17px;
  float: right;
}

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

#f2b #contentBlock-2 {
  width: 189px;
  margin-right: 17px;
  float: right;
}

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

#f2c #contentBlock-2 {
  width: 189px;
  margin-right: 17px;
  float: right;
}


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

#f2d #contentBlock-2 {
  width: 189px;
  margin-right: 17px;
  float: right;
}

#f2e #contentBlock-1 {
  float: left;
  width: 468px;
}

#f2e #contentBlock-2 {
  width: 189px;
  margin-right:17px;
  float: left;
}

#f3a #contentBlock-1,
#f3b #contentBlock-1 {
  float: left;
  width: 468px;
}

#f3a #contentBlock-2,
#f3b #contentBlock-2 {
  width: 189px;
  margin-right: 17px;
  float: left;
}

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

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

#f3c #contentBlock-2,
#f3d #contentBlock-2 {
  width: 189px;
  margin-left: 17px;
  float: left;
}

/* @end Layout */

/* @group Header */

#header {
  margin: 0 auto;
  padding-bottom: 30px;/* this is for the compensation for the margin-top:-30px for the feature*/
  width: 1000px;
  position: relative;
  background: url(images/header_bg.png) bottom center no-repeat;
}

#masthead {
  float: left;
  margin: 30px 60px 40px 60px;
  padding: 0;
}

#masthead h1 {
  padding-left: 15px;
  font-family: "Times New Roman", Times, serif;
  font-size: 50px;
  padding: 0;
  margin: 0;
}

#masthead h1 a {
  color: purple;
  text-shadow: 0 2px 2px #333;
}

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

#language-selector {
      left: 850px;
      top: 120px;
  font-weight: bold;
      position:absolute;
      z-index:10;
     }

#language-selector a:hover {
  color: red;
}

#topNav{
  margin: 0;
  padding: 5px 0 0;
  position:absolute;
  right:45px;
  z-index: 5;
}

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

#login,
#login a {
  color: black;
}

#login a {
  font-weight: bold;
}

#login a:hover {
  color: red;
}

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

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

#search #siteSearchInput {
  padding: 2px;
  width: 130px;
}
/* @group Global Menu */

#globalMenu {
  margin: 0 60px 0 60px;
  padding:0 0 30px 0;
  clear:both;
}

#globalMenu li {
  display: inline;
  float: left;
  padding: 0 20px 0 0;
  overflow: hidden;
  white-space:nowrap;
}

#globalMenu a {
  color: #000;
  font-size: 16px;
  font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
  font-weight: bold;
  text-decoration: none;
}

#globalMenu a:hover {
  color: #006ec1;
}

#globalMenu li.active a {
  color: #006ec1;
}

/* @end Global Menu */



/* @end Header */

/* @group Footer */

#footer {
  margin: 0 auto;
  width: 916px;
}

#footerCopyright {
  float: left;
  color: #fff;
  margin-left: 20px;
  text-align:left;
  width:60%;
}

a#footerHomeLink {
  display: block;
  float: right;
  color: #fff;
  margin-right: 20px;
  text-align:right;
  width:30%;
  }

a#footerHomeLink:hover {
  color: black;
}

/* @end Footer*/

/* @group Local Menu */

#localMenu-top {
  padding: 0;
  height: 13px;
  margin-left:-20px;
  background: url(images/localmenu-top.jpg) top center repeat-y;
}

#localMenu-bottom {
  margin-top: -5px;
  margin-bottom: 15px;
  margin-left:-20px;
  padding: 0;
  height: 21px;
  background:url(images/localmenu-bottom.jpg) top center repeat-y;
}

#localMenu {
  margin: 0 0 0 -20px;
  padding-top: 0;
  padding-bottom: 0;
  background:url(images/localmenu-bg-repeat.jpg) top left repeat-y;
}

#localMenu ul {
  margin: 0;
  background: url(images/localmenu-bg.jpg) top left no-repeat;
  min-height: 308px;
  padding-top: 10px;
}

#localMenu ul ul,
#localMenu ul ul ul,
#localMenu ul ul ul ul,
#localMenu ul ul ul ul ul {
  margin: 0;
  padding-top: 0;
  background: none;
  min-height: inherit;
}
  
#localMenu ul li {
  margin-bottom: 3px;
}

#localMenu li {
  list-style: none;
  margin: 10px;
  margin-right: 5px;
  margin-left: 20px;
  font-size: 15px;
  line-height: 1.1em;
  font-family: Georgia, "Times New Roman", Times, serif;
}

#localMenu li li {
  margin-left: 20px;
  font-size: 13px;
}
  
#localMenu li a {
  color: #000;
  text-decoration: none;
}

#localMenu li a:hover {
  color: #006ec1;
}

#localMenu li.current a {
  color: #006ec1;
}

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

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

#localMenu li a, #localMenu li li a, #localMenu li li a, #localMenu li.active, #localMenu li.current {
  line-height:1.1em;/* in order to make the local shows fine if the length of a local menu is too long */
}


/* @end Local Menu */

/* @group Module Styling */

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

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

.moduleFooter {
  height: 7px;
  margin: 0;
  padding-right: 15px;
  background: url(images/right_module_bottom.gif) no-repeat right bottom;
  font-size: 1px;
  overflow: hidden;
  line-height: 1em;!important /*it fixes the bug in IE7*/
}

.moduleFooter span {
  display: block;
  height: 7px;
  background: url(images/left_module_bottom.gif) no-repeat scroll left bottom transparent;
}

.moduleBody {
  padding: 10px 10px 5px;
  font-size: 12px;
  background:#fff;
}

.moduleBodyWrap {
  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: 10px;
}

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

.moduleGroup {
  margin-bottom: 10px;
  /*margin-top: 20px;*/
}

.moduleFeature {
  margin-bottom: 15px;
}

/* @end Module Styling */

/* @group Forms */

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

/* @end */



/************* Section Menus ********************/

.sectionMenuWrapper {
  width: 100%;
}

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

.sectionMenu .menuItem {
  display: inline-block;
  width: 310px;
  margin: 0 20px 20px 0;
  vertical-align: top;
  padding:0;
  zoom: 1;
  *display:inline;
}

.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;
}
