body
	{
		display: block;
		font-family: verdana, arial, helvetica, sans-serif;
		font-size: 12px;
		padding: 0;
		margin: 0;
		background-image: url('layout/bg.jpg');
		background-repeat: repeat-x;
		background-color: #676767;
	}

h1, h2, h3, hr, strong.color, #lf a#toplevel
	{
		color: #FFA000;
	}

a, a.show
	{
		color: #37A1D3;
	}
	
	#navigation a, #nav2 a, table a, div#sc a
		{
			color: #303030;
		}

td.av, #navigation a.active, #header, #info #sc
	{
		background-color: #37A1D3;
	}

#add
{
  background-color: #EFEFEF;
}

a, a.show
	{
		text-decoration: underline;
	}
	
	#navigation a, #nav2 a, table a, div#sc a
		{
			text-decoration: none;
		}

h1
	{
		display: block;
		font-size: 18px;
		font-weight: bold;
		margin: .67em 0;
	}

h2
	{
		display: block;
		font-size: 100%;
		font-weight: bold;
		margin: .83em 0;
	}

h3
	{
		display: block;
		font-size: 18px;
		font-weight: bold;
		margin: 1em 0;
	}

p
	{
		margin: 0;
		padding: 0;
		border: 0;
		outline: 0;
		font-size: 100%;
		vertical-align: baseline;
		background: transparent;
		display: block;
		margin: 1em 0;
	}

form {
	margin: 0;
}
	
#footer p {
	margin: 0;
	padding: 1em 0;
}

div#wrap{
	width: 900px;
	margin: auto;
	position: relative;
	margin-bottom: 0px;
}

li#logout a {
	position: relative;
	z-index: 1;
}

div
{
  text-align: left;
  /*
  border-style: none;
  border-width: 1px;*/
}

div.hidden
{
  visibility: hidden;
}

div.err
{
  color: #800000;
  display: inline;
  visibility: hidden;
}
div.err2
{
  color: #800000;
  display: inline;
}

div#tafbox
{
  border-style: solid;
  border-width: 1px;
  overflow: scroll;
  width: 450px;
  height: 180px;
  padding: 5px;
  margin-top: 10px;
}

p.desc
{
  margin-top: 0px;
  font-size: 9px;
}

a.button
{
  padding-left: 12px;
  margin-right: 10px;
  background-image: url(./icons/button.gif);
  background-repeat: no-repeat;
  background-position: 0% 50%;
}

img
{
  border-width: 0px;
}

#lf a#toplevel
{
  border-bottom-style: solid;
  border-width: 1px;
  padding-right: 5px;
}

table {
	
}

#header
{
  width: 900px;
  text-align: left;
  background-image: url(./layout/top_logo4.jpg);
  background-repeat: no-repeat;
  background-position: 0% 0%;
  height: 30px;
  padding-top: 100px;
  background-color: grey;
}

#footer
{
  text-align: center;
  display: block;
  width: 820px;
  height: 30px;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 15px;
  padding-bottom: 30px;

  background-image: url(./layout/drs_2.jpg);
  background-repeat: no-repeat;
  background-position: 0% 0%;
  margin: 0px;
  font-weight: bold;
  color: white;
}

#left
	{
	  width: 48%;
	  float: left;
	  border-width: 0px;
	}

#right
	{
	  width: 48%;
	  float: right;
	  border-width: 0px;
	}

textarea#strbsk
	{
	  font-family: helvetiva, verdana, sans-serif;
	  font-size: 12px;
	  padding: 10px;
	  width: 350px;
	  height: 90px;
	  color: black;
	  background-color: white;
	  border-style: solid;
	  border-width: 1px;
	  border-color: red;
	}

#content #main #hsf #left
	{
	  width: 48%;
	  float: left;
	  border-width: 0px;
	}

#content #main #hsf #right
	{
	  width: 48%;
	  float: right;
	  border-width: 0px;
	}

#header #navigation
	{
	}

#searchboxform
	{
		display: inline;

	}

input.textfield
	{
		background-image: url(./icons/searchbox.png);
		background-repeat: no-repeat;
		background-position: 0% 30% ;
		padding-left: 18px;
		border-width: 1px;
		border-style: solid;
		border-color: silver;
		color: gray;
		height: 18px;
	}

#content form
	{
		margin-bottom: 20px;
	}

#navigation ul {
  float: left;
  text-align: left;
  margin: 0;
  padding: 0;
  list-style-type:none;
}

#navigation li {
  padding-top: 0px;
  padding-bottom: 0px;
  font-weight: bold;
  display: inline;
}

#navigation a, #navigation a.active  {
  float: left;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 5px;
  padding-right: 5px;
  margin-right: 4px;
}

#navigation input {
  float: left;
  margin-top: 4px;
  margin-left: 20px;
  margin-right: 30px;
}

hr
{
  height: 1px;
}

#nav2 {
  width: 122px;
}

#nav2 ul {
  list-style-type: none;
  margin: 0px;
  margin-top: 6px;
  padding-left: 6px;
  border-style: none
}

#nav2 li {
  margin: 0px;

  padding-top: 0px;
  padding-bottom: 6px;
  padding-right: 4px;
  padding-left: 0px;
/*
  border-top: 1px solid white;
*/
  display: block
}

html>body #nav2 li {
  width: auto;
}

fieldset {
	margin: 0px;
	padding: 0px;
	border: none;
}

