/* --------------------------------------------------------------
    BADMINTON HORSE TRIALS
-------------------------------------------------------------- */
/* Rebrand Colour Palette Variables */
/* --------------------------------------------------
    OLD STYLE
-------------------------------------------------- */
body:not(.results-page) {
  /**
   * General
   */
  /**
   * First Inspection, Final Inspection
   */
  /**
   * Dressage Results
   */
  /**
   * Cross Country Results
   */
  /**
   * Cross Country Fences
   */
  /**
   * Top 5
   */
  /**
   * Final results
   */
  /**
   * Dressage Scoresheets
   */
}

body:not(.results-page) .bht-results-container {
  overflow: auto;
  width: 100%;
  margin: 0 auto 20px auto;
}

body:not(.results-page) .bht-results {
  color: #7C7C7B;
  font-family: Arial;
  font-size: 11.2px;
  line-height: normal;
  width: 100%;
  border-collapse: separate;
  border-spacing: 2px;
}

body:not(.results-page) .mobile .bht-results {
  -webkit-text-size-adjust: none;
  font-size: 8.2px;
  line-height: 11px;
}

body:not(.results-page) .bht-results th {
  font-weight: bold;
  background-color: #d6d1b9;
  text-align: left;
  vertical-align: top;
  padding: 1px;
}

body:not(.results-page) .bht-results td a {
  color: #000;
  transition: none;
}

body:not(.results-page) .bht-results td {
  background-color: #f0f0f0;
  text-align: center;
  padding: 1px;
}

body:not(.results-page) .bht-results td.rider_number {
  background-color: #d6d1b9;
}

body:not(.results-page) .bht-results .dressage {
  background-color: #f0f0f0;
}

body:not(.results-page) .bht-results th.dressage {
  text-align: center;
}

body:not(.results-page) .bht-results.results-xc-results tr:hover td,
body:not(.results-page) .bht-results.results-xc-fences tr:hover td,
body:not(.results-page) .bht-results.results-first-inspection tr:hover td,
body:not(.results-page) .bht-results.results-final-inspection tr:hover td,
body:not(.results-page) .bht-results.results-dressage-results tr:hover td,
body:not(.results-page) .bht-results.results-final-results tr:hover td {
  background-color: #2A3034;
  color: white;
}

body:not(.results-page) .bht-results.results-xc-results tr:hover td a,
body:not(.results-page) .bht-results.results-xc-fences tr:hover td a,
body:not(.results-page) .bht-results.results-first-inspection tr:hover td a,
body:not(.results-page) .bht-results.results-final-inspection tr:hover td a,
body:not(.results-page) .bht-results.results-dressage-results tr:hover td a,
body:not(.results-page) .bht-results.results-final-results tr:hover td a {
  color: white;
}

body:not(.results-page) .bht-results td.horse_name,
body:not(.results-page) .bht-results td.rider_name {
  text-align: left;
}

body:not(.results-page) .bht-results .xc {
  background-color: #e5e5e5;
}

body:not(.results-page) .bht-results th.xc {
  text-align: center;
}

body:not(.results-page) .bht-results td.xc {
  text-align: right;
}

body:not(.results-page) .bht-results .showjump {
  background-color: #cccccc;
}

body:not(.results-page) .bht-results th.showjump {
  text-align: center;
}

body:not(.results-page) .bht-results td.showjump {
  text-align: right;
}

body:not(.results-page) .bht-results .total {
  background-color: #d6d1b9;
}

body:not(.results-page) .bht-results th.total {
  text-align: center;
}

body:not(.results-page) .bht-results td.total {
  text-align: right;
}

body:not(.results-page) .bht-results .row-title {
  background-color: #d6d1b9;
  text-align: left;
  font-weight: bold;
}

body:not(.results-page) .bht-results.results-first-inspection td,
body:not(.results-page) .bht-results.results-final-inspection td {
  background-color: transparent;
}

body:not(.results-page) .bht-results.results-first-inspection td.rider_number,
body:not(.results-page) .bht-results.results-final-inspection td.rider_number {
  background-color: #e5e5e5;
  text-align: right;
}

body:not(.results-page) .bht-results.results-first-inspection td.status,
body:not(.results-page) .bht-results.results-final-inspection td.status {
  text-align: left;
}

body:not(.results-page) .bht-results.results-dressage-results .dressage-h {
  background-color: #f0f0f0;
}

body:not(.results-page) .bht-results.results-dressage-results .dressage-c {
  background-color: #e5e5e5;
}

