/*
	(1) html elements
	(2) structures
	(3) formatting for structures
	(4) general purpose */

/************************************************
	(1) html elements 
*************************************************/
body {
	margin: 0;
	padding: 0;
	background-color: #f2f2f2;
	font-family: arial, helvetica;
	font-size: 75%;
	color: #666;
}

h1 {
	font-size: 1.4em;
	padding: 0;
	margin: 5px 0 8px 0;
}

h2 {
	font-size: 1.2em;
	padding: 0;
	margin: 3px 0 4px 0;
}

p {
	padding: 0;
	margin: 5px 0 10px 0;
}

a img {
	border: none;
	text-decoration: none;
}

form {
	margin: 0;
	padding: 0;
}	
/************************************************
	(2) structures
*************************************************/
#main {
	width: 935px;
	margin: 0 auto;
	padding: 0;
}

#left {
	width: 739px;
	float: left;
	margin-right: 9px;
	line-height: 1.4em;
}

#masthead {}

#logo {
	margin: 0;
	float: left;
	width: 748px;
}

#search {
	float: left;
	width: 182px;
	padding-top: 38px;
}


#banner {
	width: 709px;
	height: 38px;
	line-height: 38px;
	background: transparent url(../images/bg_banner.gif) 0 0 no-repeat;
	vertical-align: middle;
	padding-left: 20px;
	margin: 0 0 5px 5px;
}

#content {
	background: transparent url(../images/module_content_body.gif) 0 0 repeat-y;
	width: 739px;
}

#right {
	width: 185px;
	float: left;
}

/*.search_text {
	width: 50px;
	font-size: .9em;
	float: left;
	margin-right: 3px;
}
*/
.search_category {
	width: 70px;
	font-size: .9em;
	float: left;
	margin-right: 3px;
}

#btnSubmit {
	float: left;
}

#sermon-podcast {}


#footer {
	margin: 15px 0;
	padding-top: 15px;
	text-align: center;
	clear: both;
}

/************************************************
	(3) formatting for structures
*************************************************/


/* search */

#search label {
	display: block;
	font-weight: bold;
	font-size: 1.1em;
	margin-right: 5px;
	padding-top: 6px;
}

#search #btnSubmit {
	padding-top: 5px;
}

#search #search_text {
	float: left;
	width: 150px;
	height: 20px;
	padding: 4px 0 0 4px;
	border: 1px solid #ccc;
	margin-right: 5px;
}

#content .module-outer {
	background: transparent url(../images/module_content_top.gif) top left no-repeat;
}

#content .module-inner {
	background: transparent url(../images/module_content_bottom.gif) bottom left no-repeat;
	padding: 5px 30px 30px 30px;
}



/* footer */
#footer a {
	color: #666;
}

/* banner */
#banner a {
	color: #666;
}



#sermon-podcast a {
	color: #325078;
}


/************************************************
	(4) general purpose
*************************************************/

a.gray, 
h2 a {
	color: #666;
	text-decoration: none;
}

a.gray:hover, 
h2 a:hover {
	text-decoration: underline;
}

/* MODULES */




/* list-module (unordered list module) */
.list-module {
	list-style: none;
	margin: 0;
	padding: 0;
	background: transparent url(../images/module_UL_bottom_left.gif) bottom left no-repeat;
}

.list-module li {
	margin: 0;
	padding: 5px 10px 5px 15px;
	border: 1px solid #ccc;
	border-bottom: 0;
}

.list-module li h3 {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 1em;
}

.list-module li.header {
	border: 0;
	padding: 0;
	background: transparent url(../images/module_UL_top_left.gif) bottom left no-repeat;
}

.list-module li.header h3 {
	padding: 15px 0 5px 15px;
	background: transparent url(../images/module_UL_top_right.gif) 100% 100% no-repeat;
}

.list-module li.last {
	/*background: transparent url(../images/module_UL_footer_right.gif) 100% 110% no-repeat;*/
	padding-bottom: 10px;
	border-left: 0;
	border-right: 0;
	background: transparent url(../images/module_UL_bottom_right.gif) bottom right no-repeat;
	
}


#right .list-module {
	background: transparent url(../images/module_resource_bottom.gif) bottom left no-repeat;
}

#right .list-module li.first {
	background: transparent url(../images/module_resource_top.gif) bottom left no-repeat;
}
#right .list-module li.last {
	background: transparent url(../images/module_resource_bottom.gif) bottom left no-repeat;
}


