* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "museo_sans", "arial", "sans-serif";
}

.leaderboard_hero-background-FBBE6CCF {
  background: url(/challenges/images/banner_leaderboard.png);
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  width: 100%;
  position: absolute;
  z-index: -1;
  min-height: 180px;
}
#leaderboard__header-FBBE6CCF,
#datatablesSimple_filter,
#filter-buttons {
  justify-content: space-between;
  display: flex !important;
  align-items: center;
  position: relative;
}
.dataTables_wrapper .dataTables_date_range label {
  position: relative;
}

.dataTables_wrapper .dataTables_date_range svg {
  position: absolute;
  top: 50%;
  left: 4%;
}

.dataTables_wrapper .dataTables_date_range input {
  padding-left: 40px;
}
.dataTables_filter label span {
  position: absolute;
  top: 12%;
  left: 12px;
  width: 20px;
  color: #a9a9a9;
}
.dataTables_filter .fa-rotate-right {
  font-size: 20px;
  margin-top: 5px;
  color: #4e6b8c;
}
.dataTables_filter .fa-magnifying-glass {
  font-size: 13px;
}
.dataTables_filter input {
  padding-left: 30px;
}
.dataTables_filter input:focus,
.dataTables_date_range input:focus {
  box-shadow: none !important;
}
.dataTables_filter input::placeholder {
  color: #333333;
}
.dataTables_filter input,
.dataTables_filter label {
  width: 100% !important;
  margin: 0 !important;
}

.leaderboard__wrapper-FBBE6CCF {
  width: 85%;
  margin: auto;
  padding: 40px 0;
}

.leaderboard__wrapper-FBBE6CCF h6 {
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #7a90a9;
}

.leaderboard__wrapper-FBBE6CCF h1 {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: #333333;
}
.leaderboard__wrapper-FBBE6CCF img {
  margin-bottom: 5px;
}

.leaderboard__wrapper-FBBE6CCF .highlight-text {
  color: #ff5a10;
}

#leaderboard_card {
  padding-top: 25px;
}
#leaderboard__header-FBBE6CCF {
  width: 90%;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap:47px;
}

#leaderboard__header-FBBE6CCF div{
  width: 100%;
}

#leaderboard__header-FBBE6CCF label {
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
  color: #4e6b8c;
  width: 100%;
}

#leaderboard__header-FBBE6CCF input,
#datatablesSimple_filter input,
#leaderboard__header-FBBE6CCF .select2-selection {
  border: 1px solid #949494;
  height: 32px;
  color: #333333;
}

#datatablesSimple_challenge .select2-selection {
  height: auto;
}
#datatablesSimple_challenge
  .select2-selection--multiple
  .select2-selection__rendered {
  overflow-x: scroll;
}
#datatablesSimple_challenge ::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
#leaderboard__header-FBBE6CCF input {
  border-radius: 4px;
}
#datatablesSimple_challenge input {
  border: none;
  height: auto;
}
.select2-container {
  width: 100% !important;
}
#datatablesSimple_challenge
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  li {
  font-weight: 500;
  font-size: 14px;
  background-color: #ffffff;
}
#datatablesSimple_length .select2-container {
  width: fit-content !important;
}
@media only screen and (max-width: 1140px) {
  .select2-container {
    width: 100%;
  }
  #datatablesSimple_challenge .select2-container {
    min-width: 100% !important;
  }
  .leaderboard__wrapper-FBBE6CCF {
    width: 95% !important;
  }
  #datatablesSimple_date_range input {
    width: 100% !important;
  }
  #datatablesSimple th {
    padding-left: 40px !important;
    padding-right: 15px !important;
    ::after {
      left: 20px !important;
    }
  }
  #datatablesSimple th::before {
    left: 10px !important;
  }
  #datatablesSimple th::after {
    left: 20px !important;
  }
}
@media only screen and (min-width: 564px) and (max-width: 850px) {
  .daterangepicker {
    left: 2.5% !important;
    right: auto !important;
  }
  .daterangepicker.opensright:before {
    left: 322px !important;
  }
  .daterangepicker.opensright:after {
    left: 323px !important;
  }
}
@media only screen and (min-width: 564px) and (max-width: 630px) {
  .daterangepicker.opensright:before {
    left: 221px !important;
  }
  .daterangepicker.opensright:after {
    left: 222px !important;
  }
}
@media only screen and (max-width: 630px) {
  #datatablesSimple_challenge .select2-container {
    min-width: 200px !important;
  }
}
.select2-container--default .select2-selection--single {
  border: 1px solid #333;
  height: 38px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  height: 38px;
  font-size: 14px;
  line-height: 30px;
  color: #333333;
  font-weight: 500;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option {
  background-color: #ffffff;
  font-size: 12px;
  color: #333333;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #f4f7fc;
  color: #333333;
  font-size: 12px;
  z-index: 104;
  position: relative;
}

.select2-dropdown {
  border: 1px solid #333;
}

.select2-search--dropdown .select2-search__field {
  outline: 0;
  display: block;
  font-size: 12px;
  padding: 10px;
  width: 100%;
  height: calc(2.25rem + 2px);
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-search--dropdown .select2-search__field:focus {
  background: #ffffff;
  border: 1px solid#4E6B8C;
}
.select2-container--default .select2-selection--single,
.select2-dropdown {
  background: #ffffff;
  border: 1px solid #949494;
  border-radius: 4px;
}
.select2-container--default
  .select2-results__option--highlighted[aria-selected]:last-child,
.select2-container--default .select2-results__option:last-child {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.fullscreen-table {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 100;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

#filter-buttons button {
  display: flex;
  align-items: center;
  gap: 10px;
}

#filter-buttons button span {
  text-decoration: underline;
  font-size: small;
}

.fullscreen-table .dataTables_filter,
.fullscreen-table #leaderboard__header-FBBE6CCF {
  display: none !important;
}

.fullscreen-table #datatablesSimple,
.fullscreen-table #datatablesSimple th,
.fullscreen-table #datatablesSimple td,
.fullscreen-table #datatablesSimple_wrapper,
.fullscreen-table .leaderboard__table-footer-FBBE6CCF {
  border-radius: 0 !important;
}

.fullscreen-table #datatablesSimple_filter{
  padding: 15px 10px;
}