body:not(.results-page) .bht-results.results-dressage-results .dressage-b {
  background-color: #ccc;
}

body:not(.results-page) .bht-results.results-dressage-results .dressage-total {
  background-color: #d6d1b9;
}

body:not(.results-page) .bht-results.results-dressage-results th.dressage-h,
body:not(.results-page) .bht-results.results-dressage-results th.dressage-c,
body:not(.results-page) .bht-results.results-dressage-results th.dressage-b {
  text-align: center;
}

body:not(.results-page) .bht-results.results-xc-results .horse_name,
body:not(.results-page) .bht-results.results-xc-results .rider_name {
  width: 150px;
}

body:not(.results-page) .bht-results.results-xc-fences td {
  background-color: transparent;
}

body:not(.results-page) .bht-results.results-xc-fences td.rider_number {
  background-color: transparent;
  font-weight: bold;
}

body:not(.results-page) .bht-results.results-xc-fences td.fence {
  text-align: center;
}

body:not(.results-page) .bht-results.results-xc-fences td.fence.even {
  background-color: #d6d1b9;
}

body:not(.results-page) .bht-results.results-top5 .horse_name,
body:not(.results-page) .bht-results.results-top5 .rider_name {
  width: 150px;
}

body:not(.results-page) .bht-results.results-final-results .horse_name,
body:not(.results-page) .bht-results.results-final-results .rider_name {
  width: 150px;
}

body:not(.results-page) .bht-results.results-final-results th.pens,
body:not(.results-page) .bht-results.results-final-results th.place,
body:not(.results-page) .bht-results.results-final-results th.jump,
body:not(.results-page) .bht-results.results-final-results th.time,
body:not(.results-page) .bht-results.results-final-results th.diff {
  font-weight: normal;
}

body:not(.results-page) .bht-dressage-scoresheet-container {
  overflow: auto;
  width: 100%;
  margin: 0 auto 20px auto;
}

body:not(.results-page) .bht-dressage-scoresheet {
  width: 100%;
  color: #7C7C7B;
  font-family: Arial;
  font-size: 11.2px;
  line-height: normal;
  margin: 0 auto 20px auto;
  border-collapse: collapse;
  border-spacing: 0;
}

body:not(.results-page) .mobile .bht-dressage-scoresheet {
  font-size: 10.2px;
  line-height: 12px;
}

body:not(.results-page) .bht-dressage-scoresheet-container .bht-dressage-scoresheet tr:hover td {
  background-color: #ececec;
}

body:not(.results-page) .bht-dressage-scoresheet td.title {
  border-bottom-style: solid;
  border-bottom-color: #ff0000;
  font-weight: bold;
}

body:not(.results-page) .bht-dressage-scoresheet th.rider_name,
body:not(.results-page) .bht-dressage-scoresheet th.horse_name {
  border-bottom-style: solid;
  border-bottom-color: #808080;
  font-weight: bold;
  width: 40%;
  text-align: left;
}

body:not(.results-page) .bht-dressage-scoresheet th.rider_number {
  border-bottom-style: solid;
  border-bottom-color: #808080;
  font-weight: bold;
  width: 10%;
  text-align: right;
}

body:not(.results-page) .bht-dressage-scoresheet .judge_name {
  font-weight: bold;
}

body:not(.results-page) .bht-dressage-scoresheet .step-number {
  width: 15px;
  vertical-align: top;
}

body:not(.results-page) .bht-dressage-scoresheet .step-codes {
  width: 90px;
  vertical-align: top;
}

body:not(.results-page) .bht-dressage-scoresheet .step-details {
  width: 400px;
  vertical-align: top;
}

body:not(.results-page) .bht-dressage-scoresheet .total {
  width: 400px;
  vertical-align: top;
  text-align: right;
}

body:not(.results-page) .bht-dressage-scoresheet .max-marks {
  background-color: silver;
  text-align: center;
  font-weight: bold;
  width: 25px;
}

body:not(.results-page) .bht-dressage-scoresheet .judge-mark {
  width: 25px;
  text-align: center;
  font-weight: bold;
}

body:not(.results-page) .bht-dressage-scoresheet .caption {
  text-align: top;
}

body:not(.results-page) .bht-dressage-scoresheet .error-caption {
  width: 400px;
  text-align: left;
  padding-right: 5px;
}

body:not(.results-page) .bht-dressage-scoresheet .total-marks-counted {
  font-weight: bold;
  text-align: right;
  padding: 5px;
  vertical-align: top;
}