/* table-module */
.table-module {
	background: transparent url(../images/module_table_body.gif) 0 0 repeat-y;
}

.table-module .module-outer {
	background: transparent url(../images/module_table_top.gif) top left no-repeat !important;
	padding: 0 !important;
	height: 1%;
}

.table-module .module-inner {
	background: transparent url(../images/module_table_bottom.gif) bottom left no-repeat !important;
	padding: 0 !important;
}

.table-module table.data {
	width: 672px;
}

.table-module table.data th {
	color: #fff;
	vertical-align: middle;
	border: none;
	border-right: 1px solid #6789ae;
}

.table-module table.data th a {
	color: #fff;
}

.table-module table.data th.last {
	border-right: none;
}

.table-module table.data tr.single td {
	border: none;
}

.table-module table.data td {
	border: none;
	border-right: 1px solid #6789ae;
}

.table-module table.data td.last {
	border-right: none;
}




/* bubble module */
.bubble-module {
	background: transparent url(../images/module_bubble_body.gif) 0 0 repeat-y;
	margin-bottom: 15px;
}

.bubble-module .module-outer {
	background: transparent url(../images/module_bubble_top.gif) top left no-repeat !important;
	padding: 0 !important;
	height: 1%;
}

.bubble-module .module-inner {
	background: transparent url(../images/module_bubble_bottom.gif) bottom left no-repeat !important;
	padding: 15px;
	min-height: 30px;
}

.bubble-module h3 {
	font-size: 1.2em;
	text-decoration: underline;
	margin: 0 0 3px 0;
	color: #51504b;
}

.bubble-module a {
	text-decoration: none;
	color: #51504b;
}

.bubble-module a:hover {
	text-decoration: underline;
}


/* bubble module */
.resource-module {
	background: transparent url(../images/module_resource_body.gif) 0 0 repeat-y;
	margin-bottom: 5px;
}

.resource-module .module-outer {
	background: transparent url(../images/module_resource_top.gif) top left no-repeat !important;
	padding: 0 !important;
	height: 1%;
}

.resource-module .module-inner {
	background: transparent url(../images/module_resource_bottom.gif) bottom left no-repeat !important;
	padding: 15px;
	min-height: 30px;
}

.resource-module.header .module-outer {
	background: transparent url(../images/h3_bg_module_resource.gif) 0 0 no-repeat !important;
}

.resource-module.header .module-inner {
	padding-top: 8px;
}

.resource-module.header h3 {
	margin: 0 0 15px 0;
	padding: 0;
	font-size: 1.1em;
}



/* tables */

table.data {
	width: 100%;
	border-collapse: collapse;
}

table.data td,
table.data th {
	text-align: left;
	padding: 6px 6px 5px 10px;
}

table.data th {
	padding-bottom: 3px;
}

table.data td {
	border: 1px solid #3d5174;
}

table.data tr.last td { border-bottom: none; }

table.data td.last { border-right: none; }
table.data td.first { border-left: none; }

table.data.single th { border: none !important; }
table.data.single td { 
	border: none !important; 
}


/* columns */

div.two-column {
	margin-bottom: 7px;
}

div.two-column div.column {
	float: left;
	width: 49%;
}

div.three-column {
	margin-bottom: 15px;
}

div.three-column div.column {
	float: left;
	width: 33%;
}



/* img.thumb */
img.thumb {
	float: left;
	margin-right: 10px;
}



