@charset "UTF-8";

* {
  padding: 0px;
  margin: 0px;
}

body {
  font-family: "Nimbus Sans L", "Helvetica", sans-serif;
  font-size: 14px;
  background-color: #000000;
  color: #f0f0f0;
  background-image: url('../images/background.png');
  background-repeat: repeat-x;
  line-height: 1.4em;
}

/* General layout */

#page {
  margin: 50px auto;
  width: 970px;
}

#header {
  background-image: url('../images/background-header.png');
  padding: 40px 30px 0px 30px;
}

#main {
  background-image: url('../images/background-main.png');
  padding: 20px 20px 0px 20px;
}

#main:after {
  content: ".";
  height: 0px;
  display: block;
  visibility: hidden;
  clear: both;
}

#footer {  
  background-image: url('../images/background-footer.png');
  min-height: 30px;
}

#legal {
  margin-top: 10px;
  text-align: center;
  color: #606060;
  line-height: 1em;
}
#legal a {
  color: #606060;
}

/* Header */

#logo {
	float: left;
}

#header h1 {
  margin-bottom: 30px;
}

#navigation {
  clear: both;
  border-bottom: 1px solid #DEDEDE;
  font-weight: bold;
}

#navigation ul {
  list-style-type:none;
  margin-bottom: 10px;
  margin-left: 0px;
}

#navigation li {
  display: inline;
  margin-right: 30px;
  font-size: 120%;
}

#navigation a {
  text-decoration: none;
  color: #bfbfbf;
}

#navigation a:hover {
  color: #ffffff;
}

/* General formatting */

p, ul, ol {
  margin-bottom: 10px;
}

ul, ol {
  margin-left: 1.5em;
}

h2 {
  margin-bottom: 20px;
}

h3 {
  margin-bottom: 10px;
}

h4 {
  margin-bottom: 10px;
}

/*.clear {
  font-size: 0px;
  height: 0px;
  clear: both;
}*/

table {
  width: 100%;
  margin-bottom: 10px;
}

table:after {
  /*content: ".";
  height: 0px;
  visibility: hidden;*/
}

th {
  text-align: left;
  padding: 2px;
}

td {
  padding: 2px;
}

img {
  max-width: 100%;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.center {
	text-align: center;
}

form {
	margin-bottom: 10px;
}

img.alignleft {
	margin-right: 10px;
	margin-bottom: 10px;
}

img.alignright {
	margin-left: 10px;
	margin-bottom: 10px;
}

a {
  color: #f0f0f0;
}

a img {
  border: none;
}

.nobottom {
  /*margin-bottom: 0px;*/
}

/* Sidebar */

#sidebar {
  width: 220px;
  color: #202020;
  float: left;
}

#sidebar a {
  color: #202020;
}

#sidebar ul {
	list-style-type: none;
	margin-left: .75em;
}

#sidebar .top {
  background-image: url('../images/background-sidebar-top.png');
  min-height: 35px;
}

#sidebar .middle {
  background-image: url('../images/background-sidebar-middle.png');
  padding: 0px 30px;
  margin-bottom: -10px;
}

#sidebar .bottom {
  background-image: url('../images/background-sidebar-bottom.png');
  min-height: 35px;
}

#sidebar h3 {
  margin-top: 0px;
  font-size: 117%;
  margin-bottom: 0px;
}

/* Content */

#content {
  float: right;
  color: #202020;
  width: 710px;
}

#content.wide {
  float: none;
  width: 920px;
  padding-left: 5px;
  padding-right: 5px;
}

#content a {
  color: #202020;
}

#content .top {
  min-height: 35px;
  background-image: url('../images/background-content-top.png');
}

#content .middle {
  background-image: url('../images/background-content-middle.png');
  padding: 0px 30px;
  margin-bottom: -10px;
}

#content .bottom {
  min-height: 35px;
  background-image: url('../images/background-content-bottom.png');
}

#content.wide .top {
  background-image: url('../images/background-content-top-wide.png');
}

#content.wide .middle {
  background-image: url('../images/background-content-middle-wide.png');
}

#content.wide .bottom {
  background-image: url('../images/background-content-bottom-wide.png');
}

/* Content text formatting */

#content table {
  border: solid 1px #dedede;
  background-color: #f0f0f0;
}

#content table td {
  background-color: #ffffff;
}

#content p.code {
	font-family: monospace;
	background-color: #f0f0f0;
	border: solid 1px #dedede;
	padding: 10px;
	font-size: 90%;
}

/* Boxes */

#content .box {
  margin-bottom: 10px;
}

#content .box .top {
  background-image: url('../images/background-box-top.png');
  min-height: 25px;
  padding: 5px 10px 0px 10px;
}

#content .box .middle {
  background-image: none;
  border-left: solid 1px #dedede;
  border-right: solid 1px #dedede;
  padding: 5px 9px 0px 9px;
  margin-bottom: -10px;
}

#content .box .bottom {
  background-image: url('../images/background-box-bottom.png');
  min-height: 10px;
}

#content.wide .box .top {
  background-image: url('../images/background-box-top-wide.png');
}

#content.wide .box .bottom {
  background-image: url('../images/background-box-bottom-wide.png');
}

#content .columns .box .top {
  background-image: url('../images/background-box-top-column.png');
}

#content .columns .box .bottom {
  background-image: url('../images/background-box-bottom-column.png');
}

#content.wide .columns .box .top {
  background-image: url('../images/background-box-top-column-wide.png');
}

#content.wide .columns .box .bottom {
  background-image: url('../images/background-box-bottom-column-wide.png');
}

#content .box.nobottom {
  margin-bottom: 0px;
}


#content .box .top h3 {
	margin-bottom: 0px;
}

/* Columns */

#content .columns:after {
  content: ".";
  height: 0px;
  visibility: hidden;
  clear: both;
  display: block;
  margin-bottom: 10px;
}

#content .leftcolumn {
  margin-bottom: -10px;
  float: left;
}

#content .rightcolumn {
  margin-bottom: -10px;
  float: right;
}

#content .leftcolumn, #content .rightcolumn {
	width: 320px;
}

#content .box .leftcolumn, #content .box .rightcolumn {
	width: 310px;
}

#content.wide .leftcolumn, #content.wide .rightcolumn {
  width: 425px;
}

#content.wide .box .leftcolumn, #content.wide .box .rightcolumn {
	width: 415px;
}
