/*  
 
Theme Name: Dambots
Version: 2.5

Theme URI: http://mindfaucet.com/comicpress/
Description: The customizable theme for publishing comics. <a href="http://mindfaucet.com/comicpress">Visit the ComicPress website.</a>

	Author: Charles Gatley, adapted from theme by Tyler Martin
	Author URI: http://www.dambots.com, http://mindfaucet.com/

The CSS, XHTML and design is released under GPL v3:
http://www.opensource.org/licenses/gpl-3.0.html

*/

/* References
colors:
	#ff7777	link hover.
	#dd0000	bright red page packground
	#ad0000	common page background
	#6d0000	shadow color

*/

/* STANDARD HTML TAGS */

body {
	margin: 0;
	color: white;
	font-size: 12px;
	font-family: Tahoma, 'Arial', sans-serif;
	background: #000;
	/*The background fade is in pageWrapper */
	}

a {
	color: white;
	text-decoration: underline;
  	}
  	
  	a:hover {
  		color: #ffff00;
  		}

	a img {
		border: none;
		}

p img {
	max-width: 100%;
	padding: 0;
	}
		
small {
	font-size: 11px;
	}
 
hr {
	height: 1px;
	color: #777;
	background-color: #777;
	border: 0px;
	}

blockquote {
	margin: 10px;
	padding: 5px 10px 5px 20px;
	border-width: 1px 1px 1px 5px;
	border-style: solid;
	border-color: #ddd;
	}

	blockquote cite {
		margin: 5px 0 0;
		display: block;
		}

cite {
	font-family: 'Arial', sans-serif;
	font-size: 13px;
	font-weight: bold;
	font-style: normal;
	}
	
code {
	padding: 10px;
	display: block;
	font-family: 'Courier New', monospace;
	background: #eee;
	overflow: scroll;
	}

acronym, abbr, span.caps {
	cursor: help;
	}

	acronym, abbr {
		border-bottom: 1px dashed #999;
		}



/* HEADINGS */

h1, h1 a, h1 a:hover {
	margin: 0;
	padding: 0 0 0 5px;
	color: #000;
	font-family: Tahoma, 'Arial', sans-serif;
	font-size: 50px;
	font-weight: normal;
	text-align: left;
	text-decoration: none;
	letter-spacing: -1px;
	}

h2, h2 a {
	margin: 0;
	color: #111;
	font-weight: bold;
	font-size: 22px;
	text-align: left;
	text-decoration: none;
	}

	h2.pagetitle, h2.pagetitle a {
		margin: 20px 0 0 0;
		padding: 0 0 5px 0.5em;
		color: white;
		font-size: 32px;
		font-weight: normal;	
		letter-spacing: -2px;
		text-align: left;
		}
		
	.titlewrapper {
		background: url(images/title.png) no-repeat top left;
		height: 80px;
		width: 100%;
		position: relative;
		padding: 0.3em 0 0 0;
	}

h3, h3 a {
	margin: 30px 10px 0 0;
	padding: 0;
	color: #111;
	font-size: 18px;
	font-weight: bold;
	text-align: left;
	text-decoration: none;
	clear: both;
	}

h2 a:hover, h3 a:hover {
	color: #111;
	}



/* THE HEADER */

#header {
	position: static;
	width: 800px;
	height:	180px;
	left:	225px;
	margin: 0 auto;
	padding: 0;
	border: none;
	text-align: left;
	display: block;
	overflow: hidden;	/* somehow a border gets added to the bottom */
}

#header img {
	width: 800px;
	height: 180px;
	border: none;
}

.tagline {
	position: absolute;
	width: 180px;
	height: 150px;
	font-family: 'Arial Black', Impact, sans-serif;
	font-size: 14px;
	text-align: center;
	left: 560px;
	top: -140px;
}

/* Just the tagline style with an offset and shadow colour */
#taglineShadow {	
	left: 563px;
	top: -137px;
	color: #6d0000;
}

.updatedText {
	position: absolute;
	width: 250px;
	height: 50px;
	font-size: 12px;
	left: 10px;
	top: -140px;
}

