@import url(https://fonts.googleapis.com/css?family=Quicksand:400,700);
html {
  height: 100%;
  background-color: #FFF2FA;
}
body {
  height: 100%;
}
* {
  margin: 0;
  padding: 0;
}
a {
  color: #005B9C;
}
a:hover {
  color: #0B2444
}
#ftsPageSelect {
  display: none;
}
#ftsPageTitle {
  margin: 0.75em 0;
}
.ftsBorderedTable td, .ftsBorderedTable th {
  padding: 4px;
}
#ftsBannerImage, article > center > img {
  max-width: 100%;
  margin: 1em 0;
}
#ftsBanner {
  text-align: center;
}
.ftsBorderedTable th {
  background-color: #F48BCC;
  color: white;
  padding-top: 5px;
  padding-bottom: 5px;
  font: normal 12pt 'Quicksand', sans-serif, Verdana, Arial;
}
.ftsBorderedTable th b {
  font-weight: normal;
}
.ftsBorderedTable {
  background-color: #F7C7E5;
  padding: 3px;
  border-collapse: collapse;
  width: 100%;
}
.ftsBorderedTable th a:link,
.ftsBorderedTable th a:visited
{
  color: white;
}
.ftsBorderedTable caption {
  background-color: #F48BCC;
  font: normal 12pt 'Quicksand', sans-serif, Verdana, Arial;
  color: white;
  padding: 3px;
}
#ftsTipperListFindMe, #ftsCompSumQuickLogin {
  width: 3em;
}
body {
  color: #333;
  font: normal 62.5% Arial, Helvetica, sans-serif;
  line-height: 1.4;
  font-stretch: expanded;
}
p,ul {
  padding-bottom: 1.2em;
}
li {list-style: none;}

