html, body {
  height: 100%;
}

#wrap {
  min-height: 100%;
}

#main {
  overflow: auto;
  padding-bottom: 30px; /* this needs to be bigger than footer height*/
}

.footer {
  position: relative;
  margin-top: -30px; /* negative value of footer height */
  height: 30px;
  clear: both;
  padding-top: 0px;
}

  .footer .nik {
    padding-top: 5px;
    color: white;
  }

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.clearfix {
  display: inline-block;
}
/* start commented backslash hack \*/
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}
/* close commented backslash hack */

.container {
  max-width: 960px;
}

.tsnavc {
  text-align: center;
}

.tsnav {
  padding: 20px 0;
  display: inline-block;
  text-align: center;
  font-size: 12px;
}

  .tsnav li {
    float: left;
    list-style-type: none;
    padding: 0 10px;
  }
/* header */
.homeheader {
  height: 350px;
  background-color: #6ca063;
  background-position: top center;
}

.header {
  height: 50px;
  background-color: #6ca063;
  background-position: top center;
}

a.logo {
  font-size: 30px;
  color: white;
  text-decoration: none;
}

  a.logo:active, a.logo:hover, a.logo:focus, a.logo:visited {
    color: white;
    text-decoration: none;
  }

/* menu */
.tsnav a:active, .tsnav a:hover, .tsnav a:focus, .tsnav a:visited {
  text-decoration: none;
}

.menuactive a {
  color: red;
}

/* footer */
.footer {
  height: 30px;
  background-color: #6ca063;
}

  .footer .container {
    padding-top: 0px;
    text-align: center;
  }

/* home */
.home #gamekey {
  text-align: center;
}

/* news */
.news {
  padding: 0;
  margin: 0;
}

  .news li {
    list-style-type: none;
    padding: 5px;
    margin: 0;
  }

  .news h3 {
    display: inline-block;
  }

  .news .issueddate {
    float: right;
    padding-top: 30px;
    padding-right: 10px;
    color: #aaa;
  }

  .news .body {
    color: #333;
  }

/* game */
.game.table > tbody > tr > td {
  vertical-align: middle;
}

.game.table > tbody > tr {
  cursor: pointer;
}

.score.table > tbody > tr > td {
  vertical-align: middle;
}

.score.table {
  margin-bottom: 0;
}

.gamehistory {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

  .gamehistory li {
    padding: 0;
    margin: 0;
  }

  .gamehistory span {
    color: #666;
  }

table.scoretable {
  margin-bottom: 0;
}

/* rule */
.rule .desc {
  color: #999;
  font-size: 12px;
}


/* feature */
.featurelistimg {
  width: 155px;
  height: 100px;
}

.featureimg {
  width: 310px;
  height: 200px;
}

.titledesc {
  width: 310px;
  word-break: break-all;
}

/* contact */
.contactbox h2 {
  margin: 0 0 10px 0;
}

.contactbox .detail {
  min-height: 150px;
}