/* THE MENU */

#menubar {
	width: 800px;
	height: 25px;
	margin: 0 auto;
	padding: 2px 0;
	background: #ad0000;
	}

#menunav {
	margin: 0;
	padding: 1px 0 0 0;
	float: right;
	font-size: 19px;
	}

	#menunav a  {
		margin: 0 1px 0 0;
		color: #aaa;
		text-decoration: none;
		background: #222;
		}

		#menunav a:hover {
			color: white;
			background: #555;
			} 
		
		.prev {
			padding: 0 2px 0 0;
			}
		
		.next {
			padding: 0 0 0 2px;
			}
  
#menu {
	color: #999;
	font-size: 12px;
	text-transform: lowercase;
	}

	#menu ul {
		margin: 0;		
		padding: 0;
		list-style: none;	
		}

	#menu li {
 		margin: 0;
 		padding: 0;
 		float: left;
		}

	#menu li a {
		height: 25px;
		padding: 0 5px 0 5px;
		display: block;
		float: left;
		color: white;
		line-height: 25px;
		text-decoration: none;
		/* Generate a vertical separator for the menu items */
		border-width: 0 1px 0 0;
		border-style: solid;
		border-color: #6d0000;
		}

	/* Include this for those who turn javascript off */
	#menu li a:hover {
		color: white;
		background: black;
	}
	
	/* slidingNav */
	#slidingNav {
		position: relative;
		list-style: none;
		margin: 35px 0 0;
		float: left;
	}
	#slidingNav li { margin: 0; background: none; padding: 0; }
	#slidingNav li, #slidingNav li a { float: left; }
	#slidingNav a {
		color: #492b23;
		display: block;
		padding: 10px;
		margin: 0 5px 0 0;
		position: relative;
		z-index: 10;
		outline: 0;
		border: 0;
		text-decoration: underline;
	}
	#slidingNav_move {
		position: absolute;
		background: black;
		display: block;
		z-index: 1;
		left: 0;
	}
	#slidingNav a.cur, #slidingNav a:hover { 
		text-decoration: none;
		color: white;
	}      



/* THE COMIC */

#comic {
	width: 800px;
	margin: 0px auto;
	padding: 1em 0;
	text-align: center;
	background: #ad0000;
	}

	.comicMaskBottom {
		position: absolute;
		float: left;
		left: -1px;
		top: -95px;
		width: 614px;
		height: 105px;
		background: url(images/pagemask.png) center bottom no-repeat;
		z-index: 2;
	}
	
	.comicMaskTop {
		position: absolute;
		float: left;
		left: -1px;
		top: 0px;
		width: 614px;
		height: 24px;
		background: url(images/pagemask.png) center top no-repeat;
		z-index: 2;
	}
	
/* Empty  wrapper so objects inside will always anchor to the page frame */
.centralcolumn {
	width: 800px;
	margin: 0px auto;
	text-align: center;
}

/* Wrap this around an absolute object to float it without affecting any surrounding objects */
.offPageWrapper {
	position: relative;
}

	
	
/* THE PAGE WRAPPER */

#pageWrapper {
	background: #dd0000 url(images/fadebg.png) repeat-x;
}


#page {
	background: #ad0000;
	}
	
.scrolltopWrapper {
	text-align: left;
}

.scrolltop {
	position: absolute;
	background: url(images/uparrow.png) center no-repeat;
	width: 65px;
	height: 84px;
	top: -100px;
	cursor: pointer;
}


/* THE FOOTER */

/* Use a fakefooter so the footer background has a background to display over */
#fakefooter {
	height:	265px;
	position: static;
}

/* Two innerFooters. The IEPngFix gives an alert if I have a rel/abs png that could contain links as they'd be unclickable */
#innerFooterImage {
	width: 1000px;
	height: 275px;	/* Just below full height due to some rogue y repeating */
	background: url(images/footer.png) center no-repeat;
	display: block;
	position: absolute;
	left: -100px;
}
#innerFooterWrapper {
	width: 1000px;
	height: 275px;	/* Just below full height due to some rogue y repeating */
	display: block;
	position: absolute;
	left: -100px;
}

