  body {
    margin: 0;
    padding: 0;
    margin-left: 20px;
    margin-right: 20px;
    color: #fff;
    background-color: #000;
  }
  body * {
    font-family: arial, tahoma, verdana;
    font-size: 12px;
  }
  p {
    text-align: justify;
    *margin: 0;
    *margin-top: 10px;
    *margin-bottom: 10px;
  }
  form {
    margin: 0;
    padding: 0;
  }
  input, select {
    padding-left: 2px;
    padding-right: 2px;
    background: #000;
    color: #8da0b1;
    border: 1px solid #1b4163;
  }
  input[type="radio"] {
    border: none;
  }
  select { padding: 0; }
  input[type="submit"] {
    border: 1px dotted #8da0b1;
    *border: 1px solid #8da0b1;
    background-color: transparent;
    color: #8da0b1;
    font-size: 8pt;
  }
  input[type="submit"]:hover {
    color: #ffa200;
  }
  h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    font-size: 2em;
    font-weight: normal;
    display: table;
    width: auto !important;
    width: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #ffa200;
  }
  h2 {
    font-size: 8pt;
    border: none;
  }
  h3 {
    font-size: 1.5em;
    margin-top: 5px;
  }
  h4 {
    border: none;
    font-weight: bold;
    font-size: 1.2em;
    display: block;
  }
  a {
    color: #8da0b1;
    text-decoration: none;
  }
  a:hover {
    border-bottom: 1px solid #ffa200;
  }
  ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #header,
  #extras,
  #content,
  #foot {
    min-width: 760px;
  }
  #header {
    width: 100%;
    height: 90px;
    background-color: #1b4163;
    background-image: url('./hgl_banner.png');
    background-repeat: no-repeat;
  }
  #header .header-right {
    float: right;
  }
  #header .header-edge {
    width: 10px;
    height: 90px;
    background-image: url('./header.gif');
    background-repeat: no-repeat;
  }
  #header .header-edge.left {
    float: left;
    background-position: 0 0;
  }
  #header .header-edge.right {
    float: right;
    background-position: 0 100%;
  }
  #header #header-logo {
    position: absolute;
    top: 8px;
    left: 52px;
    z-index: 50;
  }
  #header #header-title {
    position: absolute;
    top: 10px;
    left: 135px;
    height: 81px;
    width: 566px;
    background-image: url('./hgl.png');
    z-index: 0;
  }

  /*****************
   ** site portal **
   *****************/
  #header #portal {
    height: 69px;
    margin-bottom: 0px;
  }
  body.site-sc #portal { background: transparent url('../../sc.png') 97.5% -1px no-repeat; }
  body.site-bw #portal { background: transparent url('../../bw.png') 97.5% -1px no-repeat; }
  #portal li {
    float: right;
    background: transparent url('./portal.png') 100% -85px no-repeat;
    padding: 0 6px 0 0;
    margin: 0 5px 0 0;
  }
  #portal a {
    font-size: .9em;
    float: left;
    display: block;
    padding: 0px 2px 4px 8px;
    background: transparent url('./portal.png') 0% -85px no-repeat;
    color: #fff;
    border: none;
  }
  #portal li:hover a { background-position: 0% -285px; }
  #portal li:hover { background-position: 100% -285px; }
  body.portal-league li#portal-league a {
    background-position: 0% -485px;
    padding-left: 9px;
    color: #fff;
  }
  body.portal-league li#portal-league {
    background-position: 100% -485px;
  }
  body.portal-league li#portal-league:hover a {
    background-position: 0% -685px;
    color: #fff;
  }
  body.portal-league li#portal-league:hover {
    background-position: 100% -685px;
  }

  #portal li.site {
    background-image: url('../site.png');
    padding: 0 6px 0 0;
    margin: 0 5px 0 0;
  }
  #portal .site a {
    font-size: 1em;
    padding: 1px 3px 5px 10px;
    background-image: url('../site.png');
  }
  #portal #site-sc {
    background-position: 100% -82px;
    margin-left: 15px;
  }
  #portal #site-sc a {
    background-position: 0% -82px; 
  }
  #portal #site-bw {
    background-position: 100% -482px;
  }
  #portal #site-bw a {
    background-position: 0% -482px;
  }
  #portal #site-sc:hover a { background-position: 0% -282px; }
  #portal #site-sc:hover { background-position: 100% -282px; }
  #portal #site-bw:hover a { background-position: 0% -682px; }
  #portal #site-bw:hover { background-position: 100% -682px; }
  body.site-sc li#site-sc a,
  body.site-bw li#site-bw a {
    font-weight: bold;
  }

  /*********************
   ** site navigation **
   *********************/
  #header #nav {
    height: 20px;
  }
  #nav li {
    display: inline;
    float: right;	
    background: transparent url('./navigation.png') 100% -600px no-repeat;
    padding: 0 6px 0 0;
    margin: 0 5px 0 0;
  }
  #nav a {
    float: left;
    display: block;
    padding: 3px 0 3px 7px;
    background: transparent url('./navigation.png') 0% -600px no-repeat;
    color: #fff;
    border: none;
  }
  #nav li:hover a { background-position: 0% -400px; }
  #nav li:hover { background-position: 100% -400px; }
  #nav li strong {
    border-bottom: 1px dotted #ffa200;
  }

  body.page-updates li#nav-updates a,
  body.page-register li#nav-register a,
  body.page-settings li#nav-settings a,
  body.page-report li#nav-report a,
  body.page-standings li#nav-standings a,
  body.page-teams li#nav-teams a,
  body.page-profiles li#nav-profiles a,
  body.page-history li#nav-history a,
  body.page-support li#nav-support a {
    background-position: 0% -200px;
    padding-left: 8px;
    color: #fff;
  }

  body.page-updates li#nav-updates,
  body.page-register li#nav-register,
  body.page-settings li#nav-settings,
  body.page-report li#nav-report,
  body.page-standings li#nav-standings,
  body.page-teams li#nav-teams,
  body.page-profiles li#nav-profiles,
  body.page-history li#nav-history,
  body.page-support li#nav-support {
    background-position: 100% -200px;
  }

  body.page-updates li#nav-updates:hover a,
  body.page-register li#nav-register:hover a,
  body.page-settings li#nav-settings:hover a,
  body.page-report li#nav-report:hover a,
  body.page-standings li#nav-standings:hover a,
  body.page-teams li#nav-teams:hover a,
  body.page-profiles li#nav-profiles:hover a,
  body.page-history li#nav-history:hover a,
  body.page-support li#nav-support:hover a {
    background-position: 0% 0%;
    color: #fff;
  }

  body.page-updates li#nav-updates:hover,
  body.page-register li#nav-register:hover,
  body.page-settings li#nav-settings:hover,
  body.page-report li#nav-report:hover,
  body.page-standings li#nav-standings:hover,
  body.page-teams li#nav-teams:hover,
  body.page-profiles li#nav-profiles:hover,
  body.page-history li#nav-history:hover,
  body.page-support li#nav-support:hover {
    background-position: 100% 0%;
  }

  /************************
   ** login/season stats **
   ************************/
  #extras {
    clear: both;
    display: table;
    width: 100%;
    margin-bottom: 5px;
  }
  #extras #hang {
    float: left;
    clear: left;
    margin-left: 5px;
    width: 370px !important;
    padding-left: 25px;
    padding-right: 15px;
    height: 33px;
    background: url('./hang.gif');
    background-repeat: no-repeat;
  }
  #hang input[type="text"], #hang input[type="password"] {
    background: #8da0b1;
    color: #000;
  }
  #hang .username,
  #hang .password {
    float: left;
    margin-top: 7px;
    margin-left: 5px;
    margin-right: 10px;
    *margin-top: 7px;
    *margin-left: 0;
    *margin-right: 0;
    *padding-right: 10px;
    *padding-left: 5px;
  }
  #hang .password {
    margin-right: 15px;
    *margin-right: 5px;
  }
  #hang .info {
    float: left;
    width: 300px;
  }
  #hang .account {
    position: relative;
    left: -6px;
    top: 3px;
    *padding-bottom: 3px;
  }
  #hang .account a {
    font-weight: bold;
  }
  #hang .ranks {
    position: relative;
    top: 3px;
    *top: -1px;
  }
  #hang .ranks * {
    font-size: 8pt;
  }
  #hang .ranks div {
    float: right;
    padding-right: 10px;
  }
  body.site-sc #hang .ranks .bw,
  body.site-bw #hang .ranks .sc {
    display: none;
  }
  #hang .ranks div em {
    letter-spacing: 2px;
    font-style: normal;
  }
  #hang .ranks div.top5 em {
    color: #ffa200;
  }
  #hang .submit {
    float: left;
  }
  #hang .login {
    margin-top: 8px;
  }
  #hang .logout {
    margin-top: 8px;
  }
  #hang .submit input {
    font-size: 8pt;
  }

  #extras #search {
    float: right;
    clear: right;
    display: table;
    margin-right: 15px;
    width: 300px;
    height: 33px;
  }
  #search * {
    font-size: 10px;
  }
  #search div {
    margin-top: 8px;
  }
  #search .caption {
    float: left;
    position: relative;
    top: 1px;
    *top: 2px;
    font-size: 11px;
    font-weight: bold;
  }
  #search .input {
    float: right;
    width: 145px;
    margin-right: 20px;
    *margin-right: 15px;
  }
  #search .input input {
    width: 100%;
  }
  #search .submit {
    float: right;
  }

  #container-tabs #content {
    clear: both;
    min-height: 200px;
    height: auto !important;
    height: 200px;
    background-color: #000;
    margin-left: 15px;
    margin-right: 15px;
  }
  #content-title {
    clear: both;
    float: left;
    *margin-bottom: 10px;
  }
  #content-title h1,
  div h3 {
    float: left;
    margin-top: 10px;
  }
  #content-title .h, #content-title .s {
    float: right;
    clear: right;
    display: table;
    margin-top: 10px;
    margin-right: 15px;
    width: 500px;
    height: 20px;
    font-size: 11px;
    text-align: right;
  }
  #content-title .s {
    margin-top: 0;
  }
  #content #content-error,
  #content #content-info {
    display: table;
    *display: block;
    clear: both;
    float: left;
    border: 1px solid #c04242;
    min-height: 40px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 15px;
    width: 700px;
    text-align: justify;
    *position: relative;
    *top: 5px;
  }
  #content #content-info {
    border: 1px solid #1b4163;
  }
  #content-error .exclamation,
  #content-info .exclamation {
    float: left;
    width: 23px;
    font-size: 4em;
    padding-left: 7px;
    position: relative;
    top: -4px;
    color: #ff0000;
  }
  #content-info .exclamation {
    color: #8da0b1;
    font-size: 2.5em;
    top: 3px;
    left: -5px;
  }
  #content-error .explanation,
  #content-info .explanation {
    float: left;
    padding: 5px;
    padding-left: 8px;
    padding-bottom: 7px;
    width: 650px;
    border-left: 1px dotted #c04242;
  }
  #content-info .explanation {
    border-left: 1px dotted #1b4163;
  }
  #content-error .explanation strong {
    display: block;
    margin-bottom: 3px;
  }
  #content #body {
    display: table;
    clear: both;
  }
  #body div.summary {
    clear: both;
    width: 650px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1b4163;
    margin-bottom: 10px;
  }
  #body div.summary p {
    margin: 0;
    padding: 0;
  }
  #body div.summary ul {
    margin-top: 10px;
    margin-left: 25px;
  }
  #body div.summary ul li em {
    color: #b81a1a;
  }
  #body .table {
    clear: both;
    width: 650px;
  }
  #body .table .table-row {
    clear: both;
    float: left;
    width: 100%;
  }
  #body .table .table-row .column,
  #body .table .table-row .column-1,
  #body .table .table-row .column-2,
  #body .table .table-row .column-3,
  #body .table .table-row .column-4,
  #body .table .table-row .column-5,
  #body .table .table-row .column-6,
  #body .table .table-row .column-7 {
    float: left;
    width: 90px;
    font-size: 12px;
    height: 26px;
    padding-top: 8px;
  }
  #body .table .title .column,
  #body .table .title .column-1,
  #body .table .title .column-2,
  #body .table .title .column-3,
  #body .table .title .column-4,
  #body .table .title .column-5,
  #body .table .title .column-6,
  #body .table .title .column-7 {
    font-weight: bold !important;
    height: 20px !important;
    padding-top: 3px !important;
  }
  #body .table .table-row {
    border-top: 1px dotted #1b4163;
  }
  #body .table .title {
    border-top: none;
  }
  #body .form {
    clear: both;
    width: 650px;
  }
  #body .form input,
  #body .form select {
    width: 100%;
  }
  #body .form input[type="submit"] {
    width: auto;
  }
  #body .form em,
  #body .table em {
    color: #b81a1a;
    font-size: 7.5pt;
  }
  #body .form em.green,
  #body .table em.green {
    color: #25b81a;
  }
  #body .form .form-row {
    clear: both;
    float: left;
    width: 100%;
  }
  #body .form .row-first {
    border-top: 1px solid #1b4163;
  }
  #body .form .row-last {
    border-bottom: 1px solid #1b4163;
  }
  #body .form .form-row .form-caption,
  #body .form .form-row .form-input {
    float: left;
    padding-top: 10px;
    height: 30px;
    width: 249px;
  }
  #body .form .short .form-caption,
  #body .form .short .form-input {
    padding-top: 4px;
    height: 10px;
  }
  #body .form .form-row .form-caption {
    text-align: right;
    border-right: 1px dotted #1b4163;
    padding-right: 25px;
  }
  #body .form .form-row .form-input {
    padding-left: 25px;
  }
  #body .form .form-row .form-input a {
    font-size: 7.5pt;
    width: auto;
    margin-top: 3px;
    position: relative;
    *top: -2px;
  }
  #body .form .form-row .form-submit {
    width: 85%;
    text-align: center;
    padding-top: 10px;
  }
  #body .form .form-row .form-input input[type="text"],
  #body .form .form-row .form-input input[type="password"] {
    padding-left: 0;
    padding-right: 0;
  }
  #body.updates,
  #body.teams,
  #body.register,
  #body.settings,
  #body.report,
  #body.standings,
  #body.profiles,
  #body.history,
  #body.support,
  #body.games,
  #body.search {
    margin-left: 35px;
  }
  #timezone {
    margin-top: 25px;
    width: 100%;
    text-align: center;
    font-size: 10px;
  }
  #foot {
    margin-top: 10px;
    border-top: 1px dotted #1b4163;
    padding-top: 3px;
  }
  #foot .row * {
    color: #8da0b1;
    font-size: .8em;
  }
  #foot .row a {
    font-size: 1em;
  }
  #foot .row {
    clear: both;
  }
  #foot .validation, 
  #foot .browsers {
    float: left;
  }
  #foot .browsers img, 
  #foot .validation a {
    border: 0;
    margin-right: 3px;
  }
  #foot .browsers img,
  #foot .validation img {
    border: 0;
  }
  #foot .count,
  #foot .stats,
  #foot .author {
    float: right;
    margin-right: 5px;
  }
  #foot .stats {
    position: relative;
    top: -5px;
    *top: -8px;
  }
  #foot .author {
    position: relative;
    top: -10px;
    *top: -13px;
  }
  #foot .browsers {
    *position: relative;
    *top: -3px;
  }