/* ====================================================================
	
	MAIN stylesheet
	
	site name:		Thru The Bible with Dr. J. Vernon McGee
	site url:		http://www.ttb.org 
	designed by: 	The A Group (http://www.agroup.com)
		
=====================================================================*/

@import '../taglib/css/reset.css';


/* BASICS & TYPOGRAPHY ============================================= */

body {	
	font-family: "georgia", "times new roman", serif;
	line-height: 1.8em;
	font-size: 13px;
	color: #222;
	background: #0b2337 url("../images/main/bg-body.jpg") repeat-x center top fixed;
}

a {
	color: #72161a;
	color: #00427a;
}

h1 {
	font-size: 2em;
	margin: 0;
	padding: 1.8em 0 0.9em;
	font-variant: small-caps;
	color: #fff;	
	text-indent: -3000px;
	background: url("../images/main/bg-h1-thru_the_bible.png") no-repeat left 1.4em;
	width: 400px;
}

h1 span {
	font-size: .5em;
	letter-spacing: 0;
	display: block;
	font-variant: normal;
}

h2 {
	font-size: 1.66em;
	margin: 1.084em 0;
	font-family: "arial", "lucida sans unicode", "lucida grande", arial, sans-serif;
}

#week h2 {
	margin: 0;
	padding: .271em 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	letter-spacing: -0.05em;
	font-variant: small-caps;
	color: #222;
}

p {
	margin: 1.8em 0;
}


/* AUDIO PLAYER ==================================================== */

#player_div {
	background-color: #000;
	bottom: -100px;
	left: 0;
	width: 100%;
	color: #fff;	
	position: fixed;
	visibility: visible;
}

#player_div h2 {
	float: left;
	margin: 0;
	/*font-size: 16px;*/
	font-weight: normal;
	line-height: 30px;
	margin: -31px 0 0 10px;
	padding: 0 1em;
	background-color: #000;
	border: 1px solid #444;
	border-bottom: none;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
}

#player_div h2 a img {
	margin: 0 -8px -2px 6px;
}

#audio_player {

}


/* INTRO POPUP ===================================================== */

#overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: #000;
	filter:alpha(opacity=75);/*Needed for IE*/
	-moz-opacity:0.75;/*Older mozilla broswers like NN*/
	-khtml-opacity: 0.75;/*Old versions of Safari and "KHTML" browser engines*/
	opacity: 0.75;/*FF, Safari, and Opera*/	
}

#intro {
	width: 100%;
	height: 50%;
	bottom: 0;
	position: absolute;
	
}

#intro2 {
	background-color: #fff;
	width: 500px;
	height: 300px;	
	margin: -180px auto 0;	
	border: .85em solid #ddd;
	position: relative;
	z-index: 100;
}

#intro-copy {
	padding: .85em 2em;
	text-align: center;
}

#intro-copy p {
	margin: 0;
}

#intro-copy p#welcome {
	margin: 1.4em 0 1em;
	font-size: 5em;
	line-height: 1em;
	letter-spacing: -.045em;
	font-family: arial;
}

#intro-copy h2 {
	margin: 0;
	font-size: 1em;	
	text-transform: uppercase;
}

#intro-language img {
	vertical-align: middle;
}

#intro-language select {
	font-size: 1.2em;
	padding: 2px;
	border: 1px solid #ccc;
	color: #222;
	vertical-align: middle;
}

#intro-language button {
	padding: 0;
	border: 0;
	background: url("../images/main/btn-language.png") no-repeat center center;
	height: 26px;
	width: 32px;
	cursor: pointer;
	vertical-align: middle;
}

#intro-language button span {
	display: none;
}


/* MAIN CONTAINERS ================================================= */

#container {	
	border-top: 0em solid #00427a;
	margin: 0 auto;
	width: 980px;	
}

#header {
	padding: 1px 0em;
}

#content {
	overflow: visible;
	background-color: #fff;	
	/*border: .45em solid #0f2f4a;*/
	padding: .9em 0;
}

#copy {
	width: 64%;
	float: left;
	display: inline;
	border-right: 6px solid #eee;
}	

/* WEEK TALBE ====================================================== */

#week {
	padding: 1px 26px; 
}

table.archive {
	width: 100%;
	clear: both;
	border-collapse: collapse;
}

table.archive th,
table.archive td {
	border-top: 2px dotted #ddd;
	border-bottom: 2px dotted #ddd;
	padding: 2.4em 0em;	
	vertical-align: top;
}