#bannerwrapper {
	position: relative;
	top: 43px;
}

#footer {
	padding: 20px 0;	
	color: white;
	}
	
	#footer a {
		color: black;
		text-decoration: none;
		border: none;
		}

	#footer a:hover {
		color: #ff7777;
		}
	
	#underfooter {
		width: 100%;
		height: 30px;
		background: black;
		text-align: center;
		color: #ad0000;
	}

	#underfooter a {
		color: white;
		text-decoration: none;
		border: none;
		}

	#underfooter a:hover {
		color: #ff7777;
		}

/* NAVIGATION */

.doublearrows {
	letter-spacing:-4px;
	padding-right:4px;
}

.navwrapper {
	width: 600px;
	margin: 0 auto 20px auto;
}
.nav {
	margin: 0;
	padding: 0;
	font-family: 'Arial', sans-serif;
	font-size: 14px;
	}
	
.navbarleft {
	padding: 0;
	float: left;
}

.navbarright {
	padding: 0;
	float: right;
}

.nav-single {
	padding: 0;
	color: #390000;
	font-family: 'Arial', sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	}

.pagenav {
	padding: 40px 20px 20px 20px;
	color: #390000;
	font-family: 'Arial', sans-serif;
	font-size: 12px;
	font-weight: bold;
	clear: both;
	}

	.pagenav-left {
		float: left;
		}

	.pagenav-right {
		float: right;
		}

.nav a, .pagenav a, .nav-single a {
	padding: 6px 40px 12px 40px;
	color: white;
	text-decoration: none;
	border: none;
	background: url(images/nav.png) center top no-repeat;
	width: 125px;
	height: 34px;
	line-height: 2em;
	text-align: center;
	}

	.nav a:hover, .pagenav a:hover, .nav-single a:hover {
		color: #ff7777;
		background-position: bottom;
	}

/* Hack so Firefox adds some space when needed and IE doesn't */
.emptyLineNonIE {
	width: 100%;
	height: 1em;
}


/* CONTENT AREA */

#column {
	clear: both;
	width: 720px;
	padding: 5px 0 0px 0;
	margin: 0 auto;
	min-height:	500px;	/* Stop sidebar from looking rather odd */
	}
	
.entry {
	padding: 0 2.5em 0;
}

.circuitBox {
	background: #dd0000 bottom;
	border-top: 0px;
	padding: 0 0 1.5em 0;
	min-height: 115px;
}
	
.post, .content, .post-frontpage {
	text-align: justify;
	width:	700px;
	
	margin: 0 0 1.5em -25px;	/* offset for the larger image */
}
	
	.post h3, .post h2, .post-frontpage h2{
		width:	700px;
		background: url(images/headerfull.png) no-repeat top left;
		padding: 0.3em 0 0.3em 0;
		margin: 0;
		
	}
	
		.post h3 a, .post h2 a, .post-frontpage h2 a {
			margin-left: 1em;
			color: white;
		}
	
			.post h3 a:hover, .post h2 a:hover, .post-frontpage h2 a:hover {
				color: #ff7777;
			}
			
	.datewrapper {
		display: inline;
		top: -2px;
		color: white;
		margin-left: 0.3em;
	}
	
	.month {
		position: absolute;
		font-size: 12px;
		left: 0.5em;
		top: 0.7em;
	}
	.day {
		position: absolute;
		font-size: 14px;
		left: 1.8em;
		top: 1.2em;
		text-align: center;
		width: 1.5em;
	}
	.year {
		position: absolute;
		font-size: 8px;
		left: 5.7em;
		top: 3em;
	}
	
	.comicdate, .postdate {
		/*padding-left:	1.7em;*/
		color: white;
		font-size: 11px;
		}
		

.postmeta {
	margin: 0 2em 1em 0;
	color: white; 	
 	font-family: 'Georgia', serif;
 	text-align: right;
 	}

	.postmeta ul {
		display: inline;
		list-style-type: none;
		list-style-image: none;
		}
 	
