/***************************************************************
 * 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/

-------------------------------------------------------------- */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);


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; }
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: 'Open Sans', sans-serif;
	font-size: 12px;
	line-height: 17px;
	color: #555;
	font-weight: normal;
	height: 100%;
	background: url(images/body-bg.jpg) top repeat-x #cae4c1;
}

/* 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: 0px;
	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:24px;
}

.csc-firstHeader {
	margin-top: 0;
}

.graphicTextWrap {
	overflow: hidden;
}

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

/* @end Common Classes */

/* @group Layout */


#pageWrap {
	width: 880px;
	min-height: 700px;
	padding: 0;
	margin: 0 auto;
	background: white;
	background:url(images/page_wrap_bg.jpg) center repeat-y;
}

#pageWrap-top{
height:10px;
width: 880px;
padding: 0;
margin: 0 auto;
background:url(images/page_wrap_top_bg.png) center top no-repeat;
}
#pageWrap-bottom{
height:10px;
width: 880px;
padding: 0;
margin: 0 auto;
background:url(images/page_wrap_bottom_bg.png) center bottom no-repeat;
}

#feature {
	margin:0px auto 20px auto;
	padding:0;
	width:880px;
}

#generatedContent-1 {
padding:10px 15px;
width:150px;
border-right:1px solid #eee;
float:left;
}

#generatedContent-2 {
	width: 170px;
	padding: 10px 5px;
	float: right;
	border-left:1px solid #eee;
}
#f1a #contentBlock-1 {
margin-right:20px;
margin-left:20px;
padding-top:20px;
}
#f1d #contentBlock-1 {
float:right;
margin-right:20px;
width:660px;
margin-top:20px;
}

#f1e #contentBlock-1 {
	float: left;
	width: 646px;
	min-height: 500px;
}

#f1f #contentBlock-1 {
	float:left;
	margin:20px;
	width:475px;
}

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

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

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

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

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

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


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

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

#f2e #contentBlock-1 {
	float: left;
	width: 420px;
	margin-right: 23px;
}

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

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

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

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

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

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

/* @end Layout */

/* @group Header */

#header {
	margin:0 auto;
	width: 880px;
	padding: 0;
}

#masthead {
	float: left;
	margin: 15px 0 10px;
	padding: 0;
}

#masthead h1 {
	padding: 5px 0 0 15px;
	margin:0;
	font-size:14px;
	font-weight:bold;
}

#masthead a {
	display: block;
	color: white;
	text-shadow: 1px 1px 1px #000033;
	margin:0;
	padding:0;
}

.topNav {
	float: right;
	margin: 0;
	padding: 5px 0 0;
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-topright :0;
	-webkit-border-bottom-left-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	background: transparent url(images/feature-bg.png) repeat scroll 0 0;
	border-top: none;
	border-left: 1px solid #E3ECF4;
	border-right: 1px solid #E3ECF4;
	border-bottom: 1px solid #E3ECF4;
	padding: 5px 10px;
	color: black;
	
	
	visibility:hidden;
	height:0;
}

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

#login a {
	color: #555;
	font-weight:bold;
	text-decoration:none;
	font-size:11px;
}
#login a:hover {
	color: #333;
}
#search {
	float: left;
	margin:15px 0 0 0;
	padding: 0;
	width: 180px;
}
#search form {
	margin: 0;
}
#search input {
	padding: 0;
	margin: 0;
	vertical-align: middle;
}

#search #siteSearchInput {
	padding: 2px;
	width: 130px;
	font-size:12px;
}


/* @group Global Menu */

#globalMenu {
	margin: 0 0 10px 0;
	padding: 1px 0 0 0;
	background:url(images/menu-bg.jpg) top center no-repeat;
	height:44px;
}


/* - - - ADxMenu: BASIC styles [ MANDATORY ] - - - */

/* remove all list stylings */
.menu, .menu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
}

.menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;	/* move all main list items into one row, by floating them */
	position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 5;		/* thus we need to apply explicit z-index here... */
}

.menu li:hover {
	z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

.menu li li {
	float: none;/* items of the nested menus are kept on separate lines */
}

.menu ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 10;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 0;		/* 		to avoid scrollbars as much as possible */
}

.menu li:hover > ul {
	visibility: visible;	/* display submenu them on hover */
	top: 100%;	/* 1st level go below their parent item */
}

.menu li li:hover > ul {	/* 2nd+ levels go on the right side of the parent item */
	top: 0;
	left: 100%;
}

/* -- float.clear --
	force containment of floated LIs inside of UL */
