/* START: main-page */
.page_bars {
    background: url(/wp-content/themes/bongda/dist/images/main-page-bg.svg) no-repeat right / cover;
    box-shadow: inset 0 0 5px 5px rgba(0, 0, 0, 0.32);
    border-radius: 7px;
    position: relative;
  }
  .main-page {
    border-radius: 7px;
    background-size: 100%;
    margin-bottom: 16px;
  }

  .main-page .sports-bars {
    /* border-bottom: 1px solid #ffffff17; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 12px 16px;
    overflow: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    margin-bottom: 20px;
    position: relative;
  }
  .main-page .sports-bars::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, #0D193E 0%, #193377 48%, #081948 100%);
  }
  .main-page .sports-bars .btn-livescore {
    width: 145px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
  }
  .main-page .sports-bars .btn-livescore svg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .main-page .sports-bars .btn-livescore svg.lv-svg-active {
    display: none;
  }
  .main-page .sports-bars .btn-livescore span {
    z-index: 2;
  }
  .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 {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    background: url(/wp-content/themes/bongda/dist/images/tab-line.svg) no-repeat center center;
    position: absolute;
    right: -24px;
    top: 7px;
  }
  .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 span {
    line-height: 0;
  }
  .main-page .sports-bars ul li button.active,
  .main-page .sports-bars ul li button:focus {
    color: #FFFFFF;
    text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
    background: url(/wp-content/themes/bongda/dist/images/bg-tab-active.svg) no-repeat bottom;
    background-size: 100% 100%;
  }
  .main-page .sports-bars ul li button.active path,
  .main-page .sports-bars ul li button:focus path {
    fill: #00fffd;
  }


  @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: 576px) {
    .main-page .sports-bars ul li button {
      min-width: 120px;
      height: 34px;
    }

    .main-page .sports-bars ul {
      flex: 0 0 calc(100% - 125px);
    }

    .main-page .sports-bars .btn-livescore {
      width: 125px;
      font-size: 12px;
    }
    .main-page .sports-bars {
      display: grid;
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 490px) {
    .main-page .sports-bars ul li button {
      min-width: 60px !important;
      height: 65px !important;
      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;
    }
    .main-page .sports-bars ul li button {
      min-width: 60px;
      height: 60px;
      padding: 0px;
    }
  }
  @media (max-width: 380px) {
    .gmd-match__goal-scoring img, span.gmd-match__corner-ball img {
      display: none;
    }
  }
  @media (max-width: 360px) {

  }
  .football-tab {
    padding: 0 16px 12px 16px;
  }
  .main-page .list-filter {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    gap: 15px;
    padding: 0 6px;
    margin-bottom: 15px;
  }
  .main-page .list-filter li a,
  .match__settings button.settings-btn {
    background: url(/wp-content/themes/bongda/dist/images/list-filter-bg.svg) no-repeat bottom / cover;
    border-radius: 6px;
    color: #fff;
    /* font-family: Raleway; */
    font-size: var(--font-size-base);
    min-width: 120px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
    padding: 0 8px;
    border: 1px solid transparent;
    text-decoration: none;
  }

  .main-page .list-filter li a .num {
    background: #2045B7;
    color: #ffffff;
    font-weight: 600;
    border-radius: 38px;
    width: 27px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
  }
  .main-page .list-filter li a.now .num {
    background: #630600;
  }
  /* .main-page .list-filter li a.commentator {
    color: #fff;
    background: url(/wp-content/themes/bongda/dist/images/bt-tab-commentator.svg) no-repeat bottom;
    background-size: cover;
  } */
  .main-page .list-filter li a.active {
    color: #fff;
    background: url(/wp-content/themes/bongda/dist/images/bt-tab-commentator.svg) no-repeat bottom;
    background-size: cover;
  }
  .main-page .list-filter li a.now {
    color: #fff;
    background: url(/wp-content/themes/bongda/dist/images/live-now.svg) no-repeat bottom;
    background-size: cover;
  }
  @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: #FFE400;
    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: 5px;
    }
  }
  @media (max-width: 991px) {
    .match__settings {
      justify-content: flex-start;
    }
  }

