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

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

.main-page .sports-bars .btn-livescore {
  width: 125px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
  background-image: url(/wp-content/themes/bongda/dist/images/bg-match/bg-livescore.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.main-page .sports-bars .btn-livescore:has(input:checked) span {
  color: #00FFFD;
}

.main-page .sports-bars .btn-livescore svg {
  z-index: 1;
}

.main-page .sports-bars .btn-livescore span {
  color: white;
  font-size: 13px;
  font-family: Raleway;
  font-weight: 700;
  line-height: 18px;
  word-wrap: break-word;
  z-index: 2;
  margin-left: 8px;
}

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

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

.main-page .sports-bars ul li::after {
  opacity: 0.5;
  content: "";
  display: block;
  width: 1px;
  height: 24px;
  background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translate(50%, -50%);
}

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

.main-page .sports-bars ul li button {
  background: transparent;
  border: none;
  color: #DCF6F6;
  text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  gap: 5px;
  font-weight: 600;
  min-width: 125px;
  height: 39px;
  outline: 0;
  border-radius: 6px;
}
.main-page .sports-bars ul li button#football-tab path,
.main-page .sports-bars ul li button#basketball-tab path,
.main-page .sports-bars ul li button#tennis-tab path
{
  fill: #707A8D;
}

.main-page .sports-bars ul li button#badminton-tab path,
.main-page .sports-bars ul li button#volleyball-tab path {
  stroke: #707A8D;
}

.main-page .sports-bars ul li button#basketball-tab.active path,
.main-page .sports-bars ul li button#football-tab.active path,
.main-page .sports-bars ul li button#tennis-tab.active path {
  fill: #00fffd;
}

.main-page .sports-bars ul li button#badminton-tab.active path,
.main-page .sports-bars ul li button#volleyball-tab.active path {
  stroke: #00fffd;
  fill: none;
}
.main-page .sports-bars ul li button#football-tab.active path {
  stroke: none;
}


