[heats] {
  padding-bottom: calc(1.2rem * 2);
}
[heats] .no-race-data {
  width: 100%;
  text-align: center;
}
[heats] .heat-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
[heats] .heat {
  padding: 0 1.2rem;
}
[heats] .heat.in-marshalling::before {
  content: "Now Marshaling";
  width: calc(100% - calc(1.2rem * 3));
  left: calc(1.2rem * 0.5);
  position: absolute;
  background-color: #c44d58;
  color: #fff;
  padding: 1.2rem;
  border-radius: 1.2rem;
  text-align: center;
  font-weight: 500;
  height: calc(100% - calc(1.2rem * 2));
}
[heats] .heat.in-marshalling .heat-wrapper {
  margin-top: calc(1.2rem * 3.4);
  margin-bottom: 1.2rem;
}
[heats] .heat.pre-marshalling::before {
  content: "Pre-Marshaling";
  width: calc(100% - calc(1.2rem * 3));
  left: calc(1.2rem * 0.5);
  position: absolute;
  background-color: #444444;
  color: #fff;
  padding: 1.2rem;
  border-radius: 1.2rem;
  text-align: center;
  font-weight: 500;
  height: calc(100% - calc(1.2rem * 2));
}
[heats] .heat.pre-marshalling .heat-wrapper {
  margin-top: calc(1.2rem * 3.4);
  margin-bottom: 1.2rem;
}
[heats] .heat.on-water::before {
  content: "On The Water";
  width: calc(100% - calc(1.2rem * 3));
  left: calc(1.2rem * 0.5);
  position: absolute;
  background-color: #2390a6;
  color: #fff;
  padding: 1.2rem;
  border-radius: 1.2rem;
  text-align: center;
  font-weight: 500;
  height: calc(100% - calc(1.2rem * 2));
}
[heats] .heat.on-water .heat-wrapper {
  margin-top: calc(1.2rem * 3.4);
  margin-bottom: 1.2rem;
}
[heats] .heat.is-racing::before {
  content: "Racing";
  width: calc(100% - calc(1.2rem * 3));
  left: calc(1.2rem * 0.5);
  position: absolute;
  background-color: #559f48;
  color: #fff;
  padding: 1.2rem;
  border-radius: 1.2rem;
  text-align: center;
  font-weight: 500;
  height: calc(100% - calc(1.2rem * 2));
}
[heats] .heat.is-racing .heat-wrapper {
  margin-top: calc(1.2rem * 3.4);
  margin-bottom: 1.2rem;
}
[heats] .heat .heat-wrapper {
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 1.2rem;
  padding: 1.2rem;
  height: 100%;
}
[heats] .heat .heat-header {
  width: 100%;
  height: 9rem;
  display: flex;
  align-items: center;
  padding: 0 0 1.2rem 0;
}
[heats] .heat .heat-header .heat-number {
  width: 8rem;
  height: 9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 200;
  font-size: 5rem;
  line-height: 4rem;
  flex-grow: 0;
}
[heats] .heat .heat-header .heat-information {
  display: flex;
  flex-direction: column;
  padding-left: 1.2rem;
  flex-grow: 1;
}
[heats] .heat .heat-header .heat-name {
  font-weight: 500;
  font-size: 1.8rem;
  flex-grow: 1;
  font-family: "Roboto Condensed", "Roboto", sans-serif;
}
[heats] .heat .heat-header .heat-time {
  padding-top: 0.4rem;
  flex-grow: 0;
  font-size: 1.4rem;
  color: #777;
  font-weight: 400;
}
[heats] .heat .heat-header .heat-photos {
  flex-grow: 0;
}
[heats] .heat .heat-header .heat-photos.photos-shown .icon .no-camera {
  display: block;
}
[heats] .heat .heat-header .heat-photos.photos-shown .icon .camera {
  display: none;
}
[heats] .heat .heat-header .heat-photos .icon {
  width: 4.4rem;
  height: 4.4rem;
  padding: calc(1.2rem / 2);
  border-radius: 1.2rem;
}
[heats] .heat .heat-header .heat-photos .icon img {
  width: 100%;
}
[heats] .heat .heat-header .heat-photos .icon .no-camera {
  display: none;
}
[heats] .heat .heat-notes {
  margin-top: 1.2rem;
  border-top: solid 0.1rem #ddd;
  padding: 1.2rem 0 0 0;
  font-size: 1.4rem;
  color: #777;
}
[heats] .heat .heat-notes:last-of-type {
  margin-bottom: 1.2rem;
}
[heats] .heat .heat-notes.adjustment.has-adjustment,
[heats] .heat .heat-notes.needs-review,
[heats] .heat .heat-notes.awaiting-results {
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  color: #f38630;
  font-weight: 400;
}
[heats] .heat .heat-notes.adjustment.has-adjustment .icon,
[heats] .heat .heat-notes.needs-review .icon,
[heats] .heat .heat-notes.awaiting-results .icon {
  padding: 0 1.2rem;
}
[heats] .heat .heat-notes.needs-review {
  background-color: #fffa90;
  color: #556270;
  border-radius: 1.2rem;
  padding: calc(1.2rem / 2);
}
[heats] .heat .heat-notes.awaiting-results {
  color: #6fb862;
}
[heats] .heat.published table td.place {
  font-weight: 400;
  color: #222222;
}
[heats] .heat.published table td.lane {
  color: #c1c8d0 !important;
}
[heats] table .lane,
[heats] table .place {
  text-align: center;
  width: 1px;
}
[heats] table .time {
  text-align: right;
}
[heats] table .time .time-adjustment {
  font-weight: 800;
}
[heats] table .time .time-adjustment.minus {
  color: #6e9b0b;
}
[heats] table .time .time-adjustment.add {
  color: #ba3e49;
}
[heats] table th {
  color: #96a2af;
}
[heats] table tr.highlight td,
[heats] table tr.highlight th {
  font-weight: 500 !important;
  color: #222222 !important;
}
[heats] table tr .fastest-time-info {
  margin: calc(1.2rem / 3) 0 0 0;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 500;
  padding: calc(1.2rem / 3) 1.2rem;
  background-color: #b038dc;
  display: inline-block;
  border-radius: 1.2rem;
}
[heats] table tr .fastest-time-info.team {
  background-color: #b6f134;
  color: #111;
}
[heats] .race-photo {
  border-bottom: 0;
}
[heats] .race-photo td {
  padding: 1.2rem 0;
}
[heats] .race-photo img {
  width: 100%;
}
[heats] .link-heat {
  color: #4f86a5;
}
[heats] .link-heat:hover {
  color: #3e6a83;
}
@media screen and (min-width: 769px) {
  [heats] {
    padding-left: 1.2rem;
  }
  [heats] .heat-grid {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
  }
  [heats] .heat {
    width: calc(50% - 1.2rem);
    padding: 0;
  }
  [heats] .heat.in-marshalling,
  [heats] .heat.pre-marshalling,
  [heats] .heat.is-racing,
  [heats] .heat.on-water {
    padding-bottom: calc(1.2rem * 4);
  }
  [heats] .heat.in-marshalling::before,
  [heats] .heat.pre-marshalling::before,
  [heats] .heat.is-racing::before,
  [heats] .heat.on-water::before {
    width: calc(100% - 1.2rem);
    left: calc(1.2rem / 2 * -1);
  }
}
@media screen and (min-width: 1153px) {
  [heats] .heat {
    width: calc(33.33% - 1.2rem);
    padding: 0;
  }
}
@media screen and (min-width: 1536px) {
  [heats] .heat {
    width: calc(25% - 1.2rem);
    padding: 0;
  }
}
