/* Base styles and typography */
:root {
	/* --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Nunito', sans-serif; */
	--font-size-base: clamp(0.7rem, 0.7vw + 0.3rem, 0.8rem);
	--line-height-base: 1.5;
	--font-weight-normal: 400;
	--font-weight-bold: 500;
	--nav-bg-color: #1e1e1e;
	--nav-text-color: #fff;
	--nav-text-gradient: linear-gradient(to left, #ffffff, #999999);
	--nav-active-bg: linear-gradient(360deg, #042104, #045830);
}

body {
	font-family: var(--font-primary);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-primary);
	font-weight: var(--font-weight-bold);
	line-height: 1.2;
}

h1 {
	font-size: clamp(1.5rem, 3vw + 0.6rem, 2rem);
}

h2 {
	font-size: clamp(1.3rem, 2.5vw + 0.5rem, 1.8rem);
}

h3 {
	font-size: clamp(1.1rem, 2vw + 0.4rem, 1.6rem);
}

h4 {
	font-size: clamp(1rem, 1.5vw + 0.3rem, 1.4rem);
}

h5 {
	font-size: clamp(0.9rem, 1vw + 0.2rem, 1.2rem);
}

h6 {
	font-size: clamp(0.8rem, 0.8vw + 0.2rem, 1rem);
}

/* Theme */
:root {
	--color-bg: #040b23;
	--color-text: #2c3e50;
	--color-primary: #5d6d7e;
	--color-secondary: #8ea4b8;
	--color-accent: #a9cce3;
	--color-link: #4a5e74;
	--color-link-hover: #34495e;
	--color-table-text: #2c3e50;
}

.dark-mode {
	--color-bg: #2c3e50;
	--color-text: #f4f7f5;
	--color-primary: #8ea4b8;
	--color-secondary: #a9cce3;
	--color-accent: #5d6d7e;
	--color-link: #b3c6d9;
	--color-link-hover: #d0dce6;
	--color-table-text: #f4f7f5;
}

.bg-primary,
.bg-secondary,
.bg-accent {
	color: var(--color-bg) !important;
}

@media (min-width: 576px) {
	.container {
		max-width: 90%;
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 90%;
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 90%;
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1320px;
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 1400px) {
	.container {
		max-width: 1440px;
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Apply theme colors */
body {
	background-color: rgba(13, 18, 29, 1);
	color: var(--color-text);
}

.navbar,
.jumbotron,
.footer {
	color: #fff !important;
	background: linear-gradient(90deg,
			rgba(4, 11, 35, 1) 0%,
			rgba(80, 54, 0, 1) 50%,
			rgba(86, 23, 5, 1) 100%);
}

.btn-primary {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn-secondary {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
}

/* Shared Styles */
a {
	color: var(--color-link);
	text-decoration: none;
	background-color: transparent;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--color-link-hover);
	text-decoration: underline;
}

.navbar {
	margin-bottom: 0;
}

.jumbotron {
	margin-bottom: 0;
}

.footer {
	padding: 1rem 0;
}

/* General Navigation Styles */
.logo-container {
	position: relative;
	display: inline-block;
	padding: 0 20px;
	margin-right: 30px;
}

.logo-container::after {
	content: '';
	position: absolute;
	top: 0;
	left: -45px;
	right: 10px;
	bottom: 0;
	background-color: #F9B92F;
	z-index: 1;
	transform: skew(15deg);
}

.main-nav__brand {
	position: relative;
	z-index: 2;
}

/* Main Navigation Styles */
.main-nav {
	/* height: 56px; */
	padding: 0;
}

.main-nav__list {
	column-gap: 10px;
}

.main-nav__link {
	position: relative;
	color: #ffffff !important;
	transition: color 0.3s ease;
	font-size: 13px;
	line-height: normal;
	text-transform: uppercase;
	padding: 0;
}

.main-nav__link:hover {
	color: #f9b92f !important;

}

.main-nav__item.active .main-nav__link {
	position: relative;
	font-weight: bold;
	color: #f9b92f !important;
}

.main-nav__item.active .main-nav__link::after,
.main-nav__item .main-nav__link:hover::after {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background-color: #f9b92f;
	position: absolute;
	bottom: -25px;
	left: 0;
}

.main-nav__dark-light-toggle {
	display: flex;
	align-items: center;
}

.main-nav__dark-mode-checkbox {
	display: none;
}

.main-nav__dark-mode-label {
	position: relative;
	width: 85px;
	height: 35px;
	display: block;
	border-radius: 100px;
	cursor: pointer;
	margin-bottom: 0px;
	transition: background-color 0.5s;
	background: linear-gradient(45deg,
			rgba(37, 44, 135, 1),
			rgba(34, 42, 73, 0.2));
}

.main-nav__dark-mode-label::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 100px;
	padding: 1px;
	background: linear-gradient(360deg,
			rgba(0, 200, 244, 1),
			rgba(66, 83, 243, 1));
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.main-nav__toggle-circle {
	content: "";
	position: absolute;
	height: 25px;
	width: 25px;
	background: #f2f2f2;
	border-radius: 100px;
	top: 5px;
	left: 5px;
	transition: left 0.5s, background 0.5s;
	background: linear-gradient(93deg, #0157ff 12.13%, #a3ffff 101.78%);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.main-nav__toggle-circle svg {
	width: 15px;
	height: 15px;
}

.main-nav__toggle-circle:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-nav__toggle-circle:active {
	background: linear-gradient(93deg, #0146d9 12.13%, #7fffff 101.78%);
}

.main-nav__toggle-circle:active svg {
	transform: scale(0.95);
}

.main-nav__toggle-text {
	position: absolute;
	top: 50%;
	left: 35px;
	transform: translateY(-50%);
	color: #00fffd;
	font-weight: bold;
	transition: color 0.5s;
}

.main-nav__dark-mode-checkbox:checked+.main-nav__dark-mode-label {
	/* background: #242424; */
	background: linear-gradient(45deg,
			rgba(37, 44, 135, 1),
			rgba(34, 42, 73, 0.2));
}

.main-nav__dark-mode-checkbox:checked+.main-nav__dark-mode-label .main-nav__toggle-circle {
	left: 55px;
	background: linear-gradient(180deg, #777, #3a3a3a);
}

.main-nav__dark-mode-checkbox:checked+.main-nav__dark-mode-label .main-nav__toggle-text {
	color: #fff;
	left: 10px;
}

.main-nav__dark-mode-checkbox:checked+.main-nav__dark-mode-label .main-nav__toggle-text::before {
	content: "Light";
	font-size: 14px;
	text-transform: uppercase;
}

.main-nav__dark-mode-checkbox:not(:checked)+.main-nav__dark-mode-label .main-nav__toggle-text::before {
	content: "Dark";
	font-size: 14px;
	text-transform: uppercase;
}

.menu-top {
	display: block;
	padding: .65rem .5rem;
	color: #FFF;
	/* font-family: 'Oswald'; */
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
	border-radius: 3px;
}

.menu-top:hover {
	outline: none;
	text-decoration: none;
	color: #212121;
}

.menu-top-nha-cai a {
	background: linear-gradient(142deg, #BB5014 0%, #8B0000 100%);
}

.menu-cuoc-8xbet a {
	background: linear-gradient(142deg, #FFD600 0%, #B05500 100%);
}

/* START: mobile navbar */
@media (max-width: 991px) {
	.navbar-nav {
		row-gap: 12px;
	}

	.nav-mobile {
		background: var(--nav-bg-color);
		position: relative;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1030;
	}

	.nav-mobile .navbar {
		padding: 0.5rem 1rem;
	}

	.navbar-brand {
		color: var(--nav-text-color) !important;
		font-weight: bold;
		font-size: 1.5rem;
	}

	.navbar-toggler {
		border: none;
		padding: 0;
	}

	.navbar-toggler:focus {
		outline: none;
	}

	.navbar-toggler-icon {
		background-image: none !important;
		display: inline-block;
		width: 1.5em;
		height: 1.5em;
		vertical-align: middle;
		content: "";
		background: no-repeat center center;
		background-size: 100% 100%;
		position: relative;
	}

	.navbar-toggler-icon::before,
	.navbar-toggler-icon::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		height: 2px;
		background-color: #009b3a;
		transition: transform 0.3s ease-in-out;
	}

	.navbar-toggler-icon::before {
		top: 30%;
		box-shadow: 0 6px 0 #009b3a;
	}

	.navbar-toggler-icon::after {
		bottom: 25%;
	}

	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
		transform: translateY(6px) rotate(45deg);
		box-shadow: none;
	}

	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
		transform: translateY(-6px) rotate(-45deg);
	}

	.nav-mobile .navbar-collapse {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--nav-bg-color);
		padding: 1rem;
	}

	.nav-mobile .nav-link {
		background: var(--nav-text-gradient);
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		color: #ffffff;
		display: flex;
		align-items: center;
		gap: 10px;
		width: max-content;
		padding: 10px 0 0 0;
		font-size: 14px;
		font-weight: 600;
		border-radius: 6px;
		padding: 5px 15px;
		/* font-family: 'Oswald'; */
		text-transform: uppercase;
	}

	.nav-mobile .nav-item.active .nav-link {
		position: relative;
		color: #f9b92f !important;
		width: max-content;
		border-radius: 6px;
		padding: 5px 15px;
		background: transparent;
		-webkit-background-clip: initial;
		background-clip: initial;
		-webkit-text-fill-color: initial;
	}

	.nav-mobile .nav-item.active .nav-link::before,
	.nav-mobile .nav-item.active .nav-link:hover::before {
		content: "";
		display: block;
		width: 100%;
		height: 1px;
		background-color: #f9b92f;
		position: absolute;
		bottom: 0;
		left: 0;
	}

	.nav-mobile .nav-link svg {
		margin-right: 0.5rem;
		width: 20px;
		height: 20px;
	}
}

/* END: mobile navbar */

/* START: main-page */
.page_bars {
	position: relative;
}

.main-page .sports-bars {
	/* border-bottom: 1px solid #ffffff17; */
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 16px;
	padding-bottom: 0;
	overflow: auto;
	white-space: nowrap;
	flex-wrap: nowrap;
	margin-bottom: 0;
	position: relative;
}

.main-page .sports-bars ul {
	list-style: none;
	width: 100%;
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	flex: 0 0 calc(100% - 145px);
	padding-right: 6px;
	border-bottom: none;
}

.main-page .sports-bars ul li {
	position: relative;
	margin: 0;
}

.main-page .sports-bars ul li:last-child::after {
	width: 0;
}

.main-page .sports-bars ul li button {
	border: none;
	color: rgba(255, 255, 255, 0.5);
	text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	/* text-transform: uppercase; */
	font-weight: 600;
	min-width: 85px;
	height: 70px;
	outline: 0;
	border-radius: 6px;
	padding: 15px 7px;
	background: #1a1f2b;

	&:hover {
		border: none;
	}
}

.main-page .sports-bars ul li button span {
	font-family: 'Be Vietnam Pro', sans-serif;
	font-weight: 600;
	font-size: 15.98px;
	line-height: 20.35px;
	letter-spacing: 0px;
	text-align: center;
	background: linear-gradient(90deg, rgba(153, 153, 153, 1), rgba(255, 255, 255, 1) 50%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.main-page .sports-bars ul li button.active,
.main-page .sports-bars ul li button:focus,
.main-page .sports-bars ul li button:hover {
	position: relative;
	color: #ffae94;
	border-radius: 7px;
	border: none;
	transition: background 0.3s ease, border 0.3s ease, color 0.3s ease;
	background: linear-gradient(360deg,
			hsl(0deg 0% 100% / 0%) 0%,
			hsl(0deg 100% 17.06% / 50%) 90%);

}

.main-page .sports-bars ul li button:focus::after,
.main-page .sports-bars ul li button:focus::before {
	outline: none;
}

.main-page .sports-bars ul li button.active::after,
.main-page .sports-bars ul li button:hover::after {
	content: "";
	position: absolute;
	top: -3px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 3px;
	background-color: #ff4002;
	border-radius: 12px 12px 0 0;
}

.main-page .sports-bars ul li button.active::before,
.main-page .sports-bars ul li button:hover::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 7px;
	padding: 1.6px;
	background: linear-gradient(180deg, #0c121e 0%, #550000 42%, #27060a 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.main-page .sports-bars ul li button.active path,
.main-page .sports-bars ul li button:focus path,
.main-page .sports-bars ul li button:hover path {
	fill: #ff4002;
	transition: fill 0.3s ease;
}

@media (max-width: 991px) {
	.menu-top {
		width: 120px;
		text-align: center;
		margin-top: 10px;
	}

	.main-nav__dark-light-toggle {
		margin-top: 10px;
		padding-left: 15px;
	}
}

/* START: switch */
.main-page .sports-bars .btn-livescore {
	position: relative;
	width: 145px;
	height: 30px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	cursor: pointer;
	padding-left: 10px;
}

.switch {
	color: #00fffd;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	align-items: center;
	line-height: 20px;
	margin-bottom: 0;
}

.switch input {
	display: none;
}

.switch-custom {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 25px;
	background: transparent;
	overflow: hidden;
	z-index: 1;
}

.switch-custom::before {
	content: "";
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(to top, #00c8f4, #4253f3);
	border-radius: 25px;
	z-index: -1;
}

.switch-custom::after {
	content: "";
	position: absolute;
	top: 1.5px;
	left: 1.5px;
	right: 1.5px;
	bottom: 1.5px;
	background: #000;
	border-radius: 25px;
	z-index: -1;
}

.switch>input[type="checkbox"]:checked~.switch-custom:after {
	background: linear-gradient(to top, #2532d5, #070e59);
	border-image-source: linear-gradient(to bottom, #00c8f4, #4253f3);
}

.switch .switch-style {
	background: #3e3e3e;
	border-radius: 30px;
	cursor: pointer;
	display: inline-block;
	height: 18px;
	width: 32px;
	position: relative;
	transition: all 0.3s ease-in-out;
	margin-right: 10px;
	z-index: 2;
}

.switch .switch-style:before {
	background-color: #fff;
	border-radius: 50%;
	content: "";
	display: block;
	height: 14px;
	width: 14px;
	left: 2px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.3s ease-in-out;
}

.switch>input[type="checkbox"]:checked+.switch-style {
	background: linear-gradient(93deg, #0157ff 12.13%, #a3ffff 101.78%);
}

.switch>input[type="checkbox"]:checked+.switch-style:before {
	left: 16px;
}

.switch .txt {
	position: relative;
	z-index: 2;
}

.football-tab,
.basketball-tab,
.tennis-tab {
	background-color: rgba(26, 31, 43, 0.7);
	border-radius: 12px;
	padding: 10px 15px;
}

.football-tab {
	padding: 8px 12px;
}

.main-page .list-filter {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	list-style: none;
	gap: 10px;
	padding: 0 2px;
	margin-bottom: 0;
}

.match__settings {
	position: relative;
	display: flex;
	justify-content: flex-end;
}

.main-page .list-filter li a {
	background: url(../images/front/list-bg.png) no-repeat center center / cover;
	position: relative;
	z-index: 2;
	font-size: 13px;
	font-weight: 500;
	/* padding: 15px 20px; */
	text-decoration: none;
	border-radius: 30px;
	line-height: 18px;
	min-width: 142px;
	height: 38px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	color: #fff;
}

.main-page .list-filter li a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 30px;
	padding: 1px;
	background: linear-gradient(180deg, #232f47 2%, #232f47 47%, #1c222f 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.main-page .list-filter li a .num {
	font-family: 'Oswald', sans-serif;
	background: #151618;
	color: #ffffff;
	font-weight: 600;
	border-radius: 38px;
	width: 22px;
	height: 18px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 11px;
}

.main-page .list-filter li a.now .num {
	background: #07eb66;
	color: #1a1f2b;
}

.main-page .list-filter li a.active {
	color: rgba(7, 235, 102, 1) !important;
	position: relative;
	border-radius: 38px;
}

.main-page .list-filter li a.active svg,
.main-page .list-filter li a.active svg *,
.main-page .list-filter li a.active svg path,
.main-page .list-filter li a.active svg g {
	fill: rgba(7, 235, 102, 1) !important;
	color: rgba(7, 235, 102, 1) !important;
}

.main-page .list-filter li a.active::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 50%;
	transform: translateX(-50%);
	width: 63px;
	height: 2px;
	background-color: rgba(7, 235, 102, 1);
	border-radius: 14px;
	box-shadow: 0 0px 15px 3px rgb(7 235 102 / 50%);
	z-index: -1;
	pointer-events: none;
}

.main-page .list-filter li a:hover {
	color: rgba(7, 235, 102, 1) !important;
	position: relative;
	border-radius: 38px;
}

.main-page .list-filter li a:hover svg,
.main-page .list-filter li a:hover svg *,
.main-page .list-filter li a:hover svg path,
.main-page .list-filter li a:hover svg g {
	fill: rgba(7, 235, 102, 1) !important;
	color: rgba(7, 235, 102, 1) !important;
}

.main-page .list-filter li a:hover::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 50%;
	transform: translateX(-50%);
	width: 63px;
	height: 2px;
	background-color: rgba(7, 235, 102, 1);
	border-radius: 14px;
	box-shadow: 0 0px 15px 3px rgb(7 235 102 / 50%);
	z-index: -1;
	pointer-events: none;
}

.main-page .list-filter li a.now {
	color: #fff;
	background: rgba(16, 22, 33, 1);
	position: relative;
	border-radius: 38px;
	min-width: 110px;
	height: 38px;
}

.main-page .list-filter li a.now::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 38px;
	padding: 1px;
	background: linear-gradient(360deg, #005624 2%, #006d2e 47%, #005e27 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
	transition: background 0.3s ease;
}

/* END: switch */

@media (max-width: 1199px) {
	.football-tab,
	.basketball-tab,
	.tennis-tab,
	.badminton-tab,
	.volleyball-tab {
		margin-left: 10px;
    	margin-right: 10px;
	}
	.grid-matches_wrapper {
		margin-top: 10px !important;
	}
	.main-page .list-filter li a {
		/* min-width: fit-content; */
		gap: 7px;
	}

	.main-page .list-filter {
		overflow-x: scroll;
		overflow-y: hidden;
		padding: 0 0 12px 0;
		/* margin-bottom: 12px; */
	}
}

@media (max-width: 992px) {
	.match__settings {
		margin-top: 10px;
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.main-page .list-filter li a {
		min-width: max-content;
		padding: 5px 10px;
	}

	.main-page .list-filter {
		gap: 10px;
	}

	span.txt {
		width: 50px;
		overflow: hidden;
		text-overflow: ellipsis;
		text-wrap: nowrap;
	}

	.main-page .sports-bars {
		display: grid;
		grid-template-columns: 1fr 85px;
		gap: 7px;
		padding-inline: 4px;
		transform: scale(0.96);
	}

	.main-page .sports-bars ul li button {
		min-width: auto;
	}

	.main-page .sports-bars .btn-livescore {
		width: 100px;
	}

	.main-page .list-filter li a {
		min-width: 130px;
		padding: 5px 9px;
	}

	.main-page .sports-bars .btn-livescore {
		width: auto;
		font-size: 11px;
	}

	.switch>input[type="checkbox"]:checked+.switch-style:before {
		left: 5px;
	}
}

@media (max-width: 576px) {
	.main-page .sports-bars ul {
		justify-content: flex-start;
		padding-right: 0;
		gap: 2px;
	}

	.main-page .sports-bars ul li button {
		font-size: 8px;
	}

	.switch>input[type="checkbox"]:checked+.switch-style:before {
		left: 15px;
	}

	.main-page .list-filter li a {
		font-size: 11px;
		font-weight: 500;
	}

	.main-page .list-filter {
		gap: 5px;
	}

	.switch .switch-style {
		width: 30px;
		margin-right: 5px;
	}
}

@media (max-width: 409px) {
	.main-page .sports-bars ul li button {
		font-size: 9px;
		min-width: auto;
		height: 55px;
		max-height: 55px;
	}

	.main-page .sports-bars ul li button.active::after,
	.main-page .sports-bars ul li button:hover::after {
		width: 20px;
	}
}

/* END: main-page */

/* START: Grid Matches */
.grid-matches_wrapper {
	margin-top: 20px;
}

#grid-matches {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, 1fr);
}

.main-grid-match {
	position: relative;
	border-radius: 11px;
	background: #14141466 url("/wp-content/themes/bongda/public/images/front/grid-match_bg.svg") center center / cover no-repeat;
}

.main-grid-match::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 11px;
	padding: 1px;
	background: linear-gradient(180deg, #232f47 2%, #232f47 47%, #1c222f 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.main-grid-match a {
	text-decoration: none;
}

.grid-match__tennis .team-name-group {
	height: 45px;
}

.gmd-tournament-header {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 120px 1fr;
	align-items: center;
	text-align: center;
	padding: 14px 15px;
	color: #fff;
}

.gmd-match-date {
	margin-right: 0px;
}

.gmd-match-league {
	text-align: left;
	color: #828b98;
	text-transform: uppercase;
	font-size: 11px;
	margin-left: 6px;
}

.gmd-match-league img {
	height: 24px;
	width: 24px;
}

.gmd-comp_logo {
	height: 14px;
	width: 14px;
	object-fit: contain;
}

.gmd-elapsed-time {
	position: relative;
	border-radius: 5px;
	text-align: center;
}

.gmd-elapsed-wrapper {
	position: absolute;
	top: -27px;
	width: 120px;
	height: 30px;
}

.gmd-e_minutes {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	font-size: 11px;
	font-family: "Roboto", sans-serif;
	/* font-weight: bold; */
	color: #fff;
	text-wrap: nowrap;
}

.gmd-match-date {
	text-align: right;
	font-size: 12px;
	color: #8cd5ff;
}

.gmd-match-date span {
	font-family: 'Oswald', sans-serif;
	white-space: nowrap;
	position: relative;
	padding: 5px 10px;
	margin-bottom: 0;
	border-radius: 13px;
	box-shadow: inset 0px 0px 0 1px #262d3f;
}

.gmd-match-date span::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 13px;
	padding: 1px;
	background: linear-gradient(180deg, #232f47 2%, #232f47 47%, #1c222f 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.gmd-score-box {
	border-radius: 5px;
	display: flex;
	font-size: clamp(1.1875rem, 2vw + 0.5rem, 1.1875rem);
	font-weight: 500;
	gap: 0.3rem;
	justify-content: space-evenly;
	padding: 5px;
	background: linear-gradient(90deg, #0e0065 0%, #09003f 100%);
	margin-top: 4px;
}

.gmd_home-score.is-win p,
.gmd_away-score.is-win p {
	background: linear-gradient(0deg, #2532d5 0%, #070e59 76.25%);
	padding-inline: 10px;
	height: 30px;
	line-break: 27px;
}

.gmd_home-score p {
	border-radius: 5.625px;

	margin-bottom: 0;
	position: relative;
}

.is-win p::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 6px;
	padding: 1px;
	background: linear-gradient(360deg,
			rgba(0, 200, 244, 0.75),
			rgba(66, 83, 243, 0.75));
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.gmd_away-score p {
	position: relative;
	margin-bottom: 0;
	border-radius: 5.625px;

}

.data-team-50 {
	height: 40px !important;
	width: 40px;
	-o-object-fit: contain;
	object-fit: contain;
	padding: 2px;
}

.gmd-match-footer {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	padding: 5px 10px;
	margin: 0.25rem 1rem 0.5rem 1rem;
	align-items: center;
	border-radius: 11px;
	box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.12);
	background: linear-gradient(180deg,
			rgba(0, 31, 59, 0.5) 0%,
			rgba(0, 25, 49, 0.5) 50%,
			rgba(26, 31, 43, 0.5) 100%);
}

.gmd-match-footer__streamer {
	display: flex;
	gap: 5px;
	align-items: center;
	color: #bbbbbb;
	justify-content: center;
	position: relative;
}

/* BLV toggle */
.extra-info {
	display: none;
	flex-direction: row;
	gap: 5px;
}

.toggle-btn {
	background: none;
	border: none;
	color: #bbbbbb;
	/* background-color: #122A33; */
	border: 1px solid transparent;
	border-radius: 38px;
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	position: relative;
}

.blv-count {
	display: flex;
	align-items: center;
	gap: 5px;
}

span.blv-arrow {
	color: #BBB;
}

.gmd-match-footer__streamer.active span.blv-arrow {
	color: #bbbbbb;
}

/* .gmd-match-footer__streamer.active span:first-child {
	display: none;
} */
.no-blv img {
	filter: grayscale(100%);
}

.no-blv .blv-count {
	display: none;
}

.gmd-match-footer__streamer.active .toggle-btn.no-blv {
	border: 1px solid transparent;
	background-color: transparent;
}

button.toggle-btn span {
	font-size: 12px;
}

.toggle-btn:focus {
	outline: none;
}

.gmd-match-footer__streamer.active .extra-info {
	display: flex;
	align-items: center;
}

/* BLV toggle */
.toggle-btn::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 1px;
	height: 24px;
	opacity: 0.3;
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0) 0%,
			#fff 54.5%,
			rgba(255, 255, 255, 0) 100%);
}

.gmd-match-footer__flag {
	display: flex;
	justify-content: flex-start;
	width: fit-content;
	border-radius: 38px;
	font-size: 11px;
	color: #ACACAC !important;
	font-family: Roboto;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	gap: 6px;
}

.gmd-match-footer__flag.flag-mobile {
	display: none;
}

.grid-match__h2h-vs {
  gap: 3px;
  align-items: center;
}
.grid-match__h2h-vs img {
  height: 14px !important;
  width: 14px !important;
  object-fit: contain;
}

.gmd-match__goal-scoring {
	gap: 2px;
	color: #fff;
	padding: 3px;
}

.gmd-match__goal-scoring .gmd-ht {
	color: #0cc956;
}

.gmd-match__corner-ball,
.gmd-match__goal-scoring,
.gmd-match__corner-yellow {
	gap: 4px;
	align-items: center;
}

.gmd-match-footer__odds {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
	height: 32px;
}

.main-grid-match a {
	text-decoration: none;
}

.main-grid-match a.odds-comp img {
	width: 57px;
	height: auto;
	object-fit: contain;
}

#tennis a.odds-comp img {
	width: auto;
	max-width: 73px;
}

.grid-match--is-hot {
	border: 1px solid #be3342;
}

.gmd-match__odds {
	color: #8d92a2;
	font-family: "Roboto";
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	position: relative;
	min-width: 90px;
}

.gmd-match__odds::before {
	content: "";
	position: absolute;
	left: 27px;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 1px;
	height: 24px;
	opacity: 0.3;
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0) 0%,
			#fff 54.5%,
			rgba(255, 255, 255, 0) 100%);
}

.gmd-match__odds::after {
	content: "";
	position: absolute;
	right: 27px;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 1px;
	height: 24px;
	opacity: 0.3;
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0) 0%,
			#fff 54.5%,
			rgba(255, 255, 255, 0) 100%);
}

.gmd-match__odds-item {
	display: flex;
	justify-content: space-between;
	line-height: 16px;
	gap: 15px;
	position: relative;
}

.gmd-match__odds-item p {
	margin-bottom: 0;
}

.odds_inc {
	color: #0cc956;
}

.odds_dec {
	color: #ff0000;
}

.odds_neut {
	color: #1a83ff;
}


@media screen and (max-width: 1200px) {
  .grid-match__h2h-vs img {
    height: 10px !important;
    width: 10px !important;
  }
}

@media (max-width: 1199px) {
	.gmd-match__goal-scoring {
		padding: 3px 0 3px 6px;
	}

	span.gmd-match__corner-ball {
		padding: 3px 6px 3px 0;
	}
}

@media (max-width: 991px) {
	#grid-matches {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.gmd-match-footer__streamer.active .extra-info {
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 85px;
		background: linear-gradient(180deg,
				rgba(0, 31, 59, 1) 0%,
				rgba(0, 25, 49, 1) 50%,
				rgba(26, 31, 43, 0.5) 100%);
		border-radius: 6px;
		padding: 5px 7px;
		box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
		z-index: 998;
	}

	.extra-info_one {
		display: block;
		grid-template-columns: 1fr 1fr;
		justify-items: center;
		align-items: center;
		gap: 3px;
	}

	button.toggle-btn span {
		font-size: 11px;
	}

	.gmd-match__odds {
		font-size: 10px;
		min-width: 85px;
	}

	.gmd-match__odds-item {
		gap: 10px;
	}

	.main-grid-match a.odds-comp img {
		width: 50px;
		height: auto;
		object-fit: contain;
	}

	.gmd-match-footer {
		grid-template-columns: 75px 1fr 1fr;
	}

	.gmd-match-footer__flag {
		display: none;
	}

	.gmd-match-footer__flag.flag-mobile {
		display: flex;
		margin: 0 auto;
	}
	.gmd-match-footer:not(:has(.no-blv)),
	.gmd-match-footer:not(:has(.int-blv)) {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 430px) {
	.gmd-match-footer {
		padding: 5px;
		margin: 0.25rem 0.35rem 0.25rem 0.35rem;
	}

	.gmd-match__odds {
		font-size: 9px;
		min-width: 80px;
	}

	.gmd-match-footer__odds {
		gap: 5px;
	}

	.main-grid-match a.odds-comp img {
		width: 45px;
	}

	.gmd-match-league {
		width: 100px;
		text-wrap: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.gmd-home_team p,
	.gmd-away_team p {
		width: 50px;
		text-wrap: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.grid-match__h2h-vs {
		gap: 2px;
	}
	.grid-match__h2h-vs .grid-match__goal {
		font-size: 9px;
		margin: 0;
	}
	.grid-match__h2h-vs img {
		height: 9px !important;
		width: 9px !important;
	}
}

/* END: Grid Matches */

/* Recent Changes */
.gmd-content_match {
	align-items: start;
	color: #fff;
	display: flex;
	/* grid-template-columns: 1fr 85px 1fr; */
	padding: 0 0.5rem 0.8rem;
	text-align: center;
	/* align-items: center; */
	margin-top: 3px;
}

.gmd-home_team {
	display: grid;
	justify-content: end;
	justify-items: center;
	align-items: center;
	gap: 11px;
	padding-right: 24px;
	flex: 1;

	p {
		margin-bottom: 0 !important;
		width: 150px;
		text-overflow: ellipsis;
		text-wrap: nowrap;
		overflow: hidden;
	}
}

.gmd-away_team {
	display: grid;
	justify-content: start;
	justify-items: center;
	align-items: center;
	gap: 11px;
	padding-left: 24px;
	flex: 1;

	p {
		margin-bottom: 0 !important;
		width: 150px;
		text-overflow: ellipsis;
		text-wrap: nowrap;
		overflow: hidden;
	}
}

.gmd-mid_score {
	width: max-content;
}

.gmd-team .team-logo-group img {
	height: 50px;
	width: 50px;
	-o-object-fit: contain;
	object-fit: contain;
	padding: 2px;
}

.gmd-home_team .team-name-group {
	text-align: center;
}

.gmd-away_team .team-name-group {
	text-align: center;
}

.gmd-match-footer-tennis {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	gap: 12px;
}

.gmd-match-footer-tennis .t-incident-tennis {
	width: 200px;
	gap: 4px;
}

.gmd-match-footer-tennis .t-incident-tennis-5 {
	width: 260px;
}

.gmd-match-footer-tennis .t-incident-tennis .tib-row-head {
	display: none;
}

.gmd-match-footer-tennis .grid-pt {
	color: #b8d891;
	text-align: center;
	font-family: Roboto;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	line-height: 20px;
}

.gmd-match-footer-tennis .grid-pt div {
	height: 24px;
	display: flex;
	align-items: center;
}

.gmd-match-footer-tennis .grid-pt .grid-pt-home {
	margin-bottom: 8px;
}

@media (max-width: 480px) {
	.gmd-home_team {
		padding-right: 5px;
	}

	.gmd-away_team {
		padding-left: 5px;
	}

	.gmd-score-box {
		font-size: 17px;
	}
}

@media (max-width: 768px) {
	.grid-match__tennis .team-name-group {
		height: 36px;
	}

	.gmd-away_team p,
	.gmd-home_team p {
		width: 100px;
		text-overflow: ellipsis;
		text-wrap: nowrap;
		overflow: hidden;
	}

	main#main {
		padding-top: 0px;
	}
}

.redirectPopup {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 73%;
	z-index: 1;
}

.toggle-btn {
	background: none;
	border: none;
	color: #bbbbbb;
	border: 1px solid transparent;
	border-radius: 38px;
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	margin-bottom: 0;
}

button.toggle-btn.no-blv:after {
	display: none;
}

/* FIX Center Odds */
.gmd-match__odds-item {
	display: flex;
	justify-content: space-around;
	line-height: 16px;
	gap: 10px;
	position: relative;
	text-align: center;
}

.gmd-match__odds-item p {
	margin-bottom: 0;
	flex: 1;
}

/* Fix BLV */
.extra-info_one svg {
	width: 24px;
	height: 24px;
}

.extra-info_one span {
	color: white;
	font-size: 11px;
	margin-top: 4px;
}

.events_box .btn-custom {
	background: -webkit-linear-gradient(72.67deg,
			#ff7f23 -19.2%,
			#ffbc09 87.67%);
	background: -o-linear-gradient(72.67deg, #ff7f23 -19.2%, #ffbc09 87.67%);
	background: linear-gradient(17.33deg, #ff7f23 -19.2%, #ffbc09 87.67%);
	border-radius: 3px;
	font-family: "Source Sans Pro", sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 17.0016px;
	line-height: 27px;
	text-transform: uppercase;
	color: #04060b;
	width: 100%;
}

.form-group.sl-leagues .form-control {
	border: none;
	border-radius: 30px;
	color: #fff;
	/* background: linear-gradient(180deg, rgba(0, 31, 59, 0.5) 0%, rgba(0, 25, 49, 0.5) 50%, rgba(26, 31, 43, 0.5) 100%); */
	background: url(../images/front/dropdown-bg.png) no-repeat center center / cover;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: .375rem .75rem;
	position: relative;
	z-index: 1;
}

.form-group.sl-leagues {
	position: relative;
	border-radius: 30px;
	background: url(../images/front/dropdown-bg.png) no-repeat center center / cover;
	padding: 1px;
}

.form-group.sl-leagues::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 30px;
	padding: 1px;
	background: linear-gradient(180deg, #232f47 2%, #232f47 47%, #1c222f 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.form-group.sl-leagues::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	width: 14px;
	height: 8px;
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.5' d='M12.4588 0.718764C12.87 0.29833 13.2811 0.289571 13.6923 0.692486C14.1035 1.0954 14.1035 1.48955 13.6923 1.87495L7.86123 7.34057C7.71171 7.51575 7.50613 7.60334 7.24448 7.60334C6.98283 7.60334 6.77725 7.51575 6.62773 7.34057L0.796657 1.87495C0.385489 1.48955 0.385489 1.0954 0.796657 0.692485C1.20783 0.28957 1.61899 0.298329 2.03015 0.718764L7.24448 5.55373L12.4588 0.718764Z' fill='%23919191'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	z-index: 2;
}

.form-group.sl-leagues .form-control::-ms-expand {
	display: none;
}

.form-group.sl-leagues,
.form-group.sl-leagues .form-control {
	margin-bottom: 0;
}

.sl-leagues option {
	background-color: rgba(26, 31, 43, 0.7);
	backdrop-filter: blur(10px);
}

.gmd-match-league {
	color: white !important;
	font-weight: 500 !important;
	display: flex;
	align-items: center;
}

.gmd-match-league .text-ellipsis {
	width: 170px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 11px;
	line-height: 14px;
	letter-spacing: 0px;
	text-transform: uppercase;
	color: rgba(130, 139, 152, 1);
}

.extra-info_one a,
.extra-info_one a:hover {
	color: transparent;
}

.gmd-elapsed-time {
	position: relative;
	border-radius: 5px;
	text-align: center;
}

.gmd-elapsed {
	width: 100%;
	height: 100%;
}

.gmd-match-footer__flag img {
	height: 12px;
}

.gmd-score-box.grid-match__vs {
	padding: 5px 25px;
}

.gmd-score-box.grid-match__vs.t_vs_num {
	padding: 5px;
}

.main-page .sports-bars ul li button img {
	width: 21px;
	height: 21px;
}

.main-page .sports-bars ul li button.active img {
	filter: brightness(0) saturate(100%) invert(35%) sepia(98%) saturate(669%) hue-rotate(355deg) brightness(103%) contrast(101%);
}

@media (max-width: 768px) {

	.gmd-away_team p,
	.gmd-home_team p {
		width: 100px;
		text-overflow: ellipsis;
		text-wrap: nowrap;
		overflow: hidden;
		font-size: 12px;
		white-space: nowrap;
	}
}

.gmd-match-league {
	color: white !important;
	font-weight: 500 !important;
	display: flex;
	align-items: center;
	gap: 7px;
}

.gmd-match__odds-item .up {
	color: #0CC956;
}

.gmd-match__odds-item .down {
	color: #FF0000;
}

.gmd-match__odds-item .odds_neut {
	color: #1A83FF;
}

@media (max-width: 767px) {
	.main-page .sports-bars ul li button {
		margin-bottom: 0;
	}

	span.txt {
		width: auto;
		overflow: hidden;
		text-overflow: ellipsis;
		text-wrap: nowrap;
	}

	.gmd-match-league {
		max-width: 100px !important;
	}
}

/* MOBILE SHORT LEAGUE */
.gmd-match-league .text-ellipsis {
	position: relative;
	display: inline-block;
	text-wrap: nowrap;
	white-space: nowrap;
}

.gmd-match-league .text-ellipsis::after {
	content: attr(data-attr);
	display: none;
}

@media (max-width: 767px) {
	.gmd-match-league .text-ellipsis {
		color: transparent;
		position: relative;
	}

	.gmd-match-league .text-ellipsis::after {
		display: inline;
		position: absolute;
		left: 0;
		top: 0;
		color: #828B98;
	}

	.gmd-match-footer__streamer {
		justify-content: flex-start;
	}

	#football .gmd-match-footer__streamer {
		justify-content: center;
	}

	h1 a {
		background-color: #0a0e16 !important;
		padding-top: 0px !important;
		padding-bottom: 0px !important;
		line-height: 24px !important;
	}
}

/* MOBILE SHORT LEAGUE */
.gmd-score-box.grid-match__vs.t_vs_num:not(:has(.is-win)) {
	padding: 5px 15px;
}

/* FIX BLV */
.gmd-match-footer__streamer.active .extra-info:has(.extra-info_one:nth-child(3)) {
	flex-direction: column;
	position: absolute;
	top: 100%;
	/* left: 0; */
	width: 85px;
	background: linear-gradient(180deg, rgba(0, 31, 59, 1) 0%, rgba(0, 25, 49, 1) 50%, rgba(26, 31, 43, 0.5) 100%);
	border-radius: 6px;
	padding: 5px 7px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 998;
}

.gmd-match-footer__streamer.active .extra-info:has(.extra-info_one:nth-child(3)) .extra-info_one {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 3px;
}

.gmd-match-footer__streamer.active .extra-info:has(.extra-info_one:nth-child(3)) {
	align-items: flex-start;
}

/* matches__filter-leagues */
.matches__filter--leagues .sl-leagues {
	position: relative;
	width: 100%;
	margin: 0;
}

.custom-dropdown-trigger {
	background-color: #2C2A2A;
	color: white;
	padding: 7px 20px 7px 10px;
	border-radius: 100px;
	font-size: 13px;
	cursor: pointer;
	border: none;
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}

.custom-dropdown-trigger img {
	height: 16px;
	width: 16px;
	object-fit: contain;
}

.custom-dropdown-content {
	display: none;
	position: absolute;
	top: 38px;
	right: 0;
	min-width: 200px;
	width: max-content;
	z-index: 999;
	border-radius: 6px;
	background: #141516;
	box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.50);
	border: 1px solid #ffffff1c;
}

.custom-dropdown-content .custom-dropdown-head {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #ffffff1c;
	padding: 13px 15px;
}

.custom-dropdown-content .custom-dropdown-head span {
	color: #00FF4B;
	text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
	font-family: Oswald;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	text-transform: uppercase;
}

.custom-dropdown-content .custom-dropdown-head .custom-dropdown-close {
	cursor: pointer;
}

.custom-dropdown-list {
	max-height: 450px;
	overflow: auto;
}

.show-dropdown {
	display: block;
}

.custom-dropdown-option {
	color: white;
	padding: 13px 15px;
	cursor: pointer;
	font-size: 13px;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid transparent;
	border-bottom: 1px solid #ffffff1c;
}

.custom-dropdown-option .league-name {
	display: flex;
	align-items: center;
	gap: 10px;
}

.custom-dropdown-option img {
	height: 16px;
	width: 16px;
	object-fit: contain;
}

.custom-dropdown-option .count {
	font-family: Roboto;
	font-weight: 700;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.custom-dropdown-option:hover,
.custom-dropdown-option.active {
	border-top: 1px solid #006590;
	border-bottom: 1px solid #006590;
	color: #00FF4B;
	background: linear-gradient(270deg, rgba(11, 13, 12, 0.32) 42.28%, rgba(22, 53, 89, 0.20) 50.82%);
}

.custom-dropdown-option:hover .count svg g,
.custom-dropdown-option.active .count svg g {
	opacity: 1;
}

.custom-dropdown-option:hover .count svg path,
.custom-dropdown-option.active .count svg path {
	fill: #00FFFD;
}

.custom-dropdown-trigger::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	width: 6px;
	height: 6px;
	border: solid #00eb1f;
	border-width: 0 2px 2px 0;
	transform: translateY(-50%) rotate(45deg);
	pointer-events: none;
}

.custom-dropdown-trigger span {
	width: 120px;
	text-overflow: ellipsis;
	text-wrap: nowrap;
	overflow: hidden;
	white-space: nowrap;
}

@media (max-width: 576px) {
	.custom-dropdown-trigger {
		padding: 8px 20px;
	}

	.custom-dropdown-content {
		width: 100%;
		top: 45px;
	}
}

/* END: matches__filter-leagues */
.sport-loading {
	font-family: 'Roboto';
	border-collapse: collapse;
	border: 1px solid #343940;
	width: 320px;
	text-align: center;
	padding: 12px;
	margin: 0 auto;
	color: white;
	position: relative;
	right: -50%;
}

@media (max-width: 767px) {
	.sport-loading {
		right: unset;
		position: static;
	}

	div#grid-matches {
		padding: 10px;
	}

	.gmd-match-league .text-ellipsis {
		width: auto !important;
	}

	.home div#play_main,
	.home .live-top {
		padding-inline: 10px;
	}

}

.custom-dropdown-trigger {
	position: relative;
	border-radius: 30px;
	background: url(../images/front/dropdown-bg.png) no-repeat center center / cover;
}

.custom-dropdown-trigger img {
	display: none;
}

.custom-dropdown-trigger::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 30px;
	padding: 1px;
	background: linear-gradient(180deg, #232f47 2%, #232f47 47%, #1c222f 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	pointer-events: none;
}

.home #play_main {
	margin-top: 10px !important;
}

.home .teambox_agg {
	bottom: -15px !important;
}

div#app {
	overflow-x: hidden;
}

label.btn-livescore {
	border-radius: 25px;
	border: 1px solid #3A3A3A;
	background: #1B1D21;
	padding-inline: 15px;
	gap: 8px;
	width: auto !important;
}

label.btn-livescore span {
	font-family: Raleway;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
}

label.btn-livescore.active span {
	color: #07EB66;
}

.gmd-match-footer__streamer.active .toggle-btn img {
	display: none;
}

.gmd-match-footer__streamer.active .toggle-btn span:first-child {
	display: none;
}

.gmd-match-footer__streamer.active .toggle-btn span.blv-arrow {
	color: red !important;
	transform: rotate(180deg);
}

@media (max-width: 1024px) {
	.gmd-match-footer__streamer.active .extra-info {
		align-items: flex-start;
		justify-content: flex-start;
	}

	.extra-info_one span {
		margin-top: 0px;
	}

	#football {
		.gmd-match__corner-ball {
			margin-left: 0px;
		}

		.flag-mobile {
			display: none !important;
		}

		.gmd-match-footer__flag {
			display: flex;
			padding-left: 5px;
			padding-right: 5px;
		}

		.gmd-match-footer:not(:has(.no-blv)),
		.gmd-match-footer:not(:has(.int-blv)) {
			grid-template-columns: 1fr 28px 1fr !important;
			gap: 0;
		}

		.gmd-match-footer {
			padding: 5px 5px;
			gap: 0;
		}

		.main-grid-match a.odds-comp img {
			width: 52px;
		}

		.gmd-match__odds {
			text-align: center;
			font-family: Roboto;
			font-size: 9px !important;
			font-style: normal;
			font-weight: 400;
			min-width: 75px !important;
		}

		.gmd-match__odds-item {
			gap: 0px;
		}

		.gmd-match__odds::before {
			left: 25px;
		}

		.gmd-match__odds::after {
			right: 24px;
		}

		.gmd-match-footer__odds {
			gap: 3px;
		}

		.gmd-match-footer:not(:has(.no-blv)),
		.gmd-match-footer:not(:has(.int-blv)) {
			grid-template-columns: 1fr 80px 1fr !important;
		}

		.gmd-match-footer__streamer:has(.no-blv),
		.gmd-match-footer__streamer:has(.int-blv) {
			justify-content: center;
		}

		.gmd-match-footer__streamer {
			gap: 0;
			position: relative;
		}

		.toggle-btn::after {
			left: 3px;
		}

		.extra-info_one svg {
			width: 22px;
			height: 22px;
		}

		.extra-info_one span {
			font-family: 'Oswald';
		}

		.gmd-match-footer__flag {
			font-family: 'Roboto Condensed';
			font-size: 11px;
			font-style: normal;
		}

		.gmd-match__goal-scoring {
			padding-left: 2px;
		}
	}

	label.btn-livescore {
		transform: scale(0.8);
		top: 5px;
	}

	.gmd-match-footer__flag {
		gap: 5px;
	}

	.gmd-match-footer__flag span {
		font-family: 'Roboto';
		font-size: 10px;
		font-style: normal;
	}

	span.gmd-match__half-court.halfCourt {
		margin-left: 0;
		margin-right: 3px;
	}

	.gmd-match__goal-scoring .gmd-ht {
		margin-right: 2px;
	}

	.toggle-btn.no-blv:has(img) {
		margin-right: 4px;
	}

	.gmd-away_team p,
	.gmd-home_team p {
		margin-bottom: 0 !important;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
		/* width: 55px; */
	}

	.filter-row {
		flex-direction: column;
	}

	.custom-dropdown-trigger {
		width: 100%;
		max-width: 100%;
		margin-top: 6px;
		margin-bottom: 6px;
	}

	.gmd-match-footer__streamer .toggle-btn img,
	.gmd-match-footer__streamer .toggle-btn span:first-child {
		display: none;
	}

	.page_bars {
		margin-bottom: 10px;
	}

	.main-page .sports-bars ul li button span {
		font-size: 10px;
	}

	.main-page .sports-bars ul li button img {
		width: 18px;
		height: 18px;
	}

	.main-page .sports-bars ul li button {
		padding: 12px 4px;
	}

	#sec-video-highlight,
	#sec-about {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 390px) {
	#football .gmd-match-footer__flag {
		padding-left: 2px;
		padding-right: 2px;
	}
}
#matches__filter--leagues-football {
	height: 100%;
	display: flex;
	align-items: center;
}

.grid-match--is-hot.main-grid-match::before {
	opacity: 0;
}

li.nav-item button.nav-link {
	margin-bottom: 20px;
}

p>span.normal {
	font-family: 'Roboto', sans-serif;
}
@media (max-width: 576px) {
    .gmd-match-footer__flag {
        gap: 2px;
    }
}