h1 {
  font: 800 10pt 'Quicksand', sans-serif, Verdana, Arial;
  color: white;
}
h2 {
  font: 600 16pt 'Quicksand', sans-serif, Verdana, Arial;
  margin-bottom: 4px;
  margin: 0 0 7px 0;
}
th {
  font: normal 10pt 'Quicksand', sans-serif, Verdana, Arial;
}
.clearer {clear: both;}
.container {
  background-color: #FDE9F4;
  font-size: 1.2em;
  margin: 0 auto;
  width: 850px;
  min-height: 100% !important;
  display: table;
}
.header {
  background-color: #F755BB;
  font-size: 1.2em;
  margin: 0 auto;
  width: 850px;
  vertical-align: bottom;
}
.header h1 {
  padding: 0.5em;
  font-size: 14pt;
  font-weight: normal;
}
nav { 
  border-top: 1px solid #F7C7E5;
  border-bottom: 1px solid #F7C7E5;
  background: black;
}
nav a {
  background-color: transparent;
  border-right: 1px solid #F7C7E5;
  color: #fff;
  display: block;
  float: left;
  font: normal 8pt 'Quicksand', sans-serif, Verdana, Arial;
  line-height: 23px;
  text-decoration: none;
  padding: 0 5px;
}
nav a:hover {
  background: transparent; 
  color: #f1f1f1;
}
article {
  float: left;
  margin: 0px 0;
  padding: 0 16px;
  width: 815px;
  text-align:justify;
  color: black;
  font-size: 1.0em;
  margin-bottom: 6px;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
footer {
  background: #F755BB;
  color: white;
  font: normal 1em sans-serif;
  line-height: 20px;
  text-align: center;
  display: table-footer-group;
}
footer a, 
footer a:hover,
footer a:link,
footer a:visited {
  color: white;
}
@media all and (max-width: 500px) {
  .header {
    height: 80px;
  }
  #ftsPageSelect {
    margin: 1em 0;
    width: 100%;
    display: inline-block;
    margin: 3px 0;
    font-size: 16pt;
  }
  #ftsMenu {
    display: none;
  }
  article {
    padding: 0 0.5em;
  }
  nav {
    border: none;
    background: none;
    margin: 0.5em 0;
  }
  /* tipper list */
  th.ftsWinningsCol a
   {
    display: none;
  }
  .ftsMovementCol {
    display: none;
  }
  #ftsTipsList th {
    display: none;
  }

  /* tip entry */
  #ftsTipsList td {
    display: inline-block;
    /*outline: 1px dashed pink;*/
  }
  #ftsTipsList tr {
    border: 1px solid #036;
    border-top-width: 4px;
  }
  .ftsTipHomeScoreCol, .ftsTipAwayScoreCol,
  .ftsTipHomePickCol, .ftsTipAwayPickCol  {
    width: 10%;
  }
  .ftsTipVenueCol {
    font-size: 12pt;
  }
  .ftsTipHomePickCol {
    float: left;
  }
  .ftsTipHomeScoreCol {
    float: right;
  }
  .ftsTipAwayScoreCol {
    float: left;
  }
  .ftsTipAwayPickCol {
    float: right;
  }
  .ftsTipHomeCol, .ftsTipAwayCol {
    width: 70%;
  }
  td.ftsTipAwayCol {
    text-align: right;
  }
  .ftsTipVsCol {
    width: 95%;
  }
  .ftsTipDrawCol {
    width: 95%;
  }
  .ftsTipDrawCol img::after, .ftsTipDrawCol input::after {
    content: "Draw";
    font-size: 20pt;
    color: #C30505;
    margin-left: -3em;
    margin-top: -5em;
  } 
  #ftsTipsList {
    width: 100%;
    font-size: 30px;
  }
  #ftsTipsList input[type="radio"] {
    height: 2em;
    width: 2em;
  }
  #ftsTipsExtra input {
    font-size: 16pt;
  }
  #ftsTipsHeader select,  #ftsTipsHeader input {
    width: 3em;
    font-size: 16pt;
  }
  #ftsTipRoundGo {
    display: none;
  }
  .ftsTipKOPick {
    font-size: 16pt;
  }
  #ftsTipWildcardCheckbox {
    height: 1.5em;
    width: 1.5em;
  }
  #ftsTipsValBackToRound, #ftsTipsValJumpToRound {
    font-size: 11pt;
  }
  /* join */
  .ftsJoinField {
    max-width: 9em;
    font-size: 14pt
  }
  input.ftsJoinField[type="checkbox"] {
    height: 1.5em;
    width: 1.5em;   
  }
  #ftsJoinSubmit {
    font-size: 14pt
  }
}
@media all and (max-width: 800px) {
  /* tipper ladder */
  .ftsCompanyCol, 
  .ftsOptionalCol, 
  .ftsWildcardCol {
    display: none;
  }
  #ftsTipperLadderStatus td {
    display: inline-block;
    width: 100%;
  }

  /* game history */
  .ftsGameHistoryVenueCol {
    display: none;
  }
  /* team history */
  .ftsTeamHistoryVenueCol {
    display: none;
  }

  /* ladder */
  .ftsLadderForCol, .ftsLadderAgainstCol {
    display: none;
  } 
}
@media all and (min-width: 611px) {
  #ftsCompSumLeft {
    float: left;
    width: 47%;
  }
  #ftsCompSumRight {
    float: right;
    width: 47%;
  }
  .ftsTipperCol {
    white-space: nowrap;
  }
  nav a {
    padding: 0 17px;
    font-size: 10pt;
  }  
  h1 {
    font: 800 18pt 'Quicksand', sans-serif, Verdana, Arial;
    color: white;
  }
}
@media all and (min-width: 851px) {
  .header h1 {
    font-size: 26pt;
  }
}
@media all and (max-width: 850px) {
  article, .container {
    width: 100%;
    box-sizing: border-box;
  }
  header {
    padding: 0;
  }
  nav a {
    padding: 0 5px;   
  }
  .header {
    width: 100%;
    height: auto;
  }
}