.postmeta-single {
	padding: 10px;
 	color: black;
	font-size: 11px;
	text-align: left;
	background: #dd0000;
	border: 1px solid white;
	}
	
	.postmeta-single a {
		color: #000;
		}	
	
	.postmetatags {
		font-family: 'Georgia', serif;
		font-size: 12px;
		}

.postmeta a, .postmeta-single a {
	color: white;
	text-decoration: none;
	}
	
	.postmeta a:hover, .postmeta-single a:hover {
		color: #ff7777;
		}
		
		.commentlinkwrapper {
			background: url(images/commentlink.png) no-repeat top left;
			width: 103px;
			height: 27px;
			overflow: hidden;
			position: absolute;
			left:	495px;
			top: -49px;
			color: white;
			text-align: center;
			padding: 2px 3px 0 0;
		}

.postmeta-comments {
	font-size: 16px;
	}
	
.balloon {
	}



/* THE BLOG HEADER */

#blogheader {
	margin: 0;
	padding: 0.6em 0 0 0.8em;
	font-size: 32px;
	letter-spacing: -3px;
	text-align: left;
	}


/* COMMENTS */

.commentsToggle{
	color: #ff7777;
}

.commentsToggle:hover{
	cursor:pointer;
	color: white;
}

.comment-wrapper {
	padding: 0;
	padding-bottom: 50px;
	}
	
	.comment-wrapper h3 {
		margin: 0;
		padding: 20px 0 0 0;
		color: white;
		font-family: 'Georgia', serif;
		font-weight: normal;
		font-size: 2em;
		letter-spacing: -1px;
		clear: both;
		}

		.bigballoon {
			color: #ccc;
			font-family: 'Webdings', fantasy;
			font-size: 28px;
			}

	.comment-wrapper a {
		text-decoration: none;
		}
		
		.comment-wrapper a:hover {
			color: white;			
			/*border-bottom: 1px solid #777;*/
			}

	.comment-wrapper p {
		margin: 10px 0 0 0;
		}

	
#commentform {
	text-align: left;
}

#commentform label {
	float: left;
	width: 60px;
}

#comment, #author, #email, #url {
	padding: 2px;
	color: #000;
	font-family: 'Verdana', sans-serif;
	font-size: 12px;
	border: 1px solid #999;
	}

	#comment:hover, #author:hover, #email:hover, #url:hover {
		background: #eee;
		}
	
	#comment {
		width: 100%;
		}

	#author, #email, #url {
		width: 200px;
		}

#submit {
	margin: 0 0 20px 0;
	padding: 0 5px;
	float: right;
	color: white;
	background: black;
	font-family: 'Verdana', sans-serif;
	font-size: 12px;
	border-width: 2px;
	border-style: solid;
	border-color: #6d0000;
	}

	#submit:hover {
		cursor:pointer;
		color: #ff7777
		}
		
.avatar {
	margin: 35px 0 0 18px;
	padding:5px;
	float:left;
	border: none;
	height: 32px;
	width: 32px;
	}

ol.commentlist {
	margin: 0;
	padding: 0;
	font-size: 11px;
	list-style: none;
	}

	.commentlist li {
		padding: 0 0 1em 0;
		clear: both;
		text-align: left;
		overflow: hidden;
		}
		
	.commentlist {
		
	}	
	
	.commentlist p{
		padding: 0 1.5em 10px 60px;
	}	
	
	.commentlist .fn {
		display: block;
		width: 100%;
		padding: 9px 0 0 60px;
		margin-right: 45px;
	}
		
	.commentlist .alt, .commentlist .even {
		width: 636px;
		padding: 0 0 1.5em 0;
		margin: 0 0 0 -25px;	/* offset for the larger image */
		background: #ad0000 url(images/comment-alt.png) top left no-repeat;
	}
	
	.commentlist .even {
		background: #ad0000 url(images/comment.png) top left no-repeat;
	}
	
	.says{display:none;} /* override the annoying wordpress  'says' bit of text */



/* ARCHIVE */  

