/*  
Theme Name: Election Predictor 2008
Theme URI: http://wordpress.org/
Description: The theme for the blog surrounding the 2008 Federal Election Predictor
Version: 1.0
Author: MARSWorks
Author URI: http://www.marsworks.com/
*/

/*== General Tags ==*/

body {
	background: #999;
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	color: #333;
	margin: 0 0 20px 0;
	padding: 0; 
	text-align: center;
	}

a:link {
	color: #980F08;
	text-decoration: none;
	}
a:visited {
	color: #BC625D;	
	text-decoration: none;
}
a:hover, a:focus, a:active {
	color: #980F08;
	text-decoration: underline;
	}

h1, h2, h3 {
	font-family: 'Myriad Pro', 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	}

h1 {
	color: #555;
	font-size: 3em;
	font-weight: normal;
	margin: 0;
	}
	h1 a:link, h1 a:visited { color: #555; text-decoration: none; }
	h1 a:hover, h1 a:focus, h1 a:active { color: #555; text-decoration: underline; }
	
h2 {
	color: #980f08;
	font-size: 1.8em;
	font-weight: normal;
	margin: 15px 0 0;
	}
h2.pagetitle {
	text-align: center;
}

h3 {
	margin: 30px 0 0;
	padding: 0;
	font-size: 1.3em;
	}
h3.comments {
	padding: 0;
	margin: 40px auto 20px;
	}

img {
	border-width: 0;
	}

acronym, abbr, span.caps {
	cursor: help;
	font-size: 0.9em;
	letter-spacing: .07em;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}
	
code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

blockquote {
	color: #777;
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}
	blockquote cite {
		margin: 5px 0 0;
		display: block;
		}

small {
	color: #777;
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

select {
	width: 130px;
	}

hr {
	display: none;
	}

strike {
	color: #777;
	}

ol li {
	list-style: decimal outside;
	}

	
/*== General Classes ==*/

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
	
.center {
	text-align: center;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}

/*== Layout Specific Rules ==*/

#headercontainer {
	background: #980f08 url("images/headercontainer-bg.gif") bottom left repeat-x;
	padding-bottom: 10px;
	}

#header {
	margin: 0 auto;
	width: 960px;
	}

#hklogo, #predictorlogo {
	float: left;
}
#hklogo {
	margin: 20px 45px 0 0;
}
#predictorlogo {
	margin: 27px 0 0 0;
}
	
#headerlinks {
	margin: 0;
	padding: 50px 0 10px 0;
	text-align: right;
	}
	#headerlinks li {
		display: inline;
		list-style-type: none;
		margin: 0 0 0 5px;
		padding: 0;
	}
	#headerlinks a {
		font-weight: bold;
		padding: 2px 20px;
		text-decoration: none;
		text-transform: uppercase;
		
		-webkit-border-radius: 2px; /* Safari prototype */
		-moz-border-radius: 2px; /* Gecko browsers */
		border-radius: 2px; /* Everything else - limited support at the moment */ 
	}
	#headerlinks a:link, #headerlinks a:visited {
		background: #bc625d;
		color: #fff;
	}
	#headerlinks a:hover, #headerlinks a:focus, #headerlinks a:active {
		background: #fff;
		color: #980F08;
	}
	
#page {
	background-color: #dadada;
	margin: 10px auto;
	padding: 0;
	text-align: left;
	width: 960px;
	}

#masthead {
	background: #fff url("images/masthead-bg.gif") bottom center no-repeat;
	padding: 0 0 14px 0;
}
	#masthead h1 {
		background: url("images/masthead-h1-bg.gif") top center no-repeat;
		padding: 10px 18px;
	}
	#masthead .description {
		color: #980f08;
		font-family: 'Myriad Pro', 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
		font-size: 1.3em;
		font-weight: bold;
		padding: 0 18px 5px 18px;
	}

#content {
	background: #fff url("images/content-bg.gif") bottom center no-repeat;
	_display: inline;
	float: left;
	font-size: 1.2em;
	line-height: 1.6em;
	margin: 10px 0 0 11px;	/* 10px 14px 0 11px  */
	padding: 0 15px 15px 15px;
	width: 710px;
	}
	
#welcome {
	background: url("images/welcome-bg-bottom.gif") bottom center no-repeat;
	margin: 0 -15px;
	padding-bottom: 30px;
}
	#welcome h2 {
		background: #e7e7e7 url("images/welcome-bg-top.gif") top center no-repeat;
		font-size: 2.5em;
		margin: 0;
		padding: 15px;
	}
	#welcome p {
		margin: 0;
		padding: 0 15px;
	}

#contentcap {
	background: url("images/content-bg-top.gif") top center no-repeat;
	height: 10px;
	margin: 0 -15px;
}

.navigation {
	display: block;
	text-align: center;
	margin: 10px 0;
	}

