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

.news-updates-section .item {
  margin-inline-start: 15px;
  margin-inline-end: 15px;
}
.news-updates-section .card {
  border: 1px solid #C0B8BE;
  border-radius: 12px;
  overflow: hidden;
}
.news-updates-section .card-body {
  padding: 30px;
}
@media (max-width: 991.98px) {
  .news-updates-section .card-body {
    padding: 20px;
  }
}
.news-updates-section a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition: all 0.6s ease;
}
.news-updates-section a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  border-radius: 5px;
  height: 0.05em;
  bottom: 0;
  inset-inline-start: 0;
  background: currentcolor;
  transform-origin: bottom end;
  transition: transform 0.25s ease-out;
}
.news-updates-section .card-img-top {
  transition: transform 0.5s ease;
  transform-origin: bottom center;
  -o-object-fit: cover;
     object-fit: cover;
  height: 230px;
}
.news-updates-section .card-title {
  transition: all 0.6s ease;
  min-height: 53px;
  font-size: 20px !important;
}
.news-updates-section .card:hover .card-title {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .date p {
    font-size: 14px !important;
  }
}

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

.champions-record h3 {
  margin-bottom: 56px;
}

.mb-145 {
  margin-bottom: 145px;
}

.champions-slider-wrapper, .our-sports-culb-slider-wrapper {
  position: relative;
}
.champions-slider-wrapper:before, .our-sports-culb-slider-wrapper:before {
  content: "";
  background: url("../images/icon/qal-football-icon-1.svg") no-repeat bottom 0% left 20%, url("../images/icon/qal-football-icon-2.png") no-repeat top 10% right 0%;
  background-color: #8C0321;
  padding-bottom: 15px;
  border-radius: 24px;
  position: absolute;
  display: block;
  width: 100%;
  height: 212px;
}
[dir=rtl] .champions-slider-wrapper:before, [dir=rtl] .our-sports-culb-slider-wrapper:before {
  background: url("../images/icon/qal-football-icon-1.svg") no-repeat bottom 0% right 20%, url("../images/icon/qal-football-icon-2.png") no-repeat top 10% left 0%;
  background-color: #8C0321;
}

