header {
  width: 100%;
  padding-bottom: 20px;
  color-scheme: inherit;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "meine-schrift";
  src: url("DBSans-Regular.ttf");
}

/*
@media (prefers-color-scheme: dark) {
  html { filter: invert(100%); }
	image { filter: invert(0%); }
}
*/

p {
  font-family: meine-schrift, arial, sans-serif;
}

html {
  overflow-y: scroll;
}

body {
  font-family: meine-schrift;
  color-scheme: inherit;
  margin: 0 auto;
  max-width: 98%;
  min-height: 100%;
  padding-bottom: 3em;
  padding-top: 0.1em;
}

button {
  font-family: meine-schrift;
  color: black;
}



.starkeschiene {
	width: 10%;
}

:root,
:root.light {
  color-scheme: light;
}
:root.dark {
  color-scheme: dark;
}

.dark a {
    color: white;
}

.light a {
	color: black;
}



.theme-btn {
  cursor: pointer;
  border: none;

  width: 14em;
  padding: 0.3em 0;
}

.theme-btn.dark {
  display: none;
}
.light .theme-btn.dark {
  display: block;
}
.light .theme-btn.light {
  display: none;
}

.dark .select2-container--default .select2-results__option {
  background-color: #333;
  color: white;
}

.dark .select2-container--default .select2-results__option:hover {
  background-color: white;
  color: black;
}

.dark
  .select2-container--default
  .select2-results__option[aria-selected="true"],
.dark
  .select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: white;
  color: black;
}

.dark
  .select2-container--default
  .select2-results__option[aria-disabled="true"]:hover {
  background-color: white;
  color: black;
}

.dark
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  background-color: #333;
  color: white;
}

.dark .select2-container--default .select2-selection--single {
  background-color: #333;
  color: white;
}

.dark .select2-container--default .select2-selection__rendered {
  color: white;
}

.dark .select2-container--default .select2-selection__arrow {
  border-color: black;
}

.text-decoration-none-link {
	text-decoration: none;
}

.color-link {
	color: black !important;
}

.color-link-nicht-angekommen{
	color: black !important;
}

.dark .color-link {
	color: white !important;
}


.color-link-white {
	color: white !important;
}

.dark .color-link-white {
	color: white !important;
}

#headerbox img {
  max-width: 10%;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.header-mobile{
	display: none;
}


@media screen and (max-width: 600px) {
	.header-img{
		display: none;
	}
	
	.header-mobile{
		display: block;
	}
	
  #headerbox img {
  max-width: 30%;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}
	
	.starkeschiene {
	width: 30%;
}
}

textarea {
  font-family: "meine-schrift";
}

form {
  max-width: 100%;
  color-scheme: inherit;
  margin: 0 auto;
  padding: 0 1em;
  border-radius: 5px;
}

form label {
  display: block;
  font-size: 0.9em;
  color-scheme: inherit;
  padding-left: 3px;
}

input,
textarea,
number,
select {
  max-width: 100%;
  font-size: 1em;
  padding: 4px;
  color-scheme: inherit;
  font-family: inherit;
  font-weight: lighter;
  border: 1px solid gray;
  outline: none;
  border-radius: 0.3em;
}

input[type="checkbox"] {
  align-self: stretch;
}

input:focus,
textarea:focus {
  border: 1px solid blue;
}

input[type="submit"] {
  cursor: pointer;
  color-scheme: inherit;
  width: 14em;
  padding: 0.3em 0;
  border-radius: 0.7em;
}

input[type="submit"]:hover {
  color-scheme: inherit;
}



.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #011084;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.gold {
  background-color: darkgoldenrod;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}



.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.topnav .dropdown .gold:hover {
  background-color: darkgoldenrod;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:nth-child(1), :nth-child(2)),
  .dropdown .dropbtn {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

.info,
.success,
.warning,
.error,
.validation,
.meldung-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  width:100%;
  max-width:98%;
  box-sizing:border-box;

  margin:10px auto 18px;
  padding:14px 16px;

  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:var(--card-shadow, 0 10px 28px rgba(0,0,0,.25));

  font-weight:850;
  line-height:1.35;
  text-decoration:none;

  background-repeat:no-repeat;
  background-position:14px center;
}


/* =========================================================
   MELDUNGEN / BANNER
========================================================= */