body:not(.results-page) button.refreshresults {
  background-color: #4A5790;
  padding: 10px 20px;
  color: white;
  border: 0;
}

body:not(.results-page) button.refreshresults:hover {
  background-color: #5F70BB;
}

/* --------------------------------------------------
    NEW STYLE
-------------------------------------------------- */
body.results-page {
  /**
   * General
   */
  /**
   * First Inspection, Final Inspection
   */
  /**
   * Dressage Results
   */
  /**
   * Cross Country Results
   */
  /**
   * Cross Country Fences
   */
  /**
   * Top 5
   */
  /**
   * Final results
   */
  /**
   * Dressage Scoresheets
   */
  /* DRESSAGE */
}

body.results-page .bht-results-help {
  padding: 20px 0;
}

body.results-page .bht-results-help .help__child {
  color: white;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
}

body.results-page .bht-results-help .help__child:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  body.results-page .desktop--hide {
    display: none;
  }
}

body.results-page .bht-results-container {
  overflow: auto;
  width: 100%;
  margin: 0 auto;
}

body.results-page .bht-results {
  color: #7C7C7B;
  font-family: Arial;
  font-size: 11.2px;
  line-height: normal;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 4px;
  border: none;
  background: #4A5790;
}

body.results-page .bht-results td {
  border: 1px solid white;
  padding: 10px;
  vertical-align: top;
}

body.results-page .bht-results th {
  border: 1px solid white;
  padding: 4px;
  border-bottom-width: 2px;
  font-size: 12px;
}

body.results-page .bht-results th:first-of-type {
  border-left: 0;
}

body.results-page .bht-results th:last-of-type {
  border-right: 0;
}

body.results-page .bht-results thead tr th {
  white-space: nowrap;
  border-top: none;
  padding: 8px 8px 4px;
  height: 40px;
}

body.results-page .bht-results thead tr th[colspan="2"] {
  height: 20px;
}

body.results-page .bht-results tbody tr td:not(.rider_horse_info) {
  text-align: center;
}

body.results-page .bht-results tbody tr td:first-child {
  border-left: none;
}

body.results-page .bht-results tbody tr td:last-child {
  border-right: none;
}

body.results-page .bht-results tbody tr:last-child td {
  border-bottom: none;
}

body.results-page .mobile .bht-results {
  -webkit-text-size-adjust: none;
  font-size: 8.2px;
  line-height: 11px;
}

body.results-page .bht-results th {
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  background-color: #4A5790;
  color: #fff;
  text-align: center;
  vertical-align: bottom;
  padding: 1px;
}

body.results-page .bht-results th.rider_horse_info {
  text-align: left;
}

body.results-page .bht-results td {
  background-color: #4A5790;
  color: #fff;
  height: auto;
}

body.results-page .bht-results td a {
  color: #fff;
  transition: none;
}

body.results-page .bht-results td.rider_info {
  background-color: #4A5790;
  color: #fff;
}

body.results-page .bht-results.results-top5 td a {
  color: #000;
}

body.results-page .bht-results .dressage {
  background-color: #4A5790;
  color: #fff;
}

body.results-page .bht-results th.dressage {
  text-align: center;
}

body.results-page .bht-results.results-xc-results tr:hover td, body.results-page .bht-results.results-xc-fences tr:hover td, body.results-page .bht-results.results-first-inspection tr:hover td, body.results-page .bht-results.results-final-inspection tr:hover td, body.results-page .bht-results.results-dressage-results tr:hover td, body.results-page .bht-results.results-final-results tr:hover td {
  background-color: #2A3034;
  color: #fff;
}

body.results-page .bht-results.results-xc-results tr:hover td a, body.results-page .bht-results.results-xc-fences tr:hover td a, body.results-page .bht-results.results-first-inspection tr:hover td a, body.results-page .bht-results.results-final-inspection tr:hover td a, body.results-page .bht-results.results-dressage-results tr:hover td a, body.results-page .bht-results.results-final-results tr:hover td a {
  color: #fff;
}

body.results-page .bht-results td.horse_name, body.results-page .bht-results td.rider_name {
  text-align: left;
}

body.results-page .bht-results .xc {
  background-color: #4A5790;
}

body.results-page .bht-results th.xc {
  text-align: center;
}

body.results-page .bht-results td.xc {
  text-align: right;
}

body.results-page .bht-results .showjump {
  background-color: #4A5790;
}

