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

@keyframes pulse_shadow {
  0% {
    box-shadow: 0 0 0.5rem #ffb730;
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0  transparent;
    transform: scale(1);  }
}

@keyframes pulsate {
  0% {
    background-color: darkred;
    transform: scale(1);
  }

  50% {
    background-color: transparent;
    transform: scale(1);
  }

  100% {
    background-color: darkred;
    transform: scale(1);
  }
}

.bg-pulsating {
  animation: pulsate 2s infinite;
}

.no-wrap {
    white-space: nowrap;
}
select:disabled {
	background-image: linear-gradient(135deg, #f2f2f2 25%, #ffffff 25%, #ffffff 50%, #f2f2f2 50%, #f2f2f2 75%, #ffffff 75%, #ffffff 100%);
	background-size: 7.00px 7.00px;
}

html,
body {
  height: 100%;
	background-image: url('../image/background.jpg');
  background-attachment: fixed;
  background-size: cover;
	margin: 0;
}

form {
  margin: 0;
}



body {
  display: flex;
  align-items: center;
	text-align: center; 
	font-family: 'Noto Sans', sans-serif; 
	font-size: 0.8em;
	color: #fff;
}
select {
	font-family: 'Noto Sans', sans-serif; 
	color: #333;

}
input {
    font-family: 'Noto Sans', sans-serif; 
    background-color: #333;
}
table {
  padding-top: .25rem;
}

hr {
  border-top: 1px dashed #444;
  border-bottom: 0;

}

a {
  color: #ffb73a;
  text-decoration: none;
}

.hover {
    background-color: #333;
    transition: background-color 0.5s ease-in-out;
}

.hover:hover,
.hover:focus {
    background-color: #444; /* Change to the desired color for the hover/focus state */
}

.container {
  display: flex;
  align-self: flex-start !important;
  margin-top: 25px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
  min-width: 1000px;
}
#outer-container {
  display: flex;
  flex-direction: column;
  width: 1200px;
  background-color: rgba(0,0,0,.8);
  border: 1px solid #444;
  align-self: flex-start;
  padding: .5rem;
  margin-top: 34px;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
  min-height: calc(100vh - 35px);
}
#inner-container {
  display: grid;
  grid-template-columns: 15% 1fr;
  background-color: #222;
  border: 1px solid #444;
  border-radius: .25rem;
  min-height: calc(100vh - 100px);
}
#sidebar {
  width: 100%;
  min-width: 177px;
  padding: .5rem;
  padding-top: 0;
  border-radius: .25rem;
  min-height: calc(100vh - 325px);
}
#content {
  width: 100%;
  min-width: 1000px;;
  padding: .5rem;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  border-radius: .25rem;
}
.column-logo {
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
}
.column {
  flex: 1 0 0%;
}
.offcanvas {
  position: fixed;
  z-index: 999;
  top: 0;
  left: -310px;
  width: 300px;
  height: 100%;
  background-color: #F8F9FA;
  transition: left 0.3s ease-in-out;
  border-right: 1px solid #dadee2;
  box-shadow: 0 .5rem .5rem rgba(0,0,0,.5) !important;
}
.offcanvas a {
  height: 40px;
}
.offcanvas-header {
  display: flex;
  justify-content: space-between;
  background-color: #f2f2f2;
  border-bottom: 1px solid #dadee2;
  padding: .5rem;
}
.mobile-header {
    display: none;   
}
.main-sidebar {
    flex: 0 0 350px;
    background-color: #f2f2f2;
    padding: 0px;
    border: 1px solid #dadee2;
}

.main-content {
    flex: 1;
    background-color: #ffffff;
    margin-left: .5rem;
    border: 1px solid #dadee2;
}
.side-list-container {
  display: flex;
  padding: .5rem;
}
.side-list {
  padding: .5rem;
  height: calc(100vh - 34px); 
  overflow: auto; gap: .5rem; 
  width: 450px;
  background-color: #ffffff;
  border: 1px solid #dadee2;
}
.side-list-content {
  display: block;
  margin-left: .5rem;
  height: calc(100vh - 34px); 
  overflow: auto; 
  width: 70%;
  padding: .5rem;
  background-color: #ffffff;
  border: 1px solid #dadee2;
  box-shadow: 2px .25rem .35rem rgba(0,0,0,.2);
}
.sidebar-toggle {
    display: none;
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
      height: calc(100vh - 200px); 
    }

    .main-sidebar {
        display: none;
    }

    .sidebar-toggle {
        display: block;
        margin: 10px;
    }

    .main-content {
        margin: 0;
    }

    .mobile-header {
        display: flex;
        background-color: #f2f2f2;
        border-bottom: 1px solid #dadee2;
        justify-content: space-between;
        padding: .5rem;
    }
    .side-list-container {
      display: block;
      padding: 0;
    }
    .side-list {
      width: 100% !important;
      height: calc(100vh - 130px); 
      overflow: auto; 
      border: none;
    }
    .side-list-content {
      display: none
    }
    .card-body {
      text-align: left; 
      overflow: visible !important; 
      padding: 0px;}
}
    

