@charset "UTF-8";
.inf-page-table-row img, .inf-page-body, .inf-page-footer-trackflag-container, .inf-page-footer-trackflag, .inf-timing-logo, .inf-time-of-day, .inf-page-header, .inf-page-body-with-best-values, .inf-page-footer, .inf-page-sponsor, .inf-page-sector-container, .inf-page-footer-sector-0, .inf-page-footer-sector-1, .inf-page-footer-sector-2, .inf-race-time-container, .inf-race-time, .inf-race-time-bar, .inf-page-title, .inf-page-main-info-message-container-0, .inf-page-main-info-message-container-1, .inf-circuit-title, .inf-best-values-container, .theo-best, .best-sector1-driver, .best-sector2-driver, .best-sector3-driver, .best-sector1-time, .best-sector2-time, .best-sector3-time, .inf-data-lap, .inf-data-speed, .inf-data-race-time, .inf-data-name, .inf-data-bib, .inf-data-rank, .inf-data-car, .inf-data-irm-status, .inf-page-table, .inf-page-table-row, .inf-page-table-row-header, .inf-page-table-row-item, .inf-page-table-row-header-item, .inf-page-table-row-header-item-first, .inf-page-table-row-header-item-last {
  overflow: hidden;
  width: 100%;
  height: 100%;
  font-size: inherit;
}

.inf-page-footer-trackflag-container, .inf-page-footer-trackflag, .inf-timing-logo, .inf-time-of-day, .inf-page-header, .inf-page-body-with-best-values, .inf-page-footer, .inf-page-sponsor, .inf-page-sector-container, .inf-page-footer-sector-0, .inf-page-footer-sector-1, .inf-page-footer-sector-2, .inf-race-time-container, .inf-race-time, .inf-race-time-bar, .inf-page-title, .inf-page-main-info-message-container-0, .inf-page-main-info-message-container-1, .inf-circuit-title, .inf-best-values-container, .theo-best, .best-sector1-driver, .best-sector2-driver, .best-sector3-driver, .best-sector1-time, .best-sector2-time, .best-sector3-time, .inf-data-lap, .inf-data-speed, .inf-data-race-time, .inf-data-name, .inf-data-bib, .inf-data-rank, .inf-data-car, .inf-data-irm-status, .inf-page-table, .inf-page-table-row, .inf-page-table-row-header, .inf-page-table-row-item, .inf-page-table-row-header-item, .inf-page-table-row-header-item-first, .inf-page-table-row-header-item-last {
  display: grid;
  place-items: center;
  place-content: center;
}

.inf-data-lap, .inf-data-speed, .inf-data-race-time, .inf-data-name, .inf-data-bib, .inf-data-rank, .inf-data-car, .inf-data-irm-status, .inf-page-table, .inf-page-table-row, .inf-page-table-row-header, .inf-page-table-row-item, .inf-page-table-row-header-item, .inf-page-table-row-header-item-first, .inf-page-table-row-header-item-last {
  font-size: 2vh;
  text-transform: uppercase;
}

.inf-overall-best, .inf-personal-best {
  border-radius: 0.5vh 0.5vh 0.5vh 0.5vh;
  font-weight: bolder;
  color: white !important;
}

.inf-personal-best {
  background-color: darkgreen;
  /*background: linear-gradient(to bottom, var(--info-system-personal-best-color1), var(--info-system-personal-best-color2));;*/
}

.inf-overall-best {
  background-color: darkviolet;
  /*background: linear-gradient(to bottom, var(--info-system-overall-best-color1), var(--info-system-overall-best-color2));;*/
}

.inf-best-values-container {
  grid-area: best-values;
  grid-template-columns: 10fr 1.1fr 0.03fr 0.4fr 0.7fr 0.03fr 0.4fr 0.7fr 0.03fr 0.4fr 0.7fr;
  grid-template-areas: ". theo-best . s1drv s1time . s2drv s2time . s3drv s3time";
  grid-template-rows: 100%;
  padding: 0.4vh 0 0.4vh 0;
  font-size: 2vh;
}

.theo-best, .best-sector3-driver, .best-sector2-driver, .best-sector1-driver, .best-sector3-time, .best-sector2-time, .best-sector1-time {
  color: white;
}

.best-sector3-time, .best-sector2-time, .best-sector1-time {
  background-color: darkviolet;
  border-radius: 0 0.5vh 0.5vh 0;
}