.comicarchiveframe {
	clear:both;
	background:	white;
	visibility: visible;
	color:	black;
	width: 200px;	/* Need this so IE applies transparency... why, IE? WHYYYYY??? */
}

	.comicarchiveframe h3 {
		margin: 0;
		background: black;
		color: white;
	}
	
	.comicarchiveframe:hover {
		filter:alpha(opacity=50);
		-moz-opacity:0.5;
		-khtml-opacity: 0.5;
		opacity: 0.5;
		}
		
		.comicarchiveframe small {
		display: block;
		text-align: center;
		text-decoration: none;
		}
		
		.comicarchiveframe a:hover {
			color: black;	/* Cancel out other 'a' styles */
			
		}
		
/* SIDEBAR */

#sidebar {
	width:	137px;
	position: absolute;
	left:	730px;
	top:	100px;
	font-size: 11px;
	background-color: #ad0000;
	border: 1px solid #ff2222;
	padding: 12px 0 23px 0;
	}
	
#sidebarTendrillTop {
	width:	160px;
	height:	103px;
	position: absolute;
	left:	-11px;
	top:	-67px;
	background: url('images/tendrill right sidebar top.png') no-repeat;
}

#sidebarTendrillBottom {
	width:	160px;
	height:	54px;
	position: absolute;
	left:	-11px;
	top:	-15px;
	background: url('images/tendrill right sidebar bottom.png') no-repeat;
}

#sidebar h2, #sidebar h2 a {
	color: black;
	font-weight: normal;
	font-size: 18px;
	text-transform: lowercase;
	letter-spacing: -1px;
	}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
	}

	#sidebar ul li {
		margin: 0 0 10px 10px;
		padding: 0;
		}

		#sidebar ul li ul li {
			margin: 0 0 0 10px;
			padding: 0;
			}

			#sidebar ul li ul li a {
				color: white;
				text-decoration: none;
				}

				#sidebar ul li ul li a:hover {
					color: #ff7777;
					}
					
	.promotelinks .digg{
		background: url(images/diggicon.png) no-repeat;
		padding: 1px 0 0 18px;
		height: 16px;
	}
	
	.promotelinks .feed{
		background: url(images/feedicon.png) no-repeat bottom left;
		padding: 0 0 1px 18px;
		height: 12px;
	}



/* CALENDAR */

#wp-calendar {
	width: 100px;
	margin: 0 0 0 5px;
	background:	white;
	}

#wp-calendar th {
	color: #999;
	font-size: 10px;
	font-weight: normal;
	text-align: center;
	}

#wp-calendar caption {
	color: #555;
	font-family: 'Georgia', sans-serif;
	font-size: 14px;
	letter-spacing: -1px;
	text-align: center;
	}

#wp-calendar td {
	min-width: 20px;
	padding: 0;
	text-align: center;
	border: 1px solid #999;
	font-size: 10px;
	}

#wp-calendar a {
	color: #333;
	display: block;
	text-decoration: none;
	background: #ddd;	
	}
	
	#wp-calendar a:hover {
		color: #333;
		background: #bbb;
		}



/* SEARCH */

#s {
	width: 140px;
	margin: 0;
	padding: 2px;
	color: #000;
	font-family: 'Verdana', sans-serif;
	font-size: 12px;
	border: 1px solid #999;
	}

	#s:hover {
		background: #eee;
		}

#searchsubmit {
	margin: 0;
	padding: 0 0 0 2px;
	color: white;
	font-family: 'Verdana', sans-serif;
	font-size: 12px;
	background: #888;
	border-width: 2px;
	border-style: solid;
	border-color: #555;
	}

	#searchsubmit:hover {
		cursor:pointer;
		background: #222;
		}



/* GALLERY */

.attachment {
	width: 520px;
	margin: 0 auto;
	text-align: center;
	}

	.attachment img {
		margin: 0 0 10px 0;
		border: 1px solid #000;
		}
		
	.attachment p {
		margin: 0 9px 10px 9px;
		padding: 10px;
		border: 1px solid #999;
		}

