/*
Variables
 */
/*
Kompetenzbereiche colors
 */
.bg-kb1 {
  background-color: #BE4E04 !important;
}

.bg-kb2 {
  background-color: #00A845 !important;
}

.bg-kb3 {
  background-color: #3361B7 !important;
}

.bg-kb4 {
  background-color: #007A77 !important;
}

.bg-kb5 {
  background-color: #6D006D !important;
}

.bg-kb6 {
  background-color: #910000 !important;
}

.bg-kb1-light {
  background-color: #f06305 !important;
}

.bg-kb2-light {
  background-color: #00db5a !important;
}

.bg-kb3-light {
  background-color: #4f7bce !important;
}

.bg-kb4-light {
  background-color: #00ada9 !important;
}

.bg-kb5-light {
  background-color: #a000a0 !important;
}

.bg-kb6-light {
  background-color: #c40000 !important;
}

.border-kb1 {
  border-color: #BE4E04 !important;
}

.border-kb2 {
  border-color: #00A845 !important;
}

.border-kb3 {
  border-color: #3361B7 !important;
}

.border-kb4 {
  border-color: #007A77 !important;
}

.border-kb5 {
  border-color: #6D006D !important;
}

.border-kb6 {
  border-color: #910000 !important;
}

.bg-niv1 {
  background-color: #4CAF50;
}

.bg-niv2 {
  background-color: #2196F3;
}

.bg-niv3 {
  background-color: #F44336;
}

.tx-fibsprototype .sticky-top {
  margin-top: -52px;
  padding-top: 52px;
}

.area-card-overlay {
  display: none;
}

.area-card.disabled {
  display: none;
}

.area-card > .card-header i {
  transform: unset;
}

.area-card > .card-header .collapsed i {
  transform: rotate(270deg);
}

.subarea-card > .card-header i {
  transform: unset;
}

.subarea-card > .card-header .collapsed i {
  transform: rotate(270deg);
}

/*.diagram-container{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    position: relative;
}*/
/*.box{
    width: 18px;
    height: 42px;
    position: relative;
    background-color: white;
}*/
/*.fill{
    width: 100%;
    height: 0;
    background-color: #2196F3;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}*/
.progress-container {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.bar-container {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  position: relative;
  float: right;
  top: 50%;
  transform: translate(0%, -50%);
}

.bar {
  width: 8px;
  border: 1px;
  background-color: white;
}

.bar.filled {
  background-color: #2196F3;
}

.bar1 {
  height: 10px;
}

.bar2 {
  height: 20px;
}

.bar3 {
  height: 30px;
}

.line {
  position: absolute;
  bottom: -1px;
  left: 9px;
  width: 28.5px;
  background-color: white;
}

:root {
  --color-kb1: #BE4E04;
  --color-kb2: #00A845;
  --color-kb3: #3361B7;
  --color-kb4: #007A77;
  --color-kb5: #6D006D;
  --color-kb6: #910000;
}

.btn {
  text-transform: none !important;
  border-radius: 0.5rem !important;
}
.btn.subarea-button {
  border-radius: 0 !important;
}
.btn.btn-primary.disabled, .btn.btn-primary:disabled {
  opacity: 1;
  background: #10a6ff;
  border-color: #10a6ff;
  color: #e6e6e6;
}

#main {
  padding-bottom: 5rem;
  background-size: auto 90%;
  background-repeat: no-repeat;
  background-position: right bottom;
}
@media (max-width: 991.98px) {
  #main {
    background-size: 50% auto;
  }
}
#main .content {
  padding-top: 0;
}
#main .content .pt-4 {
  padding-top: 0 !important;
}

.info-modal .btn-close {
  -webkit-filter: invert(100%);
  filter: invert(100%);
  opacity: 1;
}

.btn.btn-primary.disabled, .btn.btn-primary:disabled {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #fff;
  opacity: 0.65;
}

/*Testing backgrounds*/
.fibs-sew-wizard.main {
  /*START TESTING, max width 50% on large devices*/
  /* END TESTING */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  position: relative;
}
@media (min-width: 768px) {
  .fibs-sew-wizard.main {
    max-width: 70%;
  }
}
@media (min-width: 992px) {
  .fibs-sew-wizard.main {
    max-width: 50%;
  }
}
.fibs-sew-wizard.main .progress-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  gap: 20px;
}
.fibs-sew-wizard.main .progress-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 6px;
  transform: translateY(-3px);
  background-color: #A9A9A9;
  z-index: 0;
  display: block;
}
.fibs-sew-wizard.main .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #D3D3D3;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #000000;
  position: relative;
  z-index: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: bold;
}
.fibs-sew-wizard.main .circle.active {
  width: 3rem;
  height: 3rem;
}
.fibs-sew-wizard.main .circle.filled, .fibs-sew-wizard.main .circle.active {
  color: #ffffff;
}
.fibs-sew-wizard.main #question-container .question {
  font-size: 1.2em;
  color: #555555;
  margin: 20px 0;
  text-align: center;
}
.fibs-sew-wizard.main .icon {
  font-size: 2.5em;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.fibs-sew-wizard.main .results {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fibs-sew-wizard.main .results.hidden {
  display: none;
}
.fibs-sew-wizard.main .result-item {
  width: 100%; /* Volle Breite */
}
.fibs-sew-wizard.main .result-text {
  margin-right: 20px;
}
.fibs-sew-wizard.main .selected {
  opacity: 0.5;
}
.fibs-sew-wizard.main button {
  font-size: 1.2em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.fibs-sew-wizard.main #next-button, .fibs-sew-wizard.main #repeat-button {
  flex: 1;
}
.fibs-sew-wizard.main #results {
  padding-right: 2.5rem;
}

#answerList .switch-horizontal .toggle-outside .toggle-inside {
  background-color: #A9A9A9;
}
#answerList .switch-horizontal .toggle-outside .toggle-inside::before {
  color: white;
  content: "\f057";
  font-family: "Font Awesome 5 Free";
  font-size: 1.6rem;
  line-height: 1.6rem;
}
@media (min-width: 992px) {
  #answerList .switch-horizontal .toggle-outside .toggle-inside::before {
    font-size: 2.3rem;
    line-height: 2.3rem;
  }
}
#answerList .switch-horizontal .toggle-outside.enabled .toggle-inside {
  background-color: var(--color-kb1);
}
#answerList .switch-horizontal .toggle-outside.enabled .toggle-inside::before {
  content: "\f058";
}
#answerList .switch-horizontal.switch-kb1 .toggle-outside.enabled .toggle-inside {
  background-color: #BE4E04;
}
#answerList .switch-horizontal.switch-kb2 .toggle-outside.enabled .toggle-inside {
  background-color: #00A845;
}
#answerList .switch-horizontal.switch-kb3 .toggle-outside.enabled .toggle-inside {
  background-color: #3361B7;
}
#answerList .switch-horizontal.switch-kb4 .toggle-outside.enabled .toggle-inside {
  background-color: #007A77;
}
#answerList .switch-horizontal.switch-kb5 .toggle-outside.enabled .toggle-inside {
  background-color: #6D006D;
}
#answerList .switch-horizontal.switch-kb6 .toggle-outside.enabled .toggle-inside {
  background-color: #910000;
}

/*
New wizard styles
 */
#results-container {
  width: 100%;
}