table.archive th {
	width: 90px;
	font-family: "arial", "lucida sans unicode", "lucida grande", arial, sans-serif;
	text-align: center;	
	line-height: 1.35em;
	color: #aaa;	
	font-weight: normal;	
	text-transform: uppercase;
}

table.archive th span.weekday {
	display: block;
	font-size: .66em;
	background-color: #bbb;	
	padding: .1em .5em 0;
	color: #fff;	
	font-weight: bold;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-topleft: 3px;
}

table.archive th span.month {
	display: block;	
	padding-top: .45em;
	font-size: .9em;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	background-color: #fff;
}

table.archive th span.day {
	display: block;	
	font-size: 2em;
	line-height: .9em;
	letter-spacing: -0.07em;		
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 0 2px .4em 0;
	-moz-border-radius-bottomright: 4px;
	-moz-border-radius-bottomleft: 4px;
	background-color: #fff;
}

table.archive td {
	padding-left: 1em;
}

table.archive tr.today th span.weekday {
	background-color: #72161A;
}

table.archive tr.today th span.month,
table.archive tr.today th span.day {
	color: #222;	
	font-weight: bold;
}

table.archive tr.current th,
table.archive tr.current td {
	background-color: #eee;	
}

table.archive h3 {
	font-size: 1.22em;
	font-family: "arial", "lucida sans unicode", "lucida grande", arial, sans-serif;
	letter-spacing: -0.035em;
}

table.archive p {
	margin: 0;
}

table.archive div.summary_container {
	position: relative;
	overflow: hidden;
	max-height: 80px;
	height: expression(this.offsetHeight>80?'80px':'auto');
}

table.archive div.active{
	max-height: none !important;
	height: auto;
}

table.archive div.read_more {
	font-family: arial;
	font-size: .9em;
	background: transparent url("../images/main/bkg_more.png") no-repeat left center;
	padding-left: 75px;
	height: 1.8em;
	position: absolute;
	bottom: 1px;
	right: 0;
}

table.archive p.summary {
	margin: .9em 0;
}

table.archive p.scripture_reference {
	/*font-variant: small-caps;*/
	font-style: italic;
	font-family: arial;
}

table.archive p.listen_download {
	margin-top: 1.022em;	
	font-size: .88em;
	line-height: 2.045em;
	font-family: "arial", "lucida sans unicode", "lucida grande", arial, sans-serif;
}

table.archive p.listen_download small {
	text-transform: uppercase;	
}

#week ul.nav-weeks {
	overflow: auto;
	font-family: "arial", "lucida sans unicode", "lucida grande", arial, sans-serif;
	padding: .9em 0;
	text-transform: lowercase;
	font-weight: bold;	
	font-variant: small-caps;
}

ul.nav-weeks li {
	display: inline;
	line-height: 1.8em;
	font-size: .9em;
}

ul.nav-weeks li.link-prev {
	float: left;	
	background: url("../images/main/bg-link-prev.png") no-repeat left top;
}

ul.nav-weeks li.link-prev a:hover {
	background: url("../images/main/bg-link-prev-hover.png") no-repeat left top;
}

ul.nav-weeks li.link-next {
	float: right;	
	background: url("../images/main/bg-link-next.png") no-repeat right top;
}

ul.nav-weeks li.link-next a:hover {
	background: url("../images/main/bg-link-next-hover.png") no-repeat right top;
}

#week ul.nav-weeks li.link-prev a {
	display: block;
	padding-left: 29px;
	height: 23px;
	line-height: 23px;
	text-decoration: none;
	color: #888;
}

#week ul.nav-weeks li.link-next a {
	display: block;
	padding-right: 29px;
	height: 23px;
	line-height: 23px;
	text-decoration: none;
	color: #888;
}

#sidebar ul.nav-weeks li {
	width: 23px;
	height: 23px;
	position: relative;
	top: -1px;
}

#sidebar ul.nav-weeks li a {
	display: block;
	width: 23px;
	height: 23px;
	text-indent: -4000px;
}

#week ul.nav-weeks li a:hover,
#sidebar ul.nav-weeks li a:hover {
	color: #00427a;
}

a.link-listen {
	padding-left:21px;
	background: transparent url("/images/main/bg-link-listen.png") left center no-repeat;
}

a.link-download {
	padding-left: 19px;
	background: transparent url("/images/main/bg-link-download.png") left center no-repeat;
}

