.bg-primary {
  background: #8C0321 !important;
}

.btn-primary {
  background: #8C0321;
  border-color: #8C0321;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: rgba(140, 3, 33, 0.8);
  border-color: #8C0321;
}

.btn-outline-primary {
  background: transparent;
  border-color: #8C0321;
  color: #8C0321;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background: rgba(140, 3, 33, 0.8);
  border-color: #8C0321;
  box-shadow: none;
  outline: none;
}

.text-primary {
  color: #8C0321 !important;
}

.text-primary1 {
  color: #16012C !important;
}

.text-primary-shade1 {
  color: #443158 !important;
}

.text-purple {
  color: #8E2BAF !important;
}

.btn-secondary {
  background: #A8915D;
  border-color: #A8915D;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background: rgba(168, 145, 93, 0.8);
  border-color: #A8915D;
}

.text-secondary {
  color: #A8915D !important;
}

.text-black {
  color: #000 !important;
}

.text-black1 {
  color: #8C0321 !important;
}

.bg-black2 {
  background: #971C37 !important;
}

.text-black2 {
  color: #971C37 !important;
}

.btn-white {
  background: #fff;
  border-color: #fff;
}
.btn-white:hover, .btn-white:focus, .btn-white:active {
  background: rgba(255, 255, 255, 0.8);
  border-color: #fff;
}

.btn-outline-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline-white:hover, .btn-outline-white:focus, .btn-outline-white:active {
  background: rgba(255, 255, 255, 0.8);
  border-color: #fff;
  box-shadow: none;
  outline: none;
}

.text-white {
  color: #fff !important;
}

.bg-maroon {
  background: #8C0321 !important;
}

.text-maroon {
  color: #8C0321 !important;
}

.text-pink {
  color: #F4EAF7 !important;
}

.text-pink-dark {
  color: #F1E5F1 !important;
}

.text-grey {
  color: #899AA0 !important;
}

.text-grey1 {
  color: #B8C3C6 !important;
}

.text-grey-dark {
  color: #625f5f !important;
}

.bg-lightgrey1 {
  background: #F4F1F3 !important;
}

.text-green {
  color: #15AA9C !important;
}

.text-red {
  color: #C6002F !important;
}

.inner-banner {
  background-color: #a8915d;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 161px;
  width: 100%;
}
@media (max-width: 767.98px) {
  .inner-banner {
    min-height: 140px;
  }
}
.inner-banner h2 {
  bottom: 40px;
  margin-bottom: 0;
  z-index: 2;
}
.inner-banner button {
  bottom: 37px;
  margin-bottom: 0;
  z-index: 2;
}
.inner-banner button:hover {
  background-color: #8C0321;
}

.inner-banner-news-detail {
  background-color: #a8915d;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 161px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media (max-width: 767.98px) {
  .inner-banner-news-detail {
    min-height: 140px;
  }
}
.inner-banner-news-detail .banner-content {
  position: absolute;
  top: 70px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  padding-inline-start: 12px;
  padding-inline-end: 12px;
  z-index: 2;
}
@media (max-width: 767.98px) {
  .inner-banner-news-detail .banner-content {
    top: 100px;
    bottom: 42px;
  }
}
.inner-banner-news-detail .banner-content h2 {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .inner-banner-news-detail .banner-content .font-size-5 {
    font-size: 12px;
  }
}

.btn-with-arrow {
  position: relative;
  padding-inline: 20px;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .btn-with-arrow {
    margin-bottom: 10px;
  }
}
.btn-with-arrow::before {
  position: absolute;
  content: url("../images/icon/arrow-right-white.svg");
  transform: scaleX(-1);
  inset-inline-start: 5px;
  top: 15%;
}
[dir=rtl] .btn-with-arrow::before {
  transform: scaleX(1);
  top: 22%;
}

.ball-img {
  position: absolute;
  inset-inline-end: 5%;
  top: -100px;
  opacity: 0;
  visibility: hidden;
  transform: rotate(0deg) scale(0.5);
  transition: opacity 1s ease, transform 2s ease, top 3s ease;
}

.ball-img.loaded {
  opacity: 1;
  visibility: visible;
  top: 70px;
  transform: rotate(500deg) scale(0.5);
}

.ball-img.reverse {
  transform: rotate(-25deg) scale(-3);
}
[dir=rtl] .ball-img.reverse {
  transform: rotate(25deg) scale(3);
}