.info,
.success,
.warning,
.error,
.validation,
.meldung-banner{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;

  width:100%;
  max-width:none;
  box-sizing:border-box;

  margin:0 0 22px 0;
  padding:14px 16px;

  border-radius:var(--radius-card, 18px);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--card-shadow, 0 10px 28px rgba(0,0,0,.25));

  color:#111 !important;
  font-size:15px;
  font-weight:750;
  line-height:1.35;
  text-decoration:none;

  overflow:hidden;
}

.info::before,
.success::before,
.warning::before,
.error::before{
  flex:0 0 auto;
  font-size:20px;
  line-height:1;
}

.info::before{ content:"ℹ️"; }
.success::before{ content:"✅"; }
.warning::before{ content:"⚠"; }
.error::before{ content:"⚠️"; }

.info,
.meldung-banner--info,
.meldung-banner--blue{
  background:#8fd3ff;
}

.success,
.meldung-banner--success,
.meldung-banner--green{
  background:#7ee081;
}

.warning,
.meldung-banner--warning,
.meldung-banner--yellow{
  background:#ffd84d;
}

.error,
.meldung-banner--error,
.meldung-banner--red{
  background:#ff6b6b;
  color: #fff;
}

.meldung-banner__left{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-width:0;
  flex:1 1 auto;
}

.meldung-banner__icon{
  flex:0 0 auto;
  font-size:20px;
  line-height:1;
}

.meldung-banner__text{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#111 !important;
  font-weight:750;
}

.meldung-banner__arrow{
  margin-left:auto;
  flex:0 0 auto;
  font-size:18px;
  line-height:1;
  color:#111 !important;
}

div.meldung-banner .meldung-banner__arrow{
  display:none;
}

a.info,
a.success,
a.warning,
a.error,
a.meldung-banner{
  cursor:pointer;
}

a.info:hover,
a.success:hover,
a.warning:hover,
a.error:hover,
a.meldung-banner:hover{
  filter:brightness(1.03);
}

/* Mobile */
@media (max-width:600px){
  .info,
  .success,
  .warning,
  .error,
  .validation,
  .meldung-banner{
    width:100%;
    max-width:none;
    margin:0 0 18px 0;
    padding:13px 14px;
    border-radius:14px;
  }

  .meldung-banner__text{
    white-space:normal;
  }
}



/** Tabellen formatieren **/

table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  color-scheme: inherit;
}


table tr {
  color-scheme: inherit;
  border: 1px solid #ddd;
  padding: 0.35em;
}

table th,
table td {
  padding: 0.625em;
  text-align: center;
  color-scheme: inherit;
}

table th {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color-scheme: inherit;
}


/** Tabellen formatieren **/

table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  color-scheme: inherit;
}

table caption {
  font-size: 1.5em;
  margin: 0.5em 0 0.75em;
  color-scheme: inherit;
}

table tr {
  color-scheme: inherit;
  border: 1px solid #ddd;
  padding: 0.35em;
}

table th,
table td {
  padding: 0.625em;
  text-align: center;
  color-scheme: inherit;
}

table th {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color-scheme: inherit;
}


/**

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }

  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    color-scheme: inherit;
  }
    
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
    color-scheme: inherit;
  }

  table td {
    border-bottom: 1px solid #ddd;
   display: block;
    font-size: 0.8em;
    text-align: right;
    color-scheme: inherit;
  }
  

  /*
  table td:empty {
    display: none; 
	border-bottom: 0;
	border-top: 0;
  }
  

  
     table td:last-child {
    border-bottom: 0;
  }

  /*
  
  table td::before {

    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    color-scheme: inherit;
  }
  
  */

 
}








/* Footer

*/

.footer-dark {
  padding: 0.3em;
  padding-right: 0.5em;
  color: #f0f9ff;
  background-color: #282d32;
}

.footer-dark h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 16px;
}

.footer-dark ul {
  padding: 0;
  list-style: none;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0;
}

.footer-dark ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
}

.footer-dark ul a:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .footer-dark .item:not(.social) {
    text-align: center;
    padding-bottom: 20px;
  }
}

.footer-dark .item.text {
  margin-bottom: 36px;
}

@media (max-width: 767px) {
  .footer-dark .item.text {
    margin-bottom: 0;
  }
}

.footer-dark .item.text p {
  opacity: 0.6;
  margin-bottom: 0;
}

.footer-dark .item.social {
  text-align: center;
}

