@font-face {
    font-family: komP;
    src: url("fonts/kom_p_regular.ttf");
  }

  @font-face {
    font-family: komS;
    src: url("fonts/kom_s.ttf");
  }

body {
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: komS;
    vertical-align:center;
    color:white;
    min-height: 100vh;
  }

a {
    color: red;
    text-decoration: none;
}

a:visited {
    color: red;
}

a:hover {
    color: red;
    text-decoration: underline;
}

.tg th { /* Table header */
    font-size: 1.2em;
    font-weight: normal;
}

.tg {
	border-collapse:separate;
	width:100%;
	text-align:left;
    border-bottom-style:outset;
    border-width: 0.15em;
    border-color: white;
}

.tg .tg-caption{
    padding: 0.3em 0.3em;
    text-align:left;
    vertical-align: bottom;
    font-size: 1.2em; /* Title of list */
    border-bottom-style:outset;
    border-width: 0.15em;
    border-color: white;
    img {
        height: 1.2em; /* KOM Logo Size */
    }
}

.tg-leaderboard {
    border-spacing: 0 1.0em; /* Visual separation between rows */
}

.tg-leaderboard td {  /* Table cell */
    height: 1.0em;
}

.tg .tg-list {
    background: rgba(255, 255, 255, 0.15);
}

.tg .tg-leaderboard {
    font-size: 1.3em; /* Default entry font size */
}

.tg .tg-bestzeit{font-weight: bold; font-size: 1.2em;} /* Size of time */
.tg .tg-rang{font-weight: bold; font-size: 1.4em; text-align: center;}
.tg .tg-datum{font-size: 1.0em;}

@media screen and (max-width: 800px) {
    
    .tg .tg-leaderboard {
        font-size: 1.0em;
    }
}

@media screen and (max-width: 600px) {
    
    .tg .tg-leaderboard {
        font-size: 1.0em;
    }
    
    .tg .tg-hide-datum {
        display: none;
    }

    .tg-bestzeit {
        font-size: 1.0em;
    }
}

@media screen and (max-width: 460px) {

    .tg .tg-hide-ort {
        display: none;
    }

    /*.nav-button {
        display: none;
    }*/
}

.swipe-hint {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 1em 0 0.5em 0;
    display: none;
}

.nav-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 0.3em 0.8em;
    font-size: 0.7em;
    font-family: komS;
    cursor: pointer;
    border-radius: 0.3em;
    margin-left: 1em;
    transition: background 0.2s;
    float: right;
    margin-right: 1em;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-button:active {
    background: rgba(255, 255, 255, 0.4);
}
.tg-legal {
    font-size: 0.6em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0.5em 0;
    font-family: 'Segoe UI';
}