.menu:after,
.menu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}

.menu,
.menu ul {	/* IE7 float clear: */
	min-height: 0;
}

/* -- float.clear.END --  */

/* -- sticky.submenu --
	it should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the ".menu UL" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */
.menu ul {
	background-image: url(empty.gif);	/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
	padding: 14px 30px 30px 30px;
	margin: -14px 0 0 -30px;
	/*background: #f00;*/	/* uncomment this if you want to see the "safe" area.
								you can also use to adjust the safe area to your requirement */
}
.menu ul ul {
	padding: 30px 30px 30px 15px;
	margin: -30px 0 0 -10px;
}
/* -- sticky.submenu.END -- */




/* - - - ADxMenu: DESIGN styles [ OPTIONAL, design your heart out :) ] - - - */

.menu li {
	text-align: center;
	margin: 0 ;
	padding: 12px 24px 13px;
	display: block;
	list-style-type: none;
	float: left;
	font-size: 14px;
		line-height: 1.2em;
    color: #fff;
	font-weight: bold;
	text-shadow: 0px 1px 1px #555;
}


.menu li:hover {
background:url(images/mainmenu-hover-bg.png);
}

.menu > li:first-child {
margin-left:16px;
}
.menu li.active {
background:url(images/mainmenu-bg.png);
}

.menu li.active li a {
	text-shadow: 0px 1px 1px #000;
	color:#fff;
}

.menu li ul {
	width: 220px;
	background: url(images/dropdownmenu-bottom-bg.png) bottom no-repeat;
	padding-bottom: 7px;
}

.menu li li {
	padding: 0;
	margin: 0;
	text-align: left;
}


.menu li a {
	text-decoration: none;
	padding: 0;
	display: block;
	position: relative;
	font-size: 14px;
	line-height: 1.2em;
    color: #fff;
	font-weight: bold;
	text-shadow: 0px 1px 1px #555;
}

.menu li li a {
    color: #fff;
	font-size: 12px;
	padding: 6px 20px;
	background:url(images/dropdownmenu-bg.png);
}

.menu li li:hover > a {
	background: #ff6521;
}

.menu li li { /* create borders around each item */
	border-bottom: 1px solid #999;
}
.menu ul > li + li {	/* and remove the top border on all but first item in the list */
	border-top: 0;
}

.menu li li:hover > ul { /* inset 2nd+ submenus, to show off overlapping */
	top: 5px;
	left: 90%;
}


/* @end Global Menu */

/* @end Header */

/* @group Footer */

#footer {
	width: 880px;
	margin: 0 auto;
	padding-top: 10px;
	font-size:11px;
	color:#333333;
}

#footerCopyright {
	float: left;
	color: #333;
	text-align:left;
	width:30%;
	font-size:11px;
	margin-bottom: 0;
}

#footerHomeLink {
	display: block;
	float: right;
	color: #333;
	text-align:right;
	width:60%;
	font-size:11px;
}


/* @end Footer*/

/* @group Local Menu */

#localMenu {
	padding-top: 6px;
	padding-bottom: 0px;
	margin-bottom: 35px;
}


#localMenu ul {
	margin: 0;
}

#localMenu li {
	list-style: none;
	font-size: 11px;
	line-height: 1em;
	/*border-bottom: 1px solid #c5cacd;*/
	background: #fff;
}

#localMenu li li,
#localMenu li li li,
#localMenu li li li li {
	border:none;
}

#localMenu li a {
	color: #666;
	display: block;
	padding: 6px;
	font-weight:bold;
}

#localMenu li li a {
	padding-top: 3px;
	padding-left: 18px;
	font-weight:normal;
}

#localMenu li li li a {
	padding-left: 28px;
	font-size: 10px;
	font-weight:normal;
}

#localMenu li li li li a {
	padding-left: 40px;
}

#localMenu li a:hover {
	color: black;
}
#localMenu li.current {
	background:url(images/local-menu-arrow.png) no-repeat 0px 6px;
	margin-left:-5px;
	padding-left:5px;
}
#localMenu li li.current {
	background:url(images/local-menu-arrow.png) no-repeat 0px 4px;
	margin-left:-5px;
	padding-left:5px;
}

#localMenu li.current a {
	color: #ff6521;
}
#localMenu li.current li a {
	color: #666;
}
#localMenu li.current a:hover {
	color: black;
}

/* @end Local Menu */

/* @book nav */
#prev-book{
float:left;
background:url(images/prev-book.jpg) no-repeat left center;
padding-left:15px;
margin:10px 0;
}
#next-book{
float:right;
background:url(images/next-book.jpg) no-repeat right center;
padding-right:15px;
margin:10px 0;
}

