/* BASIC TEXT STYLES */

div, textarea {
	font: 10pt/16pt "trebuchet ms", tahoma, sans-serif;
}

.logbar {
	font: 8pt Verdana, Arial, Helvetica, sans-serif;
	width: 694px;
	text-align: right;
	margin: 0 auto;
}

#footer {
	font: 8pt Verdana, Arial, Helvetica, sans-serif;
	width: 694px;
	margin: 10px auto;
	text-align: center;
}

.invisible {
	display:none;
}

#sidebar {
	font-size: 8pt;
}

h1 {
	font: 18pt "trebuchet ms", tahoma, sans-serif;
	font-style: normal !important;
	color: gray;
	margin: 0 0 -1px 0;
	width: 100%;
	border-bottom: 1px dotted gray;
}

.storytitle {
	font: 18pt "trebuchet ms", tahoma, sans-serif;
	margin: 0 0 -1px 0;
}

/* BASIC LAYOUT */

body {
	background: white url(images/darkgrad.png) repeat-x fixed;
}

#page {
	width: 692px;
	border: 1px solid gray;
	margin: auto;
	text-align: justify;
	/*padding: 0;*/
	background: white url(images/lightgrad.png) repeat-x;
}

#header {
	width: 692px;
	/*border: 1px dotted orange;*/
	margin: 0 auto;
	text-align: center;
	vertical-align: middle;
}

#headimg {
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	margin: 0;
}

#bars {
	display: block;
	padding: 0px;
	text-align: center;
	font: 10pt trebuchet ms;
	width: 100%;
	background-color: rgb(160, 160, 160);
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	margin: 4px 0 0 0;
	vertical-align: middle;
}

#tip {
	padding: 0px;
	font: 10pt/30pt trebuchet ms;
	text-align: center;
	background-color: white;
	border-bottom: 1px solid gray;
	margin: 0px;
}

#nav {
	margin: 0 0 0 -20pt;
}

#content {
	/*border: 1px dotted red;*/
	padding: 16px;
}

#content-narrow {
	padding: 16px 32px 16px 32px;
}

#content-narrow img {
	display: block;
	border: 1px solid gray;
	float: right;
	margin: 0 -32px 0 32px;
}

.cleardiv {
	height: 0;
	width: 0;
	margin: 0;
	clear: both;
}

#artimg {
	display: block;
	border: 1px solid gray;
	margin: 16px auto;
}

#h4x {
	/*border: 1px dotted none;*/
	clear: both;
	height: 0;
}

/* LINK STYLES */

a {
	text-decoration: none;
}

a:link {
	color: blue;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0px none;
}

a.nav {
	padding: 11px;
	font-weight: bold;
	color: rgb(16,64,12);
	text-decoration: none;
	border: 0px none;
}

a.nav:hover {
	color: rgb(52,148,44);
	text-decoration: none;
	padding: 10px;
	border: 1px solid gray;
	background: rgb(170,180,165);
}

#current {
	font-weight: bold;
	text-decoration: none;
	padding: 10px;
	border: 1px solid gray;
	background: rgb(190,190,190);
}

#sidebar #nav a {
	display: block;
	width: 122pt;
	height: 22pt;
	vertical-align: middle;
	color: rgb(32,128,24);
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
	margin-top: -1px;
	padding-left: 20pt;
	font: bold 10pt/22pt "trebuchet ms", tahoma, sans-serif;
	text-decoration: none;
}

#sidebar #nav a:hover {
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	background-color: rgb(240,255,235);
}

a.head {
	display: block;
	padding: 5px 0;
	margin: 4px 0;
	border: 0 none;
	background: none;
}

a.head:hover {
	border: 0 none;
	margin: 4px 0 0 0;
	border-bottom: 4px solid silver;
}
	
/* FORM ELEMENTS */

input, button {	
	font: 10pt "trebuchet ms", sans-serif;
}

input, textarea, button {	
	border: 1px solid gray;
	color: black;
}

