#table-window table {
    border-spacing: 0;
}

#table-window th {
    border-width: 3px;
    border-style: outset;
    background-color: silver;
    color: black;
    padding: 6px;
}

#table-window td {
    list-style-type: none;
    text-align: left;
    vertical-align: top;
    padding: 6px;
    height: 1px;
}

#table-window td:first-child {
    text-wrap: nowrap;
    padding-right: 12px;
}

#table-window td div {
    width: fit-content;
    margin: auto;
}

#table-window .window-content {
    background-color: white;
    color: black;
}

#table-window .window-content span {
    font-size: small;
}

#table-window .window-content a {
    all: unset;
}

#table-window .window-content a:hover {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #E5007E;
    color: white;
}

#table-window .bottom-bar {
    display: flex;
}

#table-window button {
    all: unset;
    border-width: 3px;
    border-style: inset;
    background-color: silver;
    padding: 3px;
    margin-bottom: 6px;
    margin-left: 6px;
}

#table-window .bottom-bar-title {
    flex-grow: 1;
}

#table-window form:last-child {
    margin-right: 6px;
}

#table-window form button:hover {
    color: #E5007E;
}

@media (min-width: 769px) {

    #table-window {
        width: 75%;
        max-width: 90%;
        height: 80%;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -30%);
        display: grid;
    }

    #table-window.sponsor-info {
        width: 55%;
    }

    #table-window .window-content {
        overflow: auto;
    }

}

@media (max-width: 768px) {

    #table-window {
        height: 100%;
        display: grid;
    }

    #table-window th {
        min-width: 50vw;
    }

    #table-window th:first-of-type {
        min-width: 100%;
    }

    #table-window .window-content {
        overflow: auto;
    }

    body {
        height: calc(100vh - 12em);
    }

}