
.desktop-only--stats {
	display: none;
}
.mobile-only--stats {
	display: block;
	padding: 20px 0 0;
}
.stats-container .team {
	padding-bottom: 20px;
}
.stats-table table {
	font-family: 'Inter', sans-serif;
	display: block;
	position: relative;
	table-layout: fixed;
	border-collapse: collapse; 
	border: 1px solid #000;
	border-radius: 10px;
	overflow-x: scroll;
}
.stats-table thead th {
	background: #d9d9d9;
	font-weight: 700;
	text-transform: uppercase;
}
.stats-table thead th,
.stats-table tbody td {
	min-width: 30px;
}
.stats-table thead th .truncate {
	display: none;
}
.stats-table thead th:first-child,
.stats-table tbody th:first-child {
	width: 100%;
}
.stats-table tr {
	border-bottom: 1px solid #000;
}
.stats-table tbody tr:last-child {
	border-bottom: none;
}
.stats-table th, 
.stats-table td {
	font-size: 12px;
	padding: 3px 5px;
		white-space: nowrap;
		text-align: center;
	border-right: 1px solid #000;
}
.stats-table th:last-child,
.stats-table td:last-child {
	border-right: none;
}
.stats-table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
}			
.stats-table tr th:first-child {
	position: sticky;
	left: 0;
	top: 0;
	z-index: 2;
	
	text-align: left;
}
.stats-table tbody th {
	background: #fff;
	position: relative;
	font-weight: 400;
}
.stats-table a {
	color: rgba(87,51,245,1);
	cursor: pointer;
}
.no-touch .stats-table a:hover {
	text-decoration: underline;
}
.stats-highlight tbody tr:nth-child(even),
.stats-highlight tbody tr:nth-child(even) th {
	background: #f4f4f4;
}
.stats-container {
	-webkit-flex-wrap: wrap;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	padding: 20px 0;
}
.stats-container .team {
	width: 100%;
}
.stats-team-name {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	padding: 30px 0 20px;
}
.stat-type {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	padding: 10px 0;
}
.stat-type-sub-category {
	font-size: 14px;
	padding: 0 0 20px;
}
#boxscore-scoreboard-container {
	padding: 20px 0 0;
}
#inning-by-inning-stats {
	padding: 30px 0 20px;
}
#inning-by-inning-stats .stats-table thead th,
#inning-by-inning-stats .stats-table tbody td {
	min-width: 35px;
}
#inning-by-inning-stats .stats-container {
	padding: 0 0 20px;
}
#inning-by-inning-stats .stats-team-name {
	font-size: 16px;
	font-weight: 400;
	padding: 20px 0 10px;
}
#inning-by-inning-stats .away-team .offensive-stats-container .stats-team-name {
	padding-top: 10px;
}
#inning-by-inning-stats .offensive-stats-container,
#inning-by-inning-stats .pitching-stats-container {
	padding-bottom: 10px;
}

.safari .stats-table {
	border: 1px solid #000;
	border-radius: 10px;
	overflow: hidden;
	will-change: transform;
}
.safari .stats-table table {
	border: none;
}


/* Tooltips */
.tooltips-container h3 {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	padding: 5px 0;
	text-transform: uppercase;
}
.tooltip {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	height: auto;
	background: #efefef;
	padding: 10px;
	margin: 10px 0;
}
.tooltip-label {
	font-size: 16px;
	font-weight: 700;
	padding: 5px 0;
}
.tooltip-desc,
.formula-container {
	padding: 5px 0;
}
.formula-header {
	color: rgb(87, 51, 245);
	font-weight: 600;
}
.no-touch .tooltips-container h3.init {
	display: none;
}
.no-touch .tooltip.init {
	position: absolute;
	display: none;
	z-index: 100;
}
.no-touch .tooltip.init.active {
	display: block;
}
.no-touch .tooltip .abbr {
	display: none;
}
		



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

	
	.stats-table table {
		border-radius: 14px;
	}
	.stats-table th, 
	.stats-table td {
		font-size: 14px;
		padding: 10px 15px;
	}
	.stats-table thead th,
	.stats-table tbody td {
			min-width: 70px;
	}
	.stats-table thead th .truncate {
		display: inline;
	}

	.safari .stats-table {
		border-radius: 14px;
	}
	
	.tooltip {
		width: 300px;
	}
	

	
}


@media only screen and (min-width: 1024px) {
	
	.stats-team-name {
		font-size: 18px;
	}
	.stat-type {
		font-size: 18px;
	}
	
}
		
@media only screen and (min-width: 1375px) {
	
	.mobile-only--stats {
		display: none;
	}
	.desktop-only--stats {
		display: block;
	}

	.stats-container .team {
		padding: 10px 20px;
		width: 50%;
	}
	.stats-container .team:first-child {
		padding: 10px 20px 10px 0px;
	}
	.stats-container .team:last-child {
		padding: 10px 0 10px 20px;
	}
	.pitching-stats-container . {
		display: none;
	}
	#inning-by-inning-stats .stats-team-name {
		padding: 30px 0 20px;
	}
	#inning-by-inning-stats .home-team .offensive-stats-container .stats-team-name {
		padding-top: 10px;
	}

	
}