#titlefield, .titlefield {
	font: 18pt "trebuchet ms", tahoma, sans-serif !important;
	color: rgb(32,128,24);
}

input.hint, textarea.hint {
	text-align: center !important;
	font-style: italic !important;
	color: gray !important;
}

.logbar input {
	font: 8pt Verdana, Arial, Helvetica, sans-serif;
}

/* LAYOUT ELEMENTS */

.linktabs {
	vertical-align: middle;
}

#center {
	text-align: center;
}

a.story {
	display: block;
	font-weight: normal;
	font-style: italic;
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
	width: 100%;
	height: 92px;
	padding: 8px 0;
	margin: 0 auto -1px auto;
	text-decoration: none;
	color: black;
	vertical-align:top;
	z-index: 255;
}

#nostories {
	display: block;
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
	width: 100%;
	height: 92px;
	padding: 8px 0;
	margin: 0 auto -1px auto;
	text-decoration: none;
	color: black;
	vertical-align:top;
	z-index: 255;
}
#nostories-text {
	display: block;
	margin: -58px auto 46px auto;
	color: gray;
	font: italic 12px/12px "trebuchet ms", tahoma, sans-serif;
	text-align: center;
}

a.story:hover {
	background-color: rgb(240,255,235);
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
}

a .storytitle, a .more {
	color: rgb(32,128,24);
	border: 0px none;
	display: inline;
	background: none;
}

a:hover .storytitle, a:hover .more {
	text-decoration: underline;
	background: transparent;
}

a.story img {
	float: left;
	margin-right: 10px;
	border: 1px solid gray;
	width: 120px;
	height: 90px;
}

a.storyedit {
	color: blue;
	display: block;
	font-size: 12px;
	line-height: 20px;
	height: 18px;
	width: 589px;
	margin: 0;
	padding: 0;
	padding-right: 9px;
	text-align: right;
	border-top: 1px dotted gray;
	border-bottom: 1px dotted gray;
	border-right: 1px dotted gray;
	z-index: -1;
}

a.storyedit:visited {
	color: blue;
}

a.storyedit:hover {
	text-decoration: underline;
	background-color: rgb(235,240,255);
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	border-right: 1px solid gray;
}

a.storydelete {
	color: maroon;
	display: block;
	float: right;
	font-size: 12px;
	line-height: 20px;
	height: 18px;
	width: 61px;
	margin: 0;
	padding: 0;
	margin-top: -20px;
	text-align: center;
	border-top: 1px dotted gray;
	border-bottom: 1px hidden gray;
	border-left: 1px dotted gray;
	z-index: -1;
}

a.storydelete:visited {
	color: maroon;
}

a.storydelete:hover {
	text-decoration: underline;
	background-color: rgb(255,240,235);
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	border-left: 1px solid gray;
}

div.storyedit {
	height: 20px;
	width: 100%;
	margin: 0;
	padding: 0;
	margin-top: -20px;
	margin-bottom: -1px;
	z-index: -1;
}

a.storynew {
	color: blue;
	display: block;
	font-size: 12px;
	height: 19px;
	width: 100%;
	margin: 0;
	padding: 0;
	margin-top: -20px;
	text-align: right;
	z-index: -1;
}

a.storynew:visited {
	color: blue;
}

a.storynew:hover {
	text-decoration: underline;
}

a.linkbutton:link img {
	border: 1px solid rgb(32,128,24);
	margin: 0;
}

a.linkbutton:visited img {
	border: 1px solid rgb(32,128,24);
	margin: 0;
}

a.linkbutton:hover img {
	border: 2px solid rgb(32,128,24);
	margin: -1px;
}

/* SPECIAL TEXT STYLES */

#flavour {
	font: italic 10pt/15pt "trebuchet ms", sans-serif;
}

.date {
	display: block;
	font-size: 10px;
	color: #808080;
	float: right;
}

.small {
	font-size: 9px;
}