.goals-section .table-box {
  border: 1px solid #EDE9EB;
  border-radius: 16px;
  padding-inline: 16px;
}
.goals-section .custom-table {
  --bs-table-striped-bg:#F4F1F3;
}
.goals-section .custom-table thead, .goals-section .custom-table tbody, .goals-section .custom-table tr, .goals-section .custom-table td, .goals-section .custom-table th {
  border: none;
}
.goals-section .custom-table td, .goals-section .custom-table th {
  padding-block: 24px;
}
@media (max-width: 991.98px) {
  .goals-section .custom-table td, .goals-section .custom-table th {
    padding-block: 15px;
  }
}
.goals-section .custom-table th:first-child, .goals-section .custom-table td:first-child {
  padding-inline-start: 48px;
}
@media (max-width: 991.98px) {
  .goals-section .custom-table th:first-child, .goals-section .custom-table td:first-child {
    padding-inline-start: 10px;
  }
}
.goals-section .custom-table tr td:first-child {
  border-start-start-radius: 8px;
  border-end-start-radius: 8px;
}
.goals-section .custom-table tr td:last-child {
  border-start-end-radius: 8px;
  border-end-end-radius: 8px;
}
.goals-section .custom-table th:last-child {
  width: 250px;
}
.goals-section .custom-table th:first-child {
  width: 250px;
}
.goals-section .custom-table .goal-no {
  padding: 16px 24px;
  border-radius: 16px;
  background-color: #8C0321;
  color: #fff;
  height: 47px;
  width: 76px;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.goals-section .custom-table .player-name {
  font-weight: 300;
  color: #000;
  text-transform: capitalize;
  vertical-align: middle;
  max-width: 200px;
}
@media (max-width: 991.98px) {
  .goals-section .custom-table .player-name {
    font-size: 13px;
  }
}

.lineup-section .main-table {
  margin-bottom: 0;
}
.lineup-section .main-table td,
.lineup-section .main-table th {
  padding-inline: 64px;
}
@media (max-width: 991.98px) {
  .lineup-section .main-table td,
  .lineup-section .main-table th {
    padding-inline: 20px;
  }
}
.lineup-section .main-table tbody tr:not(:last-child) {
  border-bottom: transparent;
}
.lineup-section .main-table tbody .player-border {
  border-bottom: 1px solid #E5DFE4;
}
.lineup-section .players,
.lineup-section .headcoach,
.lineup-section .substitutions {
  margin-top: 64px;
  margin-bottom: 32px;
}
@media (max-width: 1199.98px) {
  .lineup-section .players,
  .lineup-section .headcoach,
  .lineup-section .substitutions {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
.lineup-section tbody tr:last-child td {
  padding-bottom: 64px;
}

.fixtures-section .fixtures-table-box {
  border: 1px solid #EDE9EB;
  border-radius: 16px;
  padding-inline: 16px;
}
.fixtures-section .fixtures-table {
  --bs-table-striped-bg: #F4F1F3;
}
.fixtures-section tr td {
  padding-inline: 64px;
  vertical-align: middle;
  padding-block: 29px;
}
@media (min-width: 1399px) and (max-width: 1700px) {
  .fixtures-section tr td {
    padding-inline: 30px;
  }
}
@media (max-width: 1399.98px) {
  .fixtures-section tr td {
    padding-inline: 10px;
  }
}
.fixtures-section tr td:first-child {
  border-start-start-radius: 8px;
  border-end-start-radius: 8px;
}
.fixtures-section tr td:last-child {
  border-start-end-radius: 8px;
  border-end-end-radius: 8px;
}
.fixtures-section .clock div {
  width: 83px;
}

.our-sponsers-section .brand-box {
  gap: 17px;
  justify-content: center;
}
.our-sponsers-section .brand-box div {
  padding: 16px 30px;
}
.our-sponsers-section .custom-img {
  height: 60px;
}

.match-table-section {
  padding: 40px 100px 40px 100px;
}
@media (max-width: 991.98px) {
  .match-table-section {
    padding: 40px 10px 32px 10px;
  }
}
.match-table-section .nav-link {
  color: #8C0321;
  background-color: #fff;
  border: 1px solid #B8C3C6;
  padding: 15px 40px 35px;
  border-radius: 12px 12px 0 0;
}
@media (max-width: 1199.98px) {
  .match-table-section .nav-link {
    padding: 15px 18px 35px;
  }
}
@media (max-width: 991.98px) {
  .match-table-section .nav-link {
    padding: 10px 12px 10px;
    border-radius: 8px 10px 0 0;
    font-size: 14px;
  }
}
@media (max-width: 575.98px) {
  .match-table-section .nav-link {
    min-width: 140px;
  }
}
.match-table-section .tab-content {
  width: 100%;
  border-radius: 24px;
  background-color: #a44861;
  background-size: cover;
  align-content: center;
  overflow: hidden;
  position: relative;
  top: -22px;
}
@media (max-width: 991.98px) {
  .match-table-section .tab-content {
    border-radius: 10px;
    padding: 10px;
    top: -4px;
  }
}
.match-table-section .nav-pills {
  overflow: auto;
  width: 100%;
  flex-wrap: nowrap;
}
.match-table-section .custom-form {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  color: #8C0321;
  width: auto;
  padding: 8px 24px;
  border-radius: 12px;
  border-color: #E5DFE4;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../images/icon/qal-table-downarrow.svg");
  background-color: #F2F2F2;
  padding-inline-end: 35px;
  background-repeat: no-repeat;
  background-size: 16px;
}
@media (max-width: 991.98px) {
  .match-table-section .custom-form {
    font-size: 14px;
  }
}
.match-table-section .custom-form option {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  color: #8C0321;
}
[dir=rtl] .match-table-section .custom-form {
  padding-inline-end: 24px;
  padding-inline-start: 35px;
}

.nav-pills {
  border: none;
  background-color: transparent;
  padding: 0;
}

.table {
  width: 100%;
  margin-bottom: 0;
}

td {
  border-style: none;
}

.table-rank thead tr td:first-child {
  border-start-start-radius: 12px;
}
.table-rank thead tr td:last-child {
  border-start-end-radius: 12px;
}

.table-rank tbody tr td:first-child {
  border-start-start-radius: 12px;
  border-end-start-radius: 12px;
  overflow: hidden;
}
.table-rank tbody tr td:last-child {
  border-start-end-radius: 12px;
  border-end-end-radius: 12px;
}

.table-light {
  --bs-table-bg: #F2F2F2;
}

.ctm-table {
  text-align: center;
}
.ctm-table thead th {
  padding: 16px;
}
@media (max-width: 991.98px) {
  .ctm-table thead th {
    padding: 10px;
  }
}
.ctm-table .sl-no {
  color: #899AA0;
  font-size: 20px;
}
[dir=rtl] .ctm-table .sl-no {
  font-size: 20px;
}
@media (max-width: 991.98px) {
  .ctm-table .sl-no {
    font-size: 14px;
  }
  [dir=rtl] .ctm-table .sl-no {
    font-size: 14px;
  }
}
@media (max-width: 575.98px) {
  .ctm-table .sl-no {
    font-size: 14px;
  }
  [dir=rtl] .ctm-table .sl-no {
    font-size: 10px;
  }
}
.ctm-table .country-name {
  font-weight: 700;
  font-size: 24px;
  white-space: nowrap;
  color: #971C37;
}
@media (max-width: 991.98px) {
  .ctm-table .country-name {
    font-size: 14px;
  }
}
.ctm-table .country-name span {
  font-size: 18px;
}
.ctm-table .points,
.ctm-table .prev-points {
  font-weight: 700;
  font-size: 16px;
  color: #000;
  align-content: center;
}
@media (max-width: 767.98px) {
  .ctm-table .points,
  .ctm-table .prev-points {
    font-size: 13px;
  }
}
.ctm-table .match-results {
  align-content: center;
}
.ctm-table table {
  border-collapse: separate;
  border-spacing: 0 10px;
}
.ctm-table .ctm-table-header {
  border-spacing: 0;
}
.ctm-table .ctm-table-header thead th:last-child {
  width: 20%;
}
.ctm-table .table-rank {
  padding: 30px;
}
@media (max-width: 991.98px) {
  .ctm-table .table-rank {
    padding: 15px;
  }
}
.ctm-table .table-rank .club {
  white-space: nowrap;
}

.ctm-table > tbody > tr > td {
  background-color: transparent;
  padding: 0;
}
.ctm-table > tbody > tr > td table td {
  background-color: #fff;
  padding: 15px 15px;
}
@media (max-width: 1199.98px) {
  .ctm-table > tbody > tr > td table td {
    padding: 10px 5px;
  }
}
.ctm-table > tbody > tr > td table thead td {
  background-color: #F2F2F2;
  padding: 32px 20px;
}
@media (max-width: 1199.98px) {
  .ctm-table > tbody > tr > td table thead td {
    padding: 10px 5px;
  }
}

.team-table-bg {
  background-image: url("../images/img/football-ranking-bg1.png");
  background-size: cover;
  background-color: #F1E5F1;
  border-radius: 12px;
}

@media (max-width: 991.98px) {
  .tr-body .font-size-5 {
    font-size: 16px;
  }
  .tr-body .custom-form {
    font-size: 18px;
  }
  .tr-body .date-time, .tr-body .team-name, .tr-body .clock, .tr-body .content {
    white-space: nowrap;
  }
}
.tr-body .team-name a {
  text-decoration: none;
}

.nav-pills .nav-link.active {
  background-color: #8C0321;
  color: #fff !important;
  border: 1px solid #8C0321;
}

.table-cls {
  width: 200px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: start;
  align-items: center;
  -moz-column-gap: 5px;
       column-gap: 5px;
}
@media (max-width: 575.98px) {
  .table-cls {
    width: 80px;
  }
}

.match-timeline-section .match-timeline-main {
  padding: 64px;
  background: url("../images/icon/match-timeline-bg-football.svg") no-repeat top right;
  background-color: #8C0321;
  border-radius: 24px;
  color: #fff;
}
@media (max-width: 991.98px) {
  .match-timeline-section .match-timeline-main {
    padding: 20px;
  }
}
.match-timeline-section .team-heading {
  width: 10%;
  white-space: normal;
  word-wrap: break-word;
}
.match-timeline-section .win,
.match-timeline-section .loss,
.match-timeline-section .draw {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  font-weight: 300;
  text-transform: uppercase;
  padding: 8px;
}
@media (max-width: 991.98px) {
  .match-timeline-section .win,
  .match-timeline-section .loss,
  .match-timeline-section .draw {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}
.match-timeline-section .win {
  background-color: #15AA9C;
}
.match-timeline-section .loss {
  background-color: #C6002F;
}
.match-timeline-section .draw {
  background-color: #B8C3C6;
}
.match-timeline-section .play-detail-box {
  border: 1px solid #AF4F64;
  background-color: #730008;
  padding: 40px 32px;
  border-radius: 24px;
}
@media (max-width: 991.98px) {
  .match-timeline-section .play-detail-box {
    padding: 25px 15px;
  }
}
.match-timeline-section .play-detail-box .matchtime-box {
  position: relative;
  width: 400px;
  height: 22px;
  background-color: #971C37;
  border-radius: 4px;
}
@media (min-width: 1700px) {
  .match-timeline-section .play-detail-box .matchtime-box {
    width: 600px;
  }
}
.match-timeline-section .play-detail-box .line {
  position: absolute;
  width: 100%;
  height: 1px;
  border-top: #AF4F64 dashed;
  top: 40%;
}
.match-timeline-section .match-time-container-team-1,
.match-timeline-section .match-time-container-team-2 {
  position: relative;
  width: 100%;
  height: 10px;
}
.match-timeline-section .match-time-container-team-1 .its-goal,
.match-timeline-section .match-time-container-team-1 .its-substitution,
.match-timeline-section .match-time-container-team-1 .its-yellowcard,
.match-timeline-section .match-time-container-team-1 .its-redcard,
.match-timeline-section .match-time-container-team-2 .its-goal,
.match-timeline-section .match-time-container-team-2 .its-substitution,
.match-timeline-section .match-time-container-team-2 .its-yellowcard,
.match-timeline-section .match-time-container-team-2 .its-redcard {
  display: inline-flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.match-timeline-section .match-time-container-team-1 .its-goal .line-down,
.match-timeline-section .match-time-container-team-1 .its-goal .line-up,
.match-timeline-section .match-time-container-team-1 .its-substitution .line-down,
.match-timeline-section .match-time-container-team-1 .its-substitution .line-up,
.match-timeline-section .match-time-container-team-1 .its-yellowcard .line-down,
.match-timeline-section .match-time-container-team-1 .its-yellowcard .line-up,
.match-timeline-section .match-time-container-team-1 .its-redcard .line-down,
.match-timeline-section .match-time-container-team-1 .its-redcard .line-up,
.match-timeline-section .match-time-container-team-2 .its-goal .line-down,
.match-timeline-section .match-time-container-team-2 .its-goal .line-up,
.match-timeline-section .match-time-container-team-2 .its-substitution .line-down,
.match-timeline-section .match-time-container-team-2 .its-substitution .line-up,
.match-timeline-section .match-time-container-team-2 .its-yellowcard .line-down,
.match-timeline-section .match-time-container-team-2 .its-yellowcard .line-up,
.match-timeline-section .match-time-container-team-2 .its-redcard .line-down,
.match-timeline-section .match-time-container-team-2 .its-redcard .line-up {
  align-items: center;
  display: flex;
  height: 18px;
  justify-content: center;
}
.match-timeline-section .match-time-container-team-1 .its-goal .line-down .gap-line,
.match-timeline-section .match-time-container-team-1 .its-goal .line-up .gap-line,
.match-timeline-section .match-time-container-team-1 .its-substitution .line-down .gap-line,
.match-timeline-section .match-time-container-team-1 .its-substitution .line-up .gap-line,
.match-timeline-section .match-time-container-team-1 .its-yellowcard .line-down .gap-line,
.match-timeline-section .match-time-container-team-1 .its-yellowcard .line-up .gap-line,
.match-timeline-section .match-time-container-team-1 .its-redcard .line-down .gap-line,
.match-timeline-section .match-time-container-team-1 .its-redcard .line-up .gap-line,
.match-timeline-section .match-time-container-team-2 .its-goal .line-down .gap-line,
.match-timeline-section .match-time-container-team-2 .its-goal .line-up .gap-line,
.match-timeline-section .match-time-container-team-2 .its-substitution .line-down .gap-line,
.match-timeline-section .match-time-container-team-2 .its-substitution .line-up .gap-line,
.match-timeline-section .match-time-container-team-2 .its-yellowcard .line-down .gap-line,
.match-timeline-section .match-time-container-team-2 .its-yellowcard .line-up .gap-line,
.match-timeline-section .match-time-container-team-2 .its-redcard .line-down .gap-line,
.match-timeline-section .match-time-container-team-2 .its-redcard .line-up .gap-line {
  background-color: #AF4F64;
  height: 32px;
  position: absolute;
  top: calc(50% + 5px);
  width: 1px;
}
.match-timeline-section .match-time-container-team-1 .its-goal .line-down,
.match-timeline-section .match-time-container-team-1 .its-substitution .line-down,
.match-timeline-section .match-time-container-team-1 .its-yellowcard .line-down,
.match-timeline-section .match-time-container-team-1 .its-redcard .line-down,
.match-timeline-section .match-time-container-team-2 .its-goal .line-down,
.match-timeline-section .match-time-container-team-2 .its-substitution .line-down,
.match-timeline-section .match-time-container-team-2 .its-yellowcard .line-down,
.match-timeline-section .match-time-container-team-2 .its-redcard .line-down {
  transform: translateY(-30px);
}
.match-timeline-section .match-time-container-team-1 .its-goal .line-down:before,
.match-timeline-section .match-time-container-team-1 .its-substitution .line-down:before,
.match-timeline-section .match-time-container-team-1 .its-yellowcard .line-down:before,
.match-timeline-section .match-time-container-team-1 .its-redcard .line-down:before,
.match-timeline-section .match-time-container-team-2 .its-goal .line-down:before,
.match-timeline-section .match-time-container-team-2 .its-substitution .line-down:before,
.match-timeline-section .match-time-container-team-2 .its-yellowcard .line-down:before,
.match-timeline-section .match-time-container-team-2 .its-redcard .line-down:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #AF4F64;
  position: absolute;
  top: 43px;
}
.match-timeline-section .match-time-container-team-1 .its-goal .line-up,
.match-timeline-section .match-time-container-team-1 .its-substitution .line-up,
.match-timeline-section .match-time-container-team-1 .its-yellowcard .line-up,
.match-timeline-section .match-time-container-team-1 .its-redcard .line-up,
.match-timeline-section .match-time-container-team-2 .its-goal .line-up,
.match-timeline-section .match-time-container-team-2 .its-substitution .line-up,
.match-timeline-section .match-time-container-team-2 .its-yellowcard .line-up,
.match-timeline-section .match-time-container-team-2 .its-redcard .line-up {
  transform: translateY(-11px);
}
.match-timeline-section .match-time-container-team-1 .its-goal .line-up:before,
.match-timeline-section .match-time-container-team-1 .its-substitution .line-up:before,
.match-timeline-section .match-time-container-team-1 .its-yellowcard .line-up:before,
.match-timeline-section .match-time-container-team-1 .its-redcard .line-up:before,
.match-timeline-section .match-time-container-team-2 .its-goal .line-up:before,
.match-timeline-section .match-time-container-team-2 .its-substitution .line-up:before,
.match-timeline-section .match-time-container-team-2 .its-yellowcard .line-up:before,
.match-timeline-section .match-time-container-team-2 .its-redcard .line-up:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #AF4F64;
  position: absolute;
  top: 10px;
}
.match-timeline-section .match-time-container-team-1 .img-down,
.match-timeline-section .match-time-container-team-2 .img-down {
  position: relative;
  bottom: -55px;
}
.match-timeline-section .match-time-container-team-1 .img-up,
.match-timeline-section .match-time-container-team-2 .img-up {
  position: relative;
  bottom: 16px;
}
[dir=rtl] .match-timeline-section .match-time-container-team-1 img,
[dir=rtl] .match-timeline-section .match-time-container-team-2 img {
  transform: scaleX(-1);
}
