/* Divs */
div#race{
width:940px;
margin:0;
}

div#racenumber{
float:left;
width:80px;
text-align:left;
font-size:1.2em;
font-weight:bold;
}

div#racedetails{
float:left;
width:780px;
margin-bottom:10px;
}

div#racename{
text-align:center;
font-size:1.2em;
font-weight:bold;
width:780px;
}

div#racedistance{
float:right;
width:80px;
text-align:right;
font-size:1.2em;
font-weight:bold;
}

div#prizemoney{
text-align:center;
}

div#conditions{
text-align:center;
}

div#racerecord{
text-align:center;
}

div.bonus{
text-align:center;
}

div.raceentry{
width:940px;
margin:0;
padding-top:10px;
border-top: 2px solid #000000;
position:relative;
}

div.tabnumber{
width:100px;
height:3.2em;
float:left;
font-size:2em;
font-weight:bold;
}

div.horsedetails{
width:840px;
float:right;
}

div.horsename{
float:left;
font-size:1.2em;
font-weight:bold;
text-transform:uppercase;
}

div.jockey{
float:right;
font-size:1.1em;
font-weight:bold;
}

span.weight{
font-size:1.2em;
font-weight:bold;
margin-left:1em;
}

div.breeding{
width:840px;
float:right;
}

div.owners{
width:840px;
float:right;
}

div.trainer{
width:350px;
float:right;
text-align:right;
font-weight:bold;
}

div.colours{
width:490px;
float:right;
font-weight:bold;
text-transform:uppercase;
}

div.firststart{
width:840px;
float:right;
font-weight:bold;
}

div.career{
width:840px;
float:right;
}

div.resultsummaries{
width:840px;
float:right;
}

div.resultsummary{
float:left;
margin-right:0.5em;
}

span.resultsummarylabel{
font-weight:bold;
}

div.laststart{
width:940px;
margin-top:10px;
overflow:auto;
}

div.laststartwhen{
width:100px;
float:left;
font-size:0.9em;
}

div.laststartdetail{
width:840px;
float:right;
font-size:0.9em;
}

span.horsename{
font-weight:bold;
text-transform:uppercase;
}

span.emergency{
font-size:0.6em;
}

span.blinkers{
font-size:0.6em;
}

@media only screen and (max-width: 650px) {
  table.raceentries td:nth-of-type(1):before {
    content: " ";
  }

  table.raceentries td:nth-of-type(2):before {
    content: "Horse";
  }

  table.raceentries td:nth-of-type(3):before {
    content: "Jockey";
  }

  table.raceentries td:nth-of-type(4):before {
    content: "Trainer";
  }

  table.raceentries td:nth-of-type(5):before {
    content: "Barrier";
  }

  table.raceentries td:nth-of-type(6):before {
    content: "Weight";
  }

   table.raceresults td:nth-of-type(1):before {
    content: "Position";
  }

  table.raceresults td:nth-of-type(2):before {
    content: "Horse";
  }

  table.raceresults td:nth-of-type(3):before {
    content: "Jockey";
  }

  table.raceresults td:nth-of-type(4):before {
    content: "Trainer";
  }

  table.raceresults td:nth-of-type(5):before {
    content: "Weight";
  }

  table.raceresults td:nth-of-type(6):before {
    content: "Margin";
  }
  
  table.raceresults td:nth-of-type(7):before {
    content: "Price";
  }
}