/* Copyright 2021,  Alle Rechte, einschließlich der Vervielfältigung, 
 * Veröffentlichung, Bearbeitung und Übersetzung, bleiben vorbehalten.
 * Tobias Kolzer <tobias@kolzer.email> */

body {
  font-family: arial, sans-serif;
  font-size: 16px;
}

.header img {
  display: inline;
  max-height: 80px;
}

.header h1 {
  display: inline;
  margin-left: 5px;
  font-size: 80px;
}

.topright {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 18px;
}

.debug {
  position: absolute;
  top: 20px;
  right: 16px;
  font-size: 18px;
}

.footer p{
  margin-top: 0.2cm;
  margin-bottom: 0.2cm;
  text-align: center
}

/* Info Text */
.infoText {
  margin-top: 10px;
}

.infoText p{
  
}

/* EventData */
.eventData {
  margin-top: 10px;
}
.eventData p {
  display: inline;
}
.descLabel{
  margin-left: 30px;
}
.smallSpace{
  margin-left: 10px;
}

/* Filter and Fix */
.stnFix {
  width: 30px;
}

.classFilter {
  
}
/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  /*margin-top: 10px;*/
}

th {
  border: 1px solid #dddddd;
  text-align: center;
  padding: 8px;
}

td {
  border: 1px solid #dddddd;
  text-align: center;
  padding: 8px;
  font-weight: bold;
}

/* Headers */
.rankHead{
  width: 50px;
}

.nameHead{
  width: 200px;
}

.lapHead{
  width: 50px;
}

.gapHead{
  width: 80px;
}

.stnHead{
  width: 50px;
}

.afterLeaderHead{
  width: 10px;
}

.classHead{
  width: 80px;
}

.timeHead{
  width: 100px;
}

.carHead{
  width: 100px
}

.penaltyHeader{
  width: 80px;
}

/* Rows */
.rankRow{
text-align: right;
}

.nameRow{
text-align: left;
}

.lapRow{
text-align: right;
}

.gapRow{
text-align: right;
}

.stnRow{
text-align: right;
}

.afterLeaderRow{
text-align: center;
}

.afterLeaderRow img{
width: 10px;
height: 10px;
}

.classRow{
text-align: left;
}

.timeRow{
text-align: right;
}

.penaltyRow{
text-align: right;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
}

.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

.tabcontent {
  display: none;
  border-top: none;
}