/* START: main-page */

.main-page {
  border-radius: 7px;
  background-size: 100%;
  margin-bottom: 16px;
}

.page_bars {
  position: relative;
  background: #050705;
	border-radius: 10px;
  margin-bottom: 16px;
}

.page_bars::before {
  content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 10px;
	padding: 1px;
  background: linear-gradient(0deg, rgb(33, 178, 26) 0%, rgb(102, 102, 102) 100%);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
  opacity: 0.5;
}

.main-page .sports-bars {
  border-bottom: 1px solid #ffffff24;
  display: grid;
  justify-content: space-between;
  align-items: center;
  grid-template-columns: 1fr 125px;
  padding: 12px 18px;
  overflow: auto;
  white-space: nowrap;
  flex-wrap: nowrap;
  margin-bottom: 0px;
  position: relative;
}

.main-page .sports-bars .btn-livescore {
  width: 100%;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  background: #1B1D21;
  border: 1px solid #3A3A3A;
  border-radius: 30px;
}

.main-page .sports-bars .btn-livescore span {
  z-index: 2;
  margin-left: 3px;
  color: #9BFFAB;
  font-size: 13px;
  font-family: Raleway;
  font-weight: 700;
  line-height: 18px;
}

.main-page .sports-bars .btn-livescore:has(input:checked) {
    background: #090a0c;
}

.main-page .sports-bars ul {
  list-style: none;
  width: 100%;
  display: flex;
  gap: 15px;
  border: none;
}

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

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

.main-page .sports-bars ul li button {
  color: #9C9C9C;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  gap: 7px;
  font-weight: 600;
  min-width: 125px;
  height: 39px;
  outline: 0;
  border-radius: 8px;
  border: 1px solid #464648;
  background: #1E1F21;
  font-family: Oswald;
  margin-bottom: 0;
}

.main-page .sports-bars ul li button.active,
.main-page .sports-bars ul li button:hover,
.main-page .sports-bars ul li button:focus {
  background: linear-gradient(rgb(0, 138, 236) 0%, rgb(7, 54, 87) 100%);
  background-size: 100%;
  border: 1px solid #464648;
}

.main-page .sports-bars ul li button.active img,
.main-page .sports-bars ul li button:hover img,
.main-page .sports-bars ul li button:focus img {
  filter: brightness(0) invert(1);
}

.page_bars .filter-row {
  display: none;
  grid-template-columns: 1fr 200px;
  gap: 16px;
  position: relative;
  padding: 16px 12px 20px 18px;
}
.page_bars .filter-row.active {
  display: grid;
}

@media (max-width: 768px) {
  .main-page .sports-bars {
    padding: 12px 6px;
    display: grid;
    grid-template-columns: 1fr 75px;
    gap: 10px;
  }

  .main-page .sports-bars ul li::after {
    right: -12px;
  }

  .main-page .sports-bars .btn-livescore {
    font-size: 12px;
    padding: 8px;
    border-radius: 20px;
  }

  .main-page .sports-bars .btn-livescore span {
    font-size: 10px;
  }

  .page_bars .filter-row {
    padding: 12px 6px;
  }
}

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

