/* START: supporting css */
 .flex-1 {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.table {
    margin-bottom: 0;
}
/* END: supporting css */

/* START: team live */
.team-live {
  display: grid;
  grid-template-columns: 260px 1.6fr 1.14fr;
  background: url(/wp-content/themes/bongda/dist/images/detail-page/gmd-match-header.webp) no-repeat bottom / cover;
  margin-bottom: 20px;
  min-height: 120px;
  align-items: center;
  border-radius: 6px;
  padding: 0 6px;
  gap: 24px;
}

.teambox {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
.teambox .grid-match__time {
    left: 0;
    top: -22px;
    transform: none;
    width: 100%;
    text-align: center;
    color: #00FF4B;
    /* font-family: Roboto; */
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
}
.grid-match__time {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}
.teambox .grid-match__first {
    width: 100%;
    text-align: center;
    color: #fff;
    /* font-family: Roboto; */
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    line-height: 20px;
    text-transform: uppercase;
    bottom: -25px;
}
.grid-match__first {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 2;
}
.t_first .first-leg {
    color: #00FF4B;
}
.teambox__team-home {
    justify-content: flex-end;
}
.teambox__team-home .teambox__team-name {
    text-align: right;
}
.teambox__team-name {
    color: #FFF;
    /* font-family: Raleway; */
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    width: 150px;
    text-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.teambox__team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
    z-index: 1;
}

.teambox__team .team-logo-group img {
	width: 49px;
	height: 49px;
	object-fit: contain;
}

.teambox__team .team-logo-group-2 img {
	width: 44px;
	height: 44px;
}

.teambox__team .team-logo-group-2 .team-logo-1 {
	margin-left: -16px;
}

.teambox_agg {
	color: #FFF;
	font-family: "Roboto Condensed";
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
	position: absolute;
	bottom: -22px;
	left: 0;
	width: 100%;
	text-align: center;
}

.teambox_agg span {
	color: #00EB1F;
	font-weight: 500;
}
.team {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.teambox__center {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 2px;
}
.teambox__day {
    background: linear-gradient(110deg, #1553EF 20%, #0C3089 40%, #01081E 100%);
    color: #FFF;
    text-align: center;
    /* font-family: 'Roboto'; */
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    width: inherit;
    height: inherit;
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    max-width: 88px;
    height: 42px;
    border-radius: 6px;
    position: relative;
    gap: 7px;
}
.teambox__day:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1.02px;
    background: linear-gradient(110deg, #1456FF 20%, #658BEC 40%, #092E8D 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;
}
.teambox__day span {
    color: #FFF;
    text-align: center;
    /* font-family: Roboto; */
    font-size: 26px;        
    font-style: normal;
    font-weight: 600;
    line-height: 31px;
    flex: 1;
}
/* .t_vs_num span.winner {
    background: linear-gradient(136deg, #3EFFFF 0%, #166DEF 31.07%, #5968F7 45.94%, #AD1BF1 80.51%);
    stroke-width: 1px;
    stroke: #1456FF;
    border-radius: 50%;
    text-align: center;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* START: team live */
/* Start: t-incident Football */
.team-live .t-incident-column {
	z-index: 1;
}
.t-incident .t-incident-content {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.t-incident .incident-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(360deg, rgba(31, 62, 171, 0.32), rgba(22, 89, 81, .2));
    outline: 0;
    border: none;
    border-radius: 20px;
    width: 77px;
    height: 23px;
    color: white;
    border-radius: 6px;
    position: relative;
}

.t-incident .incident-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(360deg, rgba(0, 101, 144, 1), rgba(35, 59, 83, 0.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;
}
/* End: t-incident Football */

/* Start: t-incident Basketball */
.t-incident-basketball {
    display: flex;
    flex-direction: column;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    gap: 8px;
    color: #fff;
}

.t-incident-basketball .tib-row {
    display: grid;
    grid-template-columns: 100px 1fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 2px 10px;
	z-index: 1;
}
.t-incident-basketball .tib-row .tib-column-value-ot,
.t-incident-basketball .tib-row .tib-home-ot,
.t-incident-basketball .tib-row .tib-away-ot {
    display: none;
}
.t-incident-basketball .tib-row-ot {
    grid-template-columns: 100px 1fr 1fr 1fr 1fr 1fr;
}
.t-incident-basketball .tib-row-ot .tib-column-value-ot,
.t-incident-basketball .tib-row-ot .tib-home-ot,
.t-incident-basketball .tib-row-ot .tib-away-ot {
    display: block;
}
.t-incident-basketball .tib-row-head {
    text-transform: uppercase;
    color: #c2e598;
}

.t-incident-basketball .tib-row-team {
    position: relative;
}

.t-incident-basketball .tib-row-team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    padding: 1px;
    background: linear-gradient(360deg, #01a441, #1a1e23);
    -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;
}

.t-incident-basketball .tib-column-name {
    color: #c2e598;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.t-incident-basketball .tib-column-value {
    text-align: center;
}

.t-incident-basketball .tib-row .tib-win {
    color: #00ff4b;
}
/* End: t-incident Basketball */

/* Start: t-incident tennis */
.t-incident-tennis {
    display: flex;
    flex-direction: column;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    gap: 8px;
    color: #ffffff;
}

.t-incident-tennis .tib-row {
    display: grid;
    grid-template-columns: 100px 1fr 1fr 1fr;
    gap: 4px;
    padding: 2px 10px;
}

.t-incident-tennis .tib-row .tib-column-s4,
.t-incident-tennis .tib-row .tib-column-s5 {
    display: none;
}

.t-incident-tennis .tib-row-3 {
    grid-template-columns: 100px 1fr 1fr 1fr;
}

.t-incident-tennis .tib-row-5 {
    grid-template-columns: 100px 1fr 1fr 1fr 1fr 1fr;
}

.t-incident-tennis .tib-row-5 .tib-column-s4,
.t-incident-tennis .tib-row-5 .tib-column-s5 {
    display: block;
}

.t-incident-tennis .tib-row-head {
    text-transform: uppercase;
    color: #c2e598;
}

.t-incident-tennis .tib-row-team {
    position: relative;
}

.t-incident-tennis .tib-row-team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    padding: 1px;
    background-image: linear-gradient(
        0deg,
        rgb(23, 30, 32) 0%,
        rgb(0, 93, 48) 50%,
        rgb(0, 153, 63) 100%
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.t-incident-tennis .tib-column-name {
    color: #c2e598;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.t-incident-tennis .tib-column-value {
    text-align: center;
    position: relative;
}

.t-incident-tennis .tib-column-value .grab-7-points {
    position: absolute;
    top: -4px;
    font-size: 9px;
    padding-left: 3px;
}

.t-incident-tennis .tib-row .tib-win {
    color: #00ff4b;
}
/* End: t-incident tennis */

/* team-vote */
.team-vote h5 {
    color: #FFF;
    text-align: center;
    /* font-family: "Roboto Condensed"; */
    font-size: 13px;
    font-style: normal;
    font-weight: bold;
    line-height: 18px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
#carousel-vote .vote-btn.active {
    position: relative;
    z-index: 1;
}

#carousel-vote .vote-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 2px; 
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    z-index: -1;
}
#carousel-vote #vote-btn-4.active {
    background: linear-gradient(360deg, rgba(45, 149, 56, 1), rgba(26, 93, 33, 1));
}

#carousel-vote #vote-btn-4.active::before {
    background: linear-gradient(360deg, rgba(10, 24, 58, 1), rgba(76, 255, 95, 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);
}

#carousel-vote #vote-btn-5.active {
    background: linear-gradient(360deg, rgba(66, 83, 243, 1), rgba(37, 44, 135, 1));
}

#carousel-vote #vote-btn-5.active::before {
    background: linear-gradient(360deg, #0A183A, #7B8AFF);
    -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);
}

#carousel-vote #vote-btn-6.active {
    background: linear-gradient(360deg, rgba(169, 47, 26, 1), rgba(84, 25, 19, 1));
}

#carousel-vote #vote-btn-6.active::before {
    background: linear-gradient(360deg, #0A183A, #FF5E45);
    -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);
}
#carousel-vote {
    padding-bottom: 10px;
}
#carousel-vote .vote-item {
    display: flex;
    justify-content: center;
    gap: 10px;
}
#carousel-vote .vote-btn {
    position: relative;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 20px;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    outline: 0;
    height: 28px;
    width: 98px;
}
#carousel-vote #vote-btn-4 {
    background: linear-gradient(360deg, rgba(26, 93, 33, 1), rgba(34, 42, 73, .2));
    position: relative;
    z-index: 2;
}
#carousel-vote #vote-btn-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1.5px;
    background: linear-gradient(360deg, rgba(10, 24, 58, 1), rgba(45, 149, 56, 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;
}
#carousel-vote #vote-btn-5 {
    background: linear-gradient(360deg, rgba(37, 44, 135, 1), rgba(34, 42, 73, .2));
    position: relative;
    z-index: 2;
}
#carousel-vote #vote-btn-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1.5px;
    background: linear-gradient(360deg, #0A183A, #4253F3);
    -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;
}
#carousel-vote #vote-btn-6 {
    background: linear-gradient(360deg, rgba(84, 25, 19, 1), rgba(34, 42, 73, .2));
    position: relative;
    z-index: 2;
}
#carousel-vote #vote-btn-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1.5px;
    background: linear-gradient(360deg, #0A183A, #A92F1A);
    -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;
}