body.results-page .bht-results th.showjump {
  text-align: center;
}

body.results-page .bht-results td.showjump {
  text-align: right;
}

body.results-page .bht-results .total {
  background-color: #4A5790;
}

body.results-page .bht-results th.total {
  text-align: center;
}

body.results-page .bht-results th.total.place {
  border-right: 0;
  position: relative;
}

body.results-page .bht-results th.total.place:after {
  content: '';
  position: absolute;
  background-color: white;
  width: 3px;
  height: 50%;
  bottom: 0;
  right: -2px;
  -webkit-print-color-adjust: exact !important;
  color-adjust: exact !important;
}

@media print {
  body.results-page .bht-results th.total.place:after {
    background-color: black;
  }
}

body.results-page .bht-results th.total.place + th.rider_horse_info {
  border-left: 0;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  body.results-page .bht-results th.total.place {
    border-bottom-width: 0;
  }
  body.results-page .bht-results th.total.place:after {
    height: 100%;
  }
}

body.results-page .bht-results td.total {
  text-align: right;
}

body.results-page .bht-results .row-title {
  background-color: #4A5790;
  text-align: left;
  font-weight: bold;
}

body.results-page .bht-results .results-dressage-results .marks, body.results-page .bht-results .results-dressage-results .percent, body.results-page .bht-results .results-dressage-results .dressage-total {
  background-color: #4A5790;
}

body.results-page .bht-results tr td {
  font-size: 15px;
}

body.results-page .bht-results tr td.dressage-total.place, body.results-page .bht-results tr td.total.place {
  font-size: 18px;
}

body.results-page .bht-results tr:nth-of-type(n+4) td.dressage-total.place,
body.results-page .bht-results tr:nth-of-type(n+4) td.total.place {
  font-size: 16px;
}

body.results-page .bht-results tr:nth-of-type(-n+3) td.dressage-total.place,
body.results-page .bht-results tr:nth-of-type(-n+3) td.total.place {
  font-weight: bold;
}

body.results-page .bht-results tr td.dressage-total.average, body.results-page .bht-results tr td.dressage-total.pens, body.results-page .bht-results tr td.dressage-total.diff,
body.results-page .bht-results tr td.total.average,
body.results-page .bht-results tr td.total.pens,
body.results-page .bht-results tr td.total.diff {
  font-weight: bold;
}

body.results-page .bht-results .results-dressage-results th.marks, body.results-page .bht-results .results-dressage-results th.percent {
  text-align: center;
}

body.results-page .bht-results.results-top5 .horse_name, body.results-page .bht-results.results-top5 .rider_name {
  width: 150px;
}

body.results-page .bht-dressage-scoresheet-container {
  overflow: auto;
  width: 100%;
  margin: 0 auto 20px auto;
}

body.results-page .bht-dressage-scoresheet {
  width: 100%;
  color: #7C7C7B;
  font-family: Arial;
  font-size: 11.2px;
  line-height: normal;
  margin: 0 auto 20px auto;
  border-collapse: collapse;
  border-spacing: 0;
}

body.results-page .mobile .bht-dressage-scoresheet {
  font-size: 10.2px;
  line-height: 12px;
}

body.results-page .bht-dressage-scoresheet-container .bht-dressage-scoresheet tr:hover td {
  background-color: #ececec;
}

body.results-page .bht-dressage-scoresheet td.title {
  border-bottom-style: solid;
  border-bottom-color: #ff0000;
  font-weight: bold;
}

body.results-page .bht-dressage-scoresheet th.rider_name, body.results-page .bht-dressage-scoresheet th.horse_name {
  border-bottom-style: solid;
  border-bottom-color: #808080;
  font-weight: bold;
  width: 40%;
  text-align: left;
}

body.results-page .bht-dressage-scoresheet th.rider_info {
  border-bottom-style: solid;
  border-bottom-color: #808080;
  font-weight: bold;
  width: 10%;
  text-align: right;
}

body.results-page .bht-dressage-scoresheet .judge_name {
  font-weight: bold;
}

body.results-page .bht-dressage-scoresheet .step-number {
  width: 15px;
  vertical-align: top;
}

body.results-page .bht-dressage-scoresheet .step-codes {
  width: 90px;
  vertical-align: top;
}

body.results-page .bht-dressage-scoresheet .step-details {
  width: 400px;
  vertical-align: top;
}

body.results-page .bht-dressage-scoresheet .total {
  width: 400px;
  vertical-align: top;
  text-align: right;
}