.imagenav-wrap {
	width: 502px;
	height: 77px;
	margin: 0 auto;
	}

.imagenav {
	width: 77px;
	height: 77px;
	float: left;	
	}

.imagenav-center {
	width: 316px;
	height: 65px;
	margin: 0 10px;
	padding: 10px 5px 0 5px;
	float: left;
	color: #bbb;
	text-align: center;
	border: 1px solid #999;
	overflow: hidden;
	}
	
	.imagenav-center a {
		text-decoration: none;
		color: #777;
		}
		
		.imagenav-center a:hover {
			color: #777;
			border-bottom: 1px solid #777;
			}

.imagetitle {
	color: #333;
	font-size: 18px;
	}

.imagenav-bg {
	width:75px;
	height:75px;
	position: absolute;
	z-index: 0;
	background: #eee;
	border: 1px solid #000;
	}

	.imagenav-bg img {
		width:75px;
		height:75px;
		}

.imagenav-arrow {
	width:75px;
	height:75px;
	position: absolute;
	z-index: 1;
	color: white;
	font-size: 50px;
	line-height:75px;
	text-align: center;
	border: 1px solid #000;
	float: left;
	}

.imagenav-link {
	width:75px;
	height:75px;
	position: absolute;
	z-index: 2;
	border: 1px solid #000;
	float: left;
	}

	.imagenav-link img {
		width:75px;
		height:75px;
		filter: alpha(opacity=50);
		-moz-opacity: 0.50;
		opacity: 0.50;
		}

		.imagenav-link img:hover {
			filter: alpha(opacity=0);
			-moz-opacity: 0.00;
			opacity: 0.00;
			}

.aligncenter {
	margin: 0 auto;
	display: block;
	}

.alignright {
	margin: 10px 0 10px 10px;
	display: inline;
	float: right;
	}

.alignleft {
	margin: 10px 10px 10px 0;
	display: inline;
	float: left
	}

	
/* CAST */

.characterBox {
	width:	500px;
	height:	130px;
	background-color:	#ad0000;
	margin:	30px auto;
	
	font-size:	1em;
	text-align:left; 
	line-height: 1.5em;
	border: 1px solid black;
}

.characterBox p{
padding:	0.5em;
}

.characterBox h2 {
	font-size:	1.2em;
	margin:	0 0 0.2em 0;
	text-align:center; 
	width: 100%;
	background: black;
	color: white;
}

.characterIcon {
	float:	left;
	width:	100px;
	height:	100px;
	margin: 0 1em 0 0.5em;
}

.castEnd {
	width:	500px;
	height:	10px;
	background-color:	#dd0000;
	margin:	0 auto;
}

/* CLEAR FLOATS */

.clear {
	height: 0px;
	line-height: 0px;
	font-size: 0px;
	clear: both;
}
	

/**************************************************/

/* Drop shadow effect */

.shadow {
	display:block; 
	background:#6d0000; 
	border-width:0px; 
	/*position:relative; Don't use this otherwise IE positioning goes weird when you resize*/
	margin:1em auto;
	padding:0px;
	visibility: visible;
}
  
/* This will never get seen as there is no padding. To view it, adjust padding. */
.insideOfShadow {
	text-align:center; 
	background:white; 
	border-width:0; 
	position:relative; 
	padding:0;
	margin: 0;
	font-weight:normal;
	/* adding the following line makes IE and firefox the same but still gives me the white bar at the bottom */
	display: inline;
	/* adding the following line removes the white bar but need to turn visibility back on for anything displayed on the page.*/
	visibility: hidden;
	/* offset contents against shadow */
	left:	-10px;
	top: -10px;
}

.insideOfShadow img {
	visibility: visible;
}

#comic img {
	border: white solid 1px;
}

#shadowContents {
	clear:both;
	width:	600px;
	background:	#dd0000;
	visibility: visible;
	color:	white;
}

.shadowPage {
	width:	600px;
}

.comicPage {
	width:	600px;
	/*height: 917px;	/* force height to ensure resizing doesn't give the wrong height and try to contain the masks */
}

.shadowBanner {
	width:	728px;
}


