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

.club-contact-details {
  border: 1px solid #EDE9EB;
  border-radius: 12px;
  padding: 64px;
}
@media (max-width: 767.98px) {
  .club-contact-details {
    padding: 20px;
  }
}

.sportsclub-social-icons {
  position: relative;
  z-index: 1;
}
.sportsclub-social-icons .banner-icon3 {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  border: #8C0321 1px solid;
  padding: 8px;
  align-items: center;
  transition: all 300ms;
}
@media (max-width: 1199.98px) {
  .sportsclub-social-icons .banner-icon3 {
    margin-top: 10px;
  }
}
.sportsclub-social-icons .banner-icon3:hover {
  background-color: #8C0321;
}
.sportsclub-social-icons .banner-icon3:hover .instagram-icon,
.sportsclub-social-icons .banner-icon3:hover .youtube-icon,
.sportsclub-social-icons .banner-icon3:hover .facebook-icon,
.sportsclub-social-icons .banner-icon3:hover .twitter-icon {
  background-color: #fff;
}
.sportsclub-social-icons .instagram-icon,
.sportsclub-social-icons .youtube-icon,
.sportsclub-social-icons .facebook-icon,
.sportsclub-social-icons .twitter-icon {
  display: inline-block;
  background: #fff;
  width: 16px;
  height: 16px;
}
.sportsclub-social-icons .instagram-icon {
  -webkit-mask: url("../images/icon/home-banner/instagram-icon.png") no-repeat center;
  background-color: #8C0321;
}
.sportsclub-social-icons .youtube-icon {
  -webkit-mask: url("../images/icon/home-banner/youtube-icon.png") no-repeat center;
  background-color: #8C0321;
}
.sportsclub-social-icons .facebook-icon {
  -webkit-mask: url("../images/icon/home-banner/facebook-icon.png") no-repeat center;
  background-color: #8C0321;
}
.sportsclub-social-icons .twitter-icon {
  -webkit-mask: url("../images/icon/home-banner/twitter-icon.png") no-repeat center;
  background-color: #8C0321;
}

.map-container {
  border-radius: 14px;
  overflow: hidden;
}

.club-contact-details a {
  text-decoration: none;
  color: #8C0321;
}
.club-contact-details .phone-box, .club-contact-details .fax-box, .club-contact-details .pobox-box, .club-contact-details .email-box {
  padding-inline: 32px;
  padding-block: 43px 35px;
  border: 1px solid #E5DFE4;
  border-radius: 12px;
  -moz-column-gap: auto;
       column-gap: auto;
  justify-content: space-between;
  background-color: #FBFBFB;
  margin-inline: 4px;
}
.club-contact-details .phone-box p, .club-contact-details .fax-box p, .club-contact-details .pobox-box p, .club-contact-details .email-box p {
  letter-spacing: 2px;
}
@media (max-width: 1199.98px) {
  .club-contact-details .phone-box, .club-contact-details .fax-box, .club-contact-details .pobox-box, .club-contact-details .email-box {
    padding: 25px 20px;
  }
}
.club-contact-details .email-box {
  padding-block: 26px 24px;
}
.club-contact-details .contact-details {
  display: block;
  margin-inline: -4px;
}

@media (max-width: 767.98px) {
  .sportsclub-details-section .qal-details-section {
    padding: 20px;
    padding-bottom: auto;
  }
}

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

