html {
    overflow-y: scroll;
}

body {
    margin: 0;
    color: black;
    padding: 0;
    font-size: 0.95em;
}

img {
    border: none;
}

p, form {
    margin: 0;
    padding: 0;
}

p, div {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-weight: normal;
    color: black;
    line-height: 1.2em;
}

p b, div b {
    font-weight: bold;
}

h1 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.8em;
    font-weight: normal;
    color: #ac0002;
    margin: 0 0 10px 0;
}

h1 span {
    background-color: #fed256;
    padding-right: 5px;
}

h1 em {
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2em;
}

small {
    font-size: 0.8em;
}

/* Mage the page top-centered */
#page_wrapper {
    width: 100%;
    min-width: 800px;
    vertical-align: top;
    text-align: center;
}

/* Put the header and the logo together */
#header-wrapper, #header-short-wrapper {
    width: 100%;
    margin: 0px;
    padding: 0px;
    position: relative;
}

#header-wrapper {
    height: 113px;
}

#header-short-wrapper {
    height: 40px;
}

#header-layer1 {
    z-index: 1;
    width: 100%;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
    border-collapse: collapse;
}

#header-layer2 {
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

/* The second layer needs some spacing on the short layout. */
#header-short-wrapper #header-layer2 {
    margin-top: 9px;
}

#header-left, #header-short-left {
    background-repeat: no-repeat;
    width: 200px;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

#header-left {
    background-image: url(/img/headerl.jpg);
    height: 113px;
}

#header-short-left {
    background-image: url(/img/headerl-short.jpg);
    height: 40px;
}

#header-center, #header-short-center {
    background-repeat: repeat-x;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

#header-center {
    background-image: url(/img/headers.jpg);
    height: 113px;
}

#header-short-center {
    background-image: url(/img/headers-short.jpg);
    height: 40px;
}

#header-right, #header-short-right {
    background-repeat: no-repeat;
    width: 578px;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

#header-right {
    background-image: url(/img/headerr.jpg);
    height: 113px;
}

#header-short-right {
    background-image: url(/img/headerr-short.jpg);
    height: 40px;
}

#header {
    margin-left: 11px;
    margin-right: 12px;
}

#logo {
    text-align: left;
}

#logo a img {
    padding: 0px;
    border: none;
    display: block;
}

#gamecolumns {
    clear: both;
}

div#album-entry {
    float: left;
    margin: 5px;
    width: 270px;
    height: 300px;
    text-align: center;
}

.clear {
    clear: both;
}

/* This is for name icons */
table.list img {
    vertical-align: middle;
    padding-right: 3px;
}

#gamelist img {
    vertical-align: middle;
    padding-right: 3px;
}

#gamelist > div {
    line-height: 1.4em;
}

/* Format the game board, displaying as table is needed for centering to work. */
#board {
    display: table;
    margin: 5px auto 0px auto;
    padding: 0;
    border-collapse: separate;
    border-spacing: 0;
    vertical-align: top;
    text-align: center;
    clear: both;
}

/* This should center the game board */
#board:first-child {
    margin: auto;
}

#menu {
  border: 0px;
  padding: 0px;
  margin: 1px 0px;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
}

/* Deal with the menu in the header */
#menu li {
    background-image: url(/img/menu_separator.gif);
    background-repeat: no-repeat;
    background-position: 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    line-height: 24px;
    width: 125px;
    text-align: center;
    display: inline;
    padding: 6px 25px 18px 25px;
}

#menu li:first-child {
    background-image: none;
}

#menu a {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

#menu a:hover {
    color: #ac0002;
}

#menu a em {
    color: #ac0002;
    font-style: normal;
}

#menu li#logo-brief {
    margin-left: 25px;
}

#menu li#logo-brief img {
  vertical-align: top;
}

/* The main content area */
#main_wrapper {
    padding: 0px;
    margin: 0px;
    width: 100%;
    border-collapse: collapse;
    border-width: 0px;
}

#main_left {
    background-image: url(/img/mainslicel.gif);
    background-repeat: repeat-y;
    width: 18px;
    margin: 0px;
    padding: 0px;
}