.best-sector3-driver, .best-sector2-driver, .best-sector1-driver {
  background-color: violet;
  color: black;
  border-radius: 0.5vh 0 0 0.5vh;
}

.theo-best {
  background-color: darkviolet;
  border-radius: 0.5vh;
  grid-area: theo-best;
}

.best-sector1-driver {
  grid-area: s1drv;
}

.best-sector2-driver {
  grid-area: s2drv;
}

.best-sector3-driver {
  grid-area: s3drv;
}

.best-sector1-time {
  grid-area: s1time;
}

.best-sector2-time {
  grid-area: s2time;
}

.best-sector3-time {
  grid-area: s3time;
}

:root {
  --inf-system-page-circuit-title-text1: "Circuit Title";
  --inf-system-page-circuit-title-text2: "Alternate Title";
}

.inf-circuit-title {
  grid-area: circuit-title;
  color: var(--info-system-page-title-background);
  font-weight: bold;
  text-transform: uppercase;
}

/* both texts stacked */
.inf-circuit-title::before,
.inf-circuit-title::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center; /* center the text */
  white-space: nowrap;
  transition: opacity 1s ease; /* optional for instant start fade */
}

/* text 1 visible first */
.inf-circuit-title::before {
  content: var(--inf-system-page-circuit-title-text1, "text-1");
  opacity: 1;
  animation: fadeA 10s infinite alternate-reverse;
}

/* text 2 fades in while 1 fades out */
.inf-circuit-title::after {
  content: var(--inf-system-page-circuit-title-text2, "text-2");
  opacity: 0;
  animation: fadeB 10s infinite alternate-reverse;
}

/* keyframes just modulate opacity */
@keyframes fadeA {
  0%, 35% {
    opacity: 1;
  }
  65%, 100% {
    opacity: 0;
  }
}
@keyframes fadeB {
  0%, 35% {
    opacity: 0;
  }
  65%, 100% {
    opacity: 1;
  }
}
.inf-circuit-title * {
  font-size: inherit;
}

:root {
  --info-system-single_table_row_count: 25;
  --info-system-meeting-country-flag: "";
  --info-system-color1-lightest: hsl(49, 0%, 100%);
  --info-system-color1-lighter: hsl(49, 0%, 80%);
  --info-system-color1-normal: hsl(49, 0%, 50%);
  --info-system-color1-darker: hsl(49, 0%, 30%);
  --info-system-color1-darkest: hsl(49, 0%, 10%);
  --info-system-color2-lightest: hsl(49, 0%, 100%);
  --info-system-color2-lighter: hsl(49, 0%, 80%);
  --info-system-color2-normal: hsl(49, 0%, 50%);
  --info-system-color2-darker: hsl(49, 0%, 30%);
  --info-system-color2-darkest: hsl(49, 0%, 10%);
  --info-system-color3-lightest: hsl(49, 0%, 100%);
  --info-system-color3-lighter: hsl(49, 0%, 80%);
  --info-system-color3-normal: hsl(49, 0%, 50%);
  --info-system-color3-darker: hsl(49, 0%, 30%);
  --info-system-color3-darkest: hsl(49, 0%, 20%);
  --info-system-trackflag-red: red; /* This is used for the track flag color swap animation */
  --info-system-trackflag-yellow: yellow; /* This is used for the track flag color swap animation */
  --info-system-trackflag-green: green; /* This is used for the track flag color swap animation */
  --info-system-trackflag-swap-color: none; /* This is used for the track flag color swap animation */
  --info-system-main-color: var(--info-system-color3-normal);
  --info-system-personal-best-color1: hsl(86, 62%, 76%);
  --info-system-personal-best-color2: hsl(86, 62%, 56%);
  --info-system-overall-best-color1: hsl(300, 62%, 76%);
  --info-system-overall-best-color2: hsl(300, 62%, 56%);
}

@font-face {
  font-family: "Open Sans Condensed Light";
  src: url("/fonts/open_sans/OpenSans_Condensed-Light.ttf") format("truetype"); /* Adjust the format if necessary */
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Open Sans Condensed Normal";
  src: url("/fonts/open_sans/OpenSans_Condensed-Regular.ttf") format("truetype"); /* Adjust the format if necessary */
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Open Sans SemiCondensed Regular";
  src: url("/fonts/open_sans/OpenSans_SemiCondensed-Regular.ttf") format("truetype"); /* Adjust the format if necessary */
  font-weight: 300;
  font-style: normal;
}
.hot-icon {
  animation: fadeHotIcon 120s linear forwards;
  filter: invert(75%) sepia(92%) saturate(1812%) hue-rotate(360deg) brightness(105%) contrast(105%);
  height: 60% !important;
  width: auto !important;
}