.contact-box {
  border: 1px solid #E5DFE4;
  background-color: #FBFBFB;
  padding: 20px;
  border-radius: 12px;
  /* For Chrome/Opera/Safari */
  /* For Firefox 19+ */
  /* For Firefox 18- */
  /* For Internet Explorer 10+ */
}
@media (min-width: 768px) {
  .contact-box {
    padding: 32px;
  }
}
@media (min-width: 1200px) {
  .contact-box {
    padding: 64px;
  }
}
.contact-box .contact-us-wrapper {
  margin-inline-start: -28px;
  margin-inline-end: -28px;
}
.contact-box .padding-inline-28 {
  padding-inline: 28px;
}
.contact-box h3 {
  word-spacing: 2px;
  color: #8C0321;
  margin-bottom: 32px;
}
@media (max-width: 767.98px) {
  .contact-box h3 {
    margin-bottom: 20px;
    font-size: 25px;
  }
}
.contact-box p {
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
  color: #625f5f;
}
@media (max-width: 767.98px) {
  .contact-box p {
    font-size: 16px;
  }
}
.contact-box .form-control {
  background-color: #fff;
  color: #625f5f;
  border-color: #E5DFE4;
  resize: none;
  border-radius: 12px;
}
@media (min-width: 1200px) {
  .contact-box .form-control {
    padding-block: 18px 15px;
    padding-inline: 24px;
  }
}
.contact-box ::-webkit-input-placeholder {
  font-size: 1.25rem;
  font-weight: 300;
  color: #1D1D1B;
  opacity: 0.5;
}
@media (max-width: 1199.98px) {
  .contact-box ::-webkit-input-placeholder {
    font-size: 16px;
  }
}
.contact-box ::-moz-placeholder {
  font-size: 1.25rem;
  font-weight: 300;
  color: #1D1D1B;
  opacity: 0.5;
}
@media (max-width: 1199.98px) {
  .contact-box ::-moz-placeholder {
    font-size: 16px;
  }
}
.contact-box :-ms-input-placeholder {
  font-size: 1.25rem;
  font-weight: 300;
  color: #1D1D1B;
  opacity: 0.5;
}
@media (max-width: 1199.98px) {
  .contact-box :-ms-input-placeholder {
    font-size: 16px;
  }
}
.contact-box ::-ms-input-placeholder {
  font-size: 1.25rem;
  font-weight: 300;
  color: #1D1D1B;
  opacity: 0.5;
}
@media (max-width: 1199.98px) {
  .contact-box ::-ms-input-placeholder {
    font-size: 16px;
  }
}
.contact-box .form-label {
  font-size: 16px;
  color: #000;
  font-weight: 300;
  margin-bottom: 16px;
}
.contact-box .btn-custom {
  background-color: #8C0321;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 12px;
}
@media (min-width: 1200px) {
  .contact-box .btn-custom {
    padding-inline: 51px;
    padding-block: 14px;
  }
}
.contact-box .contact-end {
  padding-inline: 30px;
  padding-block: 30px 42px;
  display: flex;
  flex-direction: column;
  row-gap: 41px;
  border: 1px solid #E5DFE4;
  border-radius: 12px;
}
.contact-box .map-container {
  position: relative;
  padding-bottom: 100%;
}
.contact-box .map-container .button-wrapper {
  padding: 8px;
  background-color: #FBFBFB;
  border-radius: 12px;
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
}
.contact-box .map-container #map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 7px;
}
.contact-box a {
  text-decoration: none;
}
@media (max-width: 1700px) {
  .contact-box .font-size-5 {
    font-size: 18px;
  }
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 56px;
       column-gap: 56px;
  row-gap: 20px;
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .contact-details {
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .contact-details {
    flex-direction: column;
  }
}
@media (min-width: 1200px) and (max-width: 1700px) {
  .contact-details {
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
}
.contact-details .phone-box,
.contact-details .pobox-box,
.contact-details .fax-box,
.contact-details .email-box {
  display: flex;
  -moz-column-gap: 16px;
       column-gap: 16px;
  align-items: center;
}
.contact-details .phone-box p,
.contact-details .pobox-box p,
.contact-details .fax-box p,
.contact-details .email-box p {
  font-size: 16px;
}
.contact-details .phone-box h5,
.contact-details .pobox-box h5,
.contact-details .fax-box h5,
.contact-details .email-box h5 {
  color: #8C0321;
}
.contact-details .phone {
  -webkit-mask: url("../images/icon/contact-us-phone.svg") no-repeat center;
}
[dir=rtl] .contact-details .phone {
  transform: scaleX(-1);
}
.contact-details .fax {
  -webkit-mask: url("../images/icon/contact-us-fax.svg") no-repeat center;
}
.contact-details .pobox {
  -webkit-mask: url("../images/icon/contact-us-location.svg") no-repeat center;
}
.contact-details .email {
  -webkit-mask: url("../images/icon/contact-us-email.svg") no-repeat center;
}
.contact-details .phone,
.contact-details .fax,
.contact-details .pobox,
.contact-details .email {
  display: flex;
  width: 30px;
  height: 30px;
  background-color: #978CA2;
}
@media (min-width: 1200px) and (max-width: 1700px) {
  .contact-details .phone,
  .contact-details .fax,
  .contact-details .pobox,
  .contact-details .email {
    -webkit-mask-size: 18px;
  }
}
@media (max-width: 1199.98px) {
  .contact-details .phone,
  .contact-details .fax,
  .contact-details .pobox,
  .contact-details .email {
    -webkit-mask-size: 16px;
  }
}

.circle {
  width: 56px;
  height: 56px;
  border: 1px solid #978CA2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1200px) and (max-width: 1700px) {
  .circle {
    width: 35px;
    height: 35px;
  }
}
@media (max-width: 1199.98px) {
  .circle {
    width: 36px;
    height: 36px;
  }
}

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

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