/* system.css */
/*! system.css v0.1.11 - https://github.com/sakofchit/system.css */


html, body {
  
  margin: 0; 
  padding: 0;
}



@font-face {
  font-family: Chicago;
  src: url(ChicagoFLF.woff) format("woff"),
       url(ChicagoFLF.woff2) format("woff2");
}
@font-face {
  font-family: Monaco;
  src: url(monaco.woff) format("woff"),
       url(monaco.woff2) format("woff2");
}
@font-face {
  font-family: Chicago_12;
  src: url(ChiKareGo2.woff) format("woff"),
       url(ChiKareGo2.woff2) format("woff2");
}
@font-face {
  font-family: Geneva_9;
  src: url(FindersKeepers.woff) format("woff"),
       url(FindersKeepers.woff2) format("woff2");
}

body {
  background: linear-gradient(90deg, #fff 21px, transparent 1%) 50%,
              linear-gradient(#fff 21px, transparent 1%) 50%, #000;
  background-attachment: fixed;
  background-size: 22px 22px;
  font-family: Inconsolata, Menlo, Chicago, Geneva;
  font-size: 20px;
}

a {
  color: #000;
  text-decoration: underline;
}

hr {
  border-top: 0.15em solid #000;
}

.heading, h1, h2 {
  font-family: Chicago;
}

.heading, h1 {
  font-size: 1em;
}

h2 {
  font-size: 2em;
}

.btn,
.btn-default {
  background: #fff;
  border-image: url(button.svg) 30 stretch;
  border-style: solid;
  border-width: 5.5px;
  color: #000;
  cursor: pointer;
  font-family: Chicago_12;
  font-size: 18px;
  min-height: 20px;
  min-width: 59px;
  padding: 0 20px;
  text-align: center;
  text-decoration: none;
}
.btn:active,
.btn-default:active {
  background: #000;
  border-radius: 6px;
  color: #fff;
}
.btn:disabled {
  background: #fff;
  color: #b6b7b8;
  cursor: not-allowed;
}
.btn-default {
  border-image: url(button-default.svg) 60 stretch;
  border-width: 0.5em;
}
.btn-default:active {
  border-radius: 12px;
}
.btn:hover {
  background: #000;
  color: #fff;
}

input,
textarea,
select {
  border: 1.5px solid #000;
  font-family: Chicago_12;
  font-size: 18px;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
}
textarea {
  width: 100%;
  height: 20px;
  padding: 0.5rem;
  resize: none;
}

::-webkit-scrollbar {
  background-color: #fff;
  width: 22px;
}
::-webkit-scrollbar-track {
  background: linear-gradient(45deg, #000 25%, transparent 0, transparent 75%, #000 0, #000),
              linear-gradient(45deg, #000 25%, transparent 0, transparent 75%, #000 0, #000);
  background-color: #fff;
  background-position: 0 0, 2px 2px;
  background-size: 4px 4px;
  border-left: 4px solid #000;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: #fff;
  border: 2px solid #000;
  border-right: none;
  box-sizing: content-box;
  width: 20px;
}
::-webkit-scrollbar-button:horizontal:end,
::-webkit-scrollbar-button:horizontal:start,
::-webkit-scrollbar-button:vertical:end,
::-webkit-scrollbar-button:vertical:start {
  display: block;
}
::-webkit-scrollbar-button:vertical:start,
::-webkit-scrollbar-button:vertical:end,
::-webkit-scrollbar-button:horizontal:start,
::-webkit-scrollbar-button:horizontal:end {
  background-repeat: no-repeat;
  height: 23.38px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 500px;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  border-radius: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -20px;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}

.title-bar {
  align-items: center;
  background: linear-gradient(#000 50%, transparent 0);
  background-clip: content-box;
  background-size: 6.6666666667% 13.3333333333%;
  display: flex;
  flex: none;
  height: 1.5rem;
  margin: 0.1rem 0;
  padding: 0.2rem 0.1rem;
}
.title-bar .title {
  background: #fff;
  cursor: default;
  font-family: Chicago_12;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 auto;
  padding: 0 0.5em;
  text-align: center;
}

.window {
  background-color: #fff;
  border: 2px solid #000;
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  min-width: 320px;
  max-width: 1200px;
  padding: 1rem;
  box-shadow: 4px 4px 0 #000;
  overflow: hidden;
  font-family: Inconsolata, Menlo, Chicago, Geneva;
}
.window-pane {
  font-size: 18px;
  height: 100%;
  letter-spacing: -0.025em;
  overflow-y: visible;
  padding: 1rem 2rem;
}

.menu-bar ul[role="menu-bar"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.menu-bar li[role="menu-item"] {
  margin-right: 1rem;
  position: relative;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.menu-bar li[role="menu-item"]:hover {
  background-color: #000;
  color: #fff;
}
.menu-bar li[role="menu-item"] ul[role="menu"] {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #000;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 150px;
}
.menu-bar li[role="menu-item"]:hover ul[role="menu"] {
  display: block;
  min-width: 150px;
}
.menu-bar li[role="menu-item"] ul[role="menu"] li[role="menu-item"] {
  padding: 0;
  margin: 0;
  position: relative;
}
.menu-bar li[role="menu-item"] ul[role="menu"] li[role="menu-item"] > a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #000;
}
.menu-bar li[role="menu-item"] ul[role="menu"] li[role="menu-item"]:hover {
  background-color: #000;
}
.menu-bar li[role="menu-item"] ul[role="menu"] li[role="menu-item"]:hover > a {
  color: #fff;
}

.field-row {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  font-family: Chicago_12;
  font-size: 1em;
}
.field-row > * + * {
  margin-left: 0.5rem;
}
.field-row label {
  font-size: 1rem;
}
.field-row input[type="text"],
.field-row input[type="number"],
.field-row input[type="email"] {
  flex-grow: 1;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  background: 0;
  border: none;
  margin: 0;
  opacity: 0;
  position: fixed;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
  line-height: 13px;
  padding-left: 5px;
  position: relative;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
  border: 1.5px solid #000;
  display: inline-block;
  width: 20px;
  height: 20px;
  content: "";
  position: absolute;
}
input[type="radio"] + label:before {
  background: url("data:image/svg+xml,...");
  height: 12px;
  width: 12px;
  left: -18px;
  margin-right: 6px;
  top: 0;
  background-repeat: no-repeat;
}
input[type="checkbox"] + label:before {
  width: 13px;
  height: 13px;
  left: -19px;
}
input[type="radio"]:checked + label:after {
  background-color: #000;
  content: "";
  display: block;
  height: 6px;
  width: 6px;
  position: absolute;
  top: 3px;
  left: -15px;
}
input[type="checkbox"]:checked + label:after {
  background: url("data:image/svg+xml,...");
  background-repeat: no-repeat;
  content: "";
  display: block;
  height: 12px;
  width: 12px;
  position: absolute;
  top: 2px;
  left: -17px;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-window {
  position: absolute;
  top: 100px;
  left: 100px;
  z-index: 10;
}

/* Vergrößerte Close-Schaltfläche mit Hover-Effekt */
.close {
  display: inline-block;
  width: 24px;       
  height: 24px;      
  cursor: pointer;
  border: 1px solid #000;
  margin-right: 8px;
  background-color: #fff;
  position: relative; 
  border-radius: 2px;
}

/* X schon im Standardzustand */
.close::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D'12'%20height%3D'12'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M0%2C1%20L1%2C0%20L6%2C5%20L11%2C0%20L12%2C1%20L7%2C6%20L12%2C11%20L11%2C12%20L6%2C7%20L1%2C12%20L0%2C11%20L5%2C6%20Z'%20fill%3D'%23000'/%3E%3C/svg%3E");
  background-size: 12px 12px; 
  /* Kein Hover nötig, also keine andere Regel. */
}





/* Beispiel: Größerer Touchbereich */
.close:active {
  background-color: #aaa;
}

.pagination {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}
.pagination a {
  text-decoration: none;
  color: #000;
  padding: 0.5rem 1rem;
  border: 1px solid #000;
}
.pagination a:hover {
  background: #000;
  color: #fff;
}

.alert {
  padding: 1rem;
  border-radius: 0.25rem;
  margin: 1rem 0;
  border: 1.5px solid #000;
  background: #fff;
  font-family: Chicago_12;
  font-size: 1rem;
}
.alert-warning {
  background: #ffef00;
  color: #000;
}
.alert-error {
  background: #ff0000;
  color: #fff;
}
.alert-success {
  background: #00ff00;
  color: #000;
}

.card {
  border: 2px solid #000;
  padding: 1rem;
  background: #fff;
  box-shadow: 4px 4px 0 #000;
  font-family: Chicago_12;
  margin: 1rem 0;
}
.card-header {
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: 1px solid #000;
  padding-bottom: 0.5rem;
}
.card-content {
  padding: 1rem 0;
}
.card-footer {
  border-top: 1px solid #000;
  padding-top: 0.5rem;
  text-align: right;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-family: Chicago_12;
}
.table th,
.table td {
  border: 1px solid #000;
  padding: 0.5rem;
  text-align: left;
}
.table th {
  background: #000;
  color: #fff;
}
.table-striped tbody tr:nth-child(odd) {
  background: #f0f0f0;
}
.table-hover tbody tr:hover {
  background: #d0d0d0;
}

.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #007bff;
  transition: width 0.6s ease;
}
.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}
.progress-bar-animated {
  animation: progress-bar-stripes 1s linear infinite;
}
@keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0;
  }
  to {
    background-position: 0 0;
  }
}

.navbar {
  display: flex;
  background-color: #000;
  color: #fff;
  padding: 1rem;
}
.navbar a {
  color: #fff;
  text-decoration: none;
  padding: 0 1rem;
}
.navbar a:hover {
  text-decoration: underline;
}

.pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background-color: #000;
  color: #fff;
  text-align: center;
}
.pill-warning {
  background-color: #ffef00;
}
.pill-error {
  background-color: #ff0000;
}
.pill-success {
  background-color: #00ff00;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background-color: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
}
.badge-warning {
  background-color: #ffef00;
}
.badge-error {
  background-color: #ff0000;
}
.badge-success {
  background-color: #00ff00;
}

.list-group {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-group-item {
  padding: 1rem;
  border: 1px solid #000;
  margin-bottom: 0.5rem;
}
.list-group-item:hover {
  background-color: #f0f0f0;
}
.list-group-item.active {
  background-color: #000;
  color: #fff;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid #000;
  box-shadow: 8px 8px 0 #000;
  z-index: 1000;
}
.modal-header {
  font-family: Chicago_12;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem;
  background: #000;
  color: #fff;
}
.modal-body {
  padding: 1rem;
}
.modal-footer {
  padding: 1rem;
  text-align: right;
}

.accordion {
  display: flex;
  flex-direction: column;
}
.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}
.accordion-header {
  margin-bottom: 0;
}
.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  background-color: #e9ecef;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.accordion-button:not(.collapsed) {
  color: #0c63e4;
  background-color: #f8f9fa;
}
.accordion-button:hover {
  color: #0a58ca;
  background-color: #f8f9fa;
}
.accordion-collapse {
  display: none;
}
.accordion-body {
  padding: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}
