/**
 * Spartak match box score.
 * Copy to: /assets/css/match-boxscore.css
 *
 * @version 1.2.2
 */

.spartak-boxscore {
	--boxscore-border: #d9dee2;
	--boxscore-dark: #202d35;
	--boxscore-green: #008f83;
	--boxscore-muted: #68747c;
	--boxscore-header: #f4f6f7;
	overflow: hidden;
	border: 1px solid var(--boxscore-border);
	border-radius: 18px;
	background: #fff;
}

.spartak-boxscore__team {
	padding: 16px 20px;
	border-top: 7px solid var(--boxscore-green);
	font-family: "Bebas Neue", sans-serif;
	font-size: 28px;
	line-height: 1;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.spartak-boxscore__lineup + .spartak-boxscore__lineup {
	border-top: 3px solid var(--boxscore-green);
}

.spartak-boxscore__lineup-title {
	padding: 10px 20px;
	background: #f1f4f5;
	color: var(--boxscore-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.spartak-boxscore__group + .spartak-boxscore__group {
	border-top: 1px solid var(--boxscore-border);
}

.spartak-boxscore__section-title {
	margin: 0;
	padding: 10px 20px 7px;
	background: #fff;
	color: var(--boxscore-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.spartak-boxscore__table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.spartak-boxscore__table {
	width: 100%;
	min-width: 470px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: auto;
}

.spartak-boxscore__table th,
.spartak-boxscore__table td {
	padding: 11px 12px;
	border: 0;
	border-bottom: 1px solid var(--boxscore-border);
	text-align: center;
	vertical-align: middle;
}

.spartak-boxscore__table thead th {
	padding-top: 9px;
	padding-bottom: 9px;
	background: var(--boxscore-header);
	border-top: 1px solid var(--boxscore-border);
	border-bottom: 2px solid var(--boxscore-green);
	color: var(--boxscore-dark);
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.spartak-boxscore__table tbody tr:last-child td {
	border-bottom: 0;
}

.spartak-boxscore__table tbody tr:nth-child(even) {
	background: #f7f9fa;
}

.spartak-boxscore__table tbody tr:hover {
	background: #eef8f6;
}

.spartak-boxscore__table .spartak-boxscore__number {
	width: 38px;
	padding-right: 8px;
	padding-left: 8px;
	color: var(--boxscore-green);
	font-weight: 700;
}

.spartak-boxscore__table .spartak-boxscore__player {
	min-width: 210px;
	text-align: left;
}

.spartak-boxscore__player a {
	display: block;
	color: var(--boxscore-green);
	font-weight: 700;
	text-decoration: none;
}

.spartak-boxscore__player a:hover,
.spartak-boxscore__player a:focus {
	text-decoration: underline;
}

.spartak-boxscore__player span {
	display: block;
	margin-top: 2px;
	color: var(--boxscore-muted);
	font-size: 12px;
	line-height: 1.25;
}

.spartak-boxscore__stat {
	min-width: 58px;
	font-weight: 700;
	line-height: 1.45;
}

.spartak-boxscore__header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
}

.spartak-boxscore__stat-icon {
	display: block;
	width: 23px;
	height: 23px;
	max-width: 23px;
	max-height: 23px;
	object-fit: contain;
	filter: none;
}

.spartak-boxscore__header-label {
	display: inline-block;
	color: var(--boxscore-dark);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.15;
	white-space: normal;
}

@media (max-width: 720px) {
	.spartak-boxscore {
		border-radius: 14px;
	}

	.spartak-boxscore__team {
		padding: 14px 16px;
		font-size: 24px;
	}

	.spartak-boxscore__lineup-title,
	.spartak-boxscore__section-title {
		padding-right: 16px;
		padding-left: 16px;
	}

	.spartak-boxscore__table {
		min-width: 450px;
	}

	.spartak-boxscore__table th,
	.spartak-boxscore__table td {
		padding: 9px 10px;
		font-size: 13px;
	}

	.spartak-boxscore__table .spartak-boxscore__player {
		min-width: 170px;
	}

	.spartak-boxscore__stat {
		min-width: 52px;
	}

	.spartak-boxscore__stat-icon {
		width: 20px;
		height: 20px;
		max-width: 20px;
		max-height: 20px;
	}
}