body.results-page .bht-dressage-scoresheet .max-marks {
  background-color: silver;
  text-align: center;
  font-weight: bold;
  width: 25px;
}

body.results-page .bht-dressage-scoresheet .judge-mark {
  width: 25px;
  text-align: center;
  font-weight: bold;
}

body.results-page .bht-dressage-scoresheet .caption {
  text-align: top;
}

body.results-page .bht-dressage-scoresheet .error-caption {
  width: 400px;
  text-align: left;
  padding-right: 5px;
}

body.results-page .bht-dressage-scoresheet .total-marks-counted {
  font-weight: bold;
  text-align: right;
  padding: 5px;
  vertical-align: top;
}

body.results-page button.refreshresults {
  background-color: #4A5790;
  padding: 10px 20px;
  color: #fff;
  border: 0;
}

body.results-page button.refreshresults:hover {
  background-color: #5F70BB;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  body.results-page .results-dressage-results th.marks {
    border-bottom-width: 2px;
    border-bottom-color: #fff;
    border-bottom-style: solid;
    background-clip: padding-box;
  }
}

body.results-page .results-dressage-results th.marks {
  position: relative;
}

body.results-page .results-dressage-results th.marks:before {
  content: "";
  display: block;
  position: absolute;
  background: #4A5790;
  width: 17px;
  height: 17px;
  right: calc(-18px / 2);
  top: 0;
}

body.results-page .results-dressage-results th.marks:after {
  content: "";
  display: block;
  position: absolute;
  color: #4A5790;
  background: white;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 12px;
  right: calc(-18px / 2);
  top: 3px;
}

body.results-page .results-dressage-results th.dressage-a.marks:after {
  content: "A";
}

body.results-page .results-dressage-results th.dressage-b.marks:after {
  content: "B";
}

body.results-page .results-dressage-results th.dressage-c.marks:after {
  content: "C";
}

body.results-page .results-dressage-results th.dressage-d.marks:after {
  content: "D";
}

body.results-page .results-dressage-results th.dressage-e.marks:after {
  content: "E";
}

body.results-page .results-dressage-results th.dressage-f.marks:after {
  content: "F";
}

body.results-page .results-dressage-results th.dressage-g.marks:after {
  content: "G";
}

body.results-page .results-dressage-results th.dressage-h.marks:after {
  content: "H";
}

body.results-page .results-dressage-results th.dressage-i.marks:after {
  content: "I";
}

body.results-page .results-dressage-results th.dressage-j.marks:after {
  content: "J";
}

body.results-page .results-dressage-results th.dressage-k.marks:after {
  content: "K";
}

body.results-page .results-dressage-results th.dressage-l.marks:after {
  content: "L";
}

body.results-page .results-dressage-results th.dressage-m.marks:after {
  content: "M";
}

body.results-page .bht-results td.rider_horse_info {
  min-width: 190px;
  padding: 10px 6px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 35px;
  grid-template-columns: 1fr 35px;
  -ms-grid-rows: auto auto;
  grid-template-rows: auto auto;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  border: 0;
  position: relative;
}

body.results-page .bht-results td.rider_horse_info > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

body.results-page .bht-results td.rider_horse_info > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
}

body.results-page .bht-results td.rider_horse_info > *:nth-child(3) {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
}

body.results-page .bht-results td.rider_horse_info > *:nth-child(4) {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
}

body.results-page .bht-results td.rider_horse_info > * {
  -ms-grid-row-align: center;
      align-self: center;
}

body.results-page .bht-results td.rider_horse_info:after {
  content: '';
  display: block;
  width: 100%;
  position: absolute;
  background: white;
  bottom: -1px;
  height: 1px;
  z-index: 1;
  left: 0;
}

body.results-page .bht-results tr:last-child td.rider_horse_info:after {
  display: none;
}

body.results-page .bht-results td.rider_horse_info .rider_name {
  text-transform: uppercase;
  display: block;
  padding-left: 5px;
}

body.results-page .bht-results td.rider_horse_info .rider_name > * {
  font-weight: normal;
}

body.results-page .bht-results td.rider_horse_info .horse_name {
  display: block;
  font-size: 11px;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 10px;
}

body.results-page .bht-results td.rider_horse_info .horse_info_toggle {
  display: inline-flex;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
}

body.results-page .bht-results td.rider_horse_info .horse_info_toggle:hover, body.results-page .bht-results td.rider_horse_info .horse_info_toggle:focus, body.results-page .bht-results td.rider_horse_info .horse_info_toggle:active {
  text-decoration: none;
}