.main-page .sports-bars ul li button span {
  font-family: 'Oswald';
  background: linear-gradient(300deg, #FFF 0%, #999999 100%);
  -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 {
  color: #FFFFFF;
  border: 1px solid #3C4459;
  border-radius: 11px;
  background: linear-gradient(0deg, rgb(36, 44, 63) 0%, rgba(36, 44, 65, 0.84) 20%, rgba(35, 43, 67, 0.68) 40%, rgba(35, 43, 69, 0.52) 60%, rgba(34, 42, 71, 0.36) 80%, rgba(34, 42, 73, 0.2) 100%);
}

.main-page .sports-bars ul li button.active path,
.main-page .sports-bars ul li button:focus path {
  fill: #00fffd;
}

.main-page .sports-bars ul li button.active span,
.main-page .sports-bars ul li button:focus span {
  background: unset;
  color: #00fffd;
  -webkit-text-fill-color: #00fffd;
}

.sports-bars .nav-link.active:before {
  content: "";
  background: url(/wp-content/themes/bongda/dist/images/button-tab-active.png);
  display: block;
  width: 75px;
  position: absolute;
  height: 2px;
  top: 0;
}

.main-page .sports-bars ul li button.active,
.main-page .sports-bars ul li button:focus,
.main-page .sports-bars ul li button:hover {
  color: #00FFFD !important;
}

.main-page .sports-bars ul li button span {
  text-align: center;
  font-family: Oswald;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
}

.filter-tab-wrapper {
  padding: 16px;
}

.main-page .list-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
  gap: 15px;

}

.main-page .list-filter li a,
.match__settings button.settings-btn {
  background: #14182E;
  border-radius: 6px;
  color: #FFFFFF;
  font-family: Raleway;
  font-size: 13px;
  min-width: 120px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
  padding: 0 8px;
  border: 1px solid transparent;
  text-decoration: none;
}

.main-page .list-filter li a {
  color: #BBBBBB;
}

.main-page .list-filter li a .num {
  font-family: 'Oswald';
  background: #060C2D;
  color: #ffffff;
  font-weight: 700;
  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.active .num {
  background: #2045B7;
}

.main-page .list-filter li a.now .num {
  background: #202229;
}

.main-page .list-filter li a.active {
  position: relative;
}

.main-page .list-filter li a.active,
.main-page .list-filter li a.active span.pc,
.main-page .list-filter li a.active span.sp {
  color: #fff;
}

.main-page .list-filter li a.active {
  background: linear-gradient(0deg, rgb(0, 25, 100) 0%, rgb(24, 27, 46) 100%);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: none;
}

.main-page .list-filter li a.active span.pc,
.main-page .list-filter li a.active span.sp {
  border: none;
  background: transparent;
  box-shadow: none;
}

.main-page .list-filter li a.active::before {
  content: '';
  border-radius: 6px;
  background: linear-gradient(7.9deg, rgb(0, 101, 144) 6.4%, rgba(7, 92, 132, 0.8) 24.13%, rgba(14, 84, 120, 0.6) 41.86%, rgba(21, 76, 107, 0.4) 59.59%, rgba(28, 67, 95, 0.2) 77.32%, rgba(35, 59, 83, 0) 95.05%);
  bottom: 0;
  left: 0;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.main-page .list-filter li a.now {
  background: linear-gradient(180deg, #042104 0%, #045830 100%);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  position: relative;
  border: none;
}

.main-page .list-filter li a.now::before {
  background: linear-gradient(0deg, #3ED46A 0%, #002A0C 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  padding: 1px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

@media (max-width: 1199px) {
  .page_bars {
    background: url(/wp-content/themes/bongda/dist/images/main-page-bg.svg) no-repeat center / cover;
  }
}

@media (max-width: 768px) {
  .main-page .sports-bars {
    padding: 12px 6px;
    margin-bottom: 12px;
  }

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

@media (max-width: 768px) {
  .main-page .sports-bars .btn-livescore {
    width: 90px;
    font-size: 11px;
    background-image: url(/wp-content/themes/bongda/dist/images/bg-match/bg-livescore-mb.svg);
    background-size: 100%;
    padding-bottom: 6px;
  }

  .main-page .list-filter li a,
  .match__settings button.settings-btn {
    min-width: auto !important;
  }
}

@media (max-width: 576px) {
  .main-page .sports-bars ul {
    flex: 0 0 calc(100% - 95px);
  }


  .main-page .sports-bars {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@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: 390px) {
  .page_bars {
    background: url(/wp-content/themes/bongda/dist/images/main-page-bg.svg) no-repeat center / cover;
  }

}

@media (max-width: 380px) {

  .gmd-match__goal-scoring img,
  span.gmd-match__corner-ball img {
    display: none;
  }
}

@media (max-width: 992px) {
  .main-page .list-filter {
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 0 0 12px 0;
    margin-bottom: 12px;
  }
}

/* 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: 3px;
  }
}

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

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

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

.main-grid-match {
  background: #14141466 url('/wp-content/themes/bongda/dist/images/grid-match_bg.svg') center center / cover no-repeat;
}

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

.main-grid-match a.odds-comp img {
  width: 70px;
  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: 15px;
  text-align: center;
}

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

.gmd-tournament-header .gmd-match-league .gmd-comp_logo {
  height: 14px;
  width: 14px;
  object-fit: contain;
}

.gmd-tournament-header .gmd-elapsed-time {
  width: 100%
}

.gmd-tournament-header .gmd-elapsed-time .gmd-wrapper {
  background-image: url(/wp-content/themes/bongda/dist/images/bg-match/bg-match-status.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 15px;
  margin: 0 auto;
  width: fit-content;
  position: relative;
}


.gmd-tournament-header .gmd-elapsed-time .gmd-e_minutes {
  text-align: center;
}

.gmd-tournament-header .gmd-elapsed-time p.gmd-e_minutes {
  margin-bottom: 0;
}

.gmd-tournament-header .gmd-match-date {
  text-align: right;
  color: #8cd5ff;
}

.gmd-tournament-header .gmd-match-date span {
  background: linear-gradient(180deg, rgba(0, 31, 59, 0.50) 0%, rgba(0, 25, 49, 0.50) 50%, rgba(26, 31, 43, 0.50) 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  border-radius: 30px;
  border: 1px rgba(35, 47, 71, 0.75) solid;
  backdrop-filter: blur(10px);
}

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

.gmd-home_team {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 11px;
  padding-right: 24px;

  p {
    margin-bottom: 0 !important;
    text-align: right;
  }
}

.gmd-away_team {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  padding-left: 24px;

  p {
    margin-bottom: 0 !important;
    text-align: left;
  }
}

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

.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;
  background: linear-gradient(360deg, rgba(0, 200, 244, .75), rgba(66, 83, 243, .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-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;
}

@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-team .team-logo-group img {
    height: 36px;
    width: 36px;
  }

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

  .gmd-away_team,
  .gmd-home_team {
    p {
      width: 45px;
      display: block;
      max-width: 45px;
    }
  }
}

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

/* END: grid-matches */

@media (max-width: 768px) {
  .main-page .sports-bars ul li button {
    flex-direction: column;

  }

  .main-page .sports-bars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .main-page .sports-bars ul {
    justify-content: space-around;
    flex-wrap: nowrap;
  }

  .main-page .sports-bars ul li button {
    padding: 0 7px;
  }

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

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

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

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

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

/*
.gmd-match-league .text-ellipsis {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}
*/
.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: 8px;
}

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


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

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

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

@media only screen and (max-width : 768px) {
  .main-page .sports-bars {
    display: flex;
    gap: 15px;
  }

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

  /* matches mobiles */
  .grid-matches__item .gmd-content_match img {
    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: white;
  font-weight: 500;
}

.gmd-match-date span {
  color: #8CD5FF;
  font-size: 12px;
  font-family: Roboto;
  font-weight: 400;
  line-height: 12px;
  word-wrap: break-word;
  padding: 4px 10px;
}

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

.gmd_home-score.is-win p,
.gmd_away-score.is-win p {
  position: relative;
  margin-bottom: 0;
  border-radius: 6px;
  background: linear-gradient(0deg, #2532D5 0%, #070E59 76.25%);
  padding: 3px 10px;
}

.gmd-content_match {
  color: #fff;
  display: flex;
  padding: 0 8px 25px 8px;
  text-align: center;
  align-items: center;
}

.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;
  background: linear-gradient(360deg, rgba(0, 200, 244, .75), rgba(66, 83, 243, .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;
}

@media (max-width: 1200px) {
  .gmd-content_match {
    padding: 0 8px 8px 8px;
  }
}

@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;
  color: white;
  font-size: 18px;
  font-family: Roboto;
  font-weight: 700;
  line-height: 22px;
  word-wrap: break-word;
  padding: 7px;
}

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

/* MOBILE SHORT LEAGUE */
.gmd-match-league .text-ellipsis {
  position: relative;
  display: inline-block;
  text-wrap: nowrap;
  white-space: nowrap;
  color: #828B98;
  font-size: 11px;
  font-family: Roboto;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 14px;
  word-wrap: break-word
}

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

/* 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: #1C2245;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #313657;
  line-height: 18px;
  font-weight: 700;
}

.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: 44%;
  right: 15px;
  width: 9px;
  height: 9px;
  border: solid #919191;
  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;
  }
}

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

  #basketball .grid-match__status {
    min-width: 58px;
  }
  #basketball .grid-match__status .gmd_home-score p,
  #basketball .grid-match__status .gmd_away-score p,
  #basketball .grid-match__status .gmd_home-score.is-win p,
  #basketball .grid-match__status .gmd_away-score.is-win p {
    width: auto;
  }
}

/* sports-bars */
@media (min-width: 768px) {
  #volleyball .main-grid-match a.odds-comp img {
    width: 80px;
    height: 24px;
    object-fit: contain;
  }
}

@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: 40px;
    height: 44px;
    width: auto;
  }

  .main-page .sports-bars ul li.nav-item:after {
    opacity: 0.5;
    content: "";
    display: block;
    width: 1px;
    height: 24px;
    background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translate(50%, -50%);
  }

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

  .main-page .sports-bars ul li button.active,
  .main-page .sports-bars ul li button:focus {
    border: 1px solid #3C4459;
    background: linear-gradient(0deg, #242C3F 0%, rgba(34, 42, 73, 0.20) 76.25%);
  }

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

  .grid-matches {
    display: flex;
    gap: 12px;
    flex-direction: column;
  }
}

/* New home match */
@media (min-width: 374px) and (max-width: 1024px) {
  .home #matches .col-md-12 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .filter-tab-wrapper {
    padding: 10px 4px;
  }

  #football .grid-match__footer {
    padding: 4px;
    gap: 0;
  }

  #football .grid-match__footer .grid-match__footer-left {
    display: none;
  }

  #football .grid-match__goal-scoring,
  #football .grid-match__corner-ball,
  #football .grid-match__yellow-ball,
  #football .grid-match__h2h-vs {
    gap: 3px;
  }

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

  #football .grid-match__footer-right {
    gap: 6px !important;
  }

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

  #football .blv-count {
    gap: 1px;
  }

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

  #football .extra-info_one span {
    color: white;
    font-size: 10px;
    font-family: 'Oswald';
  }

  #football button.toggle-btn {
    gap: 2px;
  }

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

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

  #football .extra-info_one a {
    gap: 1px;
  }

}