/* START: grid-matches */
.grid-matches_wrapper {
  margin-top: 12px;
}
.grid-matches {
  display: grid;
  gap: 10px;
  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-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;

    .gmd-e_minutes {
      border-radius: 6px;
      font-size: 13px;
      font-weight: bold;
      padding: 5px 15px;
      background-color: #1E8D14;
    }
    p.gmd-e_minutes {
      margin-bottom: 0;
    }
  }
  .gmd-match-date {
    text-align: right;
    color: #8CD5FF;

    span{
      background: linear-gradient(180deg, rgba(0, 31, 59, 0.5) 0%, rgba(0, 25, 49, 0.5) 50%, rgba(26, 31, 43, 0.5) 100%);
      padding: 7px 15px;
      border-radius: 30px;
      box-shadow: inset 0px 0px 0 2px rgb(35 47 71 / 80%);
      margin-bottom: 0;
    }
  }
}
.gmd-content_match {
    align-items: start;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 85px 1fr;
    padding: 0 .5rem .8rem;
    text-align: center;
    align-items: center;
}
.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-match-footer-tennis {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  gap: 12px;
}
.gmd-match-footer-tennis .t-incident-tennis {
  width: 200px;
  gap: 4px;
}
.gmd-match-footer-tennis .t-incident-tennis-5 {
  width: 260px;
}
.gmd-match-footer-tennis .t-incident-tennis .tib-row-head {
  display: none;
}
.gmd-match-footer-tennis .grid-pt {
  color: #b8d891;
  text-align: center;
  font-family: Roboto;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}
.gmd-match-footer-tennis .grid-pt div {
  height: 24px;
  display: flex;
  align-items: center;
}
.gmd-match-footer-tennis .grid-pt .grid-pt-home {
  margin-bottom: 8px;
}
.gmd-score-box {
    border-radius: 5px;
    display: flex;
    font-size: clamp(1.1875rem, 2vw + 0.5rem, 1.1875rem);
    font-weight: 500;
    gap: .3rem;
    justify-content: space-evenly;
    padding: 5px;
    background: linear-gradient(90deg, #0E0065 0%, #09003F 100%);
}

.gmd_home-score.is-win p, .gmd_away-score.is-win p {
    background: linear-gradient(0deg, #2532D5 0%, #070E59 76.25%);
    border-radius: 5.625px;
    padding: 0 10px;
    margin-bottom: 0;
    position: relative;
}
.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_away-score p, .gmd_home-score p {
  margin-bottom: 0;
  border-radius: 5.625px;
  padding: 0 10px;
}


.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: 50px;
  width: 50px;
  -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;
      }
  }
}
@media (max-width: 992px) {
  .grid-matches {
      grid-template-columns: 1fr;
  }
}
/* END: grid-matches */

@media (max-width: 768px) {
  .main-page .sports-bars ul li button {
    flex-direction: column;
    min-width: 80px;
    height: 70px;
  }
  .main-page .sports-bars ul li button.active,
  .main-page .sports-bars ul li button:focus {
    background: linear-gradient(360deg, #252C87 0%, rgba(34, 42, 73, 0.2) 76.25%);
    border-radius: 5.625px;
    /* padding: 0 10px; */
    margin-bottom: 0;
    position: relative;
  }
  .main-page .sports-bars ul li button.active::before,
  .main-page .sports-bars ul li button:focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 2px;
    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;
  }
  .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: flex-start
  }
}

@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 */
.gmd-match-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 5px 10px;
  background: linear-gradient(80.02deg, rgba(10, 0, 74, 0.2) 46.01%, rgba(1, 13, 54, 0) 62.35%);
  border-radius: 6px;
  margin: .25rem 1rem .5rem 1rem;
  align-items: center;
  position: relative;
}
.gmd-match-footer__streamer {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #BBBBBB;
  justify-content: flex-start;
}
.extra-info {
  display: none;
  flex-direction: row;
  gap: 5px;
}
.toggle-btn {
  background: none;
  border: none;
  color: #BBBBBB;
  /* background-color: #122A33; */
  border: 1px solid transparent;
  border-radius: 38px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.blv-count {
  display: flex;
  align-items: center;
  gap: 5px;
}
span.blv-arrow {
  color: #424242;
}
.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: 1px solid #00461D; */
  box-shadow: inset 0px 0px 0 1px rgb(35 47 71 / 80%);
  background-color: #071F69;
}
.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;
}

