
  .ws10-fade.ws10-overlay--slide .ws10-overlay__Summarycontainer {
      position: absolute;
 /*      transition: right .5s cubic-bezier(0.47, 0, 0.745, 0.715); */
      /* transform: none; */
  }

  .ws10-overlay {
    font-weight: 400;
    line-height: 1.5;
    color: #0d0d0d;
    font-size: 16px;
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-left: auto; /* Aligns the container to the right */
    z-index: 1001; /* Soll über dem Backdrop liegen */
  }
  

  
  .ws10-fade {
    opacity: 0;
    transition: opacity .5s;
  }
  
  .ws10-overlay.ws10-fade.ws10-overlay--slide.ws10-in .ws10-overlay__container {
    border-radius: 0;
  }


.ws10-overlay__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 21;
}

.ws10-button-icon-only--tertiary.ws10-button-icon-only--floating:not(:hover):not(:active):not(:focus) {
  background: #fff;
}

.ws10-button-icon-only--floating {
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}


.ws10-overlay__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0; /* Unsichtbar bis sichtbar gemacht */
  z-index: 1000;
  transition: opacity 0.5s ease;
}


.ws10-overlay__backdropTest {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.5); /* Optional: halbtransparenter Hintergrund */
  display: none; /* Start with display: none */
  z-index: 1000; /* Soll unter dem Overlay-Container liegen */
}

.ws10-overlay__backdropComment {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.5); /* Optional: halbtransparenter Hintergrund */
  display: none; /* Start with display: none */
  z-index: 1000; /* Soll unter dem Overlay-Container liegen */
}

.ws10-overlay__backdropAudit {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.5); /* Optional: halbtransparenter Hintergrund */
  display: none; /* Start with display: none */
  z-index: 1000; /* Soll unter dem Overlay-Container liegen */
}


.ws10-overlay__backdrop-white {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  background-color: #f4f4f4; 
  display: none; 
  z-index: 1000; 
}



/* Container and Overlay Styling */
.slide-in-overlay-container {
  position: relative;
  
}

.ws10-overlay__container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.comment-overlay-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 60px; /* Ensure space for buttons */
}


.overlay_container {
  position: absolute;
  overflow: scroll;
  z-index: 2;
  /* transition: transform 0.5s cubic-bezier(0.47, 0, 0.745, 0.715); */
  /* transform: translateX(0) translateY(0); */
  border-radius: 0px;
  /* transform: translateX(-50%) translateY(-50%); */
  top: 53%;
  left: 50%;
  width: 100%;
  min-height: 100%
  /* max-height: 90vh; */
}




.ws10-fade.ws10-overlay--slide .ws10-overlay__content {
  height: 100%;
  max-height: 80vh;
}


.ws10-fade.ws10-overlay--slide.ws10-in .ws10-overlay__container {
  right: 0;
}



/* .ws10-fade.ws10-overlay--slide .ws10-overlay__container {
  position: absolute;
  right: -600px;
  width: 600px;
  transition: right .5s cubic-bezier(0.47, 0, 0.745, 0.715);
  transform: none;
}  */




/* 
.ws10-fade {
  opacity: 0;
  transition: opacity .5s;
} 
 */


.ws10-overlay.ws10-fade.ws10-overlay--slide.ws10-in .ws10-overlay__container {
  border-radius: 0;
}

@media screen and (min-width: 1024px) {
  .ws10-fade.ws10-overlay--slide.ws10-in .ws10-overlay__container {
      /* transform: none; */
  }
}

@media screen and (min-width: 600px) {
  .ws10-fade.ws10-overlay--slide.ws10-in .ws10-overlay__container {
      right: 0;
  }
}



@media screen and (min-width: 1024px) {
/*   .ws10-fade.ws10-in .ws10-overlay__container {
      transform: translateX(-50%) translateY(-50%);
  } */
}

.ws10-fade.ws10-in .ws10-overlay__container {
 /*  transform: translateX(0) translateY(0); */
}
/* 
@media screen and (min-width: 1024px) {
  .ws10-fade.ws10-overlay--slide .ws10-overlay__container {
      top: 0;
      left: auto;
      height: 100%;
      transform: none;
  }
}  */


.ws10-overlay--slide {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 600px;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.47, 0, 0.745, 0.715);
  z-index: 1001;
  transform: translateX(100%); 
}

#slide-in-overlay

{
  transition: transform 0.5s cubic-bezier(0.47, 0, 0.745, 0.715);
  transform: translateX(100%); 


}

.ws10-overlay--slide {
 transform: translateX(100%);  
}

.ws10-overlay--slide.ws10-in {
   transform: translateX(0);  
}


.ws10-overlay__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

.ws10-overlay__backdrop.active {
  opacity: 1;
}




