* { 
    margin: 0px;
    padding: 0px;
    font-size: 110%;
    font-family: Arial;
}

.rozbeh {
    background-color: #CCC;
    font-weight: bold;
    text-align:center;
    font-size: 300%;
}

.rozbeh-line {
    border-top: 3px solid #000;
}

.gold {
    background-color: #FFD700;
    font-weight: bold;
}

.silver {
    background-color: #C0C0C0;
    font-weight: bold;
}

.bronze {
    background-color: #CD7F32;
    font-weight: bold;
}

body {
    /*background-image: url('sdh.png');*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: 30%;
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  margin-bottom: 800px;
}

th {
    padding: 2px;
    border-bottom: 1px solid #ddd;
    background-color: #17a2b8;
    border: 1px solid #000;
    color: #FFF;
    font-size: 80%;
    text-shadow: 1px 1px 2px #000;
}

th.tabhead {
    text-shadow: 1px 1px 2px #000;
    color: #FFF;
    padding: 8px 0px;
    font-size: 110%;
    background-color: #6c757d;
    border-bottom: 2px solid #000;
}

td {
    border: 1px solid #000;
    padding: 5px;
}

:root{
  --menu-height: 0px;
}

#header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: white;
}

thead{
  position: sticky;
  top: var(--menu-height);
  z-index: 10;
}

#header ul {
    list-style: none;
    display: flex;
    gap: 12px;
}

#header ul li a {
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(135deg, #28a745, #218838);
}

#header ul li a.active {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

#copyright {
    position: sticky;
    bottom: 0px;
    background-color: #17a2b8;
    color: #FFF;
    height: 40px;
    width: 100%;
}

#copyright p {
    float: left;
    padding: 7px 10px;
}

#copyright a {
    float: right;
    padding: 13px 10px;
    color: #FFF;
}

#header {
    text-align:center;
    padding:15px;
}

#header ul{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
}

#header a{
    padding:10px 18px;
    border-radius:30px;
    font-size:16px;
    background:#28a745;
    color:white;
    text-decoration:none;
}

#header a.active{
    background:#dc3545;
}
.live-run{
    background:#c8f7c5;
}

.next-run{
    background: #d4edda;
    font-weight: bold;
}

.next-run td{
    background: #d4edda;
}

#footer{

    position:fixed;
    bottom:0;
    left:0;

    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#111;
    color:white;

    padding:6px 12px;

    font-size:15px;

    z-index:50;

    box-sizing:border-box;
}

#footer > div{
    min-width:0;
}

.footer-left{
    font-weight:bold;
    white-space:nowrap;
}

.footer-center{
    font-family:monospace;
    text-align:center;
    font-weight: bold;
}

.footer-right{

    display:flex;
    align-items:center;


    font-weight: bold;
    gap:6px;

    max-width:30%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

}

.footer-right a {
    color: #FFF;
    text-decoration: none;
}

.footer-right img{
    height:18px;
}

#header{

    position:sticky;
    top:0;

    background:white;
    z-index:40;

    padding:10px;

    border-bottom:2px solid #ddd;
}

#header ul{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));

    gap:8px;

    margin:0;
    padding:0;

    list-style:none;
}

#header ul li a{

    display:block;

    text-align:center;

    padding:10px;

    border-radius:25px;

    font-weight:bold;

    text-decoration:none;

    color:white;

    background:#28a745;

    white-space:nowrap;

}

#header ul li a.active{
    background:#dc3545;
}

#header ul li a:hover{
    background:#007bff;
}
