/* This is used by the main layout. Mobile layout uses mobile.css instead. Styles common to both go to common.css and boxes.css. Color scheme is in <color>.css, shared between both. */

body {
    font-size: 0.95em;
}

/* HEADER / FOOTER LAYOUT */

/* Make 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;
}

#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 18px 18px 18px;
}

#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;
/*    table-layout: fixed; */
}

#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;
}

/* 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;
}

/* END OF HEADER / FOOTER LAYOUT */


#gamecolumns {
    clear: both;
}

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

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

#gs_congrats {
    padding-top: 15px;
}

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

div.site, div.site div, div.site p{
    padding: 2px 5px;
}

/* Preferences */
.prefsleft, #prefsright {
    vertical-align: top;
}

.prefsleft div {
    padding: 2px 10px;
    white-space: nowrap;
}

#prefsright {
    width: 100%;
    padding: 5px;
}

div.prefbuttons {
    text-align: center;
}

div.prefbuttons > div {
    padding: 2px 30px;
    display: inline-block;
}

p.prefentry {
    clear: both;
}

span.prefcaption {
    display: block;
    width: 150px;
    text-align: right;
    padding: 3px;
    min-height: 40px;
    float: left;
}


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

.whitearea {
    padding: 5px 10px;
}

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

.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;
}

/* 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;
}

#modbox div {
    margin: 5px;
}

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;
}

/* Admin bar */

.adminbar {
    padding: 2px;
    margin: 0px;
}

ul.adminbar > li {
    display: inline-block;
    padding: 3px 2px;
    text-align: center;
    max-width: 100px;
}

/* Regis form */

div.regis_form div.regis_label {
    float: left;
    width: 150px;
    height: 50px;
    text-align: right;
    padding-right: 5px;
}

div.regis_form div.regis_row {
    clear: both;
}

div.regis_form div.regis_desc {
    padding-top: 4px;
    padding-bottom: 8px;
    font-size: 0.8em;
}


