body {
    font-family: "Arial";
    width: 100%;
    height: 100%;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#tables {
    flex: 1;
}
button {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: black;
    border: 3px solid black;
    height: 45px;
    cursor: pointer;
    transition: background-color 0.3s ease, filter 0.3s ease;
    background-color: white;
}
button:hover {
    filter: brightness(0.9);
}

/* Main Divy */
.maindiv {
    display: flex;
    justify-content: center;
    margin: 25px 7.5px 50px 7.5px;
}

/* Hlavička */
header {
    height: 75px;
    background-color: #EFEFEF;
    padding: 15px;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 4px solid darkgray;
}
header a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    font-size: 30px;
    width: 228px;
}
header h2 {
    margin: 0 0 0 7.5px;
    font-size: 30px;
}
header h1 {
    font-size: 30px;
    flex: none;
}
header div {
    flex: 1;
}
header div.rightdiv {
    display: flex;
    justify-content: right;
}
#logo {
    width: 60px;
}
@media only screen and (max-width: 800px) {
    #header {
        height: 50px;
    }
    header a {
        width: 151px;
    }
    header h1 {
        display: none;
    }
    header h2 {
        font-size: 20px;
        margin: 0 0 0 5px;
    }
    #logo {
        width: 40px;
    }
}

/* Tabulka */
table {
    text-align: left;
    border-collapse: collapse;
    border: 3px solid black;
    margin: 7.5px 37.5px;
    font-size: 18px;
}
table td {
    height: 30px;
    padding: 0 10px;
    border-right: 1.5px solid black;
    border-bottom: 1.5px solid black;
}
thead {
    background-color: #fff2cc;
    border-bottom: 3px solid black;
    height: 40px;
}
thead.dokumentshead {
    background-color: #d0e0e3;
}
th {
    padding: 0 10px;
    border-right: 1.5px solid black;
}
table img {
    height: 25px;
    padding-top: 3px;
}
#logoth {
    text-align: center;
    border-right: 1.5px solid darkgrey;
}
.logotd {
    border-right: 1.5px solid darkgrey;
    text-align: center;
}
.logotd img {
    height: 25px;
}
.odkaztd {
    text-align: center;
    border-right: 1.5px solid black;
}
.odkaztd a {
    margin: 0 2.5px;
}
.odkaztd a img {
    transition: filter 0.3s ease;
}
.odkaztd a img:hover {
    filter: brightness(0.9);
}
.tableimgsmaller {
    height: 23px;
}
#turnaj {
    width: 450px;
}
#datum {
    width: 125px;
}
#vitez {
    width: 55px;
}
#odkaz,
#spotify {
    width: 60px;
    text-align: center;
}
.season {
    background-color: #d9d9d9;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    height: 27.5px;
}

#dokument {
    width: 200px;
}
#aktualizace {
    width: 200px;
}
#stazeni {
    width: 370px;
}
table a {
    color: black;
    text-decoration: none;
}
.stazenitd a {
    transition: color 0.3s ease;
}
.stazenitd a:hover {
    color: #555555;
}
img.innerimg {
    height: 15px;
    padding-right: 5px;
}

@media only screen and (max-width: 730px) {
    .turnaj {
        display: none;
    }
    .hidea {
        display: none;
    }
    #logoth {
        border-right: 1.5px solid black;
    }
    .logotd {
        border-right: 1.5px solid black;
    }
    #stazeni {
        width: 35px;
        text-align: center;
    }
    td.stazenitd {
        text-align: center;
    }
    .stazenitd a {
        transition: filter 0.3s ease;
    }
    .stazenitd a:hover {
        filter: brightness(0.9);
    }
    img.innerimg {
        height: 25px;
    }
}

/* Patička */
footer {
    position: relative;
    background-color: #5c5c5c;
    padding: 15px;
    text-align: center;
}
footer button {
    margin: 0 auto 15px auto;
}
footer button img {
    width: 15px;
    margin-right: 7.5px;
}
footer span {
    font-size: 15px;
    color: white;
}
footer a {
    font-size: 15px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    cursor: pointer;
}
footer a:hover {
    color: #000000;
}
footer img.gplogo {
    height: 40px;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translate(0, -50%);
}
@media only screen and (max-width: 420px) {
    footer img.gplogo {
        top: auto;
        bottom: 1vw;
        right: 3vw;
        height: 20px;
    }
}