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

a:hover {
	color: #348abe;
}

body {
	background-color: #1d1d20;
	color: white;
}

form {
	padding: 10px;
	width: 580px;
}

form p {
	padding: 0.3em 0;
}

form p.submitter {
	border-top: 1px solid white;
	margin-top: 1em;
	padding-top: 1em;
	text-align: right;
}

form p.submitter input {
	border: 1px solid #c0c0c0;
	font-weight: bold;
	padding: 3px 5px;
}

form p.submitter input:focus,
form p.submitter input:hover
{
	background-color: #ffffe0;
	border: 1px solid #808080;
	cursor: pointer;
}

form p label {
	float: left;
	width: 150px;
}

form p textarea,
form p input[type="text"],
form p input[type="password"],
form p input[type="file"],
form p select
{
        border: 1px solid #ccc;
        padding: 0.3em;
        width: 20em;
}

form p textarea:focus,
form p input[type="text"]:focus,
form p input[type="password"]:focus,
form p input[type="file"]:focus,
form p select:focus
{
        border: 1px solid #808080;
        background-color: lightyellow;
}

h1, h2, h3, h4, h5, h6 {
	margin-bottom: 1em;
}

.lost .corner-top-left {
	background: url('/images/corner-tl-wg.png') no-repeat top left;
	height: 16px;
	left: 0;
	position: absolute;
	top: 0;
	width: 16px;
}

.lost .corner-top-right {
	background: url('/images/corner-tr-wg.png') no-repeat top right;
	height: 16px;
	position: absolute;
	right: 0;
	top: 0;
	width: 16px;
}

.lost .corner-bottom-left {
	background: url('/images/corner-bl-wg.png') no-repeat bottom left;
	bottom: 0;
	height: 16px;
	left: 0;
	position: absolute;
	width: 16px;
}

.lost .corner-bottom-right {
	background: url('/images/corner-br-wg.png') no-repeat bottom right;
	bottom: 0;
	height: 16px;
	right: 0;
	position: absolute;
	width: 16px;
}

div.error {
	background-color: #f6f6f6;
	border: 1px solid #aaa;
	border-top: none;
	margin: 0 auto;
	width: 35em;
}

div.error h1 {
	background: transparent url(/images/icons/error.png) no-repeat scroll 12px center;
	border-bottom: 1px solid #aaa;
	border-top: 1px solid #c00;
	color: #c00;
	font-size: 1.2em;
	margin-bottom: 0;
	padding: 12px;
	text-align: right;
}

div.error p, div.success p {
	color: black;
	padding: 0.5em;
	text-align: center;
}

div.error, div.success {
	background-color: #f6f6f6;
	border: 1px solid #aaa;
	border-top: none;
	margin: 0 auto 2em auto;
	width: 35em;
}

div.lost {
	background-color: white;
	color: #111;
	margin-bottom: 1em;
	margin-left: 300px;
	position: relative;
	width: 600px;
}

div.lost h1 {
	border-bottom: 1px dotted;
	padding: 0.5em 1em;
}

div.lost img {
	float: left;
}

div.success h1 {
	background: transparent url(/images/icons/error.png) no-repeat scroll 12px center;
	border-bottom: 1px solid #aaa;
	border-top: 1px solid green;
	color: green;
	font-size: 1.2em;
	margin-bottom: 0;
	padding: 12px;
	text-align: right;
}

html {
	background-color: #1d1d20;
	color: white;
}

/* Errors *********************************************************************/
div.fieldWithErrors {
	display: inline;
}

span.fieldWithErrors input,
span.fieldWithErrors textarea
span.fieldWithErrors select
{
	border: 1px solid #c00;
}

#contact form {
	margin: 0 auto;
}

#contact fieldset {
	padding: 1em;
}

#contact legend {
	background-color: white;
	color: black;
	font-weight: bold;
	padding: 0.2em 0.5em;
}

#contact textarea {
	height: 100px;
}

#header h1 {
	font-size: 3em;
	padding: 0.5em 0 0 0.5em;
	text-align: center;
}

#header h1 a {
	color: white;
}

#message {
	font-weight: bold;
	padding: 0.5em;
	text-align: center;
}

#message.success {
	color: green;
}

#message.error {
	color: #c00;
}

/** Sidebar *******************************************************************/
#sidebar {
	float: left;
	width: 200px;
}

#sidebar ul {
	border: 3px solid #2a2a2f;
	border-left: none;
	margin-bottom: 2em;
}

#sidebar ul li {
	border-bottom: 3px solid #2a2a2f;
	display: block;
	list-style-image: url(/images/icons/dot.png);
}

#sidebar ul li.current * {
	background-color: white;
	color: #348abe;

}

#sidebar ul li a {
	color: white;
	display: block;
	padding: 0.5em;
}

#sidebar ul li a:hover {
	background-color: white;
	color: #1d1d20;
}

#sidebar li.actions {
	border-bottom: none;
	padding: 0.5em;
	text-align: center;
}

#sidebar li.actions a {
	display: inline;
}

#sidebar li.actions a:hover {
	background: none;
}

#story {
	background-color: white;
	color: #333;
	padding: 1em;
	position: relative;
	margin-left: 250px;
	width: 600px;
}

#story img {
	float: right;
	margin-left: 1em;
	margin-top: 1em;
}

#story hr {
	border: none;
	border-bottom: 1px dotted;
	height: 1px;
}

#story p {
	padding: 0.5em;
	text-align: justify;
}

#story p.author {
	font-style: italic;
	text-align: right;
}

#story .corner-top-left {
	background: url('/images/corner-tl-wg.png') no-repeat top left;
	height: 16px;
	left: 0;
	position: absolute;
	top: 0;
	width: 16px;
}

#story .corner-top-right {
	background: url('/images/corner-tr-wg.png') no-repeat top right;
	height: 16px;
	position: absolute;
	right: 0;
	top: 0;
	width: 16px;
}

#story .corner-bottom-left {
	background: url('/images/corner-bl-wg.png') no-repeat bottom left;
	bottom: 0;
	height: 16px;
	left: 0;
	position: absolute;
	width: 16px;
}

#story .corner-bottom-right {
	background: url('/images/corner-br-wg.png') no-repeat bottom right;
	bottom: 0;
	height: 16px;
	right: 0;
	position: absolute;
	width: 16px;
}

/*****************************************************************************/
#head {
	border-bottom: 1px dotted white;
	margin-bottom: 1em;
	padding: 0.5em;
	text-align: right;
}

/*****************************************************************************/
#content {
}

#login_form {
	margin: 0 auto;
}

div.box {
	display: inline;
	margin-right: 1em;
}

div.box img {
	margin-bottom: 1em;
	vertical-align: bottom;
}

div.box img.selected {
	border: 2px solid #348ABE;
}

div.box p {
	border: 1px solid white;
	position: absolute;
	width: 100%;
}