#prev-book a, #next-book a{
color:#666666;
font-size:11px;
}
#prev-book a:hover, #next-book a:hover{
color:#222;
}
/* @end book nav */

/* @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: 17px;
	text-shadow: 0px 1px 1px #000;
	line-height: 1.1em;
}

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

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

.moduleBody {
	padding: 10px 10px 5px 10px;
	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:5px;
}

.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%;
        margin-top: 40px
}

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

.sectionMenu .menuItem {
	display: inline-block;
	width: 280px;
	margin: 0 20px 20px 0;
	vertical-align: top;
}
.sectionMenu .menuItem h3 {
        font-weight: bold;
        font-size: 14px;
}
.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;
}


/* some minor CSS tweaks for typo3 */
div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image .csc-textpic-caption  {
font-size:10px;
line-height:1.2em;
margin-bottom:20px;
}

/* style for mwkeywordlist-pi1 on book list page */
.tx-mwkeywordlist-pi1-content h2{
border-bottom: 1px solid #ccc;
}

.tx-mwkeywordlist-pi1-content li {
margin-left:30px;
}

.tx-mwkeywordlist-pi1-content ul strong {
line-height:40px;
}

/******indexed search*********/
.tx-indexedsearch .searchbox-tmpl-css LABEL { 
float:none;
 }
/*****special heading style*****/
.special-heading {
}
.special-heading h1{
    color: #9D9D9D;
    font-size: 40px;
    font-weight: bold;
    letter-spacing: -1.5px;
}



/*********************************/
/*************MISC**************/
/*********************************/

/*****header slideshow****/
#slideshow {
    position:relative;
    height:161px;
	}
#slideshow DIV {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
    height: 161px;
    background-color: #FFF;
	}
#slideshow DIV.active {
    z-index:10;
    opacity:1.0;
	}
#slideshow DIV.last-active {
    z-index:9;
	}
#slideshow DIV IMG {
    height: 161px;
    display: block;
    border: 0;
    margin-bottom: 10px;
	}
	

/*****apple style slider images****/
#sliderGallery-wrapper {
	margin:0 auto;
	width:880px;
	height:120px;
	text-align:center;
	background:url(http://www.scanpublishing.dk/fileadmin/content/bookslider/slider-bg.jpg) top center no-repeat;
	}
/* slider specific CSS */
.sliderGallery {
	margin:0 auto;
	padding:5px 0;
	overflow: hidden;
	position: relative;
	height: 120px; 
	}
.sliderGallery UL {
	position: absolute;
	list-style: none;
	overflow: none;
	white-space: nowrap;
	padding: 0;
	margin: 8px 0 0 0;
	}
.sliderGallery UL LI {
	display: inline;
	padding: 15px 10px;
	position:relative;
	width:100px;
	}
.sliderGallery UL LI:hover a{
	color:#ffffff;
	font-weight:bold;
	font-size:11px;
	}
.sliderGallery .book_name {
	position:absolute;
	top:30px;
	left:0;
	margin:0 0px;
	font-size:10px;
	color:#fff;
	display:block;
	width:140px;
	}
.sliderGallery .first_book_name {
	width:160px;
	}
.sliderGallery .last_book_name {
	width:160px;
	}
.sliderGallery .book_name a{
	color:#eee;
	line-height:1em;
	}
.slider {
	height: 17px;
	margin-top: 105px;
	padding: 1px;
	position: relative;
	background: url(http://www.scanpublishing.dk/fileadmin/content/bookslider/productbrowser_scrollbar.png) no-repeat;
	}
.handle {
	position: absolute;
	cursor: move;
	height: 17px;
	width: 181px;
	top: 2px;
	background: url(http://www.scanpublishing.dk/fileadmin/content/bookslider/productbrowser_scroller.png) no-repeat;
	z-index: 100;
	}
.slider span {
	color: #ccc;
	cursor: pointer;
	position: absolute;
	z-index: 110;
	top: 0px;
	}
.slider .slider-lbl1 {
	left: 180px;
	}
.slider .slider-lbl2 {
	left: 430px;
	}
.slider .slider-lbl3 {
	left: 700px;
	}
*+html .slider{
	margin-top: 0;
	top:105px;
	}
*+html .sliderGallery .book_name {
	top:90px;
	}
#generatedContent-1 td {
    height: auto;
    line-height: 1.2em;
    padding: 5px 0;
    text-align: center;
}