.rounds__navigation {
    margin-bottom: 2rem;
}

.rounds__dropdown__head {
    display: none
}

.rounds__dropdown__select {
    background-color: var(--primary-color);
    color: #fff;
}

.rounds__dropdown .select__wrapper {
    color: #fff;
    width: 100%;
}

.matches-list {
    width: 100%;
    margin-bottom: 1rem;
    overflow: hidden
}

.matches-list__header {
    color: var(--font-color--light);
    padding: 1rem 0;
}

.matches-list__match-row {
    display: flex;
    padding: 0 .5rem;
    align-items: center;
    border-bottom: 1px solid #C5C5C5;
    min-height: 3.5rem;
    width: 100%;
    column-gap: 1rem;
}

.matches-list .matches-list__match-row:nth-child(2) {
    border-top: 1px solid #C5C5C5;
}

.matches-list .matches-list__match-row:nth-child(2n) {
    background-color: #eceff1;
}

.matches-list__match-row__match-cell {
    min-width: 0;
    flex: 1 0 0;
    column-gap: .5rem;
}

.matches-list__match-row__match-cell__team {
    text-align: left;
    font-weight: 600;
    display: flex;
    flex: 2 0 0;
    align-items: center;
    justify-content: space-between;
}

.matches-list__match-row__match-cell__team--away {
    flex-direction: row-reverse;
}

.matches-list__match-row__match-cell__score {
    text-align: center;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: .125rem;
    flex: 0 0 2.6rem;
}

.matches-list__match-row__match-cell__score__details--halftime {
    font-size: .75rem;
    color: var(--font-color--light);
    font-weight: normal;
}

.matches-list__match-row__match-cell__detail {
    text-align: right;
    font-size: .875rem;
}

.matches-list__match-row__match-cell__round {
    display: none;
}

.round__name {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.matches-list__match-row__match-cell__date {
    display: none;
}

.matches-list__match-row__match-cell__detail a:not(:hover) {
    color: var(--font-color);
    text-decoration: underline;
}

.round__data-grid__main {
    grid-area: main;
}

.round__data-grid__main__panel {
    width: 100%;
    margin-bottom: 2rem;
}

.round__data-grid_sidebar {
    grid-area: sidebar;
}


.round__ranking__table {
    margin-top: 1rem;
    font-size: .875rem
}

.round__ranking__table th {
    line-height: 1.2;
    border-bottom: 2px solid black;
    text-align: left;
}

.round__ranking__table td {
    text-align: right;
    padding: .75rem .5rem;
    border-bottom: 1px solid #C5C5C5;
}

.round__ranking__table td.round__ranking__table__teamlogo {
    padding: 0;
}

.round__ranking__table__rank,
.round__ranking__table__teamname,
.round__ranking__table__points {
    font-weight: 600;
}

.round__ranking__table td.round__ranking__table__teamname {
    text-align: left;
}

.round__pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.round__pagination__prev {
    align-self: flex-start;
}

.round__pagination__next {
    align-self: flex-end;
    margin-left: auto;
}

.round__pagination__button {
    font-weight: normal;
}

.round__pagination__next .round__pagination--text::after {
    font-family: 'FontAwesome';
    content: '\f178';
    margin-left: .5rem;
}

.round__pagination__prev .round__pagination--text::before {
    font-family: 'FontAwesome';
    content: '\f177';
    margin-right: .5rem;
}

@media only screen and (min-width: 1024px) {

    .round__data-grid__main__panel {
        border: 1px solid #C5C5C5;
        height: auto;
        padding: 2rem;
    }

    .rounds__dropdown__head {
        display: flex;
    }

    .rounds__dropdown {
        position: relative;
        color: var(--primary-color);
        font-size: 1.125rem;
        font-weight: 600;
    }

    .rounds__dropdown .select__wrapper {
        position: static;
        display: block;
    }

    .rounds__dropdown:hover {
        color: var(--primary-color--dark);
    }

    .rounds_dropdown__icon {
        font-size: .9rem;
        margin-left: .25rem;
    }

    .rounds_dropdown__icon::before {
        content: "\f078";
        font-family: 'FontAwesome';
    }

    .rounds__dropdown__select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: auto;
        font-size: 1.125rem;
        padding-right: 1rem;
    }

    .round__pagination {
        margin: 0 2rem;
    }

    .round__pagination__button {
        background: none;
        color: var(--font-color);
        padding-left: 0;
        padding-right: 0;
    }

    .round__pagination__button:hover {
        background: none;
    }

    .round__ranking__headline {
        background: var(--primary-color);
        color: white;
        display: block;
        width: 100%;
        padding: 1rem;
        font-size: 1.375rem;
    }

    .matches-list__match-row__match-cell__round {
        flex: 0 1 3rem;
        display: flex;
    }

    .matches-list__match-row__match-cell__date {
        flex: 0 1 4rem;
        display: flex;
    }
}