#main {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: black;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

#main_right {
    background-image: url(/img/mainslicer.gif);
    background-repeat: repeat-y;
    width: 18px;
    margin: 0px;
    padding: 0px;
}

#main b {
    font-weight: bold;
}

#main p {
    padding-bottom: 5px;
    line-height: 1.2em;
}

#main a, #main a:visited {
    color: #a93008;
    text-decoration: none;
}

#main a:hover, #main a:active {
    color: navy;
    text-decoration: underline;
}

#main a.wikinew, #main a.wikinew:visited {
    color: navy;
}

#main a.wikiseen, #main a.wikiseen:visited {
    color: #681c04;
}

/* Footer */
#footer_wrapper {
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
    border-width: 0px;
    width: 100%;
}

#footer_left {
    background-image: url(/img/footerl.gif);
    background-repeat: no-repeat;
    width: 35px;
    height: 113px;
    margin: 0px;
    padding: 0px;
    position: relative;
}

#footer {
    background-image: url(/img/footers.gif);
    background-repeat: repeat-x;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 12px;
    height: 113px;
    text-align: center;
    vertical-align: top;
}

#footer_right {
    background-image: url(/img/footerr.gif);
    background-repeat: no-repeat;
    width: 36px;
    height: 113px;
    margin: 0px;
    padding: 0px;
}

#footer p {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 16px;
    color: #ffe7a0;
}

#footer_quickjump {
    clear: both;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    line-height: 1.2em;
    text-align: center;
    padding: 10px;
}

#footer_quickjump input {
    margin-right: 5px;
    vertical-align: middle;
}

#footer_links {
    color: black;
    padding: 0px;
    font-size: 14px;
    line-height: 16px;
}

#footer_links a {
    color:#ffd357;
    text-decoration: none;
}

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

input, select {
  vertical-align: text-top;
}

#mainbar {
  vertical-align: top;
  width: 100%;
}

/* Sidebar */
#sidebar {
  width: auto;
  min-width: 250px;
  vertical-align: top;
}

/* Tables */
table {
    border-collapse: collapse;
    border: 0;
}

table.bordered {
    border: solid 1px black;
    margin: 5px;
}

table.bordered th, table.bordered td {
    border: solid 1px black;
    padding: 2px 4px;
}

table.noborder, table.noborder th, table.noborder td {
    border: 0;
}

tr {
    margin: 0;
    padding: 0;
}

thead, tbody {
    margin: 0;
    padding: 0;
}

table th {
    font-weight: bold;
    text-decoration: underline;
}

th, td {
    text-align: left;
    margin: 0;
    padding: 0;
    border: 0;
}

th img, td img {
    margin: 0;
    padding: 0;
    border: 0;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.top {
    vertical-align: top;
}

table.list td, table.list th {
    padding: 1px 10px;
}

table.site td, table.site th {
    padding: 2px 5px;
}

.wikis {
    padding: 3px 5px;
}

table.wikitable {
  margin: 3px 0px;
}

table.wikitable, table.wikitable td {
  border: 4px inset #a0a0a0;
}

table.wikitable td {
  padding: 2px 4px;
}

div.wikitext img {
  vertical-align: bottom;
}

span.wikitext img {
  vertical-align: bottom;
}

div.optionbox {
  width: 200px;
  float: right;
}

div.separated {
  margin-top: 10px;
  margin-bottom: 10px;
}

.whitearea {
    padding: 5px 10px;
}

.profilesidebar .boxcontent {
  font-size: 0.8em;
}

.seethrough div.box {
  opacity: 0.85;
  /* once again, we hate IE */
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
  filter: alpha(opacity=85);
}

.gameratings {
  font-size: 0.9em;
}

.gameratings td {
  padding: 1px 4px !important;
}

.club_logo {
  text-align: center;
  padding: 5px;
}

#main span.win a, #main span.win a:visited {
  color: green;
  font-weight: bold;
}

#main span.lose a, #main span.lose a:visited {
  color: red;
  font-weight: bold;
}

