/* Tags */

p {
	margin-top: 0px;
	margin-bottom: 0px;
}

body {
	background-color: #41454d;
	color: #FFFFFF;
	margin: 0px;
}

textarea {
	vertical-align: text-top;
}

input {
	vertical-align: text-bottom;
}

select {
	vertical-align: text-bottom;
}

h2 {
	font-size: 18px;
	text-align: center;
	margin-top: 12px;
}

h3 {
	font-size: 16px;
	text-align: left;
	margin-top: 0px;
}

h4 {
	font-size: 14px;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 0px;
}

ul {
	margin-top: 0px;
}

hr {
	border-top: none; 
	border-left: none; 
	border-right: none; 
	border-bottom: dotted 1px #b6b9c1; 
	margin-top: 12px;
	margin-bottom: 12px;
}

/* Links */

a {
	/* Don't underline links */
	text-decoration: none;
	font-weight: normal;
	color: #FFE73E;
}

a:hover {
	/* Bold on hover - still not sure if this is good */
	font-weight: bold;
	color: #FFE73E;
}

a:visited {
	/* Same colour for visited links */
	color: #FFE73E;
}

a>img {
	/* Images reserve space for border */
	border: solid 3px #324A63;
}

a:hover>img {
	/* Images have nice borders on hover */
	border: solid 3px #FFE73E;
}

/* Tables */

td {
	/* Default cell appearance */
	vertical-align: text-top;
	padding-left: 6px;
	padding-right: 6px;
}

td>img {
	/* Images in cells need correct alignment */
	vertical-align: text-top;
}

tr>td:first-child {
	/* Remove excessive padding */
	padding-left: 0px;
}

tr>td:last-child {
	/* Remove excessive padding */
	padding-right: 0px;
}

/* IDs */

#loginbar {
	position: fixed;
	padding: 3px 0px 3px 0px;
	top: 0px;
	left: 0px;
	width: 100%;
	background-color: #000000;
	text-align: right;
}

#navigation {
	position: fixed;
	float: left;
	left: 0px;
	top: 0px;
	width: 150px;
	height: 100%;
	background-color: #324A63;
	border-right: solid 3px #b6b9c1;
	padding: 10px 13px 10px 10px;
	text-align: left;
}

#navigation img {
	vertical-align: text-top;	
	border: 0px;
	padding-right: 4px;
}

#contentarea {
	margin-left: 170px;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	margin-bottom: 24px;
}

#html_story p {
	margin-bottom: 12px;
	text-align: justify;
}

#html_story div {
	margin-bottom: 12px;
}

/* Classes */

.bodytext {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	text-align: left;
}

.viewtable {
	border: solid 3px #b6b9c1;
	background-color: #324A63;
	display: table;
	margin-left: auto;
	margin-right: auto;
	padding: 12px 12px 12px 12px;
	text-align: center;
}

div.viewtable table {
	margin-left: auto;
	margin-right: auto;
	margin-top: 6px;
}

.thumbcell {
	margin-top: 12px;
	display: inline-table;
	width: 190px;
	font-size: 10px;
	vertical-align: middle;
	white-space: nowrap;
}

.radiogrp {
	border: solid 1px #808080;
	font-size: 10px;
	padding-bottom: 3px;
}

.navbreak {
	display: block;
	margin-top: 12px;
	margin-bottom: 12px;
	text-align: center;
}

.navhead {
	display: block;
	margin-bottom: 4px;
}

.storymeta {
	font-size: 10px; 
	float: right;
	color: #b6b9c1;
}

.storydate {
	display: inline-table;
	width: 60px;
	text-align: center;
}

.storygenre {
	display: inline-table;
	width: 150px;
	text-align: center;
}

.storyspecies {
	display: inline-table;
	width: 60px;
	text-align: center;
}

.comment:last-child {
	border-bottom: 0px;	
	padding-bottom: 0px;
	margin-bottom: 0px;
}

.comment {
	text-align: left;
	margin-bottom: 12px;
	border-bottom: dotted 1px;
	padding-bottom: 12px;
}

.stack {
	display: table-row; 
	width: 100%; 
	vertical-align: top;
}