a.link-transcript {
	margin-left: .15em;
	padding-left: 20px;
	background: transparent url("/images/main/bg-link-transcript.png") left center no-repeat;
}

a.link-share {
	padding-left: 19px;
	background: transparent url("/images/main/bg-link-share.png") left center no-repeat;
}

div.passage_container {
	height: 0px;
	background-color: #eee;
	overflow: hidden;
}

div.passage_container div {
	margin: 5px;
}

#share {
	position: absolute;
	background-color:#fff;
	border: 1px solid #ccc;
	padding: 2em;
	display: none;
	z-index: 100;
}

#share img#share_close {
	float: right;
	margin: -1.5em -1.5em 0 0;
	cursor: pointer;
}

#share h3 {
	margin-bottom: -0.8em;
}

#share p {
	margin: 1em 0;
}

#share input {
	width: 300px;
}


/* SIDEBAR ========================================================= */

#sidebar {
	width: 33%;
	float: right;
	display: inline;
	margin-top: -0.45em;
}

#language,
#browse {
	margin-right: 26px;
}
	
/*#language {
	margin: 1.8em -26px 0 0;	
	padding: 1px 26px 1.8em;
	background-color: #eee;
}	
	
#browse {
	margin: 1.8em -26px 0 0;	
	padding: 1px 26px 1.8em;
	background-color: #eee;
}*/

#calendar {
	min-height: 192px;
}

table.calendar {
	width: 100%;
	font-family: "arial", "lucida sans unicode", "lucida grande", arial, sans-serif;
	line-height: 1em;
	font-size: .95em;
	border-collapse: collapse;
}

table.calendar ul.nav-weeks li.link-prev,
table.calendar ul.nav-weeks li.link-next {
	font-size: .9em;	
	margin-top: .2em;
}

table.calendar caption {
	padding-bottom: .45em;
}

table.calendar th,
table.calendar td {
	
}

table.calendar th {
	text-align: center;
	text-transform: lowercase;
	font-variant: small-caps;
	padding: .2em 0em .4em;
}

table.calendar tr {
	cursor: pointer;
}

table.calendar tr.week_current td {
	background-color: #E8DADA;
}

table.calendar td {
	text-align: center;
	background-color: #fff;
	border: 1px solid #ccc;

	padding: .45em .25em;	
	color: #222;
}

table.calendar td a {
	display: block;
	text-decoration: none;
	padding: .45em .25em;	
	color: #222;
}

table.calendar td.today {
	background-color: #72161A !important;
	color: #fff;	
	font-weight: bold;
}

table.calendar td.last_month,
table.calendar td.next_month {
	background-color: #eee;
}

table.calendar td.last_month a,
table.calendar td.next_month a {
	color: #888;
}

#sidebar h2 {
	font-size: 1.11em;
	margin: 1.352em 0 0.676em;
	line-height: 1.352em;
	font-weight: bold;
	font-variant: small-caps;
	font-family: "arial", "lucida sans unicode", "lucida grande", arial, sans-serif;
}

#sidebar select {
	border: 1px solid #bbb;
	padding: 2px;
	background-color: #fff;
	font-size: 1em;
	font-family: "lucida sans unicode", "lucida grande", arial, sans-serif;
}

#sidebar #selMo {
	width: 165px;
}

#search ul {
	overflow: hidden;
}

#search ul li {
	float: left;
	margin-right: .5em;
}

#search ul label {
	display: block;
}

#search button {
	margin: .9em 0;
	clear: both;
	padding-left: 1em;
	padding-right: 1em;
}

#search_results {
	font-family: arial;
	font-size: .9em;
}

#search_results li {
	margin: .9em 0;
}

#search_results h3 {
	font-size: 1em;
	margin: 0;
	line-height: 1.8em;
}

#search_results p{
	margin: 0;
	padding: 0;
	line-height: 1.4em;
}

#search_results h3 span.scripture_reference {
	font-style: italic;
	font-weight: normal;
	font-family: arial;
}

/* FOOTER ========================================================== */

#content-footer {
	clear: both;
}

#footer {
	clear: both;
	text-align: center;
	padding-bottom: 7em;
	font-size: .88em;
	font-family: "lucida sans unicode", "lucida grande", arial, sans-serif;
	color: #888;
}

#footer p {
	margin: 0.9em 0;
}

#footer a {
	color: #888;
}

span.super {
	font-size: .88em;
	vertical-align: super;
	line-height: normal;
	font-family: arial;
	padding-right: 2px;
/*
	position: relative;
	top:-4px;
*/
}

