@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;700;800&display=swap");

:root {
	--top-border-color: rgb(219, 224, 229);
	--tipsport-border: #c1c7cd;
	--color-black: rgb(5, 22, 37);
	--color-white: #fff;
	--color-red: #d91e28;
	--color-gray: #677a8e;
	--color-gray-light: #f2f5f7;
	--color-blue: #00aeef;

	--font-light: 400;
	--font-bold: 700;
	--font-extra-bold: 800;

	--default-border-radius: 4px;
}

/* TOP SCOREBOARD */
.topScoreboard {
	box-shadow: 0 4px 12px 0px rgba(5, 22, 37, 0.1);
	display: flex;
	flex-flow: row nowrap;
	overflow-x: auto;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
	background-color: var(--color-white);
	position: static !important;
}
.topScoreboard * {
	font-family: "Public Sans", sans-serif;
	flex-shrink: 0;
}
.topScoreboard::-webkit-scrollbar {
	display: none;
}
.topScoreboard a {
	text-decoration: none;
	transition: background-color 200ms ease-in-out;
}
.topScoreboard a:hover,
.topScoreboard a:focus {
	background-color: var(--color-gray-light);
}
.topScoreboard .League {
	display: flex;
	flex-flow: nowrap;
}
.topScoreboard .league-name {
	padding: 0 15px;
	border-right: 1px solid var(--top-border-color);
	color: rgb(5, 22, 37);
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	height: 68px;
}
.topScoreboard .league-name h3 {
	font-size: 11px;
	font-weight: var(--font-extra-bold);
	text-transform: uppercase;
	text-align: right;
	padding: 0;
	white-space: pre;
}
.topScoreboard .league-name img {
	width: 16px;
	height: auto;
}
.topScoreboard .league-match {
	padding: 6px 10px;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
	gap: 3px;
	border-right: 1px solid var(--top-border-color);
}
.topScoreboard .league-team {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}
.topScoreboard .team-container {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 8px;
}
.topScoreboard .team-container img {
	width: auto;
	height: 20px;
}
.topScoreboard .team-name {
	font-size: 12px;
	color: var(--color-black);
	text-transform: uppercase;
	font-weight: var(--font-light);
}
.topScoreboard .team-score {
	background-color: var(--color-black);
	color: var(--color-white);
	font-size: 11px;
	font-weight: var(--font-extra-bold);
	min-width: 24px;
	height: 20px;
	border-radius: var(--default-border-radius);
	display: grid;
	place-items: center;
}
.topScoreboard .team-score.active-match {
	background-color: var(--color-red);
}
.topScoreboard .team-score.future-match {
	background-color: var(--color-gray);
}
.topScoreboard .topScoreboard-noData {
	margin: 12px 16px;
	padding: 30px 12px;
	border: 1px solid var(--color-gray);
	border-radius: var(--default-border-radius);
	display: grid;
	place-items: center;
}
.topScoreboard .topScoreboard-noData h1 {
	text-transform: uppercase;
	font-size: 22px;
	color: var(--color-gray);
}