.bg-stripes {
	background-image: linear-gradient(135deg, #444 25%, #222 25%, #222 50%, #444 50%, #444 75%, #222 75%, #222 100%);
	background-size: 7.00px 7.00px;
}
.bg-stripes-light {
	background-image: linear-gradient(135deg, #F8F9FA 25%, #fff0 25%, #fff0 50%, #F8F9FA 50%, #F8F9FA 75%, #fff0 75%, #fff0 100%);
	background-size: 7.00px 7.00px;
}

.bg-stripes-success {
	background-image: linear-gradient(135deg, rgba(255,155,0,0.2) 25%, #222 25%, #222 50%, rgba(255,155,0,0.2) 50%, rgba(255,155,0,0.2) 75%, #222 75%, #222 100%);
	background-size: 7.00px 7.00px;
}
.bg-stripes-warning {
	background-image: linear-gradient(135deg, #ffb73a 25%, #222 25%, #222 50%, #ffb73a 50%, #ffb73a 75%, #222 75%, #222 100%);
	background-size: 7.00px 7.00px;
}
.bg-stripes-danger {
	background-image: linear-gradient(135deg, rgba(135, 0, 0, 0.5) 25%, #2220 25%, #2220 50%, rgba(135, 0, 0, 0.5) 50%, rgba(135, 0, 0, 0.5) 75%, #2220 75%, #2220 100%);
	background-size: 7.00px 7.00px;
}
.bg-wip {
	background-image: linear-gradient(135deg, #F8F9FA 25%, #ffffff 25%, #ffffff 50%, #F8F9FA 50%, #F8F9FA 75%, #ffffff 75%, #ffffff 100%);
	background-size: 50.00px 50.00px;
}
.bg-success {
  background-color: rgba(87,167,0,0.3) !important;
}
.bg-active {
  background-color: #4E3A1B !important;
}
.bg-danger {
  background-color: rgba(255,0,0,0.3) !important;
}
.bg-white {
  background-color: #ffffff;
}
.bg-dark {
  background-color: #111 !important;
}
.bg-lightdark {
  background-color: #222;
}
.bg-transparent {
  background-color: transparent !important;
}
.link {
  margin: 0;
  padding: 0;
  text-decoration: none; 
  color: #ffb73a;
  border: 0;
  cursor: pointer;
  background-color: transparent !important;
}
.link:hover {
  text-decoration: underline; 
}
.link-dark{
  text-decoration: none; 
  color: #333;
}
.btn {
  display: inline-flex; /* Flexbox verwenden */
  align-items: center; /* Vertikal zentrieren */
  justify-content: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid #444;
  padding: .25rem;
  margin-left: 0;
  border-radius: .25rem;
  background-color: #333;
  color: #ffb73a;
  transition: background-color 0.5s ease;
}

.btn:disabled {
  background-color: #333;
  transition: none;
  color: #555;
}

.btn:hover{
  background-color: #444;
}

.btn:hover:disabled  {
  background-color: #333;
  transition: none;
  cursor: auto;
}

.btn-active {
  background-color: #f2f2f2;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.25);
}

.btn-transparent {
  background-color: #0000;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-secondary:hover {
  color: #fff;
  background-color: #5c636a;
  border-color: #565e64;
 }
.btn-secondary:active {
  color: #fff;
  background-color: #565e64;
  border-color: #51585e;
 }
.btn-secondary:disabled {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
 }
.border-radius-top {
  border-top-left-radius:  .25rem;
  border-top-left-radius:  .25rem;
}
.card {
  background-color: #222;
  border-radius: .5rem;
  padding: .5rem;
  word-wrap: break-word;
  position: relative;
  min-width: 0;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.card-footer{
  background-color: #F8F9FA;
  border-top: 1px solid #dadee2;
  padding: 5px;
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

.card-body{

  padding: 5px;
  height: 100%; 
  text-align: left; 
  overflow: auto;
}

.card-header{
  background-color: #F8F9FA;
  border-bottom: 1px solid #dadee2;
  justify-content: space-between !important;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.dropdown {
  position: relative;

  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #F8F9FA;
  min-width: 150px;
  z-index: 1;
  border: 1px solid #dadee2;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #333;
  padding: 10px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f2f2f2;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* -------------------------------------------------------------------------- *\
  FORMS
\* -------------------------------------------------------------------------- */
  input[type="file"] {
    display: none;
  }

  /* Definiere ein benutzerdefiniertes Aussehen für den Button */
  .custom-file-upload {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
  }

  /* Ändere den Hintergrund, wenn der Mauszeiger darüber schwebt */
  .custom-file-upload:hover {
    background-color: #f2f2f2;
  }

.form-control {
  display: block;
  width: 100%;
  margin: 0;
  padding: .375rem .375rem;
  line-height: 1.5;
  color: #fff;
  background-color: #444;
  background-clip: padding-box;
  border: 1px solid #444;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

}

.input-group {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
}
/* -------------------------------------------------------------------------- *\
   FONTS
\* -------------------------------------------------------------------------- */
.fw-normal {
  font-weight: 400 !important;
}
.text-muted {
  color: #555 !important;
}
.text-danger {
  color: #dc3545 !important;
}
.text-white {
  color: #fff !important;
}
.text-dark {
  color: #111 !important;
}
.text-success {
  color: #57a300 !important;
}
.text-warning {
  color: #ffb730 !important;
}
/* -------------------------------------------------------------------------- *\
   SHADOWS
\* -------------------------------------------------------------------------- */
.shadow {
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.9) !important;
}
.shadow-sm {
  box-shadow: .25rem .25rem .5rem rgba(0,0,0,.5) !important;
}
.shadow-inner {
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.3);
}
.shadow-sm-warning {
  box-shadow: .0rem .0rem .25rem rgba(255,0,0,.9) !important;
}
.shadow-hover:hover {
  box-shadow: 0 0 0.5rem #ffb730;
}

/* -------------------------------------------------------------------------- *\
   WIDTHS
\* -------------------------------------------------------------------------- */
.w-100 {
  width: 100% !important;
}
.w-75 {
  width: 75% !important;
}
.w-50 {
  width: 50% !important;
}
.w-25 {
  width: 25% !important;
}
.w-10 {
  width: 10% !important;
}

/* -------------------------------------------------------------------------- *\
   MARGINS
\* -------------------------------------------------------------------------- */
.m-0 {
  margin: .0 !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.ms-0 {
  margin-left: 0 !important;
}
.me-0 {
  margin-right: 0 !important;
}
.m-1 {
  margin: .25rem !important;
}
.mt-1 {
  margin-top: .25rem !important;
}
.mb-1 {
  margin-bottom: .25rem !important;
}
.ms-1 {
  margin-left: .25rem !important;
}
.me-1 {
  margin-right: .25rem !important;
}
.m-2 {
  margin: .5rem !important;
}
.mt-2 {
  margin-top: .5rem !important;
}
.mb-2 {
  margin-bottom: .5rem !important;
}
.ms-2 {
  margin-left: .5rem !important;
}
.me-2 {
  margin-right: .5rem !important;
}
.m-3 {
  margin: 1rem !important;
}
.mt-3 {
  margin-top: 1rem !important;
}
.mb-3 {
  margin-bottom: 1rem !important;
}
.ms-3 {
  margin-left: 1rem !important;
}
.me-3 {
  margin-right: 1rem !important;
}
.mt-4 {
  margin-top: 1.5rem !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.ms-4 {
  margin-left: 1.5rem !important;
}
.me-4 {
  margin-right: 1.5rem !important;
}
/* -------------------------------------------------------------------------- *\
   PADDINGS
\* -------------------------------------------------------------------------- */
.p-0 {
  padding: 0 !important;
}
.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.ps-0 {
  padding-left: 0 !important;
}
.pe-0 {
  padding-right: .0 !important;
}
.p-1 {
  padding: .25rem !important;
}
.pt-1 {
  padding-top: .25rem !important;
}
.pb-1 {
  padding-bottom: .25rem !important;
}
.ps-1 {
  padding-left: .25rem !important;
}
.pe-1 {
  padding-right: .25rem !important;
}
.p-2 {
  padding: .5rem;
}
.pt-2 {
  padding-top: .5rem !important;
}
.pb-2 {
  padding-bottom: .5rem !important;
}
.ps-2 {
  padding-left: .5rem !important;
}
.pe-2 {
  padding-right: .5rem !important;
}
.p-3 {
  padding: 1rem !important;
}
.pt-3 {
  padding-top: 1rem !important;
}
.pb-3 {
  padding-bottom: 1rem !important;
}
.ps-3 {
  padding-left: 1rem !important;
}
.pe-3 {
  padding-right: 1rem !important;
}
.g-1 {
  gap: .25rem !important;
}
.g-2 {
  gap: .5rem !important;
}
.g-3 {
  gap: .75rem !important;
}
.flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-item {
    flex: 0 0 calc(33.33% - 16px); /* Berechne die Breite basierend auf 3 Elementen pro Zeile */
    margin: .5rem;
    background-color: #F8F9FA;
    border: 1px solid #dadee2;
}
.flex-column {
  flex-direction: column !important;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
}
.navbar {
  min-width: 1200px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  background-color: #222;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
#navbar_container {
  display: flex;
  padding: .5rem;
  box-shadow: .25rem .25rem .5rem rgba(0,0,0,.4) !important;
  width: 100%;
  border-bottom: 1px solid #444;
  justify-content: center;
  height: 35px;
}
.row {
  display: flex;
  flex-wrap: wrap;
}

.col {
  flex: 1 0 0%;
}

.border-0 {
  border: 1px solid transparent !important;
}
.border {
  border: 1px solid #444 !important;
}
.border-hover {
  border: 1px solid #444 !important;
}
.border-hover:hover {
  box-shadow: 0 0 .25rem #ffb730;
}
.border-top {
  border-top: 1px solid #444 !important;
}
.border-bottom {
  border-bottom: 1px solid #444 !important;
}
.border-left {
  border-left: 1px solid #444 !important;
}
.border-right {
  border-right: 1px solid #444 !important;
}
.border-transparent {
  border: 1px solid rgba(0,0,0,.0);
}
.border-warning {
  border: 1px solid #ff9b00 !important;
}
.border-danger {
  border: 1px solid rgb(255, 0, 0) !important;
}  
.border-success {
  border: 1px solid rgb(87,167,0) !important;
}

.collapse-container {
    border: 1px solid #dadee2;
    border-radius: 0px;
    margin-bottom: 10px;
    box-shadow: .15rem .15rem .5rem rgba(0,0,0,.1) !important;
}

.collapse-header {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    background-color: #F8F9FA;
    transition: background-color 0.5s ease;
}

.collapse-title {
    flex: 1;
    margin: 0;
    text-align: left;
}

.collapse-icon {
    font-weight: bold;
}

.collapse-content {
    display: none;
    padding: 0;
    border-top: 1px solid #dadee2;
    background-color: #ffffff;
}

.collapse-content #task-image{
    padding: 0;
}

.collapse-content #link{
    padding: 0;
}

.collapse-sidebar-content {
    display: none;
    padding: .5rem;
    border-top: 1px solid #dadee2;
    background-color: #ffffff;
}

.text-left {
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-warning {
  color: #ffb73a;
}
.btn-popover {
  width: 100%;
  display: inline-block;
  text-align: left;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  padding: .35rem;
  margin-left: 0;
  background-color: #fff;
  color: #333;
  transition: background-color 0.5s ease;
  font-family: 'Noto Sans';
}

.btn-popover:hover{
  background-color: #f2f2f2;
}

.popover {
    display: none;
    position: absolute;
    background-color: #111e;
    border: 1px solid #444;
    border-radius: .25rem;
    padding: .5rem;
    width: 250px;
    z-index: 999;
    top: 45px; 
    max-height: 150px;
}
.icon {
  display: inline-block;
  margin-right: .5rem;
  z-index: 1; /* Stellen Sie sicher, dass das Popover über anderen Elementen liegt */
  position: relative;

}
.arrow {
    background-color: #F8F9FA;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #dadee2; /* Change to border-top to make the triangle point downwards */
    top: 100%; /* Position the arrow at the bottom of the popover */
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #ccc; /* Add a border to the triangle */
    z-index: -1; /* Place the triangle behind the popover */
}
.rounded-0 {
  border-radius: 0rem;
}
.rounded-1 {
  border-radius: .25rem;
}

.rounded-2 {
  border-radius: .5rem;
}
.rounded-50 {
  border-radius: 50%;
}
.overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Zu Beginn ausblenden */
    z-index: 1; /* Über der Off-Canvas-Navigation positionieren */
    transition: background-color 0.3s ease; /* Übergang für die Hintergrundfarbe mit einer Dauer von 0.3 Sekunden und einer leichten Beschleunigung */
}

.overlay-background.active {
    background-color: rgba(255, 255, 255, 0.7); /* Hintergrundfarbe für das Overlay, wenn es aktiv ist */
}

  /* Style the tooltip */
  .tooltip {
    position: relative;
    display: inline-block;
  }

  /* Style the popup content */
  .popup-content {
    display: none;
    position: absolute;
    left: 0;
    width: 200px;
    background-color: #222;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  /* Style the collapsible sections */
  .collapsible {
    cursor: pointer;
    width: 100%;
    border-radius: .25rem;
  }

  .content {
    display: none;
  }

  /* Style the "active" state */
  .active {
    background-color: #111;
  }

  /* Add a semi-transparent overlay to cover the screen */
  .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  
  /* Stil für das Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    
}

/* Weitere Stile hier hinzufügen */
.modal-resource-content {
  display: flex;
  flex-direction: column;
    position: fixed;

    background-color: #222;
    border: 1px solid #444;
    top: 50%; /* 50% von oben */
    left: 50%; /* 50% von links */
    transform: translate(-50%, -50%); /* Zentrieren */
    width: 15%;
}

.modal-content {
  z-index: 1000;
  display: none;

    position: fixed;
    background-color: #222;
    top: 50%; /* 50% von oben */
    left: 50%; /* 50% von links */
    transform: translate(-50%, -50%); /* Zentrieren */
    border: 1px solid #444;
}

.modal-title {
    text-align: center;
    display: inline;
    width: 100%;
    padding: .25rem;
    font-weight: bold;
}

.modal-header {
    display: flex;
    flex-direction: row;
    padding: .5rem;
    border-bottom: 1px solid #444;
}

.modal-body {
    padding: .5rem;
}

.modal-footer {
    padding: .5rem;
    border-top: 1px solid #444;
}

.modal-input {
    margin-bottom: .5rem;
}
.modal-input:last-child {
    margin-bottom: 0;
}

.close {
    color: #333;
    float: right;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

		.grid-container {
			display: grid;
			grid-template-columns: 15% 1fr;
			grid-gap: 10px;
			background-color: #222;

		}
		.grid-item {
			text-align: left;
		}
		.system:hover {
			background-color:  #444 ;
		}
		.grid-container-system {
			display: grid;
			grid-template-columns: repeat(7, 1fr);
			grid-gap: .25rem;
			background-color: #111;
			border: 1px solid #444;
			border-radius: .25rem;
		}

		.grid-item-system {
			padding: 10px;
			text-align: center;
		}

#overlay_construction {
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    top: 0px;
    left: 0px;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 2px;
    z-index: 2;
    cursor: pointer;
    background-color: #222;
    border-radius: 50%;
    border: 1px solid #444;
}
#overlay_research {
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    top: 22px;
    left: 0px;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 2px;
    z-index: 2;
    cursor: pointer;
    background-color: #222;
    border-radius: 50%;
    border: 1px solid #444;

}
#overlay_messages {
    padding-left: 4px;
    padding-right: 4px;
    border-radius: .25rem;
    position: relative;
    top: -3px;
    color: #fff;
    z-index: 2;
    cursor: pointer;
    font-weight: bold;
    text-align: center;

}
#overlay_chat {
    display: flex;
    position: relative;
    padding-left: 7px;
    padding-right:7px;
    border-radius: .25rem;
    color: #fff;
    z-index: 2;
    top: 0;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}
#overlay_shipbuilding {
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    top: 44px;
    left: 0px;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 2px;
    z-index: 2;
    cursor: pointer;
    background-color: #222;
    border-radius: 50%;
    border: 1px solid #444;
}
#overlay_stationed_fleet {
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    top: 66px;
    left: 0px;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 2px;
    z-index: 2;
    cursor: pointer;
    background-color: #222;
    border-radius: 50%;
    border: 1px solid #444;
}
#overlay_planet {
    padding: .25rem;
    display: flex;
    position: relative;
    width: 250px;
    top: .5rem;
    left: .5rem;
    right: 0;
    bottom: 0;
    background-color: #1118;
    z-index: 2;
    border-radius: .25rem;
}
#overlay_traits {
  display: flex;
  position: relative;
  width: 37px;
  top: 1rem;
  left: .5rem;
  bottom: 0;
  z-index: 2;
  border-radius: .25rem;
}
.overlay_countdown {
    display: flex;
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.0);
    border-radius: .5rem; 
    justify-content: space-evenly;
    gap: .5rem;
}

.overlay_countdown_item {
    padding: .25rem;
    background-color: #222;
    border-radius: .25rem;
    border: 1px solid #444;
    width: 25%;
    display: flex;
    height: 66px;
}
#overlay_ship_count {
    padding: .125rem;;
    display: flex;
    position: relative;
    width: 134px;
    height: 24px;;
    top: 76px;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 2;
    border-bottom-left-radius: .25rem;
}

