.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

/*
 * Sidebar
 */

@media (min-width: 768px) {
  .sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
  }
  .navbar-search {
    display: block;
  }
}

.sidebar .nav-link {
  font-size: .875rem;
  font-weight: 500;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar-heading {
  font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

/*
 * Bias Checker
 */

.section-bias-checker h1 {
  height: 0;
  position: absolute;
  left: -5000px;
}
#check-bias-restart {
  display: none;
  opacity: 0;
  -webkit-transition: opacity 2s;
  -moz-transition: opacity 2s;
  -o-transition: opacity 2s;
  transition: opacity 2s;
}
#check-bias-clear {
  display: none;
}
.warnred {
  font-weight: 800;
  color: red;
}
#loader,
#loaderAnalysis {
  display: none;
}
.loader-analysis {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #db34a3;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  display: none;
  margin: 20px;
}
.GeneratedMarquee {
  /* font-family: Arial, sans-serif; */
  line-height: 1.3em;
  color: #71777f;
  padding: 0;
  font-size: 16px;
  width: 260px;
}
.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.colorful {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: linear-gradient(#2e64a0 0 0), linear-gradient(#96659e 0 0),
    linear-gradient(#cb2127 0 0) #2e64a0;
  background-position: center;
  background-repeat: no-repeat;
  animation: colorful-qng1a3 2s infinite;
}

@keyframes colorful-qng1a3 {
  0% {
    background-size: 100% 100%, 100% 100%, 100% 100%;
  }

  33% {
    background-size: 0% 0%, 100% 100%, 100% 100%;
  }

  66% {
    background-size: 0% 0%, 0% 0%, 100% 100%;
  }

  100% {
    background-size: 0% 0%, 0% 0%, 0% 0%;
  }
}

.bias-checker__logo {
}
.bias-checker__logo-wrapper {
  padding-bottom: 16px;
  margin-bottom: 16px;
  width: 100%;
  border-bottom: 1px solid #d3d8d9;
}
.bias-checker__wrapper {
  max-width: 1000px;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid #d3d8d9;
  padding: 16px;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.bias-checker__bias-rating-wrapper {
  padding: 16px;
  /* background: #f1f4f5; */
  margin-bottom: 24px;
  border-radius: 8px;
}
.bias-checker__autobalancer-wrapper {
  padding: 16px;
  background: #f1f4f5;
  margin-bottom: 24px;
  border-radius: 8px;
  display: none;
}
.bias-checker__wrapper h2 {
  margin-top: 0;
  font-weight: 400;
}
.bias_checker__explanation {
  font-size: 20px;
  line-height: 24px;
}
.bias_checker__autobalancer {
  font-size: 20px;
  line-height: 24px;
  margin-top: 20px;
}
.bias_checker__analysis {
  margin-bottom: 24px;
}
span.marker-number {
  font-weight: 700;
  font-style: normal;
  padding-bottom: 2px;
}
.bias_checker__analysis--counter {
  font-weight: bold;
}

.bias-checker__wrapper * {
  box-sizing: border-box;
}
.bias-checker__question {
  width: 100%;
}

.bias_checker__analysis--bias-type {
  font-weight: 700;
}
.bias_checker__analysis--biased-text {
  font-style: italic;
  display: flex;
  margin-bottom: 8px;
  color: #71777f;
}

.fa-question-circle:before {
  color: #71777f;
}

.fa.fa-question-circle {
  font-weight: 500;
}

.bias_checker__analysis--biased-text-marker {
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  padding-bottom: 4px;
}
span.marker-line-wrapper {
  display: flex;
  flex-direction: row;
  /* align-items: center; */
  align-content: center;
  height: 100%;
}
span.marker-line-line {
  background: #71777f;
  height: 100%;
  flex-grow: 2;
  max-width: 2px;
  /* align-content: center; */
  align-self: center;
  margin: 0 auto;
}
.bias_checker__analysis--explanation {
}
/* Tooltip */
.tooltip-content {
  display: none;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
}

.bias_checker__analysis--bias-type:hover .tooltip-content {
  display: block;
}

.arrow-link.learn-more-link {
  color: #fff;
  cursor: pointer;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  text-decoration: underline !important;
}

.arrow-link.learn-more-link:hover {
  color: #fff;
  text-decoration: underline !important;
}
.tippy-box {
  font-weight: 500;
}

/* Bias Meter */

.bias-meter__container {
  position: relative;
  width: 100%;
  height: 60px;
  padding-top: 20px;
}

.bias-meter__arrow {
  position: absolute;
  top: 10px;
  left: 50%;
  opacity: 1;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid black;
}

.bar-chart {
  display: flex;

  height: 12px; /* Adjust the height of the bar */
}

.segment {
  flex-grow: 1;
}

#segment1 {
  background-color: #2e64a0;
}

#segment2 {
  background-color: #a5c8e8;
}

#segment3 {
  background-color: #96659e;
}

#segment4 {
  background-color: #c49c99;
}

#segment5 {
  background-color: #cb2127;
}

#check-bias-by-url-start {
  display: none;
}