/* MAIN SCOREBOARD */
.HomePage-mainScoreboard {
	padding-inline: 24px;
}
.mainScoreboard {
	position: relative;
	/* padding-inline: 24px; */
}
.mainScoreboard * {
	font-family: "Public Sans", sans-serif;
}
.mainScoreboard.small .match-team.match-team--left {
	width: 60px;
}
.mainScoreboard.small .match-team h3:not(.shortName) {
	display: block;
}
.mainScoreboard.small .match-team h3.shortName {
	display: none;
}
.mainScoreboard.small .match-date {
	min-width: 100px;
	padding: 0;
}
.mainScoreboard.small .match-scoreContainer {
	margin-inline: 4px;
}
.mainScoreboard.small .match-team {
	gap: 4px;
}
.loadContainer {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
}
.loadContainer::after {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	bottom: 0;
	width: 0%;
	background-color: #00aeef;
	animation: loadingAnim 400ms;
}
@keyframes loadingAnim {
	0% {
		width: 0%;
	}
	100% {
		width: 100%;
	}
}
.mainScoreboard .mainScoreboard-header {
	background-color: var(--color-gray-light);
	padding: 12px;
	border-radius: var(--default-border-radius);
}
.mainScoreboard .header-date {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.mainScoreboard .date-dayChanger {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}
.mainScoreboard .date-dayChanger:hover h5 {
	text-decoration: underline;
}
.mainScoreboard .date-dayChanger.next:hover img {
	content: url("../../images/icons/Scoreboard/ArrowRightBlack.svg");
}
.mainScoreboard .date-dayChanger.prev:hover img {
	content: url("../../images/icons/Scoreboard/ArrowLeftBlack.svg");
}
.date-dayChanger img {
	width: 24px;
	height: auto;
}
.date-dayChanger h5 {
	font-weight: var(--font-extra-bold);
	color: var(--color-black);
	font-size: 11px;
	text-transform: uppercase;
}
.date-currentDay {
	font-weight: var(--font-bold);
	text-transform: uppercase;
	font-size: 16px;
}

.header-tabs {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	overflow-x: auto;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
}
.header-tabs::-webkit-scrollbar {
	display: none;
}
.tab-container {
	padding: 6px 12px;
	background-color: var(--color-white);
	border-radius: var(--default-border-radius);
	cursor: pointer;
}
.tab-container:hover p {
	text-decoration: underline;
}
.tab-container.active {
	background-color: var(--color-blue);
}
.tab-container p {
	color: var(--color-gray);
	font-size: 11px;
	font-weight: var(--font-extra-bold);
	text-transform: uppercase;
	white-space: nowrap;
}
.tab-container.active p {
	color: var(--color-white);
}

.mainScoreBoard-body {
	padding-top: 12px;
	background-color: var(--color-white);
}
.mainScoreBoard-body--noData {
	margin-top: 18px;
	margin-bottom: 18px;
	display: grid;
	place-items: center;
	min-height: 150px;
	border: 1px solid var(--color-gray);
	border-radius: var(--default-border-radius);
}
.mainScoreBoard-body--noData h1 {
	text-transform: uppercase;
	font-size: 28px;
	color: var(--color-gray);
	text-align: center;
}
.mainScoreboard .body-match {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	border-bottom: 1px solid var(--top-border-color);
	padding: 6px;
	cursor: pointer;
	transition: background-color 200ms ease-in-out;
	text-decoration: none;
}
.mainScoreboard .body-match:hover {
	background-color: var(--color-gray-light);
	text-decoration: none;
}
.mainScoreboard .match-infoContainer {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
.mainScoreboard .match-team {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 12px;
}
.mainScoreboard .match-team h3 {
	color: var(--color-black);
	font-size: 14px;
	font-weight: var(--font-bold);
}
.mainScoreboard .match-team h3:not(.shortName) {
	display: none;
}
.mainScoreboard .match-team img {
	width: 26px;
	height: auto;
}
.mainScoreboard .match-team.match-team--left {
	width: 150px;
	justify-content: flex-end;
}
.mainScoreboard .match-team.match-team--left h3 {
	text-align: right;
}
.mainScoreboard .match-scoreContainer {
	margin-inline: 12px;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
.mainScoreboard .match-score {
	background-color: var(--color-black);
	color: var(--color-white);
	font-size: 16px;
	font-weight: var(--font-bold);
	min-width: 32px;
	height: 32px;
	border-radius: var(--default-border-radius);
	display: grid;
	place-items: center;
	margin: 0 !important;
}
.mainScoreboard .match-score.active-match {
	background-color: var(--color-red);
}
.mainScoreboard .match-score.future-match {
	background-color: var(--color-gray);
}
.mainScoreboard .match-date {
	background-color: var(--color-gray-light);
	border-radius: var(--default-border-radius);
	padding: 0px 4px;
	margin-inline: 3px;
	height: 32px;
	min-width: 120px;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
}
.mainScoreboard .match-date p {
	color: var(--color-black);
	font-size: 11px;
	text-align: center;
	line-height: 1.1;
}
.mainScoreboard .match-date.active-match p {
	color: var(--color-red);
}
.mainScoreboard .match-date.future-match p {
	color: var(--color-gray);
}

.mainScoreboard .match-tabsContainer {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-left: auto;
	height: fit-content;
}
.mainScoreboard .match-tabsContainer:empty {
	display: none;
}
.mainScoreboard .match-tab {
	height: 32px;
	padding: 0px 8px;
	border-radius: var(--default-border-radius);
	border: 1px solid var(--top-border-color);
	background-color: var(--color-white);
	cursor: pointer;

	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 4px;

	text-decoration: none;
	color: var(--color-black);

	transition: background-color 200ms ease-in-out;
}
.match-tab:hover p,
.match-tab:focus p {
	text-decoration: underline;
}
.match-tab img {
	width: 12px;
	height: auto;
	max-height: 12px;
}
.match-tab p {
	font-size: 11px;
	color: var(--color-black);
}
.mainScoreboard .match-tab--tipsport {
	background-color: #007aff !important;
}
.mainScoreboard .match-tab--tipsport p {
	color: var(--color-white) !important;
}
.tab-tipsportData {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
.tab-tipsportData p {
	color: var(--color-white);
	padding-inline: 6px;
	border-right: 1px solid #0f56a3;
	min-width: 36px;
	text-align: center;
}
.tab-tipsportData p:first-of-type {
	padding-left: 0px;
}
.tab-tipsportData p:last-of-type {
	border-right: 0px;
	padding-right: 0px;
}
.match-tab--imgOnly img {
	height: 14px;
	width: auto;
}
.mediaTab-container {
	display: flex;
	flex-flow: row nowrap;
	gap: 8px;
}

.scoreBoard-buttonsContainer {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
}
.scoreBoard-button {
	padding: 8px 18px;
	background-color: var(--color-blue);
	border-radius: var(--default-border-radius);
	color: var(--color-white);
	text-transform: uppercase;
	font-size: 11px;
	font-weight: var(--font-extra-bold);
	text-decoration: none;
}
.scoreBoard-button:hover,
.scoreBoard-button:focus {
	text-decoration: underline;
	color: var(--color-white);
}

/* MD LAYOUT */
@media screen and (max-width: 864px) {
	.mainScoreboard .mainScoreBoard-body--noData h1 {
		font-size: 24px;
	}
	.mainScoreboard .match-team.match-team--left {
		width: 60px;
	}
	.mainScoreboard .match-team h3:not(.shortName) {
		display: block;
	}
	.mainScoreboard .match-team h3.shortName {
		display: none;
	}
	.mainScoreboard .match-date {
		min-width: 100px;
		padding: 0;
	}
	.mainScoreboard .match-scoreContainer {
		margin-inline: 4px;
	}
	.mainScoreboard .match-team {
		gap: 4px;
	}
}
/* SM LAYOUT */
@media screen and (max-width: 1024px) {
	.mainScoreboard.small .body-match {
		flex-flow: column nowrap;
		gap: 8px;
	}
	.mainScoreboard.small .match-tabsContainer {
		margin-left: 0;
		flex-wrap: wrap;
		justify-content: center;
	}
	.mainScoreboard.small .mediaTab-container {
		order: 100;
		flex-basis: 100%;
		display: flex;
		justify-content: center;
	}
}
/* SM LAYOUT */
@media screen and (max-width: 750px) {
	.mainScoreboard .body-match {
		flex-flow: column nowrap;
		gap: 8px;
	}
	.mainScoreboard .match-tabsContainer {
		margin-left: 0;
		flex-wrap: wrap;
		justify-content: center;
	}
	.mainScoreboard .mediaTab-container {
		order: 100;
		flex-basis: 100%;
		display: flex;
		justify-content: center;
	}
}
/* MOBILE LAYOUT */
@media screen and (max-width: 580px) {
	.date-dayChanger h5 {
		display: none;
	}
	.mainScoreBoard-body--noData h1 {
		font-size: 20px;
	}
	.header-tabs {
		margin-top: 16px;
	}
}

/* MOBILE SMALL LAYOUT*/
@media screen and (max-width: 336px) {
	.match-team--img {
		display: none;
	}
	.mainScoreboard .match-team.match-team--left {
		width: 28px;
	}
}
