/* 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;
}

:focus {
	outline: 0;
} 

#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: 789px;
	height: 22px;
}

#date {
	width: 182px;
	float: right;
	color: #CCCCCC;
	font-weight: bold;
	text-align: center;
	margin-top: 2px;
	padding: 2px 4px;
}

#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: 18px;
	font-weight: bold;
	text-shadow: 1px 1px 1px black;
}

.msgred { color: orangered; }
.msggreen { color: lightgreen; }

/* 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: #aabbaa;
	background: black;
	border: 1px solid #555555;
	font-size: 10px;
	font-weight:normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border-radius: 3px 3px 3px 3px;
}

input[type=button], input[type=submit], input[type=reset] {
	cursor: pointer;
}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
	border-color: #999999;
}

select {
	color: #aabbaa;
	background: #000000;
	border: 1px solid #606060;
	font-size: 10px;
	font-weight:normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	cursor: pointer;
	border-radius: 3px 0px 0px 3px;
}

/* Sidebar */

.sidebar-outer {
	width: 142px;
	color: #B6BFAB;
	background-color: #303030;
	border-width: 1px;
	border-style: solid;
	border-color: #666666 #444444 #444444 #666666;
	padding: 2px 5px 3px 5px;
	text-align: center;
	margin: 0 0 5px 0;
	-moz-border-radius: 3px 3px 3px 3px;
}

.sidebar-inner {
	text-align: left;
}

a.side, a.sideoff, a.sideflash {
	display: block;
	background-image: url(images/bullet.gif);
	background-repeat: no-repeat;
	background-position: 2px 4px;
	text-indent: 12px;
	color:#AAAAAA;
	border-radius: 4px;
}

a.sideoff {
	background-image: url(images/bulletoff.gif);
}

a.sideflash {
	background-image: url(images/bulletflash.gif);
}

a:hover.side, a:hover.sideoff, a:hover.sideflash {
	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);*/
	background-color: #303030;
	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: #404020; }
#memberlist tbody tr.oneweek td { border-bottom: 1px solid #383818; }

#memberlist tbody tr.twoweeks { background-color: #402020; }
#memberlist tbody tr.twoweeks td { border-bottom: 1px solid #381818; }

#memberlist tbody tr.active { background-color: #303030; }
#memberlist tbody tr.active td { border-bottom: 1px solid #282828; }

#memberlist tbody tr.guest { background-color: #222222; color: #cccccc; }
#memberlist tbody tr.guest td { border-bottom: 1px solid #181818; }

#memberlist tbody tr:hover {
	background-color: #111111;
}

#memberlist thead td {
	background-color: #404040;
}

#memberlist span.banned { color: red; font-family: arial, verdana, tahoma; font-size:12px; line-height:18px; }
#memberlist span.public { color: white; font-family: arial, verdana, tahoma; font-size:12px; line-height:18px; }
#memberlist span.guest { color: #cccccc; font-family: arial, verdana, tahoma; font-size:12px; line-height:18px; }
#memberlist span.citizen { color: lightgreen; font-family: arial, verdana, tahoma; font-size:12px; line-height:18px; }
#memberlist span.admin { color: lightblue; font-family: arial, verdana, tahoma; font-size:12px; line-height:18px; }

/* Log */

#log {
	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;
}

#log thead td { background-color: #404040; }
#log tbody tr { background-color: #303030; }
#log tbody tr td { border-bottom: 1px solid #282828; line-height:16px; }
#log tbody tr:hover { background-color: #111111; }

/* Profile page */
/* Forms */
#profileForm {
	width: 756px;
	padding: 5px;
	line-height: 21px;
}

#profileForm label {
	display: inline-block;
	width: 100px;
	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 ul {
	padding-left: 20px;
	margin: 5px 0;
}
#archive li {
	padding-top:1px;
	padding-bottom:1px;
}

#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;
	border-radius: 5px;
	box-shadow: 2px 2px 4px #111111;
	opacity: 0.95;
	margin: 10px auto;
	padding: 10px 0;
	background-color: #181818;
	border: 1px solid #333333;
	overflow: auto;
	text-align: center;
}

#searchbar #search {
	margin: 10px 5px 0 0;
	width: 300px;
}

#searchbar #srcbtn {
	margin: 10px 5px 0 0;
	width: 60px;
}

#searchbar #clsbtn {
	margin: 10px 5px 0 0;
	width: 60px;
}
