﻿#board {
  position:absolute;
  top:5px;
  bottom:5px;
  left:0;
  right:0;
  overflow:auto;
}
  #board p {
    margin:0;
  }
    #board table {
      margin-bottom:5px;
      border-spacing:0px;
      border-collapse:collapse;
    }
    #board table.bytime td.bypoints,
    #board table.bypoints td.bytime {
      display:none;
    }

#board .title {
	padding:5px 5px;
	white-space:nowrap;
	font-weight:bold;
	text-align:center;
}
    #board .title big,
    #board .title small {
	    display:block;
    }
    #board .title big {
      display:block;
      font-size:30px;
      line-height:26px;
    }
    #board .title small {
      display:block;
      font-size:20px;
      line-height:18px;
    } 
    #board.leaderboard .monoclass .title big,
    #board.resultsboard .monoclass .title big {
	    display:none;
    }
    #board.leaderboard .monoclass .title small,
    #board.resultsboard .monoclass .title small {
      font-size:30px;
      line-height:26px;
    }
    #board.leaderboard .real .title small,
    #board.resultsboard .real .title small {
	    display:none;
    }
    #board.leaderboard .monoclass.real .title,
    #board.resultsboard .monoclass.real .title  {
	    display:none;
    }

#board .columns td {
	padding:3px 5px;
	vertical-align:middle;
	white-space:nowrap;
}
#board .columns td[colspan] {
  text-align:center !important;
}

#board .line {
	vertical-align:top;
	white-space:nowrap;
}
#board .line th,
#board .line td {
	padding:0 5px;
	*line-height:18px;
  *height:40px !important;
}
#board .line th {
  font-weight:bold !important;
  text-align:left;
}


#board .rank,
#board .status,
#board .heading,
#board .points,
#board .time,
#board .racetime,
#board .loc,
#board .dtf,
#board .date,
#board .lat,
#board .lng,
#board .heading,
#board .speed,
#board .dist,
#board .gaps,
#board .percent,
#board .advance,
#board .ortho,
#board .overg {
  text-align:right;
}

#board .boat {
  width:100%;
}

#board .body .rank {
  font-size:22px !important;
	line-height:22px;
  font-weight:bold;
}
#board .body .rank small {
  display:block;
  font-size:11px !important;
	line-height:11px;
  font-weight:bold;
}
#board .body .boat sup {
  display:none;
}
#board .photos .body .boat {
  padding:2px;
}
#board .photos .body .boat sup {
  display:block;
  position:relative;
  width:60px;
  height:60px;
  float:left;
  margin-right:5px;
  background-color:rgba(0,0,0,0.05);
}
#board .body .boat sup img {
  position:absolute;
  top:0;
  left:0;
  border-radius:0 0% 50% 0;
}
#board .body .boat big {
  display:block;
  font-size:20px;
  line-height:20px;
  padding:2px 0 0 0;
}
#board .body .boat small {
  display:block;
  font-weight:normal;
  font-size:16px;
  line-height:16px;
}
#board .body .boat sub {
  display:none;
}
#board .body .boat sub * {
  font-size:12px;
}
#board .body .boat dfn {
  font-style:normal;
}
#board .body .boat dfn:before {
  content:' • ';
}
#board .body .boat dfn:first-child:before {
  content:'';
}
#board .body .boat dfn u {
  text-decoration:none;
  font-weight:bold !important;
}
#board .body .boat dfn u:after {
  content:' : ';
}
#board .body .boat sub  {
  font-style:italic;
}
#board .body .boat sub i:before,
#board .body .boat sub i:after {
  content:'';
}
#board .body .boat sub q {
  font-style:italic;
}
#board .body .points {
  font-size:18px !important;
  font-weight:bold;
}
#board .body .heading:after {
  content:'°';
}
#board .body .dtf b {
  font-weight:bold;
  display:block;
}
#board .body .dtf i {
  opacity:0.6;
  display:block;
}
#board .body .speed b {
  font-weight:bold;
  display:block;
}
#board .body .speed i {
  opacity:0.6;
  display:block;
}

#board .body .date b {
  display:block;
  font-weight:bold;
}
#board .body .date i {
  display:block;
  opacity:0.7;
}
#board .body .hour {
  text-align:right;
}
#board .body .hour i {
  display:block;
  text-align:right;
  font-weight:bold;
}
#board .body .date small {
  display:none;
}
#board .body .racetime b {
  display:block;
  text-align:right;
  font-weight:bold;
}
#board .body .racetime i {
  display:block;
  text-align:right;
}
#board .body .gaps b {
  display:block;
  text-align:right;
  font-weight:bold;
}
#board .body .gaps i {
  display:block;
  text-align:right;
  opacity:0.7;
}


@media screen and (max-width:1000px) {
  #board .overxh {
    display:none;
  }
}

@media screen and (max-width:850px) {
  #board .over24h {
    display:none;
  }
  #board .ortho,
  #board .overg,
  #board .percent,
  #board .databoard .loc {
    display:none;
  }
}

@media screen and (max-width:650px) {
  #board .date big {
    display:none;
  }
  #board .date small {
    display:block;
  }
  #board .opt {
    display:none;
  }
  #board .body .boat sub {
    display:block;
  }
  
}

@media screen and (max-width:425px) {
  #board .body .boat sup {
    display:none !important;
  }
  
}

@media screen and (max-width:340px) {
  #board .body .boat sub q {
    display:none;
  }
  
}