*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  padding: 0;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--body-bg);
}

a {
  text-decoration: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

table td,
table th {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: center
}

table th {
  background: #000;
  color: #fff;
}

table tbody tr:nth-child(even) {
  background: #f5f5f5;
}




input[type="text"],
input[type="date"],
input[type="number"],
input[type="password"],
select,
textarea {
  color: #000 !important;
}

button {
  margin: 2rem auto;
  width: fit-content;
  padding: 1rem;
}

.hide {
  display: none;
}

.flex {
  display: flex;
}

:root {
  --body-bg: #131c24;
  --button-hover-bg: #eefaff;
  --login-container-bg: #29374c;
  --navigation-bg: #041b2c;
  --navigation-active-bg: #1e75b8;
  --navigation-hover-bg: #c0e4ff;
  --navigation-hover-color: #1e1e1e;
  --headline-navigation-bg: #2a5475b4;
  --headline-navigation-font: #ffffff;
  --headline-navigation-hover-font: #3a739eb4;
  --module-bg: #dff1ff86;
  --card-bg: #29374c;
  --dashboard-card-bg: #405677;
  --card-hover-bg: #364863;
  --dashboard-card-hover-bg: #506a92;
  --notfallmeldungen-erstellen-eingabemaske-checkbox-bg: rgb(8, 65, 130);
  --notfallmeldungen-erstellen-eingabemaske-bg: #2a5475b4;
  --notfallmeldungen-erstellen-eingabemaske-label-color: #ffffff;
  --notfallmeldungen-erstellen-meldungsart-headline-mn-color: #99d67b;
  --notfallmeldungen-erstellen-meldungsart-button-mn-bg: #dbf8cd;
  --notfallmeldungen-erstellen-meldungsart-headline-b-color: #e2321b;
  --notfallmeldungen-erstellen-meldungsart-button-b-bg: #fda599;
  --notfallmeldungen-erstellen-meldungsart-headline-th-color: #1b99ed;
  --notfallmeldungen-erstellen-meldungsart-button-th-bg: #d9f0ff;
  --notfallmeldungen-erstellen-meldungsart-headline-sm-color: #ffa813;
  --notfallmeldungen-erstellen-meldungsart-button-sm-bg: #faca76;
  --notfallmeldungen-erstellen-meldungsart-subcontainer-bg: rgba(50, 95, 147, 0.575);
  --notfallmeldungsübersicht-table-td-hover: #0d4266;
  --notfallmeldung-meldung-workflow-active-color: rgba(19, 209, 19, 0.871);
  --telefonie-bg: rgba(50, 95, 147, 0.575);
  --telefonie-number-hover-bg: rgba(21, 41, 63, 0.575);
  --telefonie-make-call-btn-bg: rgba(16, 255, 187, 0.575);
  --telefonie-make-call-btn-hover-bg: rgba(34, 213, 162, 0.899);
  --telefonie-abort-call-btn-bg: rgba(255, 19, 19, 0.575);
  --telefonie-abort-call-btn-hover-bg: rgba(253, 61, 61, 0.575);
  --neuen-eintrag-hinzufügen-btn-bg: rgb(8, 65, 130);
  --neuen-eintrag-hinzufügen-btn-hover-bg: rgb(10, 98, 197);
  --overlay-bg: #131c2484;
  --backpage-headline-color: rgb(9, 89, 182);
  --overlay-popup-bg: #062d4c;
  --bs-body-color: #F8F9FB;
  ;
}

.grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
}

.grid>* {
  text-align: justify;
  padding: 1em;
  background: var(--card-bg);
  border: 1px solid #000;
  color: #fff;
}

.card span {
  margin-top: 0.5rem;
}

.page-headline {
  font-weight: 900;
  color: var(--headline-navigation-font);
  background: var(--headline-navigation-bg);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
}

.page-header {
  margin-top: 0.7rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.page-content {
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.wrapper {
  width: 100%;
  min-width: 370px;
  /* max-width: 98vw; */
  /* min-height: 90vh; */
  /* margin: 0rem auto; */
  margin-top: 2.5rem;
  height: 90vh;
  margin-bottom: 1vh;
}

section {
  width: 100%;
  min-width: 350px;
  height: auto;
}

.iframe {
  /* min-height: 97vh; */
  width: 100%;
  margin: 0px auto;
  padding: 0px;
}

.content {
  flex: 1;
  margin-top: 90px;
}

.error-message {
  color: red;
}

.success-message {
  color: green;
}

#avatar {
  height: 37px;
  padding-top: 2px;
  border-radius: 5px;
}

.listing-button-container {
  margin: 0px auto;
  display: flex;
  justify-content: flex-end;
  max-width: 80.875rem; 
}

.add-entry-button {
  background: var(--neuen-eintrag-hinzufügen-btn-bg);
  color: #fff;
  width: fit-content;
  margin: 2rem 0rem;
  padding: 1rem;
  border-radius: 7px;
  display: inline-block;
}

.add-entry-button:hover {
  background: var(--neuen-eintrag-hinzufügen-btn-hover-bg);
  cursor: pointer;
}

.backpage-headline:hover {
  cursor: pointer;
  color: var(--backpage-headline-color);
}

.iframe-section {
  height: 100%;
  margin-bottom: 3rem;
}

.badge {
  background-color: red; /* Hintergrundfarbe des Badges */
  color: white; /* Textfarbe */
  border-radius: 25%; /* Runde Form */
  padding: 0.2em 0.5em; /* Innenabstand */
  position: absolute; /* Positionierung */
  top: 0; /* Oben */
  right: 0; /* Rechts */
  transform: translate(55%, -55%); /* Verschiebung für bessere Positionierung */
  font-size: 0.8em; /* Schriftgröße */
}

/* @media only screen and (max-width: 1100px) and (min-width: 800px) {
  .badge {
  color: red;
  padding: 0.2em 0.5em;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-20%, -4%);
  font-size: 0.9em;
  }
} */

.badge-big {
  background-color: red;
  /* Hintergrundfarbe des Badges */
  color: white;
  /* Textfarbe */
  border-radius: 25%;
  /* Runde Form */
  padding: 0.2em 0.5em;
  /* Innenabstand */
  position: absolute;
  /* Positionierung */
  top: 0;
  /* Oben */
  right: 0;
  /* Rechts */
  transform: translate(-30%);
  /* Verschiebung für bessere Positionierung */
  font-size: 0.8em;
  /* Schriftgröße */
  min-width:26px ;
}