@font-face {
  font-family: "Space Grotesk";
  src: url("/css/SpaceGrotesk.woff2");
}

@font-face {
  font-family: "Lato";
  font-weight: 400;
  src: url("LatoLatin-Regular.woff2");
}

@font-face {
  font-family: "Lato";
  font-weight: 700;
  src: url("LatoLatin-Bold.woff2");
}

@font-face {
  font-family: "Lato";
  font-weight: 900;
  src: url("LatoLatin-Black.woff2");
}

@font-face {
  font-family: "Roboto";
  font-weight: 400;
  src: url("Roboto-Regular.ttf");
}

@font-face {
  font-family: "Roboto";
  font-weight: 500;
  src: url("Roboto-Medium.ttf");
}

@font-face {
  font-family: "Roboto";
  font-weight: 300;
  src: url("Roboto-Light.ttf");
}

body {
  background-color: transparent;
}

.competition-widget {
  width: 64rem;
}

body.custom-tsn .competition-widget {
  width: unset;
}

.header {
  padding: 2rem 4rem;
}

body.custom-tsn .header {
  height: 6rem;
  padding: 1rem 0rem;
  display: flex;
}

body.custom-tsn .header-aligner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.custom-tsn .partner-logo {
  padding-left: 1.75rem;
  padding-right: 1rem;
  height: 100%;
}

body.custom-tsn.light .partner-logo {
  filter: invert(100%);
}

.title {
  color: #ffffff;
  border-left: 0.75rem solid #ffffff;
  padding-left: 1.25rem;
  font-size: 1.75rem;
  line-height: 2rem;
  font-weight: 700;
  font-family: "Space Grotesk";
}

body.custom-tsn .title {
  border-left: none;
  font-weight: 500;
  font-family: "Roboto";
  text-transform: uppercase;
}

body.custom-tsn.light .title {
  color: #000000;
  border-left: 0rem;
}

.round {
  color: #f7f7f8;
}

.season-ended-message {
  padding-top: 2rem;
  padding-left: 4rem;
  background: #10161d;
}

.season-ended-message-first-line {
  color: #ffffff;
  font-size: 1.75rem;
  font-family: Space Grotesk;
  font-weight: 700;
}

.season-ended-message-second-line {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.3125rem;
  color: #9a9da0;
  font-family: Space Grotesk;
  font-weight: 700;
}

.rounds {
  padding-top: 1rem;
  display: flex;
  flex-direction: row;
  overflow-y: scroll;
}

.round {
  flex: none;
  height: 4rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-family: "Lato";
  font-weight: 400;
}

body.custom-tsn .round {
  font-family: "Roboto";
  font-weight: 300;
}