.accordion-item:last-child .accordion-body {
  border-bottom: 0;
}

.toast-container {
  position: fixed;
  z-index: 1080;
}
.toast-container > .toast {
  width: 350px;
}
.toast {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-size: 0.875rem;
}
.toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  color: #212529;
}
.toast-body {
  padding: 0.75rem 1rem;
  color: #212529;
}
.toast:not(.showing):not(.show) {
  opacity: 0;
}
.toast.show {
  display: block;
  opacity: 1;
}
.toast.showing {
  opacity: 0.5;
}
.toast.show:not(.showing) {
  transition: opacity 0.15s linear;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}
.page-item {
  margin: 0 2px;
}
.page-item > .page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #0d6efd;
  background-color: #fff;
  border: 1px solid #dee2e6;
}
.page-item:first-child > .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.page-item:last-child > .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}
.page-item.active > .page-link {
  z-index: 3;
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}
.page-item.disabled > .page-link {
  color: #6c757d;
  pointer-events: none;
  background-color: #fff;
  border-color: #dee2e6;
}
.page-link:hover {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.page-link:focus {
  z-index: 3;
  color: #0056b3;
  background-color: #e9ecef;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.page-item:not(:first-child) .page-link {
  margin-left: 0.25rem;
}

.btn-group {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.btn-group > .btn {
  position: relative;
  flex: 1 1 auto;
}
.btn-group > .btn + .btn,
.btn-group > .btn-group + .btn,
.btn-group > .btn + .btn-group {
  margin-left: -1px;
}
.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.btn-group > .btn-group:not(:last-child) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn:not(:first-child),
.btn-group > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
}

#modalContainer {
  position: relative;
  width: 100%;
  height: calc(100vh - 50px);
}
.menu {
  margin: 1em;
}
.menu a {
  margin-right: 1em;
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}
.modal-window {
  position: absolute;
  top: 100px;
  left: 100px;
  z-index: 10;
}
.title-bar {
  cursor: move;
  user-select: none;
}
.icon-launcher {
  position: absolute;
  z-index: 2;
  width: 60px;
  height: 60px;
  cursor: pointer;
}