@media (max-width: 991px) {
  .footer-dark .item.social {
    text-align: center;
    margin-top: 20px;
  }
}

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: normal;
  align-items: normal;
  align-content: normal;
  color-scheme: inherit;
}

.flex-items:nth-child(1) {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  margin: 3px;
  border: 1px solid;
  padding: 0.5em;
  padding-top: 0.3em;
  border-radius: 5px;
}

.flex-items:nth-child(2) {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  margin: 3px;
  border: 1px solid;
  padding: 0.5em;
  padding-top: 0.3em;
  border-radius: 5px;
}

.flex-items:nth-child(3) {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  margin: 3px;
  border: 1px solid;
  padding: 0.5em;
  padding-top: 0.3em;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .parent {
    width: 100%;
  }
}

.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.item {
  flex-grow: 1;
  border: 3px solid;
  border-radius: 5px;
  padding: 5px;
  justify-content: space-between;
  background: white;
  margin: 3px;
}

.item + .item {
  margin-left: 2%;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#map {
  height: 400px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
}

#loading {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #091496;
  border-radius: 100%;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  animation: round 2s linear infinite;
}

@keyframes round {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ausrichten {
  text-align: justify;
}

.ausrichten:after {
  content: "";
  display: inline-block;
  width: 100%;
}

/* NEW CUSTOM CSS */


.container {
  width: 60% !important;
  margin: 0 auto !important;
}


.row {
  display: flex;
  width: 100%;
 /*  color-scheme: inherit; */
  
}
.justify-content-between {
  justify-content: space-between;
}

.justify-content-left {
  justify-content: flex-start;
}

.flex-direction-column {
 flex-direction: column;
}

.align-items-center {
  align-items: center !important;
}
.align-items-left {
  align-items: flex-start!important;
}
.align-items-strech {
/*  align-items: stretch !important;*/
}
.department-header {
  background-color: #AB0002 !important;
}

.department-header-turquoise {
  background-color: cadetblue !important;
}
.text-white {
  color: #fff;
}
.p-3 {
  padding: 0.7em;
}
.pe-3 {
  padding-right: 0.7em !important;
}

.pl-2 {
  padding-left: 2px !important;
}

.px-3 {
  padding-left: 0.7em;
  padding-right: 0.7em;
}
.px-sm-3 {
  padding-left: 0.7em;
  padding-right: 0.7em;
}
.gap-2 {
	gap: 12px;
}

.left-2 {
	position: relative;
	left: -32px;
}

.fw-bold {
  font-weight: bold;
}
.fw-medium {
  font-weight: 500 !important;
}

.text-alert {
  color: #ff0808;
}


.text-success {
  color: #0fb053;
}

.text-echtzeit {
  font-style: italic;
}

.text-decoration-none {
  text-decoration: none !important;
}


.text-small {
  font-size: 0.8rem !important;
}
.m-0 {
  margin: 0 !important;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}


.mt-2 {
  margin-top: 0.2rem !important;
}

.mt-3 {
  margin-top: 0.7rem !important;
}

.ms-3 {
  margin-left: 1.2rem;
	width: inherit;
}
.mx-3 {
  margin-left: 1em !important;
  margin-right: 1em !important;

}

.up-2 {
	position: relative;
	top: -30px;
		
}

.arrow-img {
  position: relative;

  width: 5px;
  height: calc(100% - 7px);
  background-color: #000;
  position: relative;
}



.arrow-img img {
  height: 100%;
  /* margin-right: 1rem; */
  position: relative;
}

.dark .arrow-img {
  position: relative;

  width: 5px;
  height: calc(100% - 7px);
  background-color: white;
  position: relative;
}

.arrow-img::before {
  content: "";
  position: absolute;
  width: 20px !important;
  height: 20px !important;
  left: 50%;
  background-color: #000;
  border-radius: 50%;
  transform: translateX(-50%);
}


.dark .arrow-img::before {
  content: "";
  position: absolute;
  width: 20px !important;
  height: 20px !important;
  left: 50%;
  background-color: white;
  border-radius: 50%;
  transform: translateX(-50%);
}

.arrow-img::after {
  content: url(top-arrow-1.png);
  position: absolute;
  width: 0;
  height: 0;
  /* border-top: 6px solid transparent;
  border-left: 15px solid #000;
  border-bottom: 6px solid transparent; */
  top: 100%;
  left: calc(50%);
  transform: translateY(-8px);
}


.dark .arrow-img::after {
  content: url(top-arrow-1-dark.png);
  position: absolute;
  width: 0;
  height: 0;
  /* border-top: 6px solid transparent;
  border-left: 15px solid #000;
  border-bottom: 6px solid transparent; */
  top: 100%;
  left: calc(50%);
  transform: translateY(-8px);
}

.arrow-img-notip {
  position: relative;

  width: 5px;
  height: calc(100% - 7px);
  background-color: #000;
  position: relative;
}



.arrow-img-notip img {
  height: 100%;
  /* margin-right: 1rem; */
  position: relative;
}

.dark .arrow-img-notip {
  position: relative;

  width: 5px;
  height: calc(150% - 7px);
  background-color: white;
  position: relative;
}

.arrow-img-notip::before {
  content: "";
  position: absolute;
  width: 20px !important;
  height: 20px !important;
  left: 50%;
  background-color: #000;
  border-radius: 50%;
  transform: translateX(-50%);
}


.dark .arrow-img-notip::before {
  content: "";
  position: absolute;
  width: 20px !important;
  height: 20px !important;
  left: 50%;
  background-color: white;
  border-radius: 50%;
  transform: translateX(-50%);
}

.arrow-img-bulb {
  content: "";
  position: relative;
  width: 20px !important;
  height: 20px !important;
  left: 50%;
  background-color: #000;
  border-radius: 50%;
  transform: translateX(-50%);
}

.dark .arrow-img-bulb {
  content: "";
  position: relative;
  width: 20px !important;
  height: 20px !important;
  left: 50%;
  background-color: white;
  border-radius: 50%;
  transform: translateX(-50%);
}



.d-flex {
  display: flex;
}
.text-end {
  text-align: end;
}
.bg-light {
  background-color: whitesmoke;
}

.bg-nichtangekommen {
  background-color: #EFFF80;
}

.dark .bg-nichtangekommen .text-small{
	font-size: 0.8rem !important;
	color: black;
}

.dark .bg-nichtangekommen .fw-bold {
  font-weight: bold;
  color: black;
}

.dark .bg-nichtangekommen .fw-medium {
  font-weight: 500 !important;
  color: black;
}

.dark .bg-nichtangekommen .arrow-img::after {
  content: url(top-arrow-1.png);
  position: absolute;
  width: 0;
  height: 0;
  /* border-top: 6px solid transparent;
  border-left: 15px solid #000;
  border-bottom: 6px solid transparent; */
  top: 100%;
  left: calc(50%);
  transform: translateY(-8px);
}

.dark .bg-nichtangekommen .arrow-img::before {
  content: "";
  position: absolute;
  width: 20px !important;
  height: 20px !important;
  left: 50%;
  background-color: black;
  border-radius: 50%;
  transform: translateX(-50%);
}

.dark .bg-nichtangekommen .arrow-img {
  position: relative;

  width: 5px;
  height: calc(100% - 7px);
  background-color: black;
  position: relative;
}



@media screen and (max-width: 600px) {
  .container {
    width: 99% !important;
    margin: 0 auto !important;
  }
  .small-sm-text {
    font-size: 0.9rem !important;
  }
  .px-3 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.ganze_flaeche_progress {
  width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: space-between; /* Verteilung */
}

.ganze_flaeche {
  width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: space-between; /* Verteilung */
  border-bottom: .5rem solid grey;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}



 .ganze_flaeche .bg-nichtangekommen{
	background-color: #EFFF80 !important;
}

.view {
	justify-content: center !important;
	align-items: center;
}

.zu_verteilendes_div {
  float: left;
  margin: 1em; /* Rand */
}

#container a:visited {
  color: white;
}

.progresscontainer {
  width: 100%;
  text-align: center;
}

.progressbar {
  height: 18px;
  background-color: #ee303c; 
  transition: 1.0s linear;  
  transition-property: width, background-color; 
  background-color: #FCBC51; 
  background-image: linear-gradient(to bottom, rgba(180,227,145,1) 0%,rgba(180,227,145,1) 20%,rgba(180,227,145,1) 20%,rgba(180,227,145,1) 30%,rgba(180,227,145,1) 43%,rgba(97,196,25,1) 100%,rgba(97,196,25,1) 101%);
  animation: progressAnimationStrike 2s;
  width: var(--progressbar-width);
	
}

@keyframes progressAnimationStrike {
     from { width: 0 }
     to   { width: var(--progressbar-width) }
}