.carousel {
    position: relative;
}
#carousel-vote .carousel-indicators {
    margin: 0;
    bottom: -10px;
}
.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}
#carousel-vote .carousel-indicators li {
    background-color: #D9D9D9;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.carousel-indicators li {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    -webkit-transition: opacity 0.6s ease;
    -o-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
}
.carousel-indicators .active {
    opacity: 1;
}
#carousel-vote .carousel-indicators li.active {
    background-color: #0954F6;
}
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
#carousel-vote .carousel-control-prev, #carousel-vote .carousel-control-next {
    background: transparent;
    height: 28px;
    width: 28px;
    outline: 0;
    border: none;
	top: 30px;
}
#carousel-vote .left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}
#carousel-vote .arrow {
    border: solid #ffffff3b;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}
#carousel-vote .carousel-control-next .arrow {
    border-color: #0954F6;
}
#carousel-vote .right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.carousel-control-next {
    right: 0;
}
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 30px;
    bottom: 0;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: 0.5;
    -webkit-transition: opacity 0.15s ease;
    -o-transition: opacity 0.15s ease;
    transition: opacity 0.15s ease;
}
@media (max-width: 1199px) {
    .team-live {
		grid-template-columns: 1fr;
		height: auto;
		padding: 0;
		background: none;
		gap: 20px;
	}

	.team-live::before,
	.team-live::after {
		display: none;
	}

	.team-live .t-incident-column, 
	.team-live .teambox, 
	.team-live .team-vote {
        background: url(/wp-content/themes/bongda/dist/images/detail-page/gmd-match-header.webp);
		background-repeat: no-repeat;
		padding: 12px 5px;
		position: relative;
		border-radius: 12px;
	}

	.team-live .teambox {
		min-height: auto;
		min-height: 125px;
		gap: 12px;
	}
	.team-live .team-vote {
		min-height: 105px;
	}
	.teambox .grid-match__time {
		top: 12px;
	}
	.teambox .teambox_agg {
		bottom: 12px;
	}
}
/* END: team live */