.section-date {
  padding-left: 4rem;
  height: 5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.section-date-heading {
  padding-left: 1.25rem;
  font-family: "Lato";
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.5rem;
}

.body.custom-tsn .section-date-heading {
  font-weight: 300;
  font-family: "Roboto";
}

.event {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 7.5rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.date-time-block {
  width: 8.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-time-box {
  height: 2rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  border-radius: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.125rem;
}

.event-time-text {
  font-family: "Lato";
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.375rem;
}

body.custom-tsn .event-time-text {
  font-family: "Roboto";
  font-weight: 500;
}

.event-date-text {
  padding-top: 0.125rem;
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.1875rem;
}

.body.custom-tsn .event-date-text {
  font-family: "Roboto";
  font-weight: 400;
}

.separator {
  height: 4.125rem;
}

.game-block {
  height: 100%;
  width: 40rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.competitors {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.competitor-text {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.custom-tsn .competitor-text {
  font-family: "Roboto";
  font-weight: 500;
}

.competitor-text-secondary {
  padding-top: 0.5rem;
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.custom-tsn .competitor-text-secondary {
  font-family: "Roboto";
  font-weight: 400;
}

.badge-box {
  width: fit-content;
  height: 2rem;
  border-radius: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.badge-text {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.375rem;
}

body.custom-tsn .badge-text {
  font-family: "Roboto";
  font-weight: 500;
}

.badge-text-live {
  text-transform: uppercase;
}

.streaming-services-block {
  padding-left: 1rem;
  width: 30.875rem;
  display: flex;
  flex-direction: row;
  overflow-y: scroll;
}

.single-streaming-service {
  flex: none;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.streaming-service-icon-container {
  width: 4rem;
  height: 4rem;
  margin-right: 0.375rem;
}

.streaming-service-icon-zero-offers-rectangle {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.375rem;
}

.streaming-service-icon-zero-offers-icon {
  font-size: 1.8125rem;
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
}

body.custom-tsn .streaming-service-icon-zero-offers-icon {
  font-family: "Roboto";
  font-weight: 300;
}

.zero-offers-text-container {
  margin-left: 0.375rem;
  width: 11.875rem;
  display: flex;
  align-items: center;
}

.zero-offers-text {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.1875rem;
}

body.custom-tsn .zero-offers-text {
  font-family: "Roboto";
  font-weight: 300;
}

.streaming-service-icon-image {
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
}

.streaming-service-details {
  height: 100%;
  margin-left: 0.375rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.streaming-service-details-first-line {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.375rem;
}

body.custom-tsn .streaming-service-details-first-line {
  font-family: "Roboto";
  font-weight: 500;
}

.streaming-service-details-second-line {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.1875rem;
}

body.custom-tsn .streaming-service-details-second-line {
  font-family: "Roboto";
  font-weight: 400;
}

input[type="checkbox"] {
  display: none;
}

.toggle-wrapper {
  padding-right: 4rem;
}

.toggle-label {
  display: block;
  cursor: pointer;
  transform: rotate(135deg);
}

.toggle-label::before {
  content: " ";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
}

.toggle:checked + .toggle-label::before {
  transform: rotate(180deg);
}

.events-collapsed {
  display: none;
}

body.dark .competition-widget {
  background-color: #000000;
}

body.dark .selected-round {
  opacity: 1;
  border-bottom: solid 0.25rem #ffffff;
}

body.dark .non-selected-round {
  opacity: 0.4;
}

body.dark .section-date {
  background-color: #10161d;
}

body.dark .section-date-heading {
  border-left: 0.75rem solid #ffffff;
  color: #f7f7f8;
}

body.dark .event:nth-of-type(even) {
  background-color: #0b1014;
}

body.dark .event:nth-of-type(odd) {
  background-color: #000000;
}

body.dark .event-time-box {
  background: rgba(255, 255, 255, 0.12);
}

body.custom-tsn.light .event:nth-of-type(odd) .event-time-box {
  background: rgba(230, 230, 230, 0.7);
  // TODO opacity
}

body.light.custom-tsn .event:nth-of-type(even) .event-time-box {
  background-color: rgba(222, 220, 219, 0.7);
  // TODO opacity
}

body.dark .event-time-text {
  color: #ffffff;
}

body.dark .event-date-text {
  color: #b9babf;
}

body.dark .separator {
  border-right: 0.0625rem solid #ffffff;
}

body.dark.custom-tsn .separator {
  border-right: 0.08rem solid #ffffff;
}

body.light.custom-tsn .separator {
  border-right: 0.08rem solid #000000;
}

body.dark .competitor-text {
  color: #f7f7f8;
}

body.dark .competitor-text-secondary {
  color: #f7f7f8;
}

body.dark .badge-box-live {
  background: rgba(238, 196, 43, 0.2);
}

body.dark .badge-box-generic {
  background: #222c38;
}

body.dark .badge-box-upcoming {
  background: #c6c8cd;
}

body.dark .badge-text-live {
  color: #eec42b;
}

body.dark .badge-text-generic {
  color: #c6c8cd;
}

body.dark .badge-text-upcoming {
  color: #10161d;
}

body.dark .streaming-service-icon-zero-offers-rectangle {
  background: #222c38;
}

body.dark .streaming-service-icon-zero-offers-icon {
  color: #d9d9d9;
}

body.dark .zero-offers-text {
  color: #f7f7f8;
}

body.dark .streaming-service-details-first-line {
  color: #f7f7f8;
}

body.dark .streaming-service-details-second-line-primary {
  color: #c6c8cd;
}

body.dark .streaming-service-details-second-line-secondary {
  color: #94abff;
}

body.dark .toggle-label::before {
  border-top: 0.1875rem solid #fff;
  border-right: 0.1875rem solid #fff;
}

body.light .competition-widget {
  background-color: #000000;
  color: #ffffff;
}

body.light.custom-tsn .competition-widget {
  background-color: #ffffff;
  color: #000000;
}

body.light .selected-round {
  opacity: 1;
  border-bottom: solid 0.25rem #ffffff;
}

body.light .non-selected-round {
  opacity: 0.4;
}

body.light .section-date {
  background-color: #10161d;
}

body.light.custom-tsn .section-date {
  background-color: #eeecea;
}

body.light .section-date-heading {
  border-left: 0.75rem solid #ffffff;
  color: #f7f7f8;
}

body.light.custom-tsn .section-date-heading {
  border-left: 0.75rem solid #000000;
  color: #000000;
}

body.light .event:nth-of-type(even) {
  background-color: #f7f7f7;
}

body.light.custom-tsn .event:nth-of-type(even) {
  background-color: #eeecea;
}

body.light .event:nth-of-type(odd) {
  background-color: #ffffff;
}

body.light .event-time-text {
  color: #000000;
}

body.light .event-date-text {
  color: #111924;
}

body.light .separator {
  border-right: 0.0625rem solid #000000;
}

body.light .competitor-text {
  color: #111924;
}

body.light .competitor-text-secondary {
  color: #111924;
}

body.light.custom-tsn .badge-box {
  background: #e1deda;
}

body.light .badge-box-live {
  background: rgba(238, 196, 43, 0.2);
}

body.light .badge-box-generic {
  background: #222c38;
}

body.light .badge-box-upcoming {
  background: #f2f2f2;
}

body.light .badge-text-live {
  color: #fbc500;
}

body.light .badge-text-generic {
  color: #f7f7f7;
}

body.light.custom-tsn .badge-text {
  color: #4e4c4a;
}

body.light .badge-text-upcoming {
  color: #111924;
}

body.light .streaming-service-icon-zero-offers-rectangle {
  background: #d9d9d9;
}

body.light .streaming-service-icon-zero-offers-icon {
  color: #222c38;
}

body.light .zero-offers-text {
  color: #111924;
}

body.light .streaming-service-details-first-line {
  color: #111924;
}

body.light .streaming-service-details-second-line-primary {
  color: #657182;
}

body.light .streaming-service-details-second-line-secondary {
  color: #94abff;
}

body.light.custom-tsn .streaming-service-details-second-line-primary {
  color: #939190;
  // TODO exact colour?
}

body.light.custom-tsn .streaming-service-details-second-line-secondary {
  color: #8c8369;
  // TODO exact colour?
}

body.light .toggle-label::before {
  border-top: 0.1875rem solid #ffffff;
  border-right: 0.1875rem solid #ffffff;
}

body.light.custom-tsn .toggle-label::before {
  border-top: 0.1875rem solid #000000;
  border-right: 0.1875rem solid #000000;
}