@media (max-width: 1199px) {
  .gmd-match-footer {
    grid-template-columns: 80px 1fr 1fr;
  }
  .gmd-match-footer__odds {
    gap: 5px;
  }
  .gmd-match-footer__flag {
    gap: 5px;
    font-size: 11px;
  }
  span.gmd-match__corner-ball {
    padding: 3px 5px;
  }
  .gmd-match__goal-scoring {
    padding: 3px 5px;
  }
  .gmd-match-footer__odds img {
    width: 60px;
  }
}
@media (max-width: 991px) {
  .gmd-match-footer {
    grid-template-columns: 120px 1fr 1fr;
  }
  .gmd-match-footer__flag {
    gap: 5px;
    font-size: 12px;
    justify-content: flex-end;
  }
  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;
}
/*
.grid-match--is-hot .gmd-score-box {
  background: linear-gradient(90deg, #d10000 0%, #2915a1 100%);
}
.grid-match--is-hot .gmd-match-footer {
  background: linear-gradient(80.02deg, rgb(251 2 2 / 40%) 46.01%, rgb(245 22 22 / 38%) 62.35%);\
}
.grid-match--is-hot .gmd-match-footer::before {
  background: linear-gradient(180deg, rgba(35, 59, 83, 0.2) 46.01%, rgb(105 5 5) 62.35%);
}
*/
@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) {
  .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: white;
}

.gmd-match-league span {
    color: white;
    font-weight: 500;
}
.gmd-match-date span {
    font-size: 13px;
    padding: 7px !important;
}
/* Recent Changes */
.gmd_home-score p {
    border-radius: 5.625px;
    padding: 0 10px;
    margin-bottom: 0;
    /* border: 1px solid #00C8F4; */
    position: relative;
}
.gmd_away-score p {
  position: relative;
  margin-bottom: 0;
  border-radius: 5.625px;
  padding: 0 10px;
}
.gmd-content_match {
    align-items: start;
    color: #fff;
    display: flex;
    /* grid-template-columns: 1fr 85px 1fr; */
    padding: 0 .5rem .8rem;
    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;
}

.gmd_home-score.is-win p,
.gmd_away-score.is-win p {
  background: linear-gradient(0deg, #2532D5 0%, #070E59 76.25%);
  padding: 0 10px;
}
@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: #2C2A2A;
	color: white;
	padding: 7px 20px 7px 10px;
  border-radius: 100px;
	font-size: 13px;
	cursor: pointer;
	border: none;
	position: relative;
	display: flex;
	align-items: center;
  gap: 10px;
}

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

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

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

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

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

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

.show-dropdown {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

  .custom-dropdown-content {
    width: 100%;
    top: 45px;
  }
}
/* END: matches__filter-leagues */
.sport-loading {
  font-family: 'Roboto';
  border-collapse: collapse;
  border: 1px solid #343940;
  width: 320px;
  text-align: center;
  padding: 12px;
  margin: 0 auto;
  color: white;
  position: relative;
  right: -50%;
}
@media (max-width: 767px) {
	.sport-loading {
		right: unset;
		position: static;
	}
}
.custom-dropdown-trigger {
    position: relative;
    border-radius: 30px;
    background: url(../images/front/dropdown-bg.png) no-repeat center center /
		cover;
}
.custom-dropdown-trigger::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(180deg, #232f47 2%, #232f47 47%, #1c222f 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}
@media (max-width: 767px) {
	#basketball .grid-match__vs {
		transform: scale(0.8);
	}
	#basketball .grid-match__status {
		min-width: 58px;
	}
}