/* START: team-odds */
.odds-header {
    background: #292B2E;
    padding: 0.38rem 0.62rem;
}

.teambox__odds--mb .oddContent span {
    color: #4FA747;
    font-family: Oswald;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.125rem;
    text-transform: uppercase;
}

.teambox__odds--mb .odds-type {
    display: flex;
    gap: 0.5rem;
}

.teambox__odds--mb .odds-type span {
    color: #FFF;
    font-family: 'Oswald';
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.125rem;
    text-transform: uppercase;
    padding: 0.25rem 0.38rem;
    background: #292B2E;
    border: 1px solid rgba(28, 30, 31, 1);
    border-radius: 2px;
}

.teambox__odds--mb .odds-type span.active {
    border-color: #009139;
    color: #009139;
    box-shadow: 0px 2px 12px rgba(79, 167, 71, 0.20);
}

.teambox__odds {
    background: rgba(9, 24, 62, 0.6);
    border-radius: 6px;
    position: relative;
}
.teambox__odds::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1.02px;
    background: linear-gradient(110deg, rgb(11 31 86 / 75%) 0%, rgb(13 35 105 / 75%) 47%, rgb(6 21 61 / 75%) 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;
}
.teambox__odds-container {
    overflow: visible;
}
.teambox__odds-container {
    position: relative;
    z-index: 10;
}
.oddContent {
    position: relative;
}
.teambox__odds-container {
    z-index: 1;
}
.oddContent>span {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.oddContent .oddList {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0;
}

.oddContent .oddList li {
    width: 115px;
    border-bottom: 1px solid #e2e2e2;
    box-sizing: border-box;
    cursor: pointer;
    padding: 5px 10px;
}

.oddContent {
    cursor: pointer;
}

/* .oddContent:hover .oddList {
    display: block;
} */

.oddList li {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    list-style: none;
}

.oddList li:hover {
    background-color: #003956;
}

.oddType {
    max-width: 115px;
}


.teambox__odds .table {
    /* border-right: 1px solid #3D434D; */
}

.teambox__odds .table:last-child {
    border: 0px;
}

.teambox__odds .company {
    flex-direction: column;
    padding: 10px 20px;
    flex: none;
    width: 160px;
}
.teambox__odds .company-odds {
    flex-direction: column;
    padding: 10px 20px;
    flex: none;
    width: 225px;
}

.teambox__odds .company .head {
    padding: 0px 14px;
}

.teambox__odds .company select {
    background: transparent;
    border: 0px;
    outline: none;
    color: #FFF;
    /* font-family: 'Raleway'; */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.teambox__odds .company .pointer {
    margin-bottom: 15px;
    width: 100%;
}

.teambox__odds .company .pointer:last-child {
    margin-bottom: 0;
}

.teambox__odds .state {
    width: 65px;
    flex: none;
}

.teambox__odds .state span {
    color: #FFF;
    text-align: center;
    /* font-family: 'Raleway'; */
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    text-transform: uppercase;
}

.teambox__odds .head {
    background: #292B2E;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 42px;
    color: #FFF;
    text-align: center;
    /* font-family: 'Raleway'; */
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 153.846% */
    text-transform: uppercase;
    width: 100%;
    border-bottom: 1px solid #3D434D;
}

.teambox__odds .box {
    min-height: 42px;
    color: #FFF;
    text-align: center;
    /* font-family: 'Raleway'; */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    justify-content: center;
    display: flex;
    border-bottom: 1px solid #3D434D;
    margin: 0px;
}

.teambox__odds .type .box {
    height: 84px;
}

.teambox__odds .box:last-child {
    border-bottom: 0px;
}

.teambox__odds .box .col {
    align-items: center;
    text-align: center;
    flex: 1;
    justify-content: center;
    display: flex;
    /* font-family: 'Oswald'; */
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0.875rem;
}

.teambox__header .header {
    padding: 12px 10px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Poppins';
}
.teambox__header .header span {
    background-color: #0D225C;
    border-radius: 4px;
    padding: 5px 15px;
    letter-spacing: 1px;
}
.teambox__header {
    background: rgba(9, 24, 62, 0.6);
    border: none;
    position: relative;
    border-radius: 7px;
    /* overflow: hidden; */
}
/* Left Gradient */
.teambox__header::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    /* width: 1px; */
    background: linear-gradient(to bottom, rgb(4 40 57 / 75%) 0%, rgb(7 136 196 / 75%) 47%, rgb(4 40 57 / 75%) 100%);
    z-index: 1;
    border-radius: 0;
}
/* Right Gradient */
.teambox__header::after  {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgb(4 40 57 / 75%) 0%, rgb(7 136 196 / 75%) 47%, rgb(4 40 57 / 75%) 100%);
    z-index: 1;
    border-radius: 0;
}
/* Bottom Gradient */
.teambox__header .bottom-gradient {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px; 
    background: linear-gradient(to right, rgba(4, 40, 57, 0.75) 0%, rgba(7, 136, 196, 0.75) 47%, rgba(4, 40, 57, 0.75) 100%);
    z-index: 1;
}