@keyframes fadeHotIcon {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.inf-page-main-info-message-container-1, .inf-page-main-info-message-container-0 {
  /*border: 1px solid var(--info-system-color3-normal); /* Adjust thickness */
  align-self: center;
  height: 90%;
  font-size: 2.2vh;
  white-space: nowrap;
  text-transform: uppercase;
}

.inf-page-main-info-message-warning-type {
  animation: info-message-colorSwap 1s ease-out forwards infinite;
}

@keyframes info-message-colorSwap {
  0% {
    color: black;
  }
  10% {
    color: white;
  }
  90% {
    color: white;
  }
  100% {
    color: var(--info-system-color1-darkest);
  }
}
.inf-page-main-info-message-container-0 {
  width: 100%;
  grid-area: main-info-message-0;
}

.inf-page-main-info-message-container-1 {
  width: 100%;
  grid-area: main-info-message-1;
}

.inf-page-main-info-message-container-1::before {
  top: 0;
}

.inf-page-main-info-message-container-1::after {
  bottom: 0;
}

.inf-page-main-info-message-container-0::before {
  top: 0;
}

.inf-page-main-info-message-container-0::after {
  bottom: 0;
}

.inf-page-title {
  grid-area: page-title;
  color: white;
  white-space: nowrap;
  font-weight: bold;
  text-transform: uppercase;
}

.inf-page-title * {
  font-size: inherit;
}

.inf-race-time-container {
  position: relative;
  grid-area: race-time;
}

.inf-race-time {
  display: flex;
  gap: 1vw;
  position: absolute;
  z-index: 1;
  color: white;
  font-weight: bolder;
  font-size: inherit;
  font-family: "Open Sans Condensed Light", sans-serif;
  justify-self: center;
}

.inf-race-time > div:empty {
  flex: 0 0 auto; /* don’t grow or shrink */
  width: 0; /* no width */
  padding: 0;
  margin: 0;
}

.inf-race-time-bar {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.inf-page-sector-container {
  grid-area: sectorflags;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 100%;
  grid-template-areas: "sectorflags1 sectorflags2 sectorflags3";
  place-content: stretch center;
}

.inf-page-footer-sector-2, .inf-page-footer-sector-1, .inf-page-footer-sector-0 {
  align-self: start;
  font-family: "Open Sans Condensed Light", sans-serif;
  font-size: 2vh;
}

.inf-page-footer-sector-0 {
  grid-area: sectorflags1;
}

.inf-page-footer-sector-1 {
  grid-area: sectorflags2;
}

.inf-page-footer-sector-2 {
  grid-area: sectorflags3;
}

.inf-page-footer-sector-active {
  animation: sector-active-colorSwap 1s ease-in-out forwards infinite;
  animation-delay: 0s;
}

@keyframes sector-active-colorSwap {
  from {
    background-color: yellow;
    color: black;
    font-weight: bold;
  }
  to {
    background-color: black;
    color: yellow;
    font-weight: bold;
  }
}
.inf-page-footer-sector-inactive {
  background-color: transparent;
  color: white;
}

.inf-page-sponsor {
  grid-area: logo;
  background-image: url("/images/logos/SRO_Motorsports_Group_logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 90%;
}

.inf-page-sponsor img {
  visibility: hidden;
}

:root {
  --info-system-background-color: #0B0602;
  --info-system-page-header-height: 5%;
  --info-system-page-body-height: 95%;
  --info-system-page-footer-height: 5%;
}

.inf-page {
  width: 100vw;
  height: 100vh;
  margin: 0;
  font-size: 2.5vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: var(--info-system-page-header-height) var(--info-system-page-body-height) var(--info-system-page-footer-height);
  grid-template-areas: "header" "body" "footer";
  background: linear-gradient(35deg, var(--sro-page-gradient-color) 0%, var(--info-system-background-color) 70%, black 100%);
  font-family: "Open Sans Condensed Light", sans-serif;
  overflow: hidden;
  place-content: stretch;
  padding: 30px;
}

.inf-page-header {
  grid-area: header;
  grid-template-columns: 3fr 3fr 3fr;
  grid-template-areas: "circuit-title logo page-title";
  grid-template-rows: 100%;
  place-content: stretch center;
  font-size: inherit;
}

.inf-page-body {
  grid-area: body;
  font-size: inherit;
}

.inf-page-body-with-best-values {
  grid-area: body;
  grid-template-columns: 100%;
  grid-template-rows: 3% 97%;
  grid-template-areas: "best-values" "body2";
}

.inf-page-footer {
  font-size: inherit;
  grid-area: footer;
  grid-template-columns: 1fr 0.3fr 0.3fr 0.3fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 45% 55%;
  grid-template-areas: "main-info-message-0 main-info-message-0 main-info-message-0 main-info-message-0 main-info-message-0 main-info-message-0 main-info-message-1 main-info-message-1 main-info-message-1 main-info-message-1" "time-of-day sectorflags sectorflags sectorflags track-flag timing-logo timing-logo . race-time race-time";
  place-content: stretch stretch;
}

.inf-page-table {
  grid-template-columns: 100%;
  grid-template-rows: repeat(var(--info-system-single_table_row_count), calc(100% / var(--info-system-single_table_row_count)));
  color: var(--info-system-main-color);
}

.inf-page-table-row {
  grid-template-rows: 100%;
  overflow: visible;
}

.inf-page-table-row img {
  object-fit: scale-down;
}

.inf-page-table-row-header {
  grid-template-rows: 100%;
  overflow: visible;
}

.inf-page-table-row:nth-child(odd) {
  background-color: var(--info-system-background-color);
}

.inf-page-table-row:nth-child(even) {
  background-color: #1B1612;
}

.inf-page-table-row-header-item-last {
  width: 100%;
}

.inf-data-name {
  justify-content: start;
}

.inf-data-result-override-icon, .inf-data-irm-icon, .inf-data-chequered-icon, .inf-data-arrow-up, .inf-data-arrow-down {
  width: 80%;
  height: 80%;
}

.inf-data-arrow-down {
  fill: indianred;
}

.inf-data-arrow-up {
  fill: forestgreen;
}

.inf-data-irm-status {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.3vh;
  color: white;
  background-color: darkred;
  overflow: hidden;
}

.inf-page-table-row-item.inf-data-finished {
  border-radius: 0.5vh;
  background-color: white !important;
  color: black !important;
}

div.inf-page-table-row-item.inf-data-result-override {
  border-radius: 0.5vh;
  background-color: yellow !important;
  color: black !important;
}

div.inf-page-table-row-item.inf-data-irm {
  border-radius: 0.5vh;
  background-color: darkred !important;
  color: white !important;
}

.inf-page-table-row-item.inf-data-in-pitlane {
  color: indianred;
  font-weight: bold;
  /* sharp flip, back and forth, forever */
  /*animation: toggleFlag 1s linear infinite alternate;*/
}

@keyframes toggleFlag {
  0%, 66% {
    background-color: dodgerblue;
  }
  100% {
    background-color: transparent;
    color: white;
  }
}
.inf-time-of-day {
  grid-area: time-of-day;
  color: inherit;
  font-weight: bold;
}

.inf-timing-logo {
  grid-area: timing-logo;
  background-image: url("/images/logos/swiss_timing.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 70%;
}

.inf-page-footer-trackflag-container {
  align-self: start;
  font-family: "Open Sans Condensed Light", sans-serif;
  font-size: 2.5vh;
  grid-area: track-flag;
  position: relative;
}

.inf-page-footer-trackflag {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@keyframes trackflag-colorSwap {
  from {
    background-color: var(--info-system-trackflag-swap-color);
    color: black;
  }
  to {
    background-color: black;
    color: var(--info-system-trackflag-swap-color);
  }
}
.inf-page-footer-trackflag-green {
  background-color: limegreen;
}

.inf-page-footer-trackflag-yellow {
  animation: trackflag-colorSwap 1s ease-in-out forwards infinite;
}

.inf-page-footer-trackflag-red {
  animation: trackflag-colorSwap 1s ease-in-out forwards infinite;
}

.inf-page-footer-trackflag-chequered {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: inline-block;
}

.inf-page-footer-trackflag-code60 {
  animation: trackflag-colorSwap 1s ease-in-out forwards infinite;
}

.inf-page-footer-trackflag-safetycar {
  animation: trackflag-colorSwap 1s ease-in-out forwards infinite;
}

.inf-page-footer-trackflag-text {
  color: black;
}

.content-to-transform {
  display: inherit;
  color: inherit;
}