#sidebar {
	background-color: #dadada;
	float: right;
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	padding: 12px 15px 12px 0;
	width: 180px;
	}
	#sidebar form {
		margin: 0;
		}
	#sidebar ul { /* this is the list of sidebar areas */
		margin: 0;
		padding: 0;
		}
		#sidebar ul li { /* each li is a sidebar area */
			list-style-type: none;
			list-style-image: none;
			margin: 0 0 15px 0;
			padding: 0;
			}
		#sidebar ul h2 { /* this is the heading for each sidebar area */
			background: #dcdcdc url("images/sidebar-heading-bg.gif") top center no-repeat;
			border-bottom: 1px solid #999;
			color: #980f08;
			font-family: Arial, Helvetica, sans-serif;
			font-size: 1.2em;
			font-weight: bold;
			margin: 0;
			padding: 6px 10px 5px 10px;
			}
		#sidebar ul a:link, #sidebar ul a:visited {
			color: #656565;
			text-decoration: underline;
		}
		#sidebar ul a:hover, #sidebar ul a:focus, #sidebar ul a:active {
			background: transparent;
			color: #980f08;
			text-decoration: underline;
		}
		#sidebar ul ul { /* this is the actual list of contents in a sidebar area */
			background: #fff url("images/sidebar-bg.gif") bottom center no-repeat;
			margin: 0;
			padding: 0 0 8px 0;
			}
			#sidebar ul ul li { /* this is an item in the list of contents in a sidebar area */
				border: 1px solid #b0b0b0;
				border-width: 0 1px;
				margin: 0;
				padding: 8px 10px 0 10px;
				}
			#sidebar ul ul ul {
				margin: 0 0 0 10px;
				}
		#sidebar ul ol {
			margin: 0 0 0 10px;
			padding: 0;
			}
			#sidebar ul ol li {
				list-style: decimal outside;
				margin: 3px 0 0;
				padding: 0;
				}
		#sidebar ul p, #sidebar ul select {
			margin: 5px 0 8px;
			}

#footer {
	background: #757575 url("images/footer-bg.gif") top center no-repeat;
	clear: both;
	color: #fff;
	margin: 0 auto;
	padding: 20px 0 0 0;
	width: 960px;
	}
	#footer p {
		background: url("images/footer-bottom-bg.gif") bottom center no-repeat;
		margin: 0;
		padding: 20px;
		text-align: right;
		}

#footerlinks {
	float: left;
	margin: 0;
	padding: 20px;
}
	#footerlinks li {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
	#footerlinks a:link, #footerlinks a:visited {
		color: #fff;
		text-decoration: none;
	}
	#footerlinks a:hover, #footerlinks a:focus, #footerlinks a:active {
		color: #fff;
		text-decoration: underline;
	}
	
/*== General Post Rules ==*/

.post {
	margin: 0;
	text-align: justify;
	}
	.post h2 {
		clear: both;
		margin-bottom: 5px;
		padding-top: 7px;
	}
	.post hr {
		display: block;
		}
	.post .byline {
		color: #980f08;
	}

.postmetadata {
	clear: left;
	margin: 30px 0;
}
	.postmetadata ul, .postmetadata li {
		display: inline;
		list-style-type: none;
		list-style-image: none;
		}

/*== General Entry Rules ==*/

.entry {
	line-height: 1.4em;
	}
	.entry p {
		font-size: 1.05em;
	}
	html>body .entry ul {
		margin-left: 0px;
		padding: 0 0 0 30px;
		list-style: none;
		padding-left: 10px;
		text-indent: -10px;
		} 
	.entry ol {
		padding: 0 0 0 35px;
		margin: 0;
		}
		.entry ol li {
			margin: 0;
			padding: 0;
			}
	html>body .entry li {
		margin: 7px 0 8px 10px;
		}
	.entry p a:visited {
		color: #b85b5a;
		}

/*== Attachement Rules ==*/
.smallattachment {
	_display: inline;
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.attachment {
	text-align: center;
	margin: 5px 0px;
}

/*== Form Element Rules ==*/

#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}
	#searchform #s {
		width: 108px;
		padding: 2px;
		}
#searchsubmit {
	padding: 1px;
	}

#commentform {}
	#commentform p {
		margin: 5px 0;
		}
	#commentform input {
		font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
		margin: 5px 5px 1px 0;
		padding: 2px;
		width: 170px;
		}
	#commentform textarea {
		font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
		padding: 2px;
		width: 100%;
		}
	#commentform #submit {
		margin: 0;
		float: right;
		}

/*== Comment Rules ==*/

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}
	.commentlist li {
		font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
		font-weight: bold;
		margin: 15px 0 3px;
		padding: 5px 10px 3px;
		list-style: none;
		}
	.commentlist p {
		font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
		font-weight: normal;
		line-height: 1.5em;
		margin: 10px 5px 10px 0;
		text-transform: none;
		}
	.commentlist cite, .commentlist cite a {
		font-weight: bold;
		font-style: normal;
		font-size: 1.1em;
		}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	font-weight: normal;
	margin: 0;
	display: block;
	}
	
/*== Calendar Rules ==*/

#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}
	#wp-calendar caption {
		font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
		text-align: center;
		width: 100%;
		}
	#wp-calendar th {
		font-style: normal;
		text-transform: capitalize;
		}
	#wp-calendar td {
		padding: 3px 0;
		text-align: center;
		}
	#wp-calendar td.pad:hover { /* Doesn't work in IE */
		background-color: #fff; }
	#wp-calendar a {
		display: block;
		text-decoration: none;
		}
	#wp-calendar #next {}
		#wp-calendar #next a {
			font-size: 9pt;
			padding-right: 10px;
			text-align: right;
			}
	#wp-calendar #prev {}
		#wp-calendar #prev a {
			font-size: 9pt;
			padding-left: 10px;
			text-align: left;
			}