/* Center the loader */
#loader {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

.overlay-with-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000 !important;
  background-color: lightgray;
  opacity: 0.3;
}

@media (max-width: 1062px) {
  #menu-hauptmenue,
  .dropdown-menu {
    font-size: small !important;
  }
  .dropdown-menu .dropdown-item {
    font-size: small !important;
  }
}

@media (max-width: 962px) {
  #menu-hauptmenue .dropdown-menu {
    font-size: x-small !important;
  }
  .dropdown-menu .dropdown-item {
    font-size: x-small !important;
  }
}

@media (max-width: 807px) {
  #menu-hauptmenue {
    font-size: xx-small !important;
  }
  .dropdown-menu .dropdown-item {
    font-size: xx-small !important;
  }
}

@media (max-width: 767px) {
  #menu-hauptmenue {
    font-size: large !important;
  }
  .dropdown-menu .dropdown-item {
    font-size: large !important;
    margin-left: 10px;
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

#myDiv {
  display: none;
  text-align: center;
}

.containerfile {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-between; */
}

.itemfile {
  width: 32%;
  height: 170px;
  /* padding-bottom: 32%; */
  margin-bottom: 25px;
  position: relative;
  margin: 5px 5px 5px 0;
  padding: 5px;
  float: left;

  font-size: 10px;
  text-align: center;

  color: #000000;
  font-size: 30px;
}

.itemfile-bottom-left {
  position: absolute;
  bottom: 19px;
  left: 63px;
  font-size: 10px;
  background: white;
  padding: 6px;
  opacity: 0.6;
}

.itemfile-top-right {
  position: absolute;
  top: 9px;
  right: 63px;
  font-size: 10px;
  background: white;
  padding: 6px;
  opacity: 0.6;
}

/* Button Abstand */
.avia-button.avia-size-large {
  margin: 5px;
}

/* Read More Start */
.beschreibunghide {
  display: block;
  height: 7rem;
  overflow: hidden;
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
}

.beschreibungshow {
  display: block;
  overflow: hidden;
}
/* Read More Ende */

.mandatory {
  border-color: #ff0000 !important;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(255, 0, 0, 0.6) !important;
}

.mandatory-radio {
  border-color: #ff0000 !important;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(255, 0, 0, 0.6) !important;
  background-color: rgba(255, 0, 0, 0.1);
}

[name='offerabortreasonmandatory'] {
  padding-left: 10px;
}

.tablesorter-header-inner {
  font-size: 18px;
  padding-left: 8px;
}

.tablesorter-default tr td {
  font-size: 15px;
}

.buttondisabled {
  opacity: 0.2 !important;
  color: gray !important;
}

.displaynone {
  display: none !important;
}

.borderdivblock {
  border: 1px solid #dee2e6;
  background-color: #f8f9fa;
  padding-top: 4px;
  padding-bottom: 20px;
  margin-bottom: 18px;
}
/* .form-control { min-height: 39px !important; } */

/* .btn { text-transform: none !important; } */

.um-row-heading {
  padding: 5px 0;
  font-size: 20px !important;
}

.tablesorter-td-child {
  background-color: #ffffff !important;

  /*    background: #fff; */
  border: 1px solid #c3c4c7;
  border-left-width: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  margin: 5px 15px 2px;
  padding: 1px 12px;
  border-left-color: #00a32a;
}

.fontsmall {
  font-size: small;
}

/* DIVIDER */
.text-divider {
  margin: 2em 0;
  line-height: 0;
  text-align: center;
}
.text-divider span {
  background-color: #fefefe;
  padding: 1em;
}
.text-divider:before {
  content: ' ';
  display: block;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #f7f7f7;
}

.text-divider-gray {
  margin: 2em 0;
  line-height: 0;
  text-align: center;
}
.text-divider-gray span {
  background-color: #f8f9fa;
  padding: 1em;
}
.text-divider-gray:before {
  content: ' ';
  display: block;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #f7f7f7;
}

/* Password Rules */

span.togglePassword {
  color: gray;
  font-size: 12px;
  cursor: pointer;
}

.password-symbol {
  min-width: 30px;
}

.hiddenopacity {
  opacity: 0;
}

textarea {
  height: 300px;
}
.card {
  min-height: 200px;
}

.nav-link-underline {
  display: block;
  padding: 0.3rem 1rem 0.2rem;
  border: 1px rgb(222, 222, 222) solid;
  margin-right: 6px;
  background: #fefefe;
  border-radius: 5px 5px 0px 0px;
}

.nav-link-underline-selected {
  display: block;
  padding: 0.3rem 1rem 0.2rem;
  border: 2px #007bff solid;
  color: #007bff;
  margin-right: 6px;
  background: #fefefe;
  border-radius: 5px 5px 0px 0px;
}
.nav-line {
  border-bottom: 1px rgb(222, 222, 222) solid;
}

.hide {
  display: none !important;
}

.code-2fa-input {
  font-family: monospace;
  letter-spacing: 1.5em;
  /* text-align: center; */
  font-size: 1.5rem;
}

.oben-links {
  position: fixed;
  top: 60px;
  left: 0;
  background: #ffd;
  padding: 10px;
  z-index: 1000;
}

.text-line-bottom {
  border-bottom: 2px solid #000; /* Farbe und Stärke anpassen */
  text-decoration: none; /* Unterstreichung deaktivieren */
  padding-bottom: 3px;
}

