/* Layout */
body {
	background-color: black;
	background-image: url(images/background.jpg);
	background-position: center top;
	margin: 10px;
	padding: 0;
	font-family: verdana, arial, sans-serif;
	font-size: 10px;
	font-weight: normal;
}

#wrapper {
	width: 960px;
	margin: 0 auto;
}

#header {
	width: 960px;
	height: 128px;
	background-image: url(images/header.png);
}

#infobar {
	position: relative;
	top: 104px;
	left: 167px;
	width: 786px;
	height: 22px;
}

#date {
	float: right;
	height: 22px;
	line-height: 22px;
	color: #111122;
	font-weight: bold;
	text-shadow: 1px 1px 1px darkgray;
}

#footer {
	width: 960px;
	height: 30px;
	background-image: url(images/footer.png);
}

#sidebar {
	width: 165px;
	height: 400px;
	background-image: url(images/sidebar.jpg);	
	background-repeat: repeat-y;
	padding: 5px 4px 0 6px;
}

.msgred, .msggreen {
	line-height: 22px;
	font-weight: bold;
	text-shadow: 1px 1px 1px darkgray;
}

.msgred { color: darkred; }
.msggreen { color: darkgreen; }

/* General */

img {
	border: 0px;
}

a {
	color: #AABBAA;
	font-weight: normal;
	text-decoration: none;
}

a:hover {
	color:#CCCCCC;
	text-decoration: none;
}

form {
	margin:0px 0px 0px 0px;
}

input {
	color: #8C8C8C;
	background: #000000;
	border: 1px solid #606060;
	font-size: 10px;
	font-weight:normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

select {
	color: #8C8C8C;
	background: #000000;
	border: 1px solid #606060;
	font-size: 10px;
	font-weight:normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Sidebar */

.sidebar-outer {
	width: 142px;
	color:#B6BFAB;
	background-color:#303030;
	border:1px #666666 solid;
	padding: 2px 5px 3px 5px;
	text-align: center;
	margin: 0 0 5px 0;
}

.sidebar-inner {
	text-align: left;
}

a.side, a.sideoff {
	display: block;
	background-image: url(images/bullet.gif);
	background-repeat: no-repeat;
	background-position: center left;
	text-indent: 10px;
	color:#AAAAAA;
}

a.sideoff {
	background-image: url(images/bulletoff.gif);
}

a:hover.side, a:hover.sideoff {
	background-color:#101010;
	color:#CCCCCC;
}

/* Right-side Navbars */

.rightnav {
	width: 142px;
	color:#B6BFAB;
	background-color:#303030;
	border:1px #666666 solid;
	padding: 2px 5px 3px 5px;
	text-align: center;
	margin: 5px;
}

.rightnav-inner {
	text-align: left;
}

a.rnav {
	display: block;
	background-image: url(images/bullet.gif);
	background-repeat: no-repeat;
	background-position: center left;
	text-indent: 10px;
	color:#AAAAAA;
}

a:hover.rnav {
	background-color:#101010;
	color:#CCCCCC;
}

/* Content */
#content-top {
	width: 794px;
	height: 5px;
	line-height:5px;
	font-size:5px;
	background-image: url(images/content-top.jpg);
	margin: 0 -6px 0 -5px;
}

#content {
	width: 794px;
	background-image: url(images/content-center.jpg);
	padding: 0 6px 0 5px;
}

#content-bottom {
	width: 794px;
	height: 5px;
	line-height:5px;
	font-size:5px;
	background-image: url(images/content-center.jpg);
}

div.blockheader {
	background-image: url(images/blockheader.png);
	background-repeat: no-repeat;
	width: 784px;
	height: 24px;
	line-height: 24px;
}

div.blocktitle {
	display: inline-block;
	float: left;
	text-align: left;
	padding-left: 5px;
	font-weight: bold;
	font-size: 11px;
	color: #F3F3F3;
}

div.blockinfo {
	display: block;
	text-align: right;
	padding-right: 15px;
	font-size: 10px;
	color: #AAAAAA;
}

/*  Generic content blocks */
.content-block {
	background-color: #404040;
	background-image: url(images/content.jpg);
	background-repeat: repeat-y;
	border-right: 1px #333333 solid;
	padding: 0 5px;
}

