.graph-header {
  background-color: var(--graph-header-bg) !important;
}

.dashboard-title {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  margin-bottom: 5px;
}

.dashboard-subtitle {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
}

.table-nav-items {
  display: flex;
  flex-direction: row;
  gap: 10px;
  border-bottom: 2px solid var(--bs-gray-dark, #37B24D);
  padding: 5px 5px 0px 5px;
}

.table-nav-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 10px 20px;
  align-items: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%;
  color: var(--bs-primary);
  cursor: pointer;
  border-radius: 12px 12px 0px 0px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-left: 2px solid transparent;
}

.table-nav-item-active {
  border-color: var(--bs-primary);
  cursor: default;
  position: relative;
  background-color: #fff;
  top: 2px;
}

.switch {
  z-index: 100000;
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #244166;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 0px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  background: #152e4d url("../img/icon/moon.svg");
  box-shadow: 0 0px 4px #2020203d;
  background-repeat: no-repeat;
  background-position: center;
}

input:checked+.slider {
  background-color: #2c7be5;
}

input:checked+.slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
  background: white url("../img/icon/sun.svg");
  background-repeat: no-repeat;
  background-position: center;
}

/* Rounded sliders */
.slider.round {
  border-radius: 100px;
}

.slider.round:before {
  border-radius: 50%;
}

.custom-select-card-label:hover {
  cursor: pointer;
  border: 1px solid #2c7be5;
}

.custom-select-card-input:checked+.custom-select-card-label {
  border: 1px solid #2c7be5;
}

.alert a {
  color: #fff;
}

.alert a:hover {
  color: #fff;
  opacity: 0.9;
}

/* Bottom Navbar */
.bottom-navbar {
  position: fixed !important;
  width: 100%;
  bottom: 0;
  z-index: 10000;
  border-width: 1px 0 0;
  border-style: solid;
}

.bottom-navbar-navbar-nav {
  flex-direction: row !important;
  width: 100%;
}

.bottom-navbar-navbar-nav .nav-link {
  display: flex;
  flex-direction: column;
}

.switch {
  z-index: 100000;
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #244166;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 0px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  background: #152e4d url("../img/icon/moon.svg");
  box-shadow: 0 0px 4px #2020203d;
  background-repeat: no-repeat;
  background-position: center;
}

input:checked+.slider {
  background-color: #2c7be5;
}

input:checked+.slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
  background: white url("../img/icon/sun.svg");
  background-repeat: no-repeat;
  background-position: center;
}

/* Rounded sliders */
.slider.round {
  border-radius: 100px;
}

.slider.round:before {
  border-radius: 50%;
}

.custom-select-card-label:hover {
  cursor: pointer;
  border: 1px solid #2c7be5;
}

.custom-select-card-input:checked+.custom-select-card-label {
  border: 1px solid #2c7be5;
}

.alert a {
  color: #fff;
}

.alert a:hover {
  color: #fff;
  opacity: 0.9;
}

/* Bottom Navbar */
.bottom-navbar {
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 10000;
  border-width: 1px 0 0;
  border-style: solid;
}

.bottom-navbar-navbar-nav {
  flex-direction: row;
  width: 100%;
}

.bottom-navbar-navbar-nav .nav-link.active {
  color: #2c7be5 !important;
}

.bottom-navbar-navbar-nav .nav-link.active:before {
  border: 0;
}

.icon.active:after {
  background-color: #e63757;
}

.filter-list>.form-check {
  margin-bottom: 0.75rem;
}

.filter-list>.form-check:last-child {
  margin-bottom: 0;
}

.test-row,
.test-row:hover {
  color: unset;
}

/* Avatar on Leaderboard */
.avatar-rank:before {
  content: "";
  font-size: 12px;
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 35%;
  height: 35%;
}

.avatar-rank-first:before {
  content: "🥇";
}

.avatar-rank-second:before {
  content: "🥈";
}

.avatar-rank-third:before {
  content: "🥉";
}

.avatar-question-options {
  width: 1.25rem !important;
  height: 1.25rem !important;
  font-size: 10px !important;
}

.modal {
  background-color: rgba(0, 0, 0, 0.4);
}

.hidden {
  display: none !important;
}

.switch-inline {
  position: relative !important;
}

.q-options {
  min-height: 80px;
}

.question-block {
  display: flex;
  flex-wrap: wrap;
}

.question-block .question-item {
  width: 40px !important;
  height: 40px !important;
  background: #fbfcfe;
  border-radius: 6px;
  display: flex;
  margin-top: 10px;
  margin-right: 20px;
  margin-bottom: 10px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  position: relative;
}

.concept-list>.row {
  margin-bottom: 1rem;
}

.concept-list>.row:last-child {
  margin-bottom: 0;
}

.loader-1 {
  width: 125px;
  height: 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ededed 33%, #dedede 50%, #ededed 66%) #e3ebf6;
  background-size: 300% 100%;
  animation: ct1 1s infinite linear;
}

.xsmall {
  height: 15px;
  margin-bottom: 5px;
}

.medium {
  height: 30px;
  margin-bottom: 15px;
}

.large {
  height: 40px;
  margin-bottom: 20px;
}

@keyframes ct1 {
  0% {
    background-position: right;
  }
}

.mobile-nav-active {
  font-weight: bold;
  color: white !important;
}

.mobile-nav-active-dark {
  font-weight: bold;
  color: #2c7be5 !important;
}

.invalid-feedback {
  width: 100%;
  margin-top: 5px;
  margin-left: 2px;
  text-align: left !important;
  font-size: 0.8125rem;
  color: #e63757;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  /* [class*="col-"] {
    width: 100%;
  } */

  .modal {
    padding-bottom: 60px;
  }
}

.left-nav-text {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .navbar-vertical-sm.navbar-expand-md {
    max-width: 135px !important;
  }

  .navbar-vertical-sm.navbar-expand-md .navbar-nav>.nav-item>.nav-link {
    justify-content: left !important;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-vertical-sm.navbar-expand-md.fixed-start:not([style*="display: none"])~.main-content {
    margin-left: 135px !important;
  }
}

/* Top Banner */
.top-banner {
  background: #e63757;
  color: #fff;
  text-align: center;
  z-index: 99999;
  width: 100%;
  position: absolute;
  top: 0;
}

.top-banner-container-outer {
  position: relative;
}

.top-banner .top-banner-container {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.top-banner-button {
  background: #fff;
  display: inline-block;
  color: #e63757;
  margin-left: 5px;
  margin-right: 5px;
  font-weight: 500;
  font-size: 13px;
  border-radius: 3px;
  padding: 2px 6px;
}

.top-banner-button:hover {
  color: #e63757;
}