@import url("config.css");

.team-posts, .team-fixtures, .team-requests, .received-league-requests, .received-match-requests, .league-requests{
    display: none;
}

.sent-match-requests, .sent-league-requests, .received-league-requests, .received-match-requests{
    overflow-x: scroll;
}

.team-details{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.team-details table{
    border-collapse: collapse;
    width: 50%;
}

.team-requests table{
    border-collapse: collapse;
    min-width: 100%;
}

.team-details tr, .team-requests tr{
    border-bottom: 1px solid var(--primeGreen);
}

td{
    padding: 5px;
}

.display-image img{
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.display-image{
    width: 50%;
}

td:first-child {
    font-weight: bold
}

@media only screen and (max-width: 600px) {
    .team-details{
        flex-direction: column;
    }

    .team-details table, .display-image{
        width: 100%;
    }
    
    .display-image{
        padding: 10px;
    }
}

/* hide finished fixtures */
.finished-fixtures, .upcoming-fixtures{
    display: none;
}

.team-players table{
    width: 100%;
}


.league-standings table{
    border-collapse: collapse;
    width: 100%;
    max-width: 100% !important;
}

.league-standings thead{
    background-color: var(--primeGreen);
    max-width: 100% !important;
}

.league-standings th, td{
    padding: 5px;
    text-align: center;
    max-width: 100% !important;
}

.league-standings tr{
    border-bottom: 1px solid var(--primeGreen);
    max-width: 100% !important;
}

#league-standing-result{
    color: green;
}

.standings table, tr, td, thead, tbody{
    max-width: 100% !important;
}

.league-standing-league{
    display: flex;
    justify-content: left;
}