body {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
.competition-season-selector {
    margin: 10px 0 0 0;
}

.competition-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 3rem;
    margin-bottom: 8px;
    padding-top: 0.6rem;
}

.competition-heading-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

h1.competition-heading-title {
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 500;
    color: #3a3a3a;
    letter-spacing: normal;
}

.season-stepper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 3rem;
    padding-top: 0.4rem;
}

.season-stepper .button {
    flex-shrink: 0;
}

.season-stepper .button.disabled {
    opacity: 0.28;
    cursor: default;
    pointer-events: none;
}

.season-stepper .button.disabled:hover {
    background: none;
}

a.season-stepper-name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 28px;
    padding: 6px 4px;
    min-width: 4.5rem;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    color: #000000;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    border-radius: 3px;
}

a.season-stepper-name:hover {
    background-color: #e8e8e8;
    color: #000000;
}

#season_picker_modal {
    width: 90%;
    max-width: 480px;
    overflow-x: hidden;
}

#season_picker_modal .modal-content {
    overflow-x: hidden;
}

.season-picker-title {
    margin: 0 0 16px 0;
    font-size: 1.3rem;
    color: #3a3a3a;
}

.season-picker-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 55vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.season-picker-item-wrap {
    list-style: none;
    margin: 0;
    padding: 0;
}

a.season-picker-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.75rem;
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #ffffff;
    color: #333333;
    text-decoration: none;
    text-transform: none;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

a.season-picker-item:hover {
    background-color: #e8e8e8;
    color: #333333;
}

a.season-picker-item.active {
    background-color: #107db7;
    border-color: #107db7;
    color: #ffffff;
}

@media (max-width: 600px) {
    .competition-season-selector {
        min-height: 88px;
    }

    .competition-heading {
        padding-top: 0.4rem;
    }

    .competition-heading-logo {
        width: 32px;
        height: 32px;
    }

    h1.competition-heading-title {
        font-size: 1.1rem;
    }

    .season-stepper {
        justify-content: flex-start;
        padding-top: 0;
        min-height: 2.5rem;
        margin-bottom: 8px;
    }
}

@media (min-width: 601px) {
    .competition-season-selector {
        min-height: 64px;
    }

    .competition-heading {
        margin-bottom: 0;
        padding-top: 1.1rem;
    }

    .season-stepper {
        padding-top: 0.7rem;
    }
}

#loading_spinner {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.game-group-title {
    width: 100%;
    font-size: 24px;
    color: #3a3a3a;
    font-weight: 400;
    border-bottom: #3a3a3a solid 1px;
    margin: 0;
}

.round-title {
    border-bottom: #adadad solid 1px;
    margin: 0;
    padding-bottom: 10px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.round-title .round-name {
    font-weight: bold;
    color: black;
    font-size: 18px;
}

.button {
    background: none;
    font-size: 25px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    text-transform: none;
    text-decoration: none;
    color: black;
    padding: 5px;
    border-radius: 3px;
}

.button:hover {
    background-color: #e8e8e8;
}

.overview {
    border-bottom: #adadad solid 1px;
}

.overview:hover {
    background-color: #ebebeb;
    cursor: pointer;
}

.teams {
    height: 4rem;

}

.teams img {
    width: 30px;
    resize: none;
    min-width: 30px;
}

.home-team {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
}

.home-team > div {
    margin: 0 0 0 auto;
    display: flex;
    align-items: center;
}

.away-team > div {
    margin: 0 auto 0 0;
    display: flex;
    align-items: center;
}

.home-team span {
    font-size: 1rem;
    font-weight: 400;
    color: #333333;
    margin-right: 10px;
    text-align: right;
}

.away-team {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100%;
}

.away-team span {
    font-size: 1rem;
    font-weight: 400;
    color: #333333;
    margin-left: 10px;
}

.teams .separator {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0;
}

.separator time {
    background-color: #989898;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    color: #FFFFFF;
}

.overview .teams .col {
    padding: 0 2px 0 0;
}

.tables .positions-table tbody td img {
    width: 2rem;
    margin: 0 0 0 auto;
}

.tables > .positions-table > tbody > tr {
    position: relative;

}

.positions-table tbody tr:nth-child(2n+1) {
    background-color: rgba(1,1,1,0.05);
}

.tables .positions-table tr .number {
    text-align: right;
}

.tables .positions-table tbody tr td {
    padding: 0 .2rem;
    vertical-align: middle;
    height: 2.9rem;
    font-size: 1rem;
}

.tables .table-club-emblem {
    display: flex;
    justify-content: right;
    align-items: center;
}

.tables .positions-table thead tr th {
    height: 2.5rem;
    padding: 10px 5px;
}

.positions-table tbody tr td a{
    color: black;
    text-transform: none;
    text-decoration: none;
}

.positions-table tbody tr td a:hover {
    color: #107db7;
}

#champion {
    background-color: #80cf6ecc;
}

.tables .positions-table tbody .relegate {
    background-color: #f08d8dcc;
}

.tables .positions-table tbody .promotion {
    background-color: #bbdcb1cc;
}

td {
    border-radius: 0!important;
}
