/* New Changes */

body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    background-color: #F5F5F5;
    margin: 0;

}

#mainContainer {
	display: flex;
	justify-content: center;
	width: 100%;
    background-color: #FFFFFF;
    height: auto;
    margin: auto;
    padding-top: 60px;
    padding-bottom: 80px;
    color: #808285;
    line-height: 1.85714285714286;
    font-size: 1rem;
    font-style: normal;
}


#fixturesTable th {
    font-weight: 400;
	font-size: 11px;
    border-bottom: 1px solid #c6c6c6;
	background-color: red ;
}

#fixturesTable td {
    text-align: left;
	margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 7px;
	padding: 8px;
	font-size: 12px;
    line-height: 1.4;
}

#fixturesTable td div {
    display: flex;
    min-width: 0;
    max-width: 100%;
}

#fixturesTable {
    width: 100%;
	max-width: 1200px;
    color: #4B4F58;
    border: 1px solid #c6c6c6;
    border-collapse: collapse;
    font-size: 12px;
    font-style: normal;
}


/* New Changes End*/

#fixturesTable {
	font-size: 10px;
	font-weight: 400;
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	tr:nth-child(even) {
	background-color: #f8f8f8;
	}
}

#fixturesTable tr {
	height: 20px;
	line-height: 20px;
}

#displayTypeBanner {
	border: 2px solid black;
	background-color: red ;
	color: white;
	justify-content: center;
	align-items: center;
	padding-top: 12px;
	padding-bottom: 12px;

	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}


@media screen and (max-width: 768px) {

    #mainContainer {
        display: block;
        width: 100%;
        padding: 20px 0 40px;
    }

    #fixturesTable {
        width: 95%;
        max-width: none;
        margin: 0 auto;
        table-layout: auto;
        font-size: 10px;
    }

    #fixturesTable th,
    #fixturesTable td {
        padding: 6px 4px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    #fixturesTable tr {
        height: auto;
        line-height: 16px;
    }

    #fixturesTable td div {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    /* Keep the middle column very narrow */
    #fixtureDataHeading {
        width: 20px;
    }

    #fixturesTable td:nth-child(3) {
        width: 20px;
        padding-left: 2px;
        padding-right: 2px;
    }

}

@media screen and (max-width: 450px) {

    #mainContainer {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }

    #fixturesTable {
        width: 98%;
        max-width: 98%;
        margin: 0 auto;
        table-layout: fixed;
        font-size: 9px;
    }

    #fixturesTable th,
    #fixturesTable td {
        padding: 4px 2px;
        max-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
		font-size: 8px;
    }

    #fixturesTable td div {
        display: flex;
        flex-wrap: wrap;
        min-width: 0;
        max-width: 100%;
    }

    #fixtureDataHeading,
    #fixturesTable td:nth-child(3) {
        width: 15px;
        max-width: 15px;
    }

}

/* League table */
#gamesPlayed,
#gamesWon, 
#gamesDrawn, 
#gamesLost, 
#pointsFor, 
#pointsAgaint, 
#pointsDifference, 
#teamForm 
	{
	padding-right: 12px;
	}

#teamNames 
	{
	padding-right: 340px;
	}