.fullscreen-table {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#datatablesSimple_filter input::placeholder {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #333333;
}
#datatablesSimple_filter button {
  background: none !important;
  border: none !important;
  margin: 0 12px;
  color: #4e6b8c;
}
#datatablesSimple_filter button svg {
  height: 18px;
  width: 18px;
  color: #4e6b8c;
}

#datatablesSimple_filter .search-filter {
  display: flex;
  align-items: center;
  width: 90%;
  gap: 8px;
  position: relative;
}

#datatablesSimple_challenge label,
#datatablesSimple_poll label {
  display: flex;
  flex-direction: column;
}

#datatablesSimple_challenge input {
  width: 420px;
}
#datatablesSimple_date_range input {
  width: 100%;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
#datatablesSimple_poll select {
  width: 172px;
}
#datatablesSimple {
  margin: 0px !important;
}
.leaderboard__sticky-block-FBBE6CCF {
  position: sticky;
  top: 0;
  z-index: 102;
  height: 20px;
  margin-top: 9px;
  margin-bottom: 0px;
  background: #fff;
  width: 100%;
  display: block;
}
#datatablesSimple thead {
  background: #f4f7fc;
  border-color: #e0e0e0;
  border-top-color: #cccccc;
  width: 100%;
  position: sticky;
  z-index: 103;
  top: 2%;
  color: #333333;
}

.fullscreen-table #datatablesSimple thead{
  top: 0%;
}

#datatablesSimple thead th {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
#datatablesSimple th:first-child {
  border-top-left-radius: 10px;
  border-left-color: #cccccc;
}
#datatablesSimple th:last-child {
  border-top-right-radius: 10px;
  border-right-color: #cccccc;
}

table.dataTable thead > tr > th.sorting::before,
table.dataTable thead > tr > th.sorting::after {
  position: absolute;
  font-family: "Font Awesome 6 Free";
  color: #333333;
  opacity: 1;
}
table.dataTable thead > tr > th.sorting::before {
  content: "\f176";
  top: 40%;
  left: 25px;
}
table.dataTable thead > tr > th.sorting::after {
  content: "\f175";
  top: 40% !important;
  right: 1%;
  left: 35px;
}

#datatablesSimple tbody td {
  position: relative;
  border-width: 0px 0px 1px 0px !important;
  border-color: #e0e0e0;
  color: #333333;
  font-size: 12px;
  font-weight: 500;
  padding: 15px 10px !important;
}

#datatablesSimple tbody td:nth-child(3) {
  color: #4e6b8c;
}

#datatablesSimple tbody tr:last-child td {
  border-bottom-width: 0px !important ;
}

#datatablesSimple tbody tr td:first-child {
  border-left-width: 1px !important;
  border-left-color: #cccccc;
  text-align: center;
  color: #4e6b8c;
}
#datatablesSimple tbody tr td:last-child {
  border-right-width: 1px !important;
  border-right-color: #cccccc;
}
.top-ranks {
  position: absolute;
  left: 14%;
  height: 26px;
}
.highlight-rank1 {
  filter: invert(88%) sepia(19%) saturate(4806%) hue-rotate(354deg)
    brightness(100%) contrast(109%);
}
.leaderboard__table-footer-FBBE6CCF {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #cccccc;
  border-top-width: 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px 30px;
  margin: 0;
  background: rgba(244, 247, 252, 0.75);
}
.leaderboard__table-footer-FBBE6CCF,
.leaderboard__table-footer-FBBE6CCF label,
.leaderboard__table-footer-FBBE6CCF label select {
  color: #333333 !important;
  font-size: 12px;
  font-weight: 700 !important;
  line-height: 18px;
  letter-spacing: 0.36px;
}