body.results-page .bht-results td.rider_horse_info .horse_info_toggle:hover .horse_info_toggle__icon img, body.results-page .bht-results td.rider_horse_info .horse_info_toggle:focus .horse_info_toggle__icon img, body.results-page .bht-results td.rider_horse_info .horse_info_toggle:active .horse_info_toggle__icon img {
  opacity: 0.4;
  transition: opacity 0.1s ease-in-out, transform 0.4s ease-in-out;
}

body.results-page .bht-results td.rider_horse_info .horse_info_toggle.open .horse_info_toggle__icon img {
  transform: rotate(180deg);
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

body.results-page .bht-results td.rider_horse_info .horse_info_toggle__icon {
  flex-shrink: 0;
  position: relative;
  top: -1px;
  padding-left: 16px;
}

body.results-page .bht-results td.rider_horse_info .horse_info_toggle__icon img {
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

body.results-page .bht-results td.rider_horse_info .horse_info_content {
  line-height: 1em;
}

body.results-page .bht-results td.rider_horse_info .horse_info_content__item {
  display: inline-block;
  font-weight: normal;
}

body.results-page .bht-results td.rider_horse_info .horse_info_content__item::after {
  display: inline-block;
  content: "-";
  padding: 0 4px;
}

body.results-page .bht-results td.rider_horse_info .horse_info_content__item:last-child::after {
  display: none;
  content: none;
  padding: 0;
}

body.results-page .bht-results td.rider_horse_info .rider_info {
  font-size: 20px;
  padding-bottom: 2px;
  -ms-grid-column: 2;
  grid-column: 2 / 2;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-row: 1 / 3;
  display: block;
  -ms-grid-row-align: start;
      align-self: start;
}

body.results-page th.rider_horse_info svg:first-child {
  margin-right: 8px;
}

body.results-page thead > tr > th.marks,
body.results-page tbody > tr > td.marks,
body.results-page thead > tr > th.rider_horse_info,
body.results-page tbody > tr > td.dressage-total.average,
body.results-page thead > tr > th.dressage:not(.place),
body.results-page thead > tr > th.xc:not(.place),
body.results-page thead > tr > th.showjump:not(.time),
body.results-page tbody > tr > td.total.pens,
body.results-page tbody > tr > td.dressage.pens,
body.results-page tbody > tr > td.xc.pens,
body.results-page tbody > tr > td.showjump.jump,
body.results-page tbody > tr > td.xc.jump,
body.results-page tbody > tr > td.fence.odd:nth-child(2) {
  border-left-width: 3px;
}

body.results-page thead > tr > th.percent,
body.results-page tbody > tr > td.percent,
body.results-page thead > tr > th.rider_horse_info,
body.results-page tbody > tr > td.dressage-total.place,
body.results-page tbody > tr > td.total.place,
body.results-page tbody > tr > td.status {
  border-right-width: 3px;
}

body.results-page .rider_info {
  text-align: center;
}

body.results-page .rider_nationality {
  position: relative;
  display: block;
  width: 35px;
  height: 23px;
  margin-top: 2px;
}

body.results-page svg.icon {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  top: 0;
  left: 0;
}

body.results-page thead th.fence a {
  color: white;
}

@media print {
  body.results-page .bht-results th,
  body.results-page .bht-results td {
    border: 1px solid #000;
  }
  body.results-page .bht-results td.rider_horse_info:after {
    background: #000;
    -webkit-print-color-adjust: exact !important;
    /* Chrome, Safari */
    color-adjust: exact !important;
    /*Firefox*/
  }
  body.results-page th.marks:before {
    background: #fff;
    -webkit-print-color-adjust: exact !important;
    /* Chrome, Safari */
    color-adjust: exact !important;
    /*Firefox*/
  }
  body.results-page th.marks:after {
    color: #000;
    -webkit-print-color-adjust: exact !important;
    /* Chrome, Safari */
    color-adjust: exact !important;
    /*Firefox*/
  }
}

/* bodge for homepage top5 on mobile - needs to be properly pulled in */
@media only screen and (max-width: 640px) {
  body.home .bht-results-container.top5 tr td {
    display: block;
  }
  body.home .bht-results-container.top5 tr td.number {
    float: left;
    margin-right: 5px;
  }
  body.home .bht-results-container.top5 tr td.points {
    padding: 0 10px 10px;
  }
}