#container2
	{
		background-color: white;
		margin: 0px;
		min-height: 740px;
		background-image: url(./layout/drs_3.jpg);
		background-repeat: y-repeat;
		background-position: 100% 0%;
	}

#content
	{
		width: 750px;
		display: block;
		padding-top: 10px;
		padding-bottom: 30px;
		position: relative;
	}

#content #lf
{ 
  padding-top: 16px;
  padding-left: 15px;
  padding-right: 10px;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 0px;
  float: left;
  width: 130px;
  color: black;
}

#content #main, #info
{
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 30px;
}

#content #main
{
  width: 500px;
  padding-right: 60px;
  padding-left: 20px;
  margin-left: 150px;
}

#content #forum
{
  width: 650px;
  padding-right: 20px;
  padding-left: 20px;
}

#msgbody
{
  height: 300px;
  padding: 5px;
  border-top-style: solid;
  border-left-style: solid;
  border-width: 1px;
  border-color: #FFA000;
  overflow: scroll;
}

#sidebar
{
  height: 623px;
  position: absolute;
  top: 100px;
  right: 0px;
  margin: 0px;
  padding-left: 0px;
  padding-right: 30px;
  padding-top: 38px;
  width: 160px;
  background-image: url(./layout/drs_1.jpg);
  background-repeat: no-repeat;
  background-position: 100% 0%;
}

#plist
{
  text-align: left;
  border-style: solid;
  border-width: 1px;
  border-color: grey;
}

#online
	{
		margin-top: 1em;
		position: relative;
		bottom: 0px;
	}

	#online dt
	{
		font-weight: bold;
	}

	#online dd
	{
		margin-left: 1.5em;
	}


#search
	{
		width: 480px;
	}

	#search #name, #search .col1
		{
			width: 150px;
		}

	#search #unreadicon
		{
			width: 10px;
		}

	#search td
		{
			vertical-align: top;
		}

	#search td.unread, #search a.unread
		{
			font-weight: bold;
			font-style: italic;
		}

	#search td.up, #search td.down, #search td.same
		{
			padding-left: 15px;
			background-position: 0px 50%;
		}

	#search td.up
		{
			background-image: url(./icons/up.gif);
			background-repeat: no-repeat;
		}

	#search td.down
		{
			background-image: url(./icons/down.gif);
			background-repeat: no-repeat;
		}

#date
{
  width: 90px;
}

#info
	{
		padding-left: 5px;
		padding-bottom: 10px;
		
	}

	#info #sc
		{
			margin: 0px;
			padding: 5px;
			margin-bottom: 0px;
			padding-bottom: 0px;
			width: 200px;
			float: right;
		}

	#info #ss
		{
			width: 190px;
			height: 150px;
			background-color: #EFEFEF;
			text-align: center;
			padding: 5px;
		}

	#info #ss2
		{
			color: white;
			text-align: center;
			padding: 10px;
		}

	#info #stats
		{
			margin-bottom: 7px;
			width: 176px;
			height: 80px;
			border-style: dotted;
			border-width: 2px;
			padding: 10px;
			color: #EFEFEF;
		}

	#info #stats h2
		{
			color: white;
		}

	#info h1
		{
			margin-top: 0px;
		}

	#info h2
		{
			margin-top: 0px;
		}

	#info ul
		{
			margin: 0px;
			padding: 0px;
			list-style-type: none;
		}

	#info li
		{
			margin: 0;
			list-style-type: none;
		}

table#av
{
  margin-top: 0px;
  border-style: none;
  text-align: center;
}

th.erase, td.erase, table#search .col7
{
  text-align: center;
}

table#av td, table#av th
{
  width: 20px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
}

td.av
{
  text-align: center;
}

table#av
{
  border-style: none;
  border-width: 0px;
}

#info #ss #ass
{
  font-size: 90px;
  color: gray;
}

table.historik
{
  width: 100%;
  border-style: none;
  margin-top: 10px;
}

td.em, a.em
{
  font-weight: bold;
  color: #802020;
}

table.historik td
{
  padding-right: 5px;
}

table.historik td.score
{
  width: 30px;
}

table#form td#name
{
  width: 100px;
}

table#form
{
  width: 100%;
}

table#form td
{
  vertical-align: top;
}

table#form td.hd
{
  padding-top: 10px;
  border-top-style: none;
  border-width: 1px;
}

table#form h3
{
  margin-bottom: 4px;
}

a.help
	{
	  cursor: help;
	}

div.flashadd {
  width: 140px;
  height: 350px;
}

div.game {
	background-color: #efefef;
	margin-top: 10px;
	padding: 10px;
	clear: right;
}

div.edit {
	margin-top: 10px;
}

.game .location {
	font-weight: bold;
}

.game .date {
	float: right;
	font-size: 10px;
}

.floatright {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
	margin-top: 0px;
}

.floatleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-top: 0px;
}

.even {
  background-color: #efefef;
}

/* round corners */

.center-content {
	position:relative;
	background:url(layout/rightside.gif) repeat-y right top;
	padding:1px 20px 1px 25px;
	margin:-1px 0 -50px 0;
}

.top {
	width:100%;
	height:20px;
	background:url(layout/top.gif) no-repeat left top;
}

.top span {
	display:block;
	position:relative;
	height:20px;
	background:url(layout/top-right.gif) no-repeat right top;
}

.bottom {
	height:60px;
	background:url(layout/bottom.gif) no-repeat left bottom;
}

.bottom span {
	display:block;
	position:relative;
	height:60px;
	background:url(layout/bottom-right.gif) no-repeat right top;
}