#overlay_fleet_ship {
    padding: .25rem;;
    display: flex;
    position: relative;
    width: 100%;
    height: 26px;;
    top: 54px;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 2;

    border-top: 1px solid #444;
}


#overlay_remove_fleet_ship {
    padding: .125rem;
    width: 100%;

    width: 24px;
    height: 24px;
    top: 54px;
    left: 67px;
    bottom: 0;

    z-index: 111;


}

#overlay_building_rank {
  position: relative;
  width: 40px;
  height: 28px;
  padding: .125rem;

  background-color: rgba(0,0,0,0.8);
  z-index: 2;
  border-bottom-right-radius: .25rem;
}

#overlay_star_name {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    height: 82px;
    width: 200px;;
    z-index: 2;
}
#progress-container {
    width: 100%;
    background-color: #222;
    border: 1px solid #444;
    border-radius: .25rem;
    margin-top: .5rem;
}

#progress-bar {
    width: 0;
    height: 28px;
    background-color: rgba(255,155,0,0.2);
}

#progress-label {
    display: block;
    position: absolute;
    width: 100%;
    height: 28px;
    padding: .35rem;
}

.matrix-cell {
  box-sizing: border-box;
  width: 1.52em;
  height: 1.52em;
  border: 1px dotted #999;
}

