
body {
    background-color: #ececec;
}

.mx-widget, .mx-inline-widget {
    font-family: 'Source Sans Pro', sans-serif;
}

/*
 * Remove even rows being slightly grey
 */
.mx-inline-widget TABLE TR:nth-child(even), .mx-inline-widget TABLE > DIV:nth-child(even), .mx-inline-widget .mx-table TR:nth-child(even), .mx-inline-widget .mx-table > DIV:nth-child(even) {
    background-color: #fff;
}

/*
 * Colors for table markers
 */

.mx-marker {
    background-color: #fff;
    border-radius: 50%;
    width: 27px;
    height: 27px;
    line-height: 27px !important;
}

.mx-marker.mx-afcchampionsleague, .mx-marker.mx-afcchampionsleaguequal, .mx-marker.mx-afccup, .mx-marker.mx-afccupqual, .mx-marker.mx-afcpresidentscup, .mx-marker.mx-cafchampionsleaguequal, .mx-marker.mx-cafconfederationcupqual, .mx-marker.mx-cfuclubchampionship, .mx-marker.mx-challengecup, .mx-marker.mx-championship_playoff, .mx-marker.mx-championsleague, .mx-marker.mx-championsleague_final, .mx-marker.mx-championsleaguequal, .mx-marker.mx-championsleaguequal_final, .mx-marker.mx-concacafchampionsleague, .mx-marker.mx-copalibertadores, .mx-marker.mx-copalibertadoresqual, .mx-marker.mx-copasudamericana, .mx-marker.mx-cupwinnerscup, .mx-marker.mx-ehfcup, .mx-marker.mx-ofcchampionsleague, .mx-marker.mx-ofcchampionsleaguequal, .mx-marker.mx-playoff, .mx-marker.mx-promotion, .mx-marker.mx-promotionplayoff, .mx-marker.mx-qualification_to_next_stage, .mx-marker.mx-relegation, .mx-marker.mx-relegationplayoff, .mx-marker.mx-rounds, .mx-marker.mx-uefacup, .mx-marker.mx-uefacup_final, .mx-marker.mx-uefaqual, .mx-marker.mx-uefaqual_final, .mx-marker.mx-uefaqualplayoff {
    background-color: #008FD4;
    color: #fff;
}

.mx-marker.mx-promotion, .mx-marker.mx-first, .mx-marker.mx-championsleague {
    background-color: #008FD4;
    color: #fff;
}

.mx-marker.mx-promotion-playoff, .mx-marker.mx-championsleaguequal {
    background-color: #00547C;
    color: #fff;
}

.mx-marker.mx-uefaqual, .mx-marker.mx-uefacup {
    background-color: #DDDDDD;
    color: #444444;
}

.mx-marker.mx-relegationplayoff {
    background-color: #cd8108;
}

.mx-marker.mx-relegation {
    background-color: #BF2929;
}

.mx-marker.mx-championship_playoff2championsleaguequal {
    background-color: #00547C;
    color: #fff;
}

.mx-marker.mx-championship_playoff2uefaqual {
    background-color: #DDDDDD;
    color: #444444;
}

/*
 *Table main header
 */
.mx-inline-widget TABLE TH.mx-header-label, .mx-inline-widget .mx-table TH.mx-header-label {
    background-color: #ccc;
    color: #444444;
    text-align: center;
    text-transform: none;
    font-size: 14px;
}

.mx-inline-widget TABLE TH.mx-header-label .mx-flags, .mx-inline-widget .mx-table TH.mx-header-label .mx-flags {
    display: none;
}

/*
 * Table lower header
 */

.mx-inline-widget TABLE .mx-table-header, .mx-inline-widget TABLE TR.mx-table-header, .mx-inline-widget .mx-table .mx-table-header, .mx-inline-widget .mx-table TR.mx-table-header {
    background-color: #fff;
    color: #444444;
}

/*
 * Hide lower header icons
 */
.mx-inline-widget TABLE.mx-center-all-but-teamname TH:not(.mx-team-name) DIV.mx-highres-icon .icons-dark-position {
    display: none;
}

.mx-inline-widget .icons-dark-club-badge, .mx-inline-widget TABLE .icons-dark-club-badge, .mx-inline-widget .mx-table DIV.icons-dark-club-badge, .mx-inline-widget .mx-table .icons-dark-club-badge {
    display: none;
}

/*
 * Table row items
 */

.mx-inline-widget TABLE TR, .mx-inline-widget TABLE > DIV, .mx-inline-widget .mx-table TR, .mx-inline-widget .mx-table > DIV {
    background-color: #fff;
    color: #444444;
    font-size: 14px;
}

.mx-statistics-table tbody tr {
    border-bottom: #EEEEEE 1px solid;
    height: 44px;
}

.mx-team-name {
    color: #008FD4;
}

.mx-inline-widget TABLE .mx-position, .mx-inline-widget .mx-table .mx-position {
    width: 27px;
}

td.mx-position {
    padding: 0 8px 0 16px;
    width: 27px;
}

.mx-league-points {
    padding-right: 16px !important;
}

.mx-team-logo {
    display: none;
}

/*
 * Bottom - marker descriptions table
 */

DIV.mx-league-info-popup-template.mx-showing {
    border: none;
    padding: 16px;
    margin-top: 0px;
    /*box-shadow: rgba(0, 0, 0, 0.10) 0px 2px 4px;*/
    box-shadow: none;
}

DIV.mx-league-info-popup-template .mx-marker {
    width: 20px;
    height: 20px;
    line-height: 20px;
}

DIV.mx-league-info-popup-template td {
    font-size: 11px;
}

.mx-inline-widget TABLE TD, .mx-inline-widget TABLE TH, .mx-inline-widget .mx-table TD, .mx-inline-widget .mx-table TH {
    height: 0px;
}

DIV.mx-league-info-popup.mx-showing TD, DIV.mx-league-info-popup.mx-showing TR {
    padding: 0px 0px 10px 0px !important;
}

DIV.mx-league-info-popup TD SPAN, DIV.mx-league-info-popup TR SPAN {
    margin: 0px 6px 0px 0px;
}

/* Removing the qualification/relegation from the tables */

.mx-league-info .mx-table {
    display: none;
}

/* Removing red and yellow cards columns */

th.mx-cards-red,
th.mx-cards-yellow {
    display: none;
}

td.mx-cards-red,
td.mx-cards-yellow {
    display: none;
}