﻿section.table .list {
    padding: 20px;
    display: table;
    width: calc(100% - 40px);
    background-color: black;
    border-radius: 15px;
}

section.filtered.table .list .item.visible {
    display: table-row;
}



section.table .list a {
    display: table-row;
    /* grid-template-columns: 0px 100px auto 200px 1fr;
    gap: 0px 15px;*/
    padding: 5px;
    border-bottom: 1px solid var(--font-color);
}

section.table .list .image {
    display: none;
}

section.table .list a > * {
    display: table-cell;
    padding: 5px;
    border-bottom: 1px solid #404040;
    margin-bottom: 5px;
}

section.table .list a:last-child > * {
    border: none;
}


section.table .list .starting {
    text-align: right;
    font-size: 112%;
    width: min-content;
}

section.table .list a:hover {
    color: white;
}


section.table .list .home, section.table .list .away {
    display: inline;
}

section.table .list .separator {
    display: inline;
}

section.table .list .studio::after {
    content: ": ";
}


section.table .list .starting span {
    display: inline-block;
    margin-right: 5px;
}


section.table .list .sport, section.table .list .league,
section.table .list .gender, section.table .list .leaguePart, section.table .list .leaguePartPhase {
    font-size: 112%;
}

section.table .item .starting .date::after {
    content: none;
}

/* mobilni design */
@media screen and (max-width: 444px) {
    section.table .list{
        display:block;
    }


    section.filtered.table .list .item.visible {
        display: grid;
        grid-template-columns: auto 1fr;
        gap:0 5px;
    }

    section.table .list a > * {
        display: block;
        border-bottom: none;
        margin-bottom: 0;
        padding:0;
    }

    section.table .list a .starting {
        grid-row-start: 1;
        grid-row-end: 3;
    }

    section.table .item .starting .date {
        text-wrap: nowrap;
        min-width: 50px;
    }

    section.table .list a .sport {
        grid-row: 2;
        grid-column: 2;
    }

    section.table .list a .leagueHolder {
        grid-column: 2;
        grid-row: 3;
    }

}