@media (max-width: 767px) {

  .grid-match__status,
  .icon-haflt {
    z-index: 1 !important;
  }

  .gmd-elapsed-time.icon-haflt {
    z-index: 1 !important;
  }
}

.team-name-group {
  color: white;
  font-size: 13px;
  font-family: Roboto;
  font-weight: 500;
  line-height: 20px;
  word-wrap: break-word
}

@media (max-width: 767px) {
  .main-page .list-filter {
    gap: 6px;
    background: #202538;
    padding: 10px 10px 13px;
    border: 1px solid #363762;
    border-top: none;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
  }
  .main-page .filter-tab-wrapper {
    border: none;
    background: none;
    padding-top: 0;
  }
  .main-page .filter-tab-wrapper .ft__rows .col-lg-10.col-12 {
    padding-left: 11px;
    padding-right: 11px;
  }
  .main-page .filter-tab-wrapper .ft__rows .col-lg-2.col-12 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .main-page .sports-bars {
    border-bottom: 1px solid rgba(54, 55, 98, 0.5);
  }
  .main-page .list-filter li a, .match__settings button.settings-btn {
    gap: 4px;
    padding: 0 6px;
  }
  .main-page .list-filter li a .num {
    padding-left: 0;
    margin-left: 0;
    padding-right: 0;
  }
  .custom-dropdown-trigger::before {
    content: none;
  }
  .custom-dropdown-trigger::after {
    border-color: #00EB1F;
  }
  .custom-dropdown-trigger {
    padding: 7px 12px;
  }
  .custom-dropdown-trigger img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
  }
  .custom-dropdown-trigger span {
    padding-left: 8px;
  }
  .gmd-score-box.grid-match__vs {
    padding: 7px;
    font-size: 17px;
    line-height: 20px;
  }
  .gmd_home-score p, .gmd_away-score p,
  .gmd_home-score.is-win p, .gmd_away-score.is-win p {
    padding: 4px 8px;
    width: 28px;
  }
  .gmd-score-box.grid-match__vs span {
    padding: 4px 0;
  }
  .gmd-tournament-header {
    padding: 10px 10px 5px;
  }
  .grid-matches {
    gap: 15px;
  }
  .grid-matches_wrapper {
    margin-top: 5px;
  }
  #football .gmd-match__odds-item {
    gap: 20px;
  }
  .gmd-match__odds-item p {
    width: 27px;
  }
  #football .gmd-match__odds-item:first-child p::after {
    content: "";
    display: block;
    width: 1px;
    height: 12px;
    background: linear-gradient(360deg, transparent 0%, #27334B 55%, transparent 100%);
    position: absolute;
    right: -33%;
    top: 100%;
    transform: translate(50%, -50%);
  }
  #football .gmd-match__odds-item:first-child p:last-child::after {
    content: none;
  }
  #football .gmd-match-footer__streamer {
    gap: 5px;
  }

  ul.list-filter::-webkit-scrollbar {
    width: 104px;
    height: 4px;
  }
  ul.list-filter::-webkit-scrollbar-thumb {
    background: #202229;
    transform: translateY(10px);
  }

  ul.list-filter::-webkit-scrollbar-track {
    background: transparent;
  }
  .main-page .list-filter li a:not(.active):not(.now) .num {
    background: #162737;
    border:1px solid rgba(255, 255, 255, 0.1);
  }
  .max-three-blv button.toggle-btn, .max-three-blv .extra-info_one span {
    display: none;
  }
  .max-three-blv .extra-info {
    gap: 0;
    display: flex;
  }
  .max-three-blv {
    gap: 0 !important;
  }
  .max-three-blv button.toggle-btn::after {
    content: none !important;
  }

}

@media (max-width: 400px) {
  .main-page .sports-bars .btn-livescore {
    width: 68px;
    padding-bottom: 10px;
    padding-top: 6px;
  }
  .main-page .sports-bars .btn-livescore span {
    font-size: 11px;
    font-weight: 700;
  }
  .main-page .sports-bars ul {
    padding-right: 0;
    gap: 1px;
  }
  .main-page .sports-bars ul li.nav-item:last-child:after {
    right: 0;
  }
  .main-page .sports-bars {
    gap: 5px;
  }
}
