html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: arial, sans-serif;
  font-size: 12px;
  background: #000;
  color: #fff;
}

#container {
  min-height: 100%;
  position: relative;
}

#header {
  position: absolute;
  top: 0;
  height: 27px;
  padding: 3px 0;
  background: #0c1a30;
  width: 100%;
}

#header div,
#navbar div {
  width: 980px;
  margin: 0 auto;
  position: relative;
}

#navbar {
  position: absolute;
  top: 33px;
  font-size: 12px;
  line-height: 12px;
  padding: 3px 0;
  border-bottom: 1px solid #4f6990;
  border-top: 1px solid #4f6990;
  background: #2c3a50;
  width: 100%;
  text-align: center;
}

#navbar a {
  font-weight: bold;
  padding: 0 5px;
}

#content {
  width: 980px;
  margin: 0 auto;
  padding: 61px 0 203px 0;
}

#links {
  position: absolute;
  bottom: 44px;
  width: 100%;
  padding: 0;
  margin: 0;
}

#footer {
  position: absolute;
  bottom: 0;
  height: 15px;
  padding: 9px 0;
  border-top: 1px solid #4f6990;
  background: #2c3a50;
  width: 100%;
}

#footer div {
  width: 980px;
  margin: 0 auto;
  text-align: right;
}

a   { color: #ccc; text-decoration: none; }
h2  { font-size: 12pt; }
img { border: 0; }
p   { margin: 0 0 1em 0; padding: 0; }

.error,
.message {
  text-align: center;
  font-weight: bold;
  color: #f77;
}
.message { color: #77f; }

.more {
  float: right;
  color: #fff;
  font-size: 12px;
  margin: -2px 0 0 0;
  display: block;
}

.pages { clear: both; font-size: 10pt; text-align: center; padding: 15px 0 0 0; }

#game {
  clear: both;
  margin: 0 auto;
  padding: 0 0 10px 0;
}

div.title {
  border: 1px solid #4f6990;
  background: #2c3a50;
  padding: 5px;
  height: 10px;
  margin: 0 0 5px 0;
  text-align: left;
  font-size:10px;
}

/****************/
/* Game Summary */
/****************/
div.game_summary {
  width: 320px;
  height: 119px;
  margin: 0 0 5px 0;
  float: left;
  position: relative;
}

div.game_summary img {
  width: 100px;
  height: 100px;
  border: 1px solid #2c3a50;
}

div.game_summary p,
div.game_summary .author,
div.game_summary .rating,
div.game_summary .game_title {
  display: block;
  position: absolute;
  font-size: 10px;
}

div.game_summary .game_title {
  top: 0;
  left: 112px;
  font-weight: bold;
  font-size: 14px;
}

div.game_summary .author {
  top: 17px;
  left: 112px;
  font-size: 12px;
}

div.game_summary p {
  top: 34px;
  left: 112px;
  width: 188px;
}

div.game_summary .rating {
  top: 102px;
  left: 0;
  width: 102px;
  height: 15px;
  text-align: center;
  background: #2c3a50;
  padding: 2px 0 0 0;
}

/*************/
/* Game rows *
/*************/
div.game_row {
  position: relative;
  font-size: 12px;
  height: 25px;
  padding: 0 0 2px 0;
  margin: 0 0 2px 0;
  border-bottom: 1px solid #222;
}

div.game_row img {
  width: 25px;
  height: 25px;
  margin: 0 0 5px 0;
}

div.game_row .date,
div.game_row .votes,
div.game_row .plays,
div.game_row .game_title {
  position: absolute;
  top: 4px;
}
div.game_row .game_title { left: 30px; }
div.game_row .date       { right: 250px; text-align: right; }
div.game_row .plays      { right: 0px; text-align: right; }
div.game_row .votes      { right: 0px; text-align: right; }

/****************/
/* Rectangle ad */
/****************/
#rectangle {
  width: 300px;
  height: 250px;
  padding: 9px;
  border: 1px solid #4f6990;
  background: #2c3a50;
}

/***********************/
/* For left side items */
/***********************/
div.odd {
  margin-right: 10px;
}

/**************/
/* Search box */
/**************/

form#search {
  margin: 0;
  padding: 0;
  text-align: center;
}

form#search input[type="text"] {
  background: #000;
  border: 1px solid #4f6990;
  color: #fff;
  width: 190px;
  padding: 4px 5px 3px 5px;
  font-size: 14px;
}

/*****************/
/* Tags and Links*/
/*****************/
ul.tags, ul.links  {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.tags li, ul.links li {
  padding: 0;
  display: block;
  width: 10%;
  float: left;
  text-transform: capitalize;
}

ul.links li {
  width: 20%;
}

/***********/
/* Ratings */
/***********/
#rating { width: 80px; height: 16px; overflow: hidden;  margin: 0 auto 2px auto; padding: 0; list-style: none; clear: both; position: relative; background: url('/images/ratings.png') repeat-x left top; }
#currentrating { font-weight: bold; padding: 0 0 2px 0; }

ul#rating li a,
ul#rating li a:hover,
ul#rating li a:active,
ul#rating li a:focus,
ul#rating li.current {
  background: url('/images/ratings.png') left -1000px repeat-x;
}

ul#rating li {
  display: inline;
}

ul#rating li a:hover,
ul#rating li a:active,
ul#rating li a:focus {
  background-position: left bottom;
}

ul#rating li a,
ul#rating li.current {
  position: absolute;
  top: 0;
  left: 0;
  text-indent: -1000em;
  height: 16px;
  line-height: 16px;
  outline: none;
  overflow: hidden;
  border: none;
}

ul#rating li.one a   { width: 20%; z-index: 6; }
ul#rating li.two a   { width: 40%; z-index: 5; }
ul#rating li.three a { width: 60%; z-index: 4; }
ul#rating li.four a  { width: 80%; z-index: 3; }
ul#rating li.five a  { width: 100%; z-index: 2; }
ul#rating li.current { z-index: 1; background-position: left center; }

/*******************/
/* social networks */
/*******************/
p.social img {
  display: block;
  padding: 2px;
  float: left;
}

/*********/
/* Forms */
/*********/

td.label { font-size: 12px; font-weight: bold; width: 150px; text-align: right; padding: 0 10px 10px 0; }
td.input { width: 300px; padding: 0 5px 10px 0; }
td.input input { width: 100%; }
td.note  { font-size: 10px; font-style: italic; font-weight: normal; color: #eee; padding: 0 0 10px 0; }

/**********/
/* tables */
/**********/
table.tablesorter {
        font-family:arial;
        background-color: #4f6990;
        margin:10px 0pt 15px;
        font-size: 8pt;
        width: 100%;
        text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
        background-color: #2c3a50;
        border: 1px solid #222;
        font-size: 8pt;
        padding: 4px;
}
table.tablesorter thead tr .header {
        background-image: url(/images/bg.gif);
        background-repeat: no-repeat;
        background-position: center right;
        cursor: pointer;
}
table.tablesorter tbody td {
        color: #ffffff;
        padding: 4px;
        background-color: #000;
        vertical-align: middle;
}
table.tablesorter tbody tr.odd td {
        background-color:#0c1a30;
}
table.tablesorter thead tr .headerSortUp {
        background-image: url(/images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
        background-image: url(/images/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	background-color: #5c6a80;
}