/* .teambox__header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 7px;
    padding: 1.02px;
    background: linear-gradient(180deg, #042839, #0788C4);
    -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;
} */
.teambox__header.teambox__odds .table {
    border-right: none;
}
.teambox__header.teambox__odds .box {
    justify-content: flex-start;
    padding-inline: 25px;
    font-family: 'Poppins', Geneva, Verdana, sans-serif;
    font-weight: normal;
}

.table.flex-1.eu,
.teambox__odds .company {
    position: relative;
}
.table.flex-1.eu::before,
.teambox__odds .company::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgb(4 40 57 / 75%) 0%, rgb(7 136 196 / 75%) 47%, rgb(4 40 57 / 75%) 100%);
    z-index: 1;
    border-radius: 0;
}
.table.flex-1.eu:last-child::after,
.teambox__odds .company::after  {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgb(4 40 57 / 75%) 0%, rgb(7 136 196 / 75%) 47%, rgb(4 40 57 / 75%) 100%);
    z-index: 1;
    border-radius: 0;
}
.teambox__odds .box {
    position: relative;
    border-bottom: 0;
}
/* .teambox__odds .box:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px; 
    background: linear-gradient(270deg, rgb(4 40 57 / 75%) 0%, rgb(7 136 196 / 75%) 47%, rgb(4 40 57 / 75%) 100%);
    z-index: 1;
    border-radius: 0 0 10px 10px; 
} */
.row.m-0.flex-1.showOdds {
    position: relative;
}
.row.m-0.flex-1.showOdds::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 42px;
    height: 1px; 
    background: linear-gradient(270deg, rgb(4 40 57 / 75%) 0%, rgb(7 136 196 / 75%) 47%, rgb(4 40 57 / 75%) 100%);
    z-index: 1;
    border-radius: 0 0 10px 10px; 
}
.row.m-0.flex-1.showOdds::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    height: 1px; 
    background: linear-gradient(270deg, rgb(4 40 57 / 75%) 0%, rgb(7 136 196 / 75%) 47%, rgb(4 40 57 / 75%) 100%);
    z-index: 1;
    border-radius: 0 0 10px 10px; 
}
.cur_span {
    /* background: pink; */
    width: 40px;
    padding: 5px 0;
    background: linear-gradient(360deg, rgba(31, 62, 171, .32), rgba(22, 89, 81, .2));
    position: relative;
    border-radius: 6px;
}
.cur_span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 2px;
    background: linear-gradient(360deg, rgba(0, 101, 144, 1), rgba(35, 59, 83, .01));
    -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;
}
.mobile-odds-container  {
    display: none;
}
/* odds-mobile */
@media (max-width: 1199px) {
    .teambox__odds-container{
        display: none;
    }
    .mobile-odds-container {
        background-color: #07111a;
        color: white;
        padding: 10px;
        display: block;
    }

    .bookmaker-selector select {
        width: 100%;
        padding: 10px;
        background-color: #0a3252;
        color: white;
        border: none;
        margin-bottom: 10px;
    }

    .odds-category {
        margin-bottom: 10px;
        border: 1px solid rgba(38, 45, 63, 1);
        border-radius: 5px;
        overflow: hidden;
    }

    .category-header {
        background-color: rgba(16, 24, 43, 1);
        padding: 5px 10px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .toggle-icon {
        transition: transform 0.3s ease;
    }
    span.toggle-icon {
        position: absolute;
        right: 10px;
    }

    .sub-header {
        display: flex;
        background-color: rgba(20, 32, 59, 1);
        /* border: 1px solid rgba(38, 45, 63, 1); */
    }

    .sub-header-item {
        flex: 1;
        text-align: center;
        padding: 5px;
        font-size: 0.9em;
        color: rgba(169, 169, 169, 1);
        font-size: 11px;
        font-weight: 500;
        line-height: 16.5px;
        border: 1px solid rgba(38, 45, 63, 1);
        border-bottom: 0;
    }

    .odds-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
    }

    .odds-value {
        text-align: center;
        padding: 10px 5px;
        font-size: 12px;
        font-weight: 500;
        border: 1px solid rgba(38, 45, 63, 1);
        background: rgba(16, 24, 43, 1);
        font-family: 'Poppins';
    }

    .odds-value:nth-child(3n) {
        border-right: none;
    }

    .odds-value:nth-last-child(-n+6) {
        border-bottom: none;
    }

    .collapse {
        display: none;
    }

    .collapse.show {
        display: block;
    }

    .bookmaker-selector-container {
        display: flex;
        align-items: center;
    }
    .bookmaker-selector-container {
        display: flex;
        align-items: center;
        background: rgba(3, 25, 80, 0.6);
        padding: 7px;
        border: 1px solid rgba(11, 31, 86, 0.75);
        margin-bottom: 5px;
    }

    .bookmaker-label {
        margin-right: 10px;
        font-size: 12px;
        font-weight: 500;
        line-height: 18px;
        font-style: 'Roboto';
    }

    .bookmaker-dropdown {
        position: relative;
    }

    .selected-bookmaker {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .bookmaker-logo {
        width: 70px; 
        height: auto;
        margin-right: 5px;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .bookmaker-list {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 5px;
        z-index: 1000;
    }

    .bookmaker-list.hidden {
        display: none;
    }

    .bookmaker-list li {
        cursor: pointer;
        padding: 5px;
        list-style: none;

        img {
            width: 70px;
            height: auto;
        }
    }

    .bookmaker-list li:hover {
        background-color: #003956;
    }
    .category-header span.ch_title {
        background-color: #0D225C;
        border-radius: 4px;
        padding: 5px 15px;
        letter-spacing: 1px;
    }
}

@media (max-width:480px)  { 
    .teambox__team {
        flex-direction: column;
        text-align: center; 
    }
    .teambox {
        gap: 5px;
        grid-template-columns: 1fr 80px 1fr;
    }
    .teambox__team.teambox__team-home.team.team--home {
        flex-direction: column-reverse;
    }

    .teambox .grid-match__first {
        bottom: -5px;
    }
    #carousel-vote .vote-btn {
        font-size: 10px;
        width: 95px;
    }
}

/* TÀI */
#carousel-vote #vote-btn-1 {
    background: linear-gradient(360deg, rgba(26, 93, 33, 1), rgba(34, 42, 73, .2));
    position: relative;
    z-index: 2;
}
#carousel-vote #vote-btn-1.active {
    background: linear-gradient(360deg, rgba(45, 149, 56, 1), rgba(26, 93, 33, 1));
}
#carousel-vote #vote-btn-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1.5px;
    background: linear-gradient(360deg, rgba(10, 24, 58, 1), rgba(45, 149, 56, 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;
}
#carousel-vote #vote-btn-1.active::before {
    background: linear-gradient(360deg, rgba(10, 24, 58, 1), rgba(76, 255, 95, 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);
}
/* XỈU */
#carousel-vote #vote-btn-3 {
    background: linear-gradient(360deg, rgba(84, 25, 19, 1), rgba(34, 42, 73, .2));
    position: relative;
    z-index: 2;
}
#carousel-vote #vote-btn-3.active {
    background: linear-gradient(360deg, rgba(169, 47, 26, 1), rgba(84, 25, 19, 1));
}
#carousel-vote #vote-btn-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 1.5px;
    background: linear-gradient(360deg, #0A183A, #A92F1A);
    -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;
}
#carousel-vote #vote-btn-3.active::before {
    background: linear-gradient(360deg, #0A183A, #FF5E45);
    -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);
}

.company-unset.company:before , .company-unset.company:after {
    content: none !important;
}
.company-unset-before.company:before{
    content: none !important;
}
@media (max-width:480px)  { 
    .teambox__team-home .teambox__team-name {
        text-align: center;
    }
	.teambox__team-name {
		font-size: 12px;
		width: 80px;
		overflow: hidden;
		text-wrap: nowrap;
		text-overflow: ellipsis;
		text-align: center;
	}
}
.teambox__team img {
    object-fit: contain;
}
.green {
    color: #63fe16 !important;
}
.orange {
    color: #ff775f !important;
}
.green, .up, .orange, .down {
	font-size: 12px  !important;
    width: 42px  !important;
}

.green:after {
    content: '';
    background: url('/wp-content/themes/bongda/dist/images/icon-arrow-up.png') no-repeat top;
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-left: 4px;
}
.orange:after {
    content: '';
    background: url('/wp-content/themes/bongda/dist/images/icon-arrow-down.png') no-repeat top;
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-left: 4px;
}
@media (max-width: 480px){
	#carousel-vote .vote-btn {
	   font-size: 9px;
	   width: 100px;
	}
}