.system-background {
  /* Fallback-Farbe, falls der Browser keine Gradienten unterstützt */
  background-color: #222;
  
  /* Verlauf zwischen #222 und einem Hintergrundbild */
  /* Hintergrundbild wird unten rechts ausgerichtet und wiederholt sich nicht */
  background-position: bottom right;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.tab {
  display: none;
}

.tab.active {
  display: block;
}
.tab-container {
    width: 100%;
    margin: 0 auto;

}

.tab-header ul {
    list-style-type: none;
    margin: 0;
    padding: .25rem;
    text-align: left;
    display: flex;
    padding-bottom: 0;
    background-color: #222;
}

.tab-header ul li {
    flex: 1;
    margin: .5rem;
    margin-bottom: 0;
}

.tab-header ul li a {
    display: block;
    text-decoration: none; 
    background-color: #333;
    text-align: center;
    border: 1px solid #444;
    border-radius: .25rem;
    opacity: 1; /* Startwert für Inaktivität */
    transition: background-color 0.5s ease;
    padding: 1rem;
    color: #ffb73a;
}


.tab-header ul li a.active{

  border: 1px solid #ff9b00 !important;
    border-radius: .25rem;
    background-color: rgba(255,155,0,0.2);
    opacity: 1; /* Aktiver Tab vollständig sichtbar */
    transition: background-color 0.5s ease;
}

.tab-header ul li a:hover {
    background-color: #444;
    opacity: 1; /* Inaktiver Tab bei Hover teilweise sichtbar */
}
.tab-header ul li a:hover.active {
    background-color: rgba(255,155,0,0.2);
    opacity: 1; /* Inaktiver Tab bei Hover teilweise sichtbar */
}
.tab-content .tab {
    display: none;
    padding: .5rem;
    padding-top: 0;
    width: 100%;
    animation: fadeTab 0.5s ease; /* Übergangseffekt */
    overflow: auto; /* Füge Overflow hinzu */
}

.tab-content .tab:first-child {
    display: block;
    border-left: 0px;
}

.image-container {
  position: relative;
  display: inline-block;
}

.overlay-button {
  position: absolute;
  left: 25%;
  top: 75%;
  width: 125px;
  
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.pulsate {
  box-shadow: 0 0 0 rgba(255, 115, 176, 0.8);
  animation: pulse_shadow 0.8s infinite alternate;
}