/* Common thingies */
* {
  font-family: Verdana, Helvetica, Sans;
  font-size: 11px;
  color: #ffffff;
}

html, body {
  background-color: #1a1a1a;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

img {
  border: none;
}

/* Main layout */
#center {
  width: 95%;
  min-width: 750px;
  max-width: 1200px;

  height: 100%;

  margin: 0 auto;
}

#container {
  position: relative;
  float: left;
 
  margin: 0 auto;

  width: 100%;
  min-height: 100%;

  background: url(../images/gui/menu.gif) right top repeat-y;
}

#left_bar {
  position: absolute;
  float: left;
  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  background: url(../images/gui/left.gif) left top repeat-y;
}

#right_bar {
  position: absolute;
  float: left;
  left: 0;
  top: 0;

  width: 100%;
  height: 100%;

  background: url(../images/gui/right.gif) right top repeat-y;
}

/* Important: The model overlay! */
#model_overlay {
  position: absolute;
  right: 0;
  top: 30px;

  width: 252px;
  height: 171px;
  overflow: hidden;

  background: url(../images/gui/dragoon.png) no-repeat;
}

#header {
  margin: 0 42px;

  background: url(../images/gui/header.jpg) no-repeat;
}

h1 {
  height: 0;
  overflow: hidden;

  margin: 0;
  padding: 150px 0 0 0;

  background: url(../images/gui/overlay.png) no-repeat;
}

/* Header menu goes here */
#header_menu {
  position: absolute;
  right: 42px;
  top: 0;

  margin: 0;
  padding: 0;
}

#header_menu li {
  float: left;

  height: 29px;
  overflow: hidden;

  margin: 0;
  padding: 0;

  list-style-type: none;
}

#header_menu li a {
  display: block;
  width: 100%;
  height: 0;

  padding: 29px 0 0 0;

  overflow: hidden;
}

#header_menu_forum,
#header_menu_forum a:active,
#header_menu_forum a:link,
#header_menu_forum a:visited,
#header_menu_forum a:hover {
  width: 84px;

  background: url(../images/gui/buttons/forum.gif) 0 0 no-repeat;
}

#header_menu_forum a:hover {
  background-position: -84px 0;
}

#header_menu_manual,
#header_menu_manual a:active,
#header_menu_manual a:link,
#header_menu_manual a:visited,
#header_menu_manual a:hover {
  width: 77px;

  background: url(../images/gui/buttons/manual.gif) 0 0 no-repeat;
}

#header_menu_manual a:hover {
  background-position: -77px 0;
}

#header_menu_get_tremulous,
#header_menu_get_tremulous a:active,
#header_menu_get_tremulous a:link,
#header_menu_get_tremulous a:visited,
#header_menu_get_tremulous a:hover {
  width: 124px;

  background: url(../images/gui/buttons/get_tremulous.gif) 0 0 no-repeat;
}

#header_menu_get_tremulous a:hover {
  background-position: -124px 0;
}

/* Header bar and footer */
#bar {
  margin: 0;
  height: 16px;
  background: url(../images/gui/bar.gif) repeat-x;
}

#footer {
  position: absolute;
  left: 0;
  bottom: 0;

  margin: 0;
  width: 100%;
  height: 16px;
}

#footer_bg {
  margin: 0 42px;
  height: 16px;
  background: url(../images/gui/bar.gif) repeat-x;
}

/* Sidebar */
#sidebar {
  z-index: 1002;
  position: relative;
  float: right;

  width: 147px;
  margin-right: 42px;
}

#menu {
  margin: 0;
  padding: 0;
}

#menu li {
  width: 147px;
  height: 24px;
  overflow: hidden;

  margin: 0;
  padding: 0;
  
  list-style-type: none;

  background: url(../images/gui/menuspacer.gif) bottom left no-repeat;
}

#menu li a:active,
#menu li a:link,
#menu li a:visited,
#menu li a:hover {
  display: block;
  height: 20px;

  padding: 4px 0 0 14px;

  color: #ffffff;
  text-decoration: none;
}

#menu li a span {
  float: left;

  width: 8px;
  height: 8px;
  overflow: hidden;

  margin: 3px 4px 0 0;

  background-color: #eaea92;
}

#menu li a:hover {
  color: #eaea92;
}

h3 {
  width: 133px;
  height: 20px;
  overflow: hidden;

  margin: 40px 0 0 0;
  padding: 4px 0 0 14px;

  font-weight: bold;
  color: #eaea92;

  background: url(../images/gui/menuspacer.gif) bottom left no-repeat;
}

#links {
  margin: 6px 0 0 0;
  padding: 0;
}

#links li {
  margin: 0 0 0 14px;
  padding: 0;

  list-style-type: none;
}

#links li a:active,
#links li a:link,
#links li a:visited,
#links li a:hover {
  color: #ffffff;
  text-decoration: none;
}

#links li a:hover {
  color: #eaea92;
}

#rss_20 {
  display: block;
  width: 80px;
  height: 0;
  overflow: hidden;

  padding: 15px 0 0 0;

  background: url(../images/gui/buttons/rss-2.0.gif) no-repeat;
}

#project_support {
  display: block;
  width: 88px;
  height: 0;
  overflow: hidden;

  margin-top: 20px;
  padding: 32px 0 0 0;

  background: url(../images/gui/buttons/project-support.jpg) no-repeat;
}

#sidebar p {
  margin: 0;
  padding: 8px 0 30px 14px;
}

/* Content */
#content {
  margin: 0;
  padding: 0 210px 0 57px;
}

#content #float {
  z-index: 1001;
  position: relative;
  float: left;
  
  width: 100%;
  
  padding-bottom: 40px;
}

h2 {
  display: block;

  margin: 20px 0 0 0;
  padding: 4px 7px;

  font-size: 14px;
  font-weight: bold;
  color: #eaea92;

  background-color: #3c3c3c;
  border: 1px solid #000000;
}

h2 * {
  font-size: 14px;
  font-weight: bold;
  color: #eaea92;
}

h2 span.subhead {
  float: right;

  margin-top: 4px;

  font-size: 9px;
  font-weight: normal;
  color: #ffffff
}

h2 span.hidden {
  display: none;
}

#content p {
  margin: 0;
  padding: 6px 8px;
}

#content a:active,
#content a:link,
#content a:visited,
#content a:hover {
  text-decoration: none;
  color: #eaea92;
}

#content a:hover {
  text-decoration: none;
  color: #e9e9ca;
}

.center {
  display: block;
  text-align: center;
}

.clear {
  clear: both;
}

#pages {
  border-top: 40px solid #1a1a1a;
}

table {
  margin: 6px 8px;
}

.credit_name, .label {
  font-weight: bold;
  padding-right: 10px;
}
