/* START: main-page */
.main-page {
  border-radius: 7px;
  background-size: 100%;
  margin-bottom: 16px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.main-page .sports-bars {
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  flex-wrap: nowrap;
  margin-bottom: 0px;
  position: relative;
}

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

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

.main-page .sports-bars ul {
  list-style: none;
  width: 100%;
  display: flex;
  gap: 19.556px;
  margin: 10px;
  padding-bottom: 3px;
  border-bottom: none;
  position: relative;
  flex-flow: nowrap;
  padding-top: 5px;
  justify-content: center;
}

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

.main-page .sports-bars ul li button {
  background: #323738;
  background-size: cover;
  color: #fff;
  font-size: 14px;
  font-family: var(--bs-body-font-family);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 20px;
  word-wrap: break-word;
  text-shadow: 0 .92px 3.678px rgba(0, 0, 0, .24);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 115px;
  outline: 0;
  border-radius: 7px;
  border: none;
  height: 44px;
  padding: 9.778px 14.667px;
  align-items: center;
  gap: 7.333px;
}

.main-page .sports-bars ul li button.active,
.main-page .sports-bars ul li button:hover {
  color: #00FFFD;
  background: linear-gradient(270deg, #323839, #2f5a49);
  border: none;
  font-weight: 700
}

.main-page .sports-bars ul li button span {
  white-space: nowrap
}

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

.main-page .list-filter li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  height: 34px;
  padding: 0 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  color: #fff;
  background: #323738;
}

.main-page .list-filter li a {
  color: #FFF;
  font-family: var(--bs-body-font-family);
}

.main-page .list-filter li a .num {
  background: #464f50;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 38px;
  width: 22px;
  height: 18px;
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 11px;
  line-height: 14px;
  padding: 2px 6px;
}

.main-page .list-filter li a.now {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(270deg, #323839, #2f5a49);
  background-size: cover;
  width: 110px;
  color: #00ff5d;
  font-family: var(--bs-body-font-family);
  font-size: 13px;
}

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

.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 {
  color: #00ff5d;
  position: relative;
  font-weight: 700;
  z-index: 1;
  background: linear-gradient(270deg, #323839, #2f5a49);
  backdrop-filter: blur(12px);
}

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

.title_box h1 {
  color: white;
  font-size: 22px;
  font-family: var(--bs-body-font-family);
  font-weight: 700;
  text-transform: none;
  line-height: 30px;
  word-wrap: break-word
}

@media (max-width: 768px) {
  .title_box h1 {
    font-size: 18px;
  }

  .main-page .sports-bars {
    margin-bottom: 12px;
  }

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

  section#matches .mt-4.as-hide-popup-chat {
    margin-top: 3px !important;
  }
}

@media (max-width: 768px) {

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

@media (max-width: 576px) {
  .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: 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;
}

/* END: switch */

/* START: match-settings */

@media (max-width: 1199px) {

  .main-page .sports-bars ul {
    gap: 3px;
    padding-bottom: 10px;
    padding-top: 5px;
  }

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

@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;
    width: 100%;
  }

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

  .main-page .sports-bars ul {
    justify-content: space-evenly;
    flex-wrap: nowrap;
    width: 100%;
  }

  .main-page .sports-bars ul::-webkit-scrollbar {
    display: none;
  }

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

  .main-page .sports-bars ul li button span {
    /* font-size: 12px; */
    /* line-height: 12px; */
    /* display: block; */
    white-space: normal;
    max-width:100%;
    margin: 0 auto !important;
    /* color: #00FFFD; */
    text-align: center;
    font-family: var(--bs-body-font-family);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 17px;
    text-transform: uppercase;
    min-height: 34px;
  }

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

.title_box strong {
  color: unset !important;
}

#home-content .title_box span {
  text-transform: none !important;
}

section.xltv-news_box.mt-4 {
  margin-top: 28px !important;
}

button.btn.btn-custom.btn-loadmore {
  display: inline-flex;
  padding: 8px 12px;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: #464F50;
  box-shadow: 0 2px 0 0 #2D3334;
  width: auto;
  margin: 0px auto;
  color: #FFF;
  text-align: center;
  font-family: var(--bs-body-font-family);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  /* 142.857% */
  text-transform: uppercase;
}

.loadmore-wrapper {
  text-align: center;
}