/* .ws10-fade.ws10-overlay--slide .ws10-overlay__container {
  transform: translateX(100%) translateY(0);
}
 */

.ws10-overlay__container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #fff;

}


@media screen and (min-width: 600px) {
  .ws10-overlay__close {
      right: 32px;
  }
}

.ws10-overlay__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 21;
}

.ws10-button-icon-only--tertiary.ws10-button-icon-only--floating:not(:hover):not(:active):not(:focus) {
  background: #fff;
}

.ws10-button-icon-only--floating {
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}



.ws10-overlay--spacing .ws10-overlay__content {
  margin: 0;
  height: 100%;
  padding: 76px 24px 24px;
}

@media screen and (min-width: 1024px) {
  .ws10-overlay__content {
      height: auto;
      min-height: 104px;
      max-height: 90vh;
      padding: 76px 32px 32px 32px;
  }
}

.ws10-overlay__content {
  padding: 0;
  margin: 0;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 76px 32px 32px 32px;
  position: relative;
}


.ws10-fade.ws10-in {
  opacity: 1;
}



.close-button {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  float: right;
}


.ws10-button-icon-only--tertiary.ws10-button-icon-only--floating:not(:hover):not(:active):not(:focus) {
  background: #fff;
}

.ws10-button-icon-only--floating {
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}


.ws10-button-icon-only--tertiary.ws10-button-icon-only--floating:not(:hover):not(:active):not(:focus) {
  background: #fff;
}
.ws10-button-icon-only {
  font-weight: 400;
  line-height: 1.5;
  color: #0d0d0d;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 600px) {
  .ws10-button-icon-only {
      font-size: 18px;
  }
}
.ws10-button-icon-only--standard {
  width: 44px;
  height: 44px;
}


.ws10-button-icon-only--tertiary .ws10-button-icon-only__icon {
  stroke: #0d0d0d;
}
.ws10-button-icon-only__icon {
  width: 32px;
  height: 32px;
}

.ws10-button-icon-only--tertiary .ws10-button-icon-only__icon {
  stroke: #0d0d0d;
}

.ws10-button-icon-only--tertiary:hover .ws10-button-icon-only__icon, .ws10-button-icon-only--tertiary:focus .ws10-button-icon-only__icon {
  stroke: #fff;
}

.ws10-button-icon-only__icon {
  width: 32px;
  height: 32px;
}

.ws10-button-icon-only--tertiary:hover, .ws10-button-icon-only--tertiary:focus {
  background: #313131;
  cursor: pointer;
}
.ws10-button-icon-only {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ws10-button-icon-only--tertiary {
  background: transparent;
  border: 2px solid #0d0d0d;
}
.ws10-button-icon-only--standard {
  width: 48px;
  height: 48px;
  padding: 5px 4px;
}


.ws10-no-scroll {
  position: fixed;
  overflow: hidden;
}


/* Grundlegendes Overlay-Design */
#project-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow: scroll;
}

#project-form {
  background: #fff;
  width: 50%;
  margin: 50px auto;
  padding: 20px;
  border-radius: 8px;
}

#project-form input, #project-form select, #project-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#cancel-overlay, #create-project {
  margin-top: 20px;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


#create-project {
  background-color: #e60000;
  color: #fff;
}


#project-overlay {
  z-index: 1000; /* Stelle sicher, dass das Overlay über allen anderen Inhalten liegt */
  display: none; /* Versteckt das Overlay, bis es benötigt wird */
}

#project-overlay .overlay-content {
  z-index: 1001; /* Das eigentliche Overlay-Inhaltsfeld */
}

#user-suggestions {
  position: absolute;
  background-color: white;
  width: 30%;  /* Breite passend zur Eingabe */
  border: 1px solid #ccc;
  z-index: 1000;
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}



/* Overlay-Container */
.ws10-overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* initial unsichtbar */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Aktiv-Klasse schaltet die Anzeige ein */
.ws10-overlay-container.active {
  display: flex;
}

/* Hintergrund */
.ws10-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

/* Inhalt */
.ws10-overlay-content {
  position: relative;
  background: #fff;
  padding: 10px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  z-index: 2;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Close-Button */
.ws10-overlay-close {
  position: absolute;
  right: 8px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
}

/* Bild innerhalb des Overlays */
.ws10-overlay-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Body ohne Scrollen */
.ws10-no-scroll {
  overflow: hidden;
}



/* Buttons-Bereich klebt unten */
.ws10-overlay__buttons {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  background-color: #fff;  /* Oder eine andere Hintergrundfarbe */
  padding: 1rem;
  border-top: 1px solid #ccc; 
  display: flex;
  gap: 1rem;
  justify-content: flex-end; /* Buttons nach rechts */
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  width: 300px;
  max-width: 90%;
}


.share-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.share-overlay-content {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  width: 300px;
  max-width: 90%;
}