/* Welcome to my stylesheet! If you're reading this for whatever reason,
I must apologise that it's kind of sloppy and disorganised so far. */


/* General stuff. */

* {
	border: 0;
	margin: 0;
	font-weight: normal;
}

body {
	font-family: sans-serif;
	font-size: medium;
	background-color: #2f2f2f;
}

hr {
	display: none;
}

#wrapper {
	min-width: 900px;
	max-width: 1200px;
	position: relative;
	margin-right: 25px;
}

a {
	color: #555;
	text-decoration: none;
}

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

/* Header section stuff. */

#header {
	background: #4e4e4e url('/images/header.png') repeat-y right;
	height: 115px;
	width: 100%;
	position: relative;
	overflow: hidden;
}

/* h1 is the logo itself. */

h1 {
	text-indent: -1000em;
	width: 364px;
	height: 105px;
	background-image: url('/images/logo.png');
	margin: 5px 0 0 10px;
}

h1 a {
	display: block;
	width: 100%;
	height: 100%;
}

/* Navigation tabs. */

#nav {
	position: absolute;
	right: 103px;
	bottom: -3px;	
}

#nav li {
	display: block;
	position: relative;
	float: left;
	background: url('/images/tab.png') no-repeat scroll top right;
	margin-left: 15px;
	padding: 3px;
}

#nav a {
	color: #fff;
	background: url('/images/inactive_tabs.png') no-repeat scroll top right;
	text-transform: uppercase;
	font-weight: bold;
	display: block;
	padding: 9px 18px 8px 10px;
}

#nav a#active, #nav a#active:hover {
	background: none;
}

#nav a#active:hover, h2 a:hover {
	color: #444;
}

#nav a:hover {
	color: #fff;
	background-position: right -179px;
	text-decoration: none;
}

/* Subtitle. */

h2 {
	background-color: #949494;
	color: #fff;
	text-transform: uppercase;
	padding: 13px 0 10px 20px;
	font-size: x-large;
}

h2 a {
	color: #fff;
}

h2 a:hover {
	text-decoration: none;
}

/* Content includes both the main section and the sidebar. */

#content {
	background-color: #666;
	width: 100%;
	position: relative;
	overflow: hidden;
}

#main {
	text-align: center;
	background-color: #eee;
	float: left;
	width: 75%;
	min-height: 500px;
	padding-top: 1em;
	padding-bottom: 1em;
}

#main * {
	margin: 0 auto 0 auto;
}

#main p, #main h3 {
	margin: 1.5em auto 1.5em auto;
}

#sidebar {
	color: #111;
	background-color: #666;
	float: right;
	width: 25%;
	height: 100%;
	padding-top: 1em;
	border-top: 3px solid #595959;
}

#sidebar p {
	margin: 1em;
}

#sidebar a {
	color: #ccc;
}

#sidebar a:hover, #footer a:hover {
	color: #fff;
}

#sidebar_ads {
	position: absolute;
	bottom: 0;
	right: 0;
}

/* This is for the list of a multi-page comic's pages. */

#pages a:visited {
	color: #999;
}

/* Footer. */

#footer {
	background-color: #444;
	clear: both;
	border-top: 5px solid #949494;
	text-align: center;
	padding: 1em;
}

#footer p {
	margin: .5em;
}

#footer a {
	color: #999;
}


/* News box on the main page. */

#news {
	margin-top: 1em;
	color: #eee;
	background-color: #454545;
	border: 2px solid #888;
	width: 70%;
	padding: 1.1em;
	text-align: left;
	margin-bottom: 2em;
}


#news h4 {
	color: #888;
	text-transform: uppercase;
	padding-bottom: .7em;
	text-align: center;
}

#news table td {
	vertical-align: top;
	padding: 1em;
}

#news a, #news a:visited {
	color: #888;
}

.date {
	color: #aaa;
	font-size: small;
}

/* Styling for the lists of comics. */

.comics_list tr.odd {
	background-color: #ddd;
	border: 1px solid #ccc;
}

.comics_list tr.odd:hover, tr.even:hover {
	background-color: #bbb;
}

.comics_list td {
	padding: .5em 1em .5em 1em;
}

.comics_list {
	margin-bottom: 1em;
	border-collapse: collapse;
}

#creators_list li {
	display: block;
}

/* This is the navigation on actual comic pages. */

.page_nav, .comic_nav {
	position: relative;
	overflow: hidden;
}

.comic_nav {
	width: 80%;
}

.page_nav {
	width: 50%;
}

.prev {
	float: left;
}

.next {
	float: right;
}