.blockbody {
	position: relative;
    margin-bottom: 5px;
	color: #EEEEEE;
	text-align: justify;
	background-image: url(images/blockback.png);
	border-left: 1px solid #666666;
	border-right: 1px solid #252525;
	border-bottom: 1px solid #252525;
	padding: 8px;
	font-family: tahoma, arial, sans-serif;
	font-size: 11px;
	line-height: 1.4em;
}

.blockbody:last-of-type  {
	margin-bottom: 0;
}

.blockbody p:last-of-type {
	margin-bottom: 0;
}

/* News page  */

span.newsedittime {
	display: block;
	font-family: verdana, arial, sans-serif;
	color: gray;
	font-size: 9px;
	text-align: right;
}

div.news {
	margin-top: 5px;
	cursor: pointer;
}

div.blockbody p:first-child {
	margin-top: 0;
}

div.blockbody p.title1 {
	font-size: 14px;
	font-weight: bold;
}

div.blockbody p.title2 {
	font-size: 12px;
	font-weight: bold;
}

div.blockbody p.title3 {
	font-weight: bold;
}

/* Forms */
.form {
	width: 270px;
	margin: 5px auto 5px auto;
	padding: 5px;
	border: 1px solid gray;
}

.form label {
	display: inline-block;
	width: 120px;
	text-align: right;
	padding-right: 5px;
}

.form input {
	width: 120px;
	margin: 2px 0;
}

.form select {
	width: 120px;
	margin: 2px 0;
}

/* Members page */
#memberlist {
	width: 100%;
	margin-top: 5px;
	border-top: 1px solid #252525;
	border-left: 1px solid #252525;
	border-right: 1px solid #666666;
	border-bottom: 1px solid #666666;
}

#memberlist tbody tr.oneweek {
	background-color: #505030;
}

#memberlist tbody tr.twoweeks {
	background-color: #503030;
}

#memberlist tbody tr.active {
	background-color: #303030;
}

#memberlist tbody tr.guest {
	background-color: #222222;
	color: #cccccc;
}

#memberlist tbody tr:hover {
	background-color: #111111;
}

#memberlist thead td {
	background-color: #404040;
}

#memberlist span.banned { color: red; }
#memberlist span.public { color: white; }
#memberlist span.guest { color: #cccccc; }
#memberlist span.citizen { color: lightgreen; }
#memberlist span.admin { color: lightblue; }

/* Profile page */
/* Forms */
#profileForm {
	width: 740px;
	margin: 5px;
	padding: 5px;
}

#profileForm label {
	display: inline-block;
	width: 120px;
	text-align: right;
	padding-right: 5px;
}

#profileForm input {
	width: 200px;
	margin: 2px 0;
}

#profileForm select {
	width: 200px;
	margin: 2px 0;
}

#profileForm fieldset{
	border: 1px solid #606060;
}

#profileForm legend {
	border: 1px solid gray;
	padding-left: 3px;
	padding-right: 3px;
}

#profileForm textarea {
	color: #8C8C8C;
	background: #000000;
	border: 1px solid #606060;
	font-size: 10px;
	font-weight:normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

div #dep, div #ran {
	display: inline;
}

/* Archive */
#archive h2 {
	margin: 16px 0 8px 0;
}

#archive h3 {
	margin: 14px 0 6px 5px;
}

#archive h4 {
	margin: 12px 0 4px 10px;
}

#archive p  {
	margin: 4px 0 10px 15px;
}

#searchbar {
	display: none;
	position: absolute;
	top: 160px;
	left: 133px;
	width: 500px;
	height: 80px;
	background-image: url(images/search.png);
	text-align: center;
}

#searchbar #search {
	margin: 40px 5px 0 0;
	width: 300px;
	background: black;
	color: white;
	border: 1px solid gray;
}

#searchbar #srcbtn {
	margin: 40px 5px 0 0;
	width: 60px;
	background: black;
	color: white;
	border: 1px solid gray;
}

#searchbar #clsbtn {
	margin: 40px 5px 0 0;
	width: 60px;
	background: black;
	color: white;
	border: 1px solid gray;
}