.formule-1-template-f1-stand-coureur .site-inner {
	max-width: 1140px;
}

.formule-1-template-f1-stand-coureur.full-width-content .content {
	width: 1120px;
}

.AutoblogF1DriverRankTable {
	color: #000;
	font-size: 14px;
	border-top: 1px solid #ed1c24;
	margin-top: 10px;
	padding-top: 10px;
	border-spacing: 0;
}

thead tr:nth-of-type(1) {
	background: #eee
}

thead tr:first-of-type img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #eee;
	height: 16px;
	width: 22px;
}

.entry-content table h2 {
    font-size: 14px;
    margin: 0;
}

.entry-content table h3 {
    font-size: 12px;
    margin: 0;
}

.driver {
    width: 240px;
    text-align: left;
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 10px;
}

.driver img {
	max-width: 50px
}

td {
	border-right: solid 1px #eee;
    border-bottom: solid 1px #eee;
	text-align: center
}

.entry-content table h2 {
    font-size: 18px;
    margin: 0;
}

.entry-content table h3 {
    font-size: 12px;
    margin: 0;
}

.entry-content table h3 a {
	color: #000;
	text-transform: uppercase;
}

.entry-content table h2 a,
.entry-content table h3 a {
	text-decoration: none;
}

.pos {
	width: 35px;
	text-align: center;
}

.driver {
    width: 100%;
    text-align: left;
}

.points {
	width: 60px;
	text-align: center;
}

td {
	border-right: solid 1px #eee;
    border-bottom: solid 1px #eee;
	text-align: center
}

.hasPoints,
.zeroPoints {
	font-family: monospace;
}

.DNF {
	font-size: 9px;
	background: #f0f0f0;
}

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

	.formule-1-template-f1-stand-coureur .site-inner,
	.formule-1-template-f1-stand-coureur.full-width-content .content {
		width: 100%;
	}

	.AutoblogF1DriverRankTable {
		display: flex;
		flex-direction: column;
	}

	thead {
		order: 2;
	}

	tbody {
		order: 1;
	}

	table thead .pos,
	table thead .driver, 
	table thead .points,
	td.zeroPoints {
		display: none;
	}

	thead tr:first-of-type img {
		width: 100%;
		height: 100%
	}

	table thead tr {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
	    column-gap: 10px;
		row-gap: 10px;
	}
	
	.hasPoints,
	.noPoints,
	.noRace,
	.DNF {
		display: none;
	}

	.headings {
		margin-top: 5px
	}

	.points {
		display:flex;
		align-items: center;
		justify-content: center;
		font-weight: bold;
		font-size: 20px;
		color: #fff;
		background-color: #ed1c24;
	}
	  
	table th {
		font-size: 13px;
	}
	
	table tr {
	    border-bottom: none;
	    display: block;
	    margin-bottom: .625em;
	    display: grid;
	    grid-template-columns: 10px 1fr 60px;
	    column-gap: 10px;
	  }
	  
	  table td {
	    border-bottom: 1px solid #ddd;
	    display: block;
	    font-size: .8em;
	    text-align: right;
	  }

	.pos {
		font-family: monospace;
		font-size: 20px;
		text-align: left;
		top: 5px;
		position: relative;
		border: none;
	}
}
