* {
  margin: 0;
  padding: 0;
}

body {
  font-family: arial, sans-serif;
  font-size: 12px;
  color: #000;
  background: #fff;
}

a {
  text-decoration: none;
  color: #b59;
}

a:hover {
  color: #a48;
  text-decoration: underline;
}

img {
  border: 0px;
}

p {
  margin: 0 0 1em 0;
}

#header-wrapper {
  height: 100px;
  background: #d7b;
}

#header {
  position: relative;
  width: 930px;
  margin: 0 auto;
}

#header a#logo {
  display: block;
  position: absolute;
  width: 192px;
  height: 52px;
  top: 20px;
  left: 5px;
}

#header a#logo:hover {
  text-decoration: none;
}

#header h1 {
  text-align: center;
  color: #fff;
  font-size: 22px;
}

#header div#leaderboard {
  position: absolute;
  top: 5px;
  right: 5px;
}

#menu-wrapper {
  background: #e8c;
  border-top: 1px solid #f9d;
  border-bottom: 1px solid #f9d;
  margin-bottom: 5px;
}

#menu {
  width: 930px;
  height: 23px;
  color: #fff;
  padding: 2px 0;
  margin: 0 auto;
}

#menu span {
  display: block;
  padding-top: 4px;
}

#menu a {
  color: #fff;
  margin: 0px 10px 0 5px;
  font-weight: bold;
}

#menu a:hover {
  color: #888;
  text-decoration: none;
}

#search {
  width: 305px;
  float: right;
  padding: 0;
  position: relative;
}

#search .input-text {
  height: 19px;
  width: 210px;
  padding: 2px 5px 0px 30px;
  border: 1px solid #ea98ad;
  background: #fdd url('images/bg_search_input.png') no-repeat;
  color: #e8c;
  font-size: 12px;
  font-weight: bold;
}

#search .input-submit {
  position: absolute;
  right: 5px;
  top: 1px;
  height: 21px;
  width: 49px;
  border: 1px solid #f9d;
  background: #e8c url('images/bg_search_submit.png') repeat-x;
  font-size: 10px;
  text-align: center;
  color: #fff;
}

#content {
  position:relative;
  min-height: 850px;
  width: 930px;
  margin: 0 auto;
}

#content h1 {
  background: #e8c;
  border: 1px solid #f9d;
  color: #fff;
  font-size: 14px;
  padding: 2px 5px;
  font-weight: bold;
  margin: 0 5px 5px 5px;
}

#footer-wrapper {
  clear: both;
  background-color: #d7b;
  border-top: 1px solid #f9d;
}

#footer {
  width: 930px;
  margin: 0 auto;
  padding: 10px 5px 0 5px;
  height: 25px;
  text-align: right;
  color: #fff;
}

#footer a {
  color: #eee;
}

div.game-gallery {
  width: 930px;
  margin: 0 auto;
}

div.game-summary {
  width: 300px;
  height: 120px;
  margin: 5px;
  float: left;
  position: relative;
}

div.game-summary img {
  width: 100px;
  height: 100px;
}

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: 2px;
  left: 105px;
  font-weight: bold;
  font-size: 14px;
}

div.game-summary p {
  display: block;
  top: 20px;
  left: 105px;
  width: 185px;
  color: #666;
}

div.game-summary .rating {
  top: 100px;
  left: 0px;
  width: 100px;
  height: 16px;
  text-align: center;
  background-color: #e8c;
  padding: 2px 0 0 0;
  color: #fff;
}

/* 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; text-align: center; }
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; }

.big {
  font-size: 20px;
  text-align: center;
}

.rectangle {
  width: 300px;
  height: 250px;
  margin: 5px;
  padding: 0;
  border: 0;
}

.game-gallery .rectangle {
  height: 380px;
}

.rectangle iframe {
  display: block;
  margin: 0;
}

.exchange {
  width: 100px;
  height: 100px;
  float: left;
  padding: 0;
  margin: 10px 0 0 0;
}

.clear { 
  height: 1px;
  margin: 0;
  clear: both;
  visibility: hidden;
}

.right {
  float: right;
}

ul.tags,
ul.links,
ul.searches {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.links {
  padding: 0 5px;
}

ul.tags li,
ul.searches li {
  display: block;
  width: 25%;
  float: left;
}

ul.links li {
  display: block;
  width: 20%;
  float: left;
}

.pages {
  text-align: center;
  padding: 5px 0;
  font-weight: bold;
}

.note {
  font-size: .85em;
  font-style: italic;
  line-height: .90em;
  text-align: center;
  display: block;
}
