.countrydiv:not(.country) {
	display: none !important;
}

.countrydiv.country {
	display: inline-block;
}

.countrydiv.country::before {
	height: 100%;
	width: 3rem;
	margin-left: 0.8rem;
}

.country::before {
	background-position: center;
	background-size: 3rem 2rem;
	background-repeat: no-repeat;
	width: 3rem;
	margin-right: 1rem;
	display: inline-block;
	content: " ";
	white-space: pre;
}

.country::before,
.country::after {
	background-image: var(--country-path);
}

@media screen and (max-width:44rem) {

	.contenttable:not(.thistmeta) .country::before,
	.thisttbl .country::after {
		background-size: 2.4rem 1.6rem !important;
		width: 2.4rem;
		margin-right: 0.5rem;
	}

	.parcrtblteamtd .country::before {
		margin-right: 0.1rem;
	}

	.teamrestbl .team.country::before {
		width: 6rem !important;
		background-position: right;
		height: 1.6rem;
		line-height: 1.7rem;
	}

	.matchrestbl .team.country::before {
		background-position: left;
		height: 1.6rem;
		width: 2.8rem;
		display: block;
		flex-shrink: 1;
		margin-right: 0;
	}

	.matchrestbl .team.country {
		flex-shrink: 0;
	}

	.matchrestbl .team.country.hometeam::after {
		content: '' !important;
	}

	.thisttbl .team.country::after {
		height: 100%;
		background-position: right;
		margin-right: 0.5rem !important;
		-ms-flex-order: -1;
		-ms-order: -1;
		-webkit-order: -1;
		order: -1;
		background-size: 3rem 2rem;
		background-repeat: no-repeat;
		width: 2.6rem;
		display: inline-block;
		content: " ";
		white-space: pre;
	}

	.thisttbl .team.country {
		min-height: 2.4rem;
		line-height: 1.8rem;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		justify-content: center;
	}

	.thisttbl .team.country::before {
		background: none !important;
		width: auto;
		-ms-flex-order: -2;
		-ms-order: -2;
		-webkit-order: -2;
		order: -2;
		margin-right: 0;
	}
}