@import url("config.css");

.league-posts, .league-fixtures, .league-requests, .received-league-requests{
    display: none;
}

.league-details{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.league-details table{
    border-collapse: collapse;
    width: 50%;
}

.league-requests table{
    border-collapse: collapse;
    min-width: 100%;
}

.league-details tr{
    border-bottom: 1px solid var(--primeGreen);
}

td{
    padding: 5px;
}

.display-image img{
    max-width: 100%;
    width: 100%;
}

td:first-child {
    font-weight: bold
}

@media only screen and (max-width: 600px) {
    .league-details{
        flex-direction: column;
    }

    .league-details table, .display-image{
        width: 100%;
    }
    
    .display-image{
        padding: 10px;
    }
}

/* hide finished fixtures */
.finished-fixtures, .upcoming-fixtures{
    display: none;
}

.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;
}

.delete-standing{
    cursor: pointer;
    background-color: #c10101;
    color: #f1f1f1;
    padding: 5px;
    border: none;
    transform: var(--mainTransition);
    border-radius: 5px;
}

.delete-standing:hover{
    background-color: #9a0f0f;
}