.champions-slider, .our-sports-culb-slider {
  padding-inline: 160px;
}
@media (max-width: 1399.98px) {
  .champions-slider, .our-sports-culb-slider {
    padding-inline: 100px;
  }
}
@media (max-width: 991.98px) {
  .champions-slider, .our-sports-culb-slider {
    padding-inline: 30px;
  }
}
.champions-slider .record-box, .our-sports-culb-slider .record-box {
  background: linear-gradient(to bottom, #C58190, #a44861);
  padding-inline: 32px;
  padding-block: 24px 13px;
  border-start-end-radius: 32px;
  border-end-start-radius: 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: -20px;
  position: relative;
  width: 178px;
}
.champions-slider .record-box:before, .our-sports-culb-slider .record-box:before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: -12px;
  border-style: solid;
  border-width: 0 0 20px 12px;
  border-color: transparent transparent #625f5f transparent;
}
[dir=rtl] .champions-slider .record-box:before, [dir=rtl] .our-sports-culb-slider .record-box:before {
  border-width: 0 12px 20px 0;
}
.champions-slider .record-box:hover:before, .our-sports-culb-slider .record-box:hover:before {
  border-style: solid;
  border-width: 0 0 40px 12px;
  transition: border-width 0.2s ease;
  border-color: transparent transparent #625f5f transparent;
}
[dir=rtl] .champions-slider .record-box:hover:before, [dir=rtl] .our-sports-culb-slider .record-box:hover:before {
  border-width: 0 12px 40px 0;
}
.champions-slider .record-box:hover, .our-sports-culb-slider .record-box:hover {
  animation: moveUp 0.3s ease forwards;
}
@keyframes moveUp {
  0% {
    margin-top: -20px;
  }
  100% {
    margin-top: -40px;
  }
}
.champions-slider .inner-box, .our-sports-culb-slider .inner-box {
  width: 98px;
  height: 88px;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 12px;
}
.champions-slider .inner-box div, .our-sports-culb-slider .inner-box div {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.champions-slider .inner-box1, .our-sports-culb-slider .inner-box1 {
  width: 76.24px;
  height: 76.24px;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 14px;
}
.champions-slider .inner-box1 div, .our-sports-culb-slider .inner-box1 div {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.champions-slider .slick-list, .our-sports-culb-slider .slick-list {
  overflow: visible;
  overflow-x: clip;
  margin-bottom: 40px;
}
.champions-slider .slick-prev, .our-sports-culb-slider .slick-prev {
  inset-inline-start: 70px;
}
@media (max-width: 1399.98px) {
  .champions-slider .slick-prev, .our-sports-culb-slider .slick-prev {
    inset-inline-start: 30px;
  }
}
@media (max-width: 991.98px) {
  .champions-slider .slick-prev, .our-sports-culb-slider .slick-prev {
    inset-inline-start: 5px;
  }
}
.champions-slider .slick-next, .our-sports-culb-slider .slick-next {
  inset-inline-end: 70px;
}
@media (max-width: 1399.98px) {
  .champions-slider .slick-next, .our-sports-culb-slider .slick-next {
    inset-inline-end: 30px;
  }
}
@media (max-width: 991.98px) {
  .champions-slider .slick-next, .our-sports-culb-slider .slick-next {
    inset-inline-end: 5px;
  }
}
.champions-slider .slick-prev,
.champions-slider .slick-next, .our-sports-culb-slider .slick-prev,
.our-sports-culb-slider .slick-next {
  background-color: transparent;
  display: flex;
  width: 69px;
  height: 69px;
  background-color: #971C37;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  padding-bottom: 6px;
  z-index: 20;
  top: 60%;
}
@media (max-width: 991.98px) {
  .champions-slider .slick-prev,
  .champions-slider .slick-next, .our-sports-culb-slider .slick-prev,
  .our-sports-culb-slider .slick-next {
    width: 40px;
    height: 40px;
  }
}
.champions-slider .slick-prev:hover,
.champions-slider .slick-next:hover, .our-sports-culb-slider .slick-prev:hover,
.our-sports-culb-slider .slick-next:hover {
  background-color: #C58190;
}
.champions-slider .slick-next:before, .our-sports-culb-slider .slick-next:before {
  content: url("../images/icon/champions-record-arrow.svg");
}
[dir=rtl] .champions-slider .slick-next:before, [dir=rtl] .our-sports-culb-slider .slick-next:before {
  transform: scaleX(-1);
}
.champions-slider .slick-prev:before, .our-sports-culb-slider .slick-prev:before {
  content: url("../images/icon/champions-record-arrow2.svg");
}
[dir=rtl] .champions-slider .slick-prev:before, [dir=rtl] .our-sports-culb-slider .slick-prev:before {
  transform: scaleX(-1);
}
.champions-slider .slick-dots, .our-sports-culb-slider .slick-dots {
  bottom: -90px;
  inset-inline-start: 0px;
  list-style-type: none;
}
.champions-slider .slick-dots li button, .our-sports-culb-slider .slick-dots li button {
  background-color: #a49aaa;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}
.champions-slider .slick-dots li button:before, .our-sports-culb-slider .slick-dots li button:before {
  content: "";
}
.champions-slider .slick-dots .slick-active button, .our-sports-culb-slider .slick-dots .slick-active button {
  background-color: #8C0321;
}
.champions-slider .slick-slide, .our-sports-culb-slider .slick-slide {
  margin-inline: 16px;
}

.slick-initialized .slick-slide {
  display: flex;
  justify-content: center;
}

.our-sports-culb-slider .record-box {
  padding-inline: 40px;
  padding-block: 24px 8px;
}

.our-sports-culb-slider-wrapper::before {
  height: 177px;
}

.qal-details-section {
  padding: 64px;
  border: 1px solid #EDE9EB;
  border-radius: 12px;
}
@media (max-width: 767.98px) {
  .qal-details-section {
    padding: 20px;
    padding-bottom: 40px;
  }
}
.qal-details-section .custom-gap {
  -moz-column-gap: 32px;
       column-gap: 32px;
}
.qal-details-section .qal-logo {
  border: 1px solid #E5DFE4;
  border-radius: 12px;
  padding-block: 17px;
  padding-inline: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qal-details-section .qal-logo img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.qal-details-section p {
  font-size: 18px;
  color: #625f5f;
  line-height: 29px;
  font-weight: 300;
  margin-bottom: 20px;
}
.qal-details-section p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .qal-details-section p {
    font-size: 16px;
    margin-bottom: 20px;
  }
}