del {
  background: #ff8888;
  text-decoration: line-through;
}

ins {
  background: #99ff99;
  text-decoration: none;
}

/* Last Move */
#lastmove {
    text-align: center;
}

#vcr {
    text-align: center;
}

#vcr img {
  vertical-align: middle;
}

/* Score */
#score {
    text-align: center;
}

#score table {
    margin: auto;
}

/* Game Options */
#gameopts, #adminopts {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    text-align: center;
    clear: both;
}

/* Verify Move */
#verify {
    margin: 0 auto 10px auto;
    clear: both;
    text-align: center;
}

.important {
    color: red;
    font-weight: bold;
}

#verify input {
    margin: 5px 10px 5px 10px;
}

/* Past Moves */
#pastmoves {
    margin: auto;
    clear: both;
    text-align: center;
}

#pastmoves table {
    margin: auto;
}

#pastmoves td {
    font-size: 0.8em;
}

/* Game Messages */
#gamemessages {
    color: #000;
    background: #fff;
    margin: 0 25px 5px 25px;
    padding: 5px;
    max-height: 200px;
    /* IE hack to make for the lack of max-height */
    height: expression(document.getElementById("gamemessages").offsetHeight >= 200 ? "200px" : "auto");
    overflow: auto;
}

#gamemessages .name {
    font-weight: bold;
}

#gamenote {
    color: #000;
    background: #ff8;
    margin: 5px 25px 5px 25px;
    padding: 2px 5px 2px 5px;
    clear: both;
}

#gamenote .notetitle {
    text-align: center;
    font-weight: bold;
}

#gamemsged {
    margin: auto;
    clear: both;
    float: none;
}

#gamemsgedinput {
    width: 50%;
    padding: 5px;
    margin-right: 10px;
    float: left;
}

#gamemessageeditor {
    width: 100%;
}

#gamemsgedtext {
    width: 25%;
    vertical-align: top;
    text-align: right;
    float: left;
    padding-top: 10px;
}

#gamemsgedsubmit {
    vertical-align: top;
    padding-top: 10px;
}

#gamenotesed {
    margin: auto;
    clear: both;
    float: none;
}

#gamenotesedinput {
    width: 50%;
    padding: 5px;
    float: left;
    margin-right: 10px;
}

#gamenotesedtext {
    width: 25%;
    vertical-align: top;
    text-align: right;
    float: left;
    padding-top: 10px;
}

#gamenoteeditor {
    width: 100%;
    background-color: yellow;
}

#gamenotesedsubmit {
    vertical-align: top;
    padding-top: 10px;
}

#oldermsgs, #openmsgs {
    text-align: center;
    margin: 5px;
}

#long {
    clear: both;
}

/* HTH Chat */
#hthchat {
    color: #000;
    background: #fff;
    margin: 0 25px 5px 25px;
    padding: 5px;
    max-height: 200px;
    /* IE hack to make for the lack of max-height */
    height: expression(document.getElementById("gamemessages").offsetHeight >= 200 ? "200px" : "auto");
    overflow: auto;
}

#hthchat .name {
    font-weight: bold;
}

#hthchateditor {
    width: 90%;
}

#hthchatbox {
    text-align: left;
}

/* Cursors */
.cursorpoint {
    cursor: pointer;
}

.cursormove {
    cursor: move;
}

.small {
    font-size: 0.8em;
}

#modbox div {
    margin: 5px;
}

.banner {
    border: 0px;
    margin: 5px;
}

#bannerT {
    text-align: center;
    height: 92px;
    margin: 0px;
    padding: 5px 1px 1px 1px;
}

#bannerR {
    text-align: center;
}

#bannerC {
    text-align: center;
}

table#banners {
    border-collapse: collapse;
}

table#banners td {
    border: 1px solid black;
    padding: 5px;
    text-align: center;
}

div.article_categories_list {
    width: 100%;
}

div.article_categories_entry {
    float: left;
    width: 250px;
}

.hover_visible, .hover_visible_img img {
    visibility: hidden;
}

.hover_visible:hover, .hover_visible_img:hover img {
    visibility: visible;
}