.add {
	outline: 0; /* @ Firefox, prevent dotted border after click */  
}


/**********************************************/
/* Styles for the archive page */

	#storyline, #storyline ul {
		padding: 0;
		margin: 0;
		list-style: none;
		color: black;
		}
		
	#storyline a {
		text-decoration: none;
		color: white;
		}
		
	#storyline a:hover {
		color: #ff7777;
		}
		
	.chapter {
		width: 636px;
		padding: 0 0 20px 0;
		background: #dd0000 url(images/box1.png) center bottom no-repeat;
		margin: 0 0 0 -25px;
		text-align: left;
		}
		
	.chapter .storyline-title {
		font-weight: bold;
		display: block;
		color: #000;
		font-size: 2em;
		color: white;
		background: #dd0000 url(images/box1.png) center top no-repeat;
		padding: 0.2em 0 0.2em 1.5em;
		margin: 0 0 10px 0;
		}
		
	.chapter img {
		height: 80px;
		display: none;
		display: block;
		padding: 0 10px 5px 30px;
		float: left;
		}
		
	.chapter ul li {
		margin: 0 0 0 100px;
		}
	
	.storyline-description {
		font-family: 'Arial', sans-serif;
		font-size: 13px;
		font-weight: bold;
		line-height: 1.5em;
		}
	.storyline-foot {
		clear: both;
		margin: 0 0 10px 0;
		height: 10px;
		}
	
/* ****************************************** */
/* Styles for the javascript tab pages */

/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;	/* Don't use !important. Breaks it for mine for some reason.*/
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
    font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
}
.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 2em;
	background:	#ad0000;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0 0 0 0.5em;
    font-weight: bold;
	/*background:	#6d0000;*/

}
.ui-tabs-nav a, .ui-tabs-nav a span {
    float: left; /* fixes dir=ltr problem and other quirks IE */
    padding: 0 12px;
}
.ui-tabs-nav a {
    margin: 6px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    text-decoration: none;
    white-space: nowrap; /* @ IE 6 */
    outline: 0; /* @ Firefox, prevent dotted border after click */  
	background: url(images/tabs.png) no-repeat;
	background-position: 100% -35px;	
	position: relative;
    top: 3px;
}
.ui-tabs-nav a:hover {
	background-position: 100% 0;
}

.ui-tabs-nav a:link, .ui-tabs-nav a:visited {
    color: white;
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 4px;
    z-index: 2;
    margin-top: 0;
	background: #dd0000 url(images/tabs.png) no-repeat;
	background-position: 100% -67px;
}
.ui-tabs-nav a span {
    padding-top: 0;
    padding-right: 0;
    height: 17px;
    line-height: 17px;
	background: #dd0000 url(images/tabs.png) no-repeat;
	background-position: 0 -35px;
}

.ui-tabs-nav a:hover span{
	background-position: 0 0;
	color: #000;
}

.ui-tabs-nav .ui-tabs-selected a span {
    padding-top: 0;
    height: 24px;
    line-height: 25px;
	background: #dd0000 url(images/tabs.png) no-repeat;
	background-position: 0% -67px;
}

.ui-tabs-nav .ui-tabs-selected a:hover span{
	color: white;	/* Don't highlight when it's  already selected */
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited,
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    /*opacity: .4;
    filter: alpha(opacity=40);*/
}
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited {
    color: #000;
}
.ui-tabs-panel {
    padding-bottom: 10px;
}

#tabPages {
	width: 636px;
	padding-bottom: 10px;
	background: #dd0000 url(images/box1.png) center bottom no-repeat; /* declare background color for container to avoid distorted fonts in IE while fading */
	margin: 0 0 0 -25px;	/* offset for the larger image */
}

#tabPages h1 {
	font-size: 2em;
	color: white;
	background: #dd0000 url(images/box1.png) center top no-repeat;
	padding: 0.2em 0 0.2em 1.5em;
}

/*.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(images/loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* auto clear @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

#listSelect {
	margin-top: 10px;
	background: #dd0000;
	color: white;
}