.artikeladminshowtab {
  margin-left: -15px;
  margin-right: -15px;
}

.nopicborder {
  border: 1px solid #aaa;
  border-radius: 2%;
}

a[name='userkategoriealladd']:hover {
  text-decoration: underline !important;
  cursor: pointer !important;
}

a[name='userkategorieallremove']:hover {
  text-decoration: underline !important;
  cursor: pointer !important;
}

.offcanvas-body {
  font-size: small;
}

/* Bootstrap 5 Styling für die Vorschläge */
.autocomplete-suggestions {
  border: 1px solid var(--bs-border-color);
  background: #fff;
  cursor: default;
  overflow: auto;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin-top: 2px;
}
.autocomplete-suggestion {
  padding: 8px 15px;
  white-space: nowrap;
  overflow: hidden;
  color: var(--bs-body-color);
}
.autocomplete-selected {
  background: var(--bs-tertiary-bg);
}
.autocomplete-suggestion strong {
  color: var(--bs-primary);
  font-weight: bold;
}
.autocomplete-no-suggestion {
  padding: 8px 15px;
  white-space: nowrap;
  overflow: hidden;
  color: var(--bs-body-color);
}

#sortablepic li {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  text-align: center;
  height: 178px;
  margin-top: 15px;
}

#sortablepic li:hover {
  cursor: move;
}

#sortablefile li {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  text-align: center;
  height: 178px;
  margin-top: 15px;
}

#sortablefile li:hover {
  cursor: move;
}

.timer-badge {
  width: 132px;
  text-align: left;
}

/* === UX Käufer-Verbesserungen: Countdown, Gebotstatus, Schnellfilter, Inline-Bieten === */

@keyframes ov-timer-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.timer-badge-urgent {
  background-color: #dc3545 !important;
  color: #fff !important;
  border-color: #dc3545 !important;
  animation: ov-timer-pulse 1.4s ease-in-out infinite;
}

.ov-card-leading .borderdivblock {
  border-left: 5px solid #198754 !important;
}

.ov-card-outbid .borderdivblock {
  border-left: 5px solid #dc3545 !important;
}

.ov-card-bid-placed .borderdivblock {
  border-left: 5px solid #0dcaf0 !important;
}

.ov-quickfilter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ov-quickfilter-btn {
  border-radius: 20px;
  font-size: 0.82rem;
  padding: 3px 14px;
  transition: all 0.15s;
}

.ov-quickfilter-count-badge {
  display: inline-block;
  min-width: 20px;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.74rem;
  line-height: 1.2;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.09);
  color: inherit;
}

.ov-quickfilter-btn.ov-active {
  font-weight: 600;
}

/* Aktiver Schnellfilter als voll gefüllter Button für bessere Lesbarkeit. */
.ov-quickfilter-btn.btn-outline-secondary.ov-active {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
}

.ov-quickfilter-btn.btn-outline-success.ov-active {
  background-color: #198754 !important;
  border-color: #198754 !important;
  color: #fff !important;
}

.ov-quickfilter-btn.btn-outline-danger.ov-active {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #fff !important;
}

.ov-quickfilter-btn.btn-outline-info.ov-active {
  background-color: #0dcaf0 !important;
  border-color: #0dcaf0 !important;
  color: #052c65 !important;
}

.ov-quickfilter-btn.btn-outline-warning.ov-active {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #664d03 !important;
}

.ov-quickfilter-btn.ov-active:hover,
.ov-quickfilter-btn.ov-active:focus {
  opacity: 0.95;
}

.ov-quickfilter-btn.ov-active .ov-quickfilter-count-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: inherit;
}

.ov-quickfilter-btn.btn-outline-secondary.ov-active .ov-quickfilter-count-badge {
  background-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.ov-quickfilter-btn.btn-outline-success.ov-active .ov-quickfilter-count-badge {
  background-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.ov-quickfilter-btn.btn-outline-danger.ov-active .ov-quickfilter-count-badge {
  background-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.ov-quickfilter-btn.btn-outline-info.ov-active .ov-quickfilter-count-badge {
  background-color: rgba(5, 44, 101, 0.12);
  color: #052c65;
}

.ov-quickfilter-btn.btn-outline-warning.ov-active .ov-quickfilter-count-badge {
  background-color: rgba(102, 77, 3, 0.14);
  color: #664d03;
}

.ov-quickfilter-btn.ov-disabled-zero,
.ov-quickfilter-btn.ov-disabled-zero:disabled {
  background-color: #e9ecef !important;
  border-color: #ced4da !important;
  color: #6c757d !important;
  cursor: not-allowed;
  opacity: 1;
}

.ov-quickfilter-btn.ov-disabled-zero .ov-quickfilter-count-badge,
.ov-quickfilter-btn.ov-disabled-zero:disabled .ov-quickfilter-count-badge {
  background-color: #dee2e6;
  color: #6c757d;
}

.ov-inline-bid-form {
  background: #f0f4ff;
  border: 1px solid #c5d3f5;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 8px;
}

.ov-inline-bid-input {
  max-width: 145px;
}

.um-13.um {
  max-width: 100% !important;
}

.selectgroup {
  font-size: small;
}

.btn-rechnung-monat.ov-rechnung-aktiv,
.btn-rechnung-jahr.ov-rechnung-aktiv {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.btn-rechnung-monat.ov-rechnung-aktiv .badge,
.btn-rechnung-jahr.ov-rechnung-aktiv .badge {
  background-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff;
}