/* ul.flat */
ul.flat {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.flat li {
	margin: 0 0 5px 0;
	padding: 0;
}



/* ul.category */
ul.category {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.category li {
	float: left;
	width: 140px;
	margin: 0 23px 15px 0;
	padding: 0;
	text-align: center;
	height: 160px;
}

ul.category li.last {
	margin-right: 0;
}

ul.category li a {
	text-decoration: none;
}



/* ul.key */
ul.key {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.key li {
	margin: 0;
	padding: 3px 5px;
	border-bottom: 1px solid #ccc;
	/*height: 50px;*/
	overflow: auto;
}

* html ul.key li {
	height: 34px;
}


ul.key li.last {
	border: none;
}

ul.key span.label {
	padding: 5px 0 0 10px;
	font-size: 1.1em;
	float: left;
}

ul.key .icon {
	float: left;
	margin-left: 20px;
}

ul.key .real-logo {
	margin: 5px 10px 0 0;
	float: right;
}



/* breadcrumb */
.breadcrumb {
	list-style: none;
	margin: 0 0 15px 0;
	padding: 0;

}

.breadcrumb li {
	margin: 0 3px 0 0;
	padding: 0;
	height: 20px;
	display: inline;
}


/* special media search */
 
.spec-media {
	background: url(/images/specmedia_bg.gif) repeat-y -633px 0px;
	padding:0px;
	margin-bottom:6px;
}
.spec-media .topcap {
	height:14px;
	background: url(/images/specmedia_bg.gif);
}
.spec-media .bottomcap {
	height:14px;
	background: url(/images/specmedia_bg.gif) 0px 14px;
	clear:both;
}



.spec-media .icon {
	float:left;
	border:0px solid #000;
	width:143px;
	height:80px;
	margin-left:16px;
	text-align:center;
}

.spec-media .info {
	margin-left:169px;
	margin-right:10px;
}

.spec-media .info .title {
	font-size:1.4em;
	font-weight:bold;
}

.spec-media .info .description {
	margin-bottom: 8px;
}

.spec-media .info .time-and-date {
	float:right;
	font-style:italic;
	margin-right:16px;
}

.spec-media-table .paging {
	text-align:center;
}

.spec-media-box .paging .page-link {
	border:1px solid #b0b0b0;
	background-color:#f0f0f0;
	padding:3px;
}
.spec-media-box .paging .page-link-current {
	background-color:#fff;
}
.spec-media-box .search {
	text-align:right;
	margin-right:10px;
	margin-bottom:4px;
}
.spec-media-box .search input.text {
	width:120px;
}
.spec-media-box .search input.image {
	vertical-align:middle;
}


/* utilities */

/* orientation */
.block					{ display: block; } 
.right					{ float: right; }
.left					{ float: left; }
.t-right				{ text-align: right !important; }
.t-left					{ text-align: left !important; }
tr.t-center td,
.t-center				{ text-align: center !important; }
.justify				{ text-align: justify; }
 
/* fonts */
.small					{ font-size: .9em; }
.smaller				{ font-size: .8em; }
.smallest				{ font-size: .7em; }
.large					{ font-size: 1.1em; }
.larger					{ font-size: 1.2em; }
.largest				{ font-size: 1.3em; }

.normal					{ font-weight: normal !important; }
.bold					{ font-weight: bold !important; }

.urgent					{ color: red; }

.pointer				{ cursor: pointer; }

/* margins, paddings */
.sm-margin				{ margin: 10px !important; }
.sm-margin-t			{ margin-top: 10px !important; }
.sm-margin-r			{ margin-right: 10px !important; }
.sm-margin-b			{ margin-bottom: 10px !important; }
.sm-margin-l			{ margin-left: 10px !important; }

.sm-padding				{ padding: 10px !important; }
.sm-padding-t 			{ padding-top: 10px !important; }
.sm-padding-r			{ padding-right: 10px !important; }
.sm-padding-b			{ padding-bottom: 10px !important; }
.sm-padding-l			{ padding-left: 10px !important; }

.lg-margin				{ margin: 20px !important; }
.lg-margin-t			{ margin-top: 20px !important; }
.lg-margin-r			{ margin-right: 20px !important; }
.lg-margin-b			{ margin-bottom: 20px !important; }
.lg-margin-l			{ margin-left: 20px !important; }

.lg-padding				{ padding: 20px !important; }
.lg-padding-t 			{ padding-top: 20px !important; }
.lg-padding-r			{ padding-right: 20px !important; }
.lg-padding-b			{ padding-bottom: 20px !important; }
.lg-padding-l			{ padding-left: 20px !important; }

.no-margin-pad			{ margin: 0 !important; padding: 0 !important; }

.clear					{ clear: both; height: 1px; overflow: hidden; }
.hidden					{ display: none; }
.relative				{ position: relative; }

tr.alt td				{ background-color: #ccc !important; border-color: #fff; }

.center					{ text-align: center !important; }

pre.nobr				{ display: inline; font-family: arial, sans-serif; inherit; width: auto; float: left; margin: 0; padding: 0 3px 0 0;}


.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* popup */

.popup #content {
	width:500px;
}

.popup .close {
	margin: 10px;
	text-align:right;
}