@media (max-width: 424px) {
  .main-page .sports-bars ul {
    gap: 6px;
  }

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

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

@media (max-width: 380px) {
  .main-page .sports-bars {
    grid-template-columns: 1fr 70px;
    gap: 6px;
  }
  .main-page .sports-bars ul {
    gap: 2px;
  }
  .gmd-match__goal-scoring img,
  span.gmd-match__corner-ball img {
    display: none;
  }
}

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

.main-page .list-filter li a {
  color: #fff;
  font-family: Raleway;
  font-size: 13px;
  min-width: auto;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  line-height: 18px;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 25px;
  background: #1F2021;
  padding: 0 12px;
  font-weight: 700;
  min-width: 125px;
}

.main-page .list-filter li a .num {
  background: #535658;
  color: #ffffff;
  font-weight: 700;
  border-radius: 38px;
  width: 27px;
  height: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: Oswald;
  font-size: 11px;
}

.main-page .list-filter li a.now .num {
  background: #012A38;
}
ul.list-filter a.active,
ul.list-filter li:hover a:not(.now) {
  border-radius: 100px;
  background: linear-gradient(0deg, rgba(31, 62, 171, 0.32) 0%, rgba(22, 89, 81, 0.20) 76.25%);
  color: #56FBC3;
  position: relative;
}
ul.list-filter a.active::before, ul.list-filter li:hover a:not(.now)::before {
    content: '';
    border-radius: 100px;
    background: linear-gradient(0deg, #006590, transparent);
    bottom: 0;
    left: 0;
    -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0, #fff));
    -webkit-mask: linear-gradient(#fff, #fff 0) content-box, linear-gradient(#fff, #fff 0);
    mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0, #fff));
    mask: linear-gradient(#fff, #fff 0) content-box, linear-gradient(#fff, #fff 0);
    -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;

}

@media (max-width: 1250px) {
 	.main-page .list-filter {
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 0 12px 0;
		margin-bottom: 12px;
		gap: 10px;
	}

  .main-page .list-filter li a {
    min-width: auto;
  }

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

@media (max-width: 576px) {
  .main-page .filter-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .main-page .list-filter li a {
    font-size: 11px;
    gap: 4px;
    padding: 0 10px;
    height: 30px;
  }

  .main-page .list-filter li a .num {
    font-size: 8px;
    width: 20px;
    height: 16px;
  }
}
/* END: main-page */

/* START: switch */
.switch {
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    justify-content: space-between;
    line-height: 20px;
    margin-bottom: 0;
}

.switch input {
    display: none;
}

.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: 5px;
}

.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, #50A748 12.13%, #18FF02 101.78%);
}

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

/* END: switch */

/* START: match-settings */
.match__settings {
  display: flex;
  justify-content: flex-end;
  padding-right: 6px;
}

@media (max-width: 1199px) {
  .row.ft__rows {
    display: flex;
    flex-direction: column;
  }

  .main-page .sports-bars ul {
    gap: 10px;
  }
}

@media (max-width: 991px) {
  .match__settings {
    justify-content: flex-start;
  }
}

/* START: grid-matches */
.grid-matches_wrapper {
  margin-top: 12px;
}

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

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

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

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

.gmd-tournament-header {
  align-items: center;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 127px 1fr;
  padding: 10px 12px 0 12px;
  text-align: center;
  .gmd-match-league {
    text-align: left;
    color: #828B98;
    text-transform: uppercase;
    font-size: 11px;

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

  .gmd-elapsed-time {
    text-align: center;
    background-image: url(/wp-content/themes/bongda/public/images/home/elapsed.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -18px;
    position: relative;

    .gmd-e_minutes {
      border-radius: 6px;
      font-size: 12px;
      padding: 5px 0;
      color: white;
      font-family: Roboto;
      font-weight: 500;
      margin-bottom: 0;
    }
  }
}
.gmd-match-date {
  text-align: right;
}
.gmd-match-date span {
  padding: 3px 9px;
  border-radius: 13px;
  background: #141516;
  color: #F5A800;
  font-size: 12px;
  font-family: "Proxima Nova";
  font-weight: 400;
  line-height: 20px;
  word-wrap: break-word
}
.gmd-content_match {
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 85px 1fr;
  padding: 0 .5rem .8rem;
  text-align: center;
  align-items: center;
  padding: 8px;
}

.gmd-team {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 11px;
  flex: 1;
}

.gmd-team p {
  margin-bottom: 0 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 120px;
  color: white;
  font-size: 13px;
  font-family: Be Vietnam Pro;
  font-weight: 500;
  line-height: 20px;
  word-wrap: break-word
}

.gmd-home_team {
    display: grid;
    justify-content: end;
    justify-items: center;
    align-items: center;
    gap: 8px;
    padding-right: 24px;
    flex: 1;
}
.gmd-away_team {
    display: grid;
    justify-content: start;
    justify-items: center;
    align-items: center;
    gap: 8px;
    padding-left: 24px;
    flex: 1;
}
.gmd-home_team p {
    margin-bottom: 0 !important;
    text-align: center;
}
.gmd-away_team p {
    margin-bottom: 0 !important;
    text-align: center;
}

.gmd-score-box {
  display: flex;
  gap: .3rem;
  justify-content: space-evenly;
  font-size: clamp(1.1875rem, 2vw + 0.5rem, 1.1875rem);
  font-weight: 500;
}
.main-grid-match[data-status="1"] .gmd-score-box {
  background: rgba(42, 42, 42, 0.70);
  border-radius: 5px;
  padding: 3px 8px;
}
.gmd-score-box .gmd_home-score, .gmd-score-box .gmd_away-score {
  border-radius: 5.333px;
  background: #2A2A2AB2;
}

.gmd_home-score.is-win p,
.gmd_away-score.is-win p {
  padding: 4px 10px;
  margin-bottom: 0;
  position: relative;
}
.gmd-match-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(35, 59, 83, 0.2) 46.01%, rgba(5, 75, 105, 1) 62.35%);
  -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-match-footer__flag {
  display: flex;
  gap: 8px;
}

.gmd-match__goal-scoring {
  background: #071F69;
  border-radius: 38px;
  gap: 6px;
  color: #fff;
  padding: 3px 10px;

  .gmd-ht {
    color: #00C44D;
  }
}

span.gmd-match__corner-ball {
  background: #071F69;
  border-radius: 38px;
  gap: 6px;
  padding: 3px 10px;
  color: #fff;
}

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

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

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

.gmd-match__odds::after {
  content: '';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 1px;
  height: 24px;
  opacity: 0.3;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 54.5%, rgba(255, 255, 255, 0.00) 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;
}

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

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

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

.gmd-team .team-logo-group img {
  height: 40px;
  width: 40px;
  -o-object-fit: contain;
  object-fit: contain;
  padding: 2px;
}
.team-logo-group .team-logo-1 {
  margin-left: -14px;
}

.team-logo-group-bg img {
  border-radius: 50px;
  background: #FFF;
}
@media (max-width: 1300px) {
  .gmd-team p {
    width: 100px;
  }
}

@media (max-width: 1140px) and (min-width: 992px) {

  .gmd-match__goal-scoring,
  span.gmd-match__corner-ball {
    font-size: 11px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .gmd-content_match {
    padding: 4px;
  }

  .gmd-home_team {
    gap: 4px;
  }

  .gmd-away_team {
    gap: 4px;
  }

  .grid-matches__item .gmd-content_match img {
    width: 36px;
    height: 36px;
  }

  .gmd-team .team-logo-group img {
    height: 36px;
    width: 36px;
  }

  #match .gmd-team .team-logo-group {
    flex-direction: column;
  }

  .gmd-team .team-logo-group .team-logo-1 {
    margin-left: 0;
    margin-top: -10px;
  }

  .gmd-match__goal-scoring,
  span.gmd-match__corner-ball {
    font-size: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .gmd-match-footer {
    padding: 3px;
  }

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

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

  .gmd-match__odds-item {
    line-height: 12px;
  }

  .gmd-home_team,
  .gmd-away_team {
    padding: 10px;
  }

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

  .gmd-home_team,
  .gmd-away_team {
    padding: 5px;
  }

  .gmd-match__goal-scoring,
  span.gmd-match__corner-ball {
    background-color: transparent;
    /* #071F69 */
  }

  .gmd-match__goal-scoring {
    gap: 4px;
  }

  .gmd-match__goal-scoring.d-flex.align-items-center img {
    display: none;
  }

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

  .gmd-match__odds {
    min-width: 90px;
  }

  a.odds-comp img {
    width: 50px;
  }

  .gmd-match-footer__odds {
    justify-content: flex-end;
  }

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

@media (max-width: 467px) {
  .gmd-match-footer {
    grid-template-columns: .65fr 60px 1fr;
    padding: 5px;
    margin: .25rem .5rem .5rem .5rem;
  }

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

@media (max-width: 390px) {
  .gmd-tournament-header {
    & .gmd-match-date {
      span {
        padding: 5px 10px;
      }
    }
  }

  .gmd-tournament-header {
    padding: 7px;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .gmd-match-footer__odds {
    flex-direction: row-reverse;
    gap: 5px;
  }

  .gmd-home_team,
  .gmd-away_team {
    padding: 5px;
  }

  .gmd-match-footer__flag {
    gap: 0;
    background: #071F69;
    border-radius: 20px;
  }

  .gmd-match__goal-scoring,
  span.gmd-match__corner-ball {
    background-color: transparent;
    /* #071F69 */
  }

  .gmd-match__goal-scoring {
    gap: 4px;
  }

  .gmd-match__goal-scoring.d-flex.align-items-center img {
    display: none;
  }

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

  .gmd-match__odds {
    min-width: 90px;
  }

  a.odds-comp img {
    width: 50px;
  }

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

@media (max-width: 992px) {
  .grid-matches {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* END: grid-matches */

/* Additional CSS */
.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;
}

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

span.blv-arrow {
  color: white;
}

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

.no-blv img {
  filter: grayscale(100%);
}

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

.toggle-btn:hover,
.gmd-match-footer__streamer.active .toggle-btn {
  border: none !important;
  box-shadow: none !important;
  background-color: none !important;
}

.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;
}

@media (max-width: 991px) {
  span.gmd-match__corner-ball {
    padding: 3px 10px;
  }

  .gmd-match__goal-scoring {
    padding: 3px 10px;
  }

  .gmd-match-footer__streamer.active .extra-info {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 85px;
    background: #071F69;
    border-radius: 6px;
    padding: 5px 7px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .extra-info_one {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
  }

  .gmd-match-footer__flag,
  button.toggle-btn span {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .main-page .sports-bars ul {
    gap: 4px;
  }
}

@media (max-width: 576px) {
  .gmd-match-footer__flag {
    gap: 0;
    background: #071F69;
    border-radius: 20px;
    width: 80%;
    justify-content: center;
    margin: 0 auto;
  }

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

  .gmd-match__goal-scoring {
    padding: 3px 3px 3px 10px;
  }
}

@media (max-width: 490px) {
  .main-page .sports-bars ul li button {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .gmd-match-footer__flag {
    width: fit-content;
  }

  .gmd-match-footer {
    margin: .25rem .25rem .5rem .25rem;
  }

  .gmd-match-footer__flag,
  button.toggle-btn span {
    font-size: 10px;
  }
}

@media (max-width: 454px) {
  .gmd-match-footer {
    padding: 5px;
    grid-template-columns: 70px 1fr 1fr;
  }
}

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

  .main-page .sports-bars ul li button {
    background: unset;
  }
}

.gmd-tournament-header {
  .gmd-match-league {
    display: flex;
    gap: 6px;
    align-items: center;
  }
}

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

.grid-matches__item {
  position: relative;
  border-radius: 10px;
}

.grid-match {
  border-radius: 8px;
}


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

.extra-info_one span {
  color: #BBB;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

/* HOT MATCH */
.grid-match--is-hot {
  border: 1px solid #FF0000;
}

@media only screen and (max-width : 480px) {
  .gmd-match-league .text-ellipsis {
    width: 100px;
  }

  .gmd-tournament-header {
    grid-template-columns: 1fr 110px 1fr;
  }
}

/* Fix temp */
@media only screen and (max-width : 768px) {
  .gmd-match-footer__streamer.active .extra-info {
    align-items: flex-start !important;
  }

  /* matches mobiles */
  .grid-matches__item .gmd-content_match img {
    width: 40px;
    min-width: 40px;
  }

  .grid-matches__item .gmd-home_team p,
  .grid-matches__item .gmd-away_team p {
    font-size: 13px;
  }
}

/*Top Match*/
.teambox__status {
  color: #00FF4B;
}

.gmd-match-league span {
  color: #828B98;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  font-family: Roboto;
}

/* Recent Changes */
.gmd_home-score p,
.gmd_away-score p {
  position: relative;
  margin-bottom: 0;
  border-radius: 5.625px;
  padding: 4px 10px;
}

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

.gmd_home-score.is-win p::before,
.gmd_away-score.is-win p::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  padding: 1px;
}

@media only screen and (max-width: 480px) {
  .gmd-match-league .text-ellipsis {
    width: 90px;
  }

  .gmd-home_team {
    padding-right: 5px;
  }

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

.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;
}

.gmd-score-box.grid-match__vs.t_vs_num {
  margin-inline: 0;

}

.gmd-score-box.grid-match__vs {
  margin-inline: 20px;
}

/* 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: #fff;
  }
}

/* MOBILE SHORT LEAGUE */

/* MORE 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: #071F69;
  border-radius: 6px;
  padding: 5px 7px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.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: #1F2021;
  color: white;
  padding: 8px 20px 8px 10px;
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  border: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.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: 7px;
  height: 7px;
  border: solid #2FB925;
  border-width: 0 1px 1px 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;
  font-size: 13px;
  font-family: Raleway;
  font-weight: 700;
  line-height: 18px;
}

@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;
  }
}

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

.grid-match__footer-tennis .t-incident-tennis {
  width: 200px;
  gap: 4px;
}

.grid-match__footer-tennis .t-incident-tennis-5 {
  width: 260px;
}

.grid-match__footer-tennis .t-incident-tennis .tib-row-head {
  display: none;
}

.grid-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;
}

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

.grid-match__footer-tennis .grid-pt .grid-pt-home {
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  #basketball .grid-match__vs {
    transform: scale(0.8);
  }
	.grid-match__vs {
    transform: scale(0.8);
  }
  #basketball .grid-match__status {
    min-width: 58px;
  }
}

/* sports-bars */
@media (max-width: 767px) {
  .main-page .sports-bars ul li {
    width: unset !important;
    min-width: unset !important;
  }

  .main-page .sports-bars ul li button {
      min-width: auto;
      height: 44px;
      padding-inline: 4px;
  }

  .main-page .sports-bars ul li button.active,
  .main-page .sports-bars ul li button:focus {
    background-size: cover;
  }

  .sports-bars .nav-link.active:before {
    width: 24px;
    top: 0px;
  }
}

/* New style */
.grid-match {
  background-color: #232323 !important;
}

#football .grid-match {
  background: url(/wp-content/themes/bongda/public/images/home/bg-match-football.svg) lightgray 50% / cover no-repeat;
}

#tennis .grid-match {
  background: url(/wp-content/themes/bongda/public/images/home/bg-match-tennis.png) lightgray 50% / cover no-repeat;
  background-size: cover;
}

#basketball .grid-match {
  background: url(/wp-content/themes/bongda/public/images/home/bg-match-basketball.png) lightgray 50% / cover no-repeat;
  background-size: cover;
}
#volleyball .grid-match {
	background: url(/wp-content/themes/bongda/public/images/home/bg-match-volleyball.png) lightgray 50% / cover no-repeat;
	background-size: cover;
}
#badminton .grid-match {
	background: url(/wp-content/themes/bongda/public/images/home/bg-match-badminton.png) lightgray 50% / cover no-repeat;
	background-size: cover;
}
/* Football Footer */
.grid-match__footer-football {
  display: none;
  justify-content: center;
  margin-bottom: 10px;
}

.grid-match__footer-football .grid-match--flag {

  justify-content: space-between;
}

/* Match Flag Container */
.grid-match--flag {
  font-family: 'Roboto';
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  padding: 0 10px;
  height: 24px;
  gap: 10px;
  border-radius: 24px;
  border: 1px solid #1F2E26;
  background: #08110B;
  color: #8D92A2;
}
.grid-match--flag-h2h {
  gap: 6px;
}
.grid-match__h2h-vs {
  gap: 3px;
  align-items: center;
}
.grid-match__h2h-vs img {
  height: 12px;
  width: 12px;
  object-fit: contain;
}
/* Goal Scoring Section */
.grid-match__goal-scoring {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Corner Ball Section */
.grid-match__corner-ball {
  display: flex;
  align-items: center;
  gap: 6px;
}

.grid-match__corner-ball .icon {
  display: inline-block;
  vertical-align: middle;
}

/* Yellow Card Section */
.grid-match__yellow-ball {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Common Icon Styles */
.icon.fs-12 {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
  .grid-match__footer-football {
    display: flex;
  }

  .grid-match--flag-h2h {
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .grid-match--flag {
    font-size: 11px;
    padding: 0 6px;
  }
}

/* Match Footer */
.grid-match__footer {
  position: relative;
  height: 42px;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.grid-match__footer::after {
  content: '';
  opacity: 1;
  background: url(../images/border-match-footer.svg) no-repeat top;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  height: 1px;
}

/* Footer Sections */
.grid-match__footer-left {
  flex: 1;
  display: flex;
  z-index: 2;
}

.grid-match__footer-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.grid-match__footer-right {
  flex: 1;
  z-index: 2;
}

.grid-match__goal-scoring .flag-title {
  color: #0CC956;
}

.grid-match__corner-ball,
.grid-match__yellow-ball {
  gap: 6px;
  align-items: center;
}

/* Responsive */
@media (max-width: 1200px) {
  .grid-match__footer .grid-match__footer-left {
    display: none;
  }
}

@media (max-width: 992px) {
  .grid-match__footer {
    padding: 10px;
  }
}

@media (max-width: 575px) {
  .grid-match__footer-right svg {
    width: 52px;
  }
}

/* Match Odds Container */
.grid-match__odds {
  color: #8D92A2;
  font-family: 'Roboto';
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  position: relative;
  min-width: 105px;
}

/* Odds Item Row */
.grid-match__odds-item {
  display: flex;
  justify-content: space-between;
  line-height: 16px;
  gap: 15px;
  position: relative;
}
button.toggle-btn {
  margin-bottom: -5px !important;
}

/* Individual Odds Value */
.grid-match__odds-item p {
  color: #8D92A2;
  font-family: 'Roboto';
  font-size: 11px;
  margin: 0;
  position: relative;
  display: flex;
  flex: 1;
  justify-content: center;
}

/* Separator Lines */
div[odds]:not([odds=""]) .grid-match__odds::before,
div[odds]:not([odds=""]) .grid-match__odds::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 1px;
  height: 24px;
  opacity: 0.3;
  background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
}

div[odds]:not([odds=""]) .grid-match__odds::before {
  left: 30px;
}

div[odds]:not([odds=""]) .grid-match__odds::after {
  right: 30px;
}

/* Hide Empty Odds */
div[odds=""] .grid-match__odds {
  opacity: 0 !important;
}

/* Odds Status Colors */
.grid-match__odds-item .down {
  color: #FF0000;
}

.grid-match__odds-item .up {
  color: #00C44D;
}
.sports-bars li.nav-item {
  margin: 0px !important;
}
/* Responsive */
@media (max-width: 575px) {
  .grid-match__odds {
    min-width: inherit;
  }

  .grid-match__odds,
  .grid-match__odds-item p {
    font-size: 10px !important;
  }

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

  div[odds]:not([odds=""]) .grid-match__odds::before,
  div[odds]:not([odds=""]) .grid-match__odds::after {
    display: none;
  }

  .grid-match__odds-item p {
    text-align: center;
    white-space: nowrap;
  }
}

/* Commentator Container */
.grid-match__footer-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  z-index: 2;
}

/* Main Commentator Link */
.commentator {
  color: #BBB;
  font-family: 'Roboto';
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Commentator More Dropdown */
.commentator-more .commentator-toggle-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 38px;
  color: #bbbbbb;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 2;
  position: relative;
}

.commentator-more .commentator-toggle-btn::after {
  display: none;
}

/* Left Line Separator */
.commentator-more .commentator-toggle-btn .line-left {
  position: absolute;
  left: -6px;
  top: 0;
}

/* Counter Badge */
.commentator-more .blv-count {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}

.commentator-more .blv-count span {
  font-size: 11px;
  line-height: 10px;
}

/* Dropdown Menu */
.commentator-more .commentator-list {
  width: 100px;
  background: #303030;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.commentator-more .commentator-list a {
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.commentator-more .commentator-list a:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Hide First Commentator in List */
.commentator-more .commentator-list .commentator-item_0 {
  display: none !important;
}

.main-page .sports-bars ul li button span {
  line-height: normal;
  color: #9C9C9C;
  text-align: center;
  font-family: Oswald;
  font-size: 13.793px;
  font-style: normal;
  font-weight: 600;
  line-height: 16.552px;
  text-transform: uppercase;
}

.main-page .sports-bars ul li button svg path {
    fill: #9C9C9C;
}

.main-page .sports-bars ul li button.active span,
.main-page .sports-bars ul li button:focus span,
.main-page .sports-bars ul li button:hover span{
    color: #FFF;
}

.main-page .sports-bars ul li button.active svg path,
.main-page .sports-bars ul li button:focus svg path,
.main-page .sports-bars ul li button:hover svg path {
    fill: #FFF;
}

p#gmd_minutes {
  z-index: 1;
  position: relative;
}

.progress-bar {
  background: linear-gradient(98deg, #1bc543 -.71%, #18b100 90.18%);
  border-bottom-left-radius: 1.25rem !important;
  border-bottom-right-radius: 1.25rem !important;
  border-top-left-radius: 2px !important;
  border-top-right-radius: 0 !important;
  clip-path: polygon(0 0, 100% 0, calc(100% - .8125rem) 100%, .8125rem 100%);
  height: 26px;
  left: 10px;
  top: 2px;
  position: absolute;
  min-width: 30%;
  max-width: 100px;
}

/* Responsive */
@media (max-width: 575px) {
  .commentator {
    font-size: 10px;
  }

  .commentator svg {
    width: 34px !important;
    height: 34px !important;
  }
}

/*BLV*/
.gmd-match-footer__streamer {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #bbbbbb;
  justify-content: flex-end;
}

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

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

.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%);
}

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

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

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

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

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

.toggle-btn.no-blv:has(img) {
  pointer-events: none;
  margin-bottom: 0;
}

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

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

.toggle-btn:hover,
.gmd-match-footer__streamer.active .toggle-btn {
  /* border: 1px solid #00461D; */
  border: none;
  background: transparent;
}

.gmd-match-footer__streamer.active .toggle-btn img,
.gmd-match-footer__streamer.active .toggle-btn span:first-child {
  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 */
.btn-load-fixtures {
  background: #1A1D23;
  border-radius: 6px;
  width: 100%;
  display: block;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: #009B3A;
  padding: 12px 20px;
  position: relative;
}

.gmd-match-footer__streamer a {
  color: transparent !important;
}

.main-page .list-filter li.live_indicator-bg a {
  background: url(/wp-content/themes/bongda/public/images/home/button-tab-live.png) no-repeat center !important;
  border: none !important;
  min-width: 100px;
}
span.num {
  min-width: 27px;
}
div#match-child-1 {
  display: none !important;
}
.tib-column-value span {
  font-size: 11px !important;
}
[data-sport-id="1"] .progress-bar,
[data-sport-id="2"] .progress-bar
{
  display: none;
}
@media (max-width: 768px) {
  .main-page .sports-bars ul li button {
    flex-direction: column;
  }

  .main-page .sports-bars ul li::after {
    display: none;
  }

  .main-page .sports-bars ul {
    justify-content: flex-start
  }

  .main-page .sports-bars ul li button span {
    font-size: 9px;
    margin-top: 0;
    color: white;
  }

  .page_bars {
    margin-bottom: 10px;
  }

  ul.list-filter {
    margin-bottom: 0 !important;
  }
  .main-page .sports-bars ul li {
    margin-right: 0px;
  }
  .gmd-elapsed-time {
    margin-top: -10px !important;
  }
  .progress-bar {
    left: 0px !important;
  }
}

@media (min-width: 769px) {
  .sports-bars-mobile {
    display: none;
  }
}

@media (max-width: 360px) {
  .gmd-match__goal-scoring {
    padding: 3px 5px;
  }

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

.gmd-match-footer__streamer.active {
  position: relative;
}

.gmd-match-footer__streamer.active .extra-info {
    display: flex;
    align-items: flex-start;
    position: absolute;
    top: 27px;
    flex-direction: column;
    left: -3px;
    background: #040b23;
    padding: 4px;
    border-radius: 6px;
    min-width: 100px;
    z-index: 1000;
}
