* {
  margin: 0;
}
article {
  margin: 3px;
  padding: 3px;
}
#ftsBannerImage {
  max-width: 755px;
  margin: 1em 0;
}
article > center > img {
  max-width: 100%;
  margin: 1em 0;
}
select#ftsPageSelect {
  width: calc(100% - 6px);
  margin: 3px;
  font-size: 14pt;
}
li.ftsMenuItem {
  list-style: none;
  margin-bottom: 0.7em;
  padding: 1px;
  padding-left: 0.5em;   
}
ul#ftsMenu {
  display: none;
  list-style: none;
  /*text-indent: -1.2em;*/
  padding: 0;
  margin: 0;
  margin-top: -1px;
  height: 100%;
  position: relative;
}
.ftsBorderTableTitle {
  padding: 3px;
  width: 100%;
}
#ftsPageTitle {
  margin: 0.75em 0;
}
#ftsLogo {
  margin: 0.7em auto 1.5em;
  padding: 0.3em 0;
  border-radius: 50%;
  background-color: #183952;
  text-align: center;
  box-shadow: -3px 3px 0 3px black;
}
@media all and (min-width: 501px) {
  html, body {
    /*min-height: 100%;*/
    height: 100%;
  }
  html {
    background: linear-gradient(to right, #214A00 0%,#214A00 8.7em,#000 8.7em,#000 9em,#FFF 9em,#FFF 100%);     
    padding-left: 0.5em;
  }
  #background {
    min-height: calc(100% - 10em);
    height: calc(100% - 10em);
    display: table;
    width: calc(100% - 1em);
  }
  body {
    margin: 0 0;
  }
  .row {
    display: block;
  }
  nav {
    display: table-cell;
    vertical-align: text-top;
    width: 12em;
  }
  #ftsLogo {
    display: block;
  }
  .ftsRightColumn {
    padding-left: 1em;
  }
  ul#ftsMenu {
    top: -5px;
    display: block;
  }
  article {
    padding: 3px;
    margin-top: 3px;
    /*width: 100%;*/
  }
  header {
    display: table-caption;
    caption-side: top;
  }
  footer {
    display: block;
    clear: both;
  }
  select#ftsPageSelect {
    display: none;
  }
  li.ftsMenuItem:hover {
  } 
}
@media all and (max-width: 900px) {
  ul#ftsMenu {
    top: -3px;
  }
  #ftsCompSumLeft {
    margin-bottom: 1em;
  }
  html {
    background: linear-gradient(to right, #214A00  0%,#214A00  6em,#000 6em,#000 6.3em,#FFF 6.3em,#FFF 100%);     
  } 
  #ftsLogo {
    margin-left: 1em;
  } 
}
@media all and (max-width: 500px) {
  #ftsPageSelect {
    margin: 1em 0;
    width: 100%;
    display: inline-block;
    margin: 3px 0;
    font-size: 16pt;
  }
  .row {
    width: 100%;
  }
  #ftsMenu {
    display: none;
  }
  #ftsLogo {
    display: none;
  }
  .ftsLeftColumn {
    width: 100%;
    display: block;
  }
  nav {
    width: 7em;
    text-align: center;
  }
  /* 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%;
  }
  #ftsLogo {
    visibility: none;
  }
  .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
  }
  html {
    background: linear-gradient(to right, #214A00 0%, #214A00 100%);     
  }  
}
@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: 901px) {
  #ftsCompSumLeft {
    float: left;
    width: 47%;
  }
  #ftsCompSumRight {
    float: right;
    width: 47%;
  }
  #ftsCompetitionTitle {
  }
  .ftsTipperCol {
    white-space: nowrap;
  }
}
@media all and (max-width: 700px) {
  nav {
    width: 10em;
    white-space: nowrap;
    overflow: hidden;
  }
}