.leaderboard__table-footer-FBBE6CCF .leaderboard__info-wrapper-FBBE6CCF {
  width: 75%;
}
.leaderboard__table-footer-FBBE6CCF
  .leaderboard__info-wrapper-FBBE6CCF
  .dataTables_info {
  text-align: left !important;
}
.leaderboard__table-footer-FBBE6CCF #datatablesSimple_info {
  padding: 0px;
}
.leaderboard__table-footer-FBBE6CCF .select2-selection--single {
  background-color: rgba(244, 247, 252, 0.75) !important;
  border: none !important;
}
.leaderboard__table-footer-FBBE6CCF .select2-selection__rendered {
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 12px !important;
  padding-left: 0px !important;
  font-weight: 700 !important;
}
.leaderboard__table-footer-FBBE6CCF .select2-selection__arrow {
  top: 5px !important;
}
.leaderboard__table-footer-FBBE6CCF .paginate_info {
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.leaderboard__table-footer-FBBE6CCF .paginate_info span {
  color: #949494;
}
.card-body {
  padding: 0;
}
.select2-selection__arrow b {
  border-color: #4e6b8c transparent transparent transparent !important;
}
.select2-container--open .select2-selection__arrow b {
  border-color: transparent transparent #4e6b8c transparent !important;
}

.page-link,
.page-link:hover,
.page-link:focus {
  color: #4f4f4f;
}
.page-item.disabled .page-link {
  color: #949494;
}
.paginate_button .page-link {
  border: none;
  width: 24px;
  height: 20px;
  background: #f7f9fc;
  box-shadow: 0px 0px 0px 1px rgba(70, 79, 96, 0.24);
  border-radius: 6px !important;
  padding: 0 5px;
  padding-bottom: 20px;
}
.paginate_button .page-link i {
  position: absolute;
  font-size: 10px;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
}

.dataTables_length .form-select {
  border: none;
  padding: 0 20px;
  padding-left: 0px;
}

.leaderboard__length-dropdown-FBBE6CCF {
  width: 96px !important;
  border-bottom: 1px solid #949494 !important;
  border-radius: 6px !important;
  position: absolute;
  left: -39px !important;
}
.leaderboard__length-dropdown-FBBE6CCF .select2-search--dropdown,
.leaderboard__inputpoll-dropdown-FBBE6CCF .select2-search--dropdown {
  display: none !important;
}

.leaderboard__length-dropdown-FBBE6CCF .select2-results {
  padding: 4px 0;
}

.leaderboard__length-dropdown-FBBE6CCF .select2-results__option {
  padding: 4px 10px !important;
}

.leaderboard__length-dropdown-FBBE6CCF span.select2-results::after {
  content: " ";
  right: 20%;
  position: absolute;
  bottom: -5.8%;
  height: 12px;
  width: 12px;
  position: absolute;
  transform: rotate(45deg);
  background-color: #fff;
  border-right: 1px solid #949494;
  border-bottom: 1px solid #949494;
}

.leaderboard__wrapper-FBBE6CCF .selection:focus-visible {
  outline: none !important;
}

#spinner {
  visibility: hidden;
  width: 80px;
  height: 80px;
  border-top: 5px solid #2b7bb0 !important;
  border-radius: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 99999;
  animation: spin 1s infinite linear;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 1350px) {
  .leaderboard__wrapper-FBBE6CCF thead th:nth-child(3) {
    width: 20% !important;
  }
}

.select2-results__option:before {
  font-family: fontAwesome;
  color: #999;
  content: "\f096";
  width: 25px;
  height: 25px;
  padding-right: 10px;
}
.select2-results__option[aria-selected="true"]:before {
  content: "\f14a";
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  margin-right: 5px;
}

/* .select2-selection--multiple:before {
  content: "";
  position: absolute;
  right: 7px;
  top: 42%;
  border-top: 5px solid #888;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
} */

@media (max-width: 576px) {
  .heading-sub {
    display: block;
    margin-top: 4px;
  }
  #datatablesSimple td {
    white-space: normal !important;
    word-break: break-word;
    font-size: 12px;
    padding: 12px;
  }
  table.dataTable thead .sorting:after,
  table.dataTable thead .sorting:before,
  table.dataTable thead .sorting_asc:after,
  table.dataTable thead .sorting_asc:before,
  table.dataTable thead .sorting_desc:after,
  table.dataTable thead .sorting_desc:before {
    display: none !important;
  }

  #datatablesSimple th:first-child,
  #datatablesSimple td:first-child {
    padding: 12px 6px !important;
    font-size: 12px;
    width: 8%;
  }

  #datatablesSimple th:not(:first-child),
  #datatablesSimple td:not(:first-child) {
    white-space: normal !important;
    word-break: break-word;
    font-size: 12px;
    padding: 12px !important;
  }

  #datatablesSimple th:last-child,
  #datatablesSimple td:last-child {
    width: 22% !important;
  }

  .top-ranks {
    position: absolute;
    left: -10%;
    height: 26px;
  }

  #leaderboard__header-FBBE6CCF {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 100%;
    align-items: start;
  }

  .leaderboard__wrapper-FBBE6CCF h1 {
    flex-direction: column;
    align-items: start;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #leaderboard__header-FBBE6CCF {
    width: 85%;
  }
  #datatablesSimple_filter .search-filter {
    width: 85%;
  }
}
