.popup {
  position: fixed; /* statt absolute */
  top: 50%; /* Zentriert vertikal */
  left: 50%; /* Zentriert horizontal */
  transform: translate(-50%, -50%); /* Korrektur für Zentrierung */
  width: 600px;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none; /* Verstecken, wenn nicht benötigt */
}
optgroup {
  font-weight: bold;
  font-size: 1.2em;
}
.popup-header {
  cursor: move;
  background-color: #f7f7f7;
  height: 40px;
  border-bottom: 1px solid #ccc;
}

.popup-body {
  padding: 20px;
}

.popup-footer {
  text-align: right;
  padding: 10px;
  border-top: 1px solid #ccc;
}
.collapse-container {
  margin-bottom: 1rem;
}

.collapse-toggle {
  width: 100%;
  text-align: left;
}

.collapse-content {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem; /* Bootstrap's mt-3 class */
}

.dual-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dual-select select {
  width: 40%;
}
#type, #anzahlzeichen {
  width: 100%;
}
.microphone-icon {
  position: absolute;
  right: 20px;
  top: 22px;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  color: #666;
  display: none; /* Standardmäßig ausgeblendet */
}

.microphone-icon.show {
  display: inline; /* Anzeigen, wenn unterstützt */
}

.microphone-icon:hover {
  color: #333;
}
#fragefeld, #antwortfeld, #anzahlzeichen{
  font-size: 12px; 
}  
.lds-hourglass {
  /* change color here */
  color: #74AA9C
}
.lds-hourglass,
.lds-hourglass:after {
  box-sizing: border-box;
}
.lds-hourglass {
  display: none;
  position: fixed;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 40%;
}
.lds-hourglass:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
 
  margin: 8px;
  box-sizing: border-box;
  border: 32px solid currentColor;
  border-color: currentColor transparent currentColor transparent;
  animation: lds-hourglass 1.2s infinite;
}
@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}
#dualSelectBox1, #dualSelectBox2 , #type {
  font-size: 12px; 
}
.popup-body .button-container {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
#arrowContainer {
  display: none; /* Standardmäßig ausgeblendet */
  text-align: center; /* Zentriert die Buttons */
  margin-top: 10px; /* Abstand nach oben */
}
#arrowContainer button {
  background-color: white; /* Hintergrundfarbe */
  border: 1px solid #74AA9C; /* Rahmenfarbe */
  color: #74AA9C; /* Textfarbe */
  padding: 2px 6px; /* Innenabstand */
  margin: 0 2px; /* Abstand zwischen den Buttons */
  border-radius: 3px; /* Abgerundete Ecken */
  cursor: pointer; /* Zeiger anzeigen */
  font-size: 12px; /* Schriftgröße */
}
#arrowContainer button:hover {
  background-color: #74AA9C; /* Hintergrundfarbe beim Hover */
  color: white; /* Textfarbe beim Hover */
}
.popup-body .btn-success {
  background-color: #74AA9C;
  border-color: #74AA9C;
  color: white;
}
.popup-header h3 {
  text-align: center; /* Zentriert den Text horizontal */
  margin: 0; /* Entfernt den Standardabstand um den <h3>-Tag */
}
.dual-select-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dual-select-buttons button {
  margin: 5px 0;
}

.form-check-label {
  margin-left: 5px; /* Fügen Sie etwas Abstand zwischen Checkbox und Label hinzu */
}

.collapse-container {
  display: none;
}

.form-check {
  margin-top: 0; /* Ändern Sie die Margin nach Ihren Bedürfnissen */
}

.dual-select {
  margin-top: 0; /* Ändern Sie die Margin nach Ihren Bedürfnissen */
} 
.form-control::placeholder {
  color: #999;
  font-style: italic;
}

/* Mozilla Firefox */
.form-control::-moz-placeholder {
  color: #999;
  font-style: italic;
}
#oldQuestionsContainer {
  max-height: 15em; /* Maximalhöhe auf 15 Zeilen einstellen */
  overflow-y: auto; /* Scrollbar bei Überlauf */
  margin-bottom: 2px; /* Abstand nach unten hinzufügen */
  padding: 10px; /* Optional: Innenabstand hinzufügen */
  box-sizing: border-box; /* Innenabstand und Rahmen in die Gesamthöhe einbeziehen */
}
/* Internet Explorer 10+ */
.form-control:-ms-input-placeholder {
  color: #999;
  font-style: italic;
}

/* Microsoft Edge */
.form-control::-ms-input-placeholder {
  color: #999;
  font-style: italic;
}

/* WebKit-Browser (Chrome, Safari) */
.form-control::-webkit-input-placeholder {
  color: #999;
  font-style: italic;
}

.old-questions {
  color: #999;
  font-style: italic;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}