html {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
body {
  margin: 0px;
  background-color: var(--Hintergrund);
  color: black;
  min-height: 100vh;
  box-sizing: border-box;
}

.loading {
  display: none;
}

.loginwrapper {
  width: 500px;
  height: 350px;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.loginwrapper input {
  display: block;
  width: 360px;
  padding: 3px;
  margin: auto;
}

.loginwrapper button {
  padding: 8px 30px;
  background-color: var(--Signalfarbe);
  color: white;
  font-size: 120%;
  font-weight: 500;
  border: 0;
  margin-top: 50px;
  cursor: pointer;
  box-shadow: 4px 4px 4px var(--Schattengrau);
}

.FehlerMeldung {
  text-align: center;
  padding: 20px;
  font-weight: 600;
  color: var(--SignalRot);
}

header {
  position: absolute;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

header div {
  background-color: white;
  width: 120%;
  height: 110px;
  margin-top: 20px;
  margin-left: 30px;
  box-shadow: 5px 5px 5px var(--Schattengrau);
  border-radius: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header div img {
  width: 215px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 70px;
}

#Settings {
  position: absolute;
  right: 0;
  cursor: pointer;
  height: 40px;
}

aside {
  position: fixed;
  top: 160px;
  left: 0;
  bottom: 0;
  z-index: 5;
}

aside section {
  width: 400px;
  height: 60px;
  background-color: white;
  margin-bottom: 25px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: 5px 5px 5px var(--Schattengrau);
  border-radius: 30px;
  margin-left: -300px;
  transition: 0.6s;
  cursor: pointer;
  border: 1px solid var(--Hintergrund);
}

.aktiv {
  box-shadow: 5px 5px 5px rgba(var(--SignalRGBA), 0.8);
}

aside section:last-of-type {
  position: absolute;
  bottom: 20px;
}

aside section:hover {
  margin-left: -100px;
  transition: margin-left 0.6s, box-shadow 0.5s;
}

aside section div {
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

aside section div img {
  height: 35px;
}

aside section span {
  width: 150px;
  font-size: 110%;
  font-weight: 500;
}

main {
  position: absolute;
  background-color: white;
  left: 140px;
  top: 160px;
  right: 0;
  min-height: calc(100vh - 160px);
  padding: 25px 40px 30px 40px;
  box-sizing: border-box;
}

h1 {
  font-weight: 500;
}

h2 {
  font-weight: 500;
  font-size: 120%;
}

summary {
  cursor: pointer;
  font-weight: 500;
  font-size: larger;
  background-color: rgb(207, 233, 243);
  border-radius: 10px;
  width: fit-content;
  padding: 5px 10px;
}

summary:hover {
  background-color: rgb(172, 205, 218);
}

.ButtonDefault {
  display: inline-block;
  padding: 6px 26px;
  box-sizing: border-box;
  border-radius: 20px;
  background-color: white;
  cursor: pointer;
  margin-right: 15px;
}

.ButtonAktiv {
  border: 1px solid var(--Signalfarbe);
  box-shadow: 4px 4px 4px rgba(var(--SignalRGBA), 0.8);
  color: var(--Signalfarbe);
}

.ButtonInaktiv {
  border: 1px solid var(--InaktivGrau);
  color: var(--InaktivGrau);
}

.GraphWrapper {
  width: 100%;
}
.CanvasContainer {
  position: relative;
  width: 100%;
  height: 35vh;
  box-sizing: border-box;
  background-color: none;
  margin-bottom: 50px;
}
.Graph1 {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.Graph2 {
  position: absolute;
  z-index: 4;
  width: 100%;
  height: 100%;
}
.Graph3 {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.UebersichtGrid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: 1fr 1fr 1fr;
}

.UebersichtGrid h2 {
  margin-top: 0;
}

.UebersichtEintrag {
  align-self: stretch;
  width: 100%;
  margin-right: 15px;
  border: 0px solid var(--Schattengrau);
  border-right-width: 3px;
  padding: 20px;
  box-sizing: border-box;
}

.UebersichtEintrag:last-of-type {
  border: 0;
}

.PitchEintrag,
.OffeneRechnungenEintrag,
.AnstehendeToDosEintrag {
  font-size: 90%;
  margin-bottom: 6px;
}

.PitchEintrag span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.PitchEintrag span:nth-child(1) {
  font-weight: 500;
  width: 60px;
}

.PitchEintrag span:nth-child(2) {
  font-weight: 500;
  width: 65px;
}

.PitchEintrag span:nth-child(3) {
  font-style: italic;
  width: calc(100% - 135px);
}

.OffeneRechnungenEintrag span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.OffeneRechnungenEintrag span:nth-child(1) {
  font-size: 85%;
  width: 55px;
}

.OffeneRechnungenEintrag span:nth-child(2) {
  font-weight: 600;
  width: 95px;
  font-size: 95%;
  text-align: right;
}

.OffeneRechnungenEintrag span:nth-child(3) {
  font-style: italic;
  width: calc(100% - 162px);
}

.OffeneRechnungenEintrag span:nth-child(3) img {
  height: 14px;
  margin: 0px 3px;
}

.AnstehendeToDosEintrag span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.AnstehendeToDosEintrag .offen {
  font-weight: 600;
  font-size: 95%;
}

.AnstehendeToDosEintrag .offen::before {
  content: "\2610 ";
  margin-right: 10px;
}

.AnstehendeToDosEintrag .erledigt {
  font-style: italic;
}

.AnstehendeToDosEintrag .erledigt::before {
  content: "\2611 ";
  margin-right: 10px;
}

.TextInputDefault {
  display: inline-block;
  padding: 6px 26px;
  box-sizing: border-box;
  border-radius: 20px;
  background-color: white;
  margin-right: 15px;
  border: 1px solid black;
}

.Tabelleneintrag,
.Kopfzeile {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  justify-items: end;
  padding: 6px 20px;
  box-sizing: border-box;
}

.Kopfzeile {
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 500;
}

.Tabelleneintrag {
  border: 0px solid var(--Schattengrau);
  border-bottom-width: 2px;
  cursor: pointer;
  transition: 0.2s;
}

.Tabelleneintrag:hover {
  background-color: var(--SignalGelb);
  color: black;
  transition: 0.4s;
}

.Tabelleneintrag .Firma {
  justify-self: start;
}

.Tabelleneintrag img {
  height: 15px;
  margin-right: 10px;
  vertical-align: middle;
}

.RechnungsListenUeberschrift {
  margin-top: 50px;
  margin-bottom: -10px;
}

.ToolMarker {
  font-size: 70%;
  vertical-align: middle;
  margin-left: 20px;
  border: 1px solid black;
  padding: 3px 9px;
  border-radius: 20px;
  color: black;
}

.pitch {
  color: var(--Signalfarbe);
  border-color: var(--Signalfarbe);
}

.laufend {
  background-color: var(--Signalfarbe);
  color: white;
}

.Inaktiv {
  color: var(--InaktivGrau);
  border-color: var(--InaktivGrau);
}

.KundenAnsichtWrapper h2 {
  font-weight: 600;
}

.KundenAnsichtWrapper h3 {
  font-size: 107%;
  font-weight: 600;
  margin-top: 30px;
}

.LinkerTeil {
  border: 0px solid var(--Schattengrau);
  border-right-width: 2px;
  padding: 0px 20px 0px 0px;
}

.RechterTeil {
  padding: 0px 0px 0px 20px;
}

.Ansprechpartner p {
  margin: 2px 0;
}

.Ansprechpartner p:last-of-type {
  margin-top: 15px;
}

.AddNew {
  color: var(--InaktivGrau);
  cursor: pointer;
  padding: 2px;
}

.AddNew:hover {
  background-color: var(--SignalGelb);
  transition: 0.4s;
}

.AddNew img {
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.Anmerkungen {
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.Anmerkungen textarea {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
  padding: 4px;
  resize: vertical;
}

.Anmerkungen img {
  height: 25px;
  margin-left: 20px;
  cursor: pointer;
}

.AlteAnmerkungen {
  font-size: 95%;
  font-style: italic;
  line-height: 1.1;
  margin-top: 25px;
}

.AlteAnmerkungen span {
  font-size: 90%;
  font-style: normal;
  color: var(--InaktivGrau);
}

.ToolAuswahl {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-content: flex-start;
}

.ToolAuswahl article {
  border: 1px solid black;
  padding: 20px;
  width: 270px;
  height: 150px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.ToolAuswahl article p {
  margin: 2px 0;
  font-size: 90%;
}

.ToolAuswahl article h3 {
  margin-top: 0;
  font-weight: 600;
}

.ToolAuswahl article .fett {
  margin-top: 10px;
}

.ToolAuswahl article .Gesamtumsatz {
  position: absolute;
  bottom: 0px;
  background-color: white;
  padding: 5px 10px 15px 0px;
}

.ToolAuswahl article label {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 80%;
  font-weight: 500;
}

.ToolAuswahl .Laufend {
  border-color: var(--Signalfarbe);
  border-width: 2px;
}

.ToolAuswahl .Laufend h3 {
  color: var(--Signalfarbe);
}

.ToolAuswahl .Aktiv {
  box-shadow: 4px 4px 4px var(--Signalfarbe);
}

.ToolAuswahl .Beendet {
  color: var(--InaktivGrau);
}

.ToolKopf {
  display: flex;
  width: 100%;
}

.ToolKopf .Stammdaten {
  margin-right: 30px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
  flex-grow: 1;
}

.ToolKopf .Stammdaten span {
  text-align: right;
  cursor: pointer;
}

.ToolKopf .Checkliste {
  flex-grow: 1;
}

.ToolKopf .Checkliste label {
  display: block;
  margin-bottom: 5px;
  cursor: pointer;
}

.ToolKopf .Checkliste input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.ZweiSpalten {
  display: inline-grid;
  align-items: center;
  grid-template-columns: auto auto;
  column-gap: 20px;
  margin-bottom: 10px;
}

.ZweiSpalten .Datum {
  font-size: 85%;
}

.ZweiSpalten img {
  height: 20px;
  margin: 5px 10px 5px 0;
  vertical-align: middle;
}

.DownloadLink {
  cursor: pointer;
  padding: 0px 10px;
}

.DownloadLink:hover {
  background-color: var(--SignalGelb);
  transition: 0.4s;
}

.Rechnungsliste {
  margin-top: 10px;
}

.Rechnungsliste p {
  display: grid;
  grid-template-columns: 1fr 0.5fr 1fr 1fr 1fr;
  margin: 3px 0px;
}

.Rechnungsliste p img {
  height: 20px;
}

.RechnungBezahlt {
  color: var(--SignalGruen);
}

.RechnungOffen {
  color: var(--SignalRot);
}

.VerlaufWrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 20px;
  row-gap: 10px;
  align-items: center;
  color: var(--InaktivGrau);
}

.VerlaufWrapper .Datum {
  font-size: 80%;
}

.VerlaufWrapper .Name {
  font-size: 90%;
  font-weight: 500;
}

.modalParent {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  z-index: 20;
  align-items: center;
  justify-content: center;
}

.modalWeg {
  display: none !important;
}

.modal {
  position: relative;
  width: 80%;
  max-width: 600px;
  height: 80%;
  max-height: 400px;
  background-color: white;
  box-shadow: 5px 5px 5px var(--Schattengrau);
  border: 1px solid var(--InaktivGrau);
  padding: 20px 20px 80px 20px;
  box-sizing: border-box;
}

.modalButtons {
  position: absolute;
  bottom: 18px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.modalButtons button {
  padding: 8px 30px;
  background-color: var(--Signalfarbe);
  color: white;
  font-size: 120%;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  box-shadow: 4px 4px 4px var(--Schattengrau);
}

.uploadbereich div {
  margin: 10px 0;
}

.uploadbereich img {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.uploadbereich span {
  vertical-align: middle;
  margin-left: 20px;
  font-size: 90%;
  font-weight: 500;
}

.uploadbereich strong {
  margin-right: 10px;
  cursor: pointer;
  padding: 10px;
  box-sizing: border-box;
}

.ToolAnsichtWrapper {
  display: grid;
  grid-template-columns: 3fr 2fr;
}

.ToolDetails textarea {
  display: block;
  height: 150px;
  width: 100%;
  resize: vertical;
  margin: 20px 0 10px 0;
}

.ToolDetails label,
.ToolDetails li {
  cursor: pointer;
}

.StandartButton {
  padding: 8px 30px;
  background-color: var(--Signalfarbe);
  color: white;
  font-size: 120%;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  box-shadow: 4px 4px 4px var(--Schattengrau);
}

.ToDoAnsichtWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ToDoAnsichtWrapper label {
  display: block;
  font-size: 105%;
  margin-bottom: 5px;
  cursor: pointer;
}

.WerWars {
  font-size: 90%;
  margin-left: 10px;
}

.Gechecked {
  color: var(--InaktivGrau);
  font-style: italic;
}

.ToDoAnsichtWrapper hr {
  margin-top: 25px;
}

.ToDoAnsichtWrapper input {
  margin-right: 10px;
}

.highlight0 {
  color: #499f68;
}

.highlight1 {
  color: #f7b32b;
}

.highlight2 {
  color: #ff4e00;
}

.AbstandOben {
  margin-top: 20px;
}

.ClientListHeader {
  font-size: 34px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
}

.clientDiv {
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0 0 0 1px hsla(230, 13%, 9%, 0.05),
    0 0.3px 0.4px hsla(230, 13%, 9%, 0.02),
    0 0.9px 1.5px hsla(230, 13%, 9%, 0.045),
    0 3.5px 6px hsla(230, 13%, 9%, 0.09);
  border-radius: 0.375em;
  padding: 35px;
  max-width: 900px;
  color: inherit;
  text-decoration: none;
  margin-bottom: 20px;

  transition: 0.3s;
}

.toolsBeschreibung {
  margin-top: 5px;
  display: block;
}

.SearchDiv {
  margin-bottom: 10px;
}

.SearchButton {
  margin: 0;
}

.KundenAnsichtWrapper input {
  width: 400px;

  height: 30px;
  margin-bottom: 20px;
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid var(--InaktivGrau);
}

.KundenAnsichtWrapper button {
  height: 35px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: var(--Signalfarbe);
  color: white;
  font-size: 120%;
  font-weight: 500;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  /* box-shadow: 4px 4px 4px var(--Schattengrau); */
}

.KundenAnsichtWrapper button:hover {
  background-color: white;
  border: 1px solid var(--Signalfarbe);
  color: var(--Signalfarbe);
  transition: 0.2s;
}

.ClientHeader,
.ToolHeader {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}

.ClientHeader {
  margin-top: -15px;
  margin-bottom: 6px;
}

.ClientHeader h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}

.badge {
  padding: 3px 6px;
  background-color: rgb(61, 139, 61);
  color: white;
  border-radius: 20px;
  font-size: x-small;
}

.badge-primary {
  background-color: #d0ede8;
  color: black;
}

.badge-secondary {
  background-color: #fbf0e0;
  color: black;
}

.ClientInfo,
.ToolInfo {
  display: flex;
  flex-direction: row;
  gap: 90px;
}

.ClientInfo {
  margin-bottom: 20px;
}

.ClientInfo h2,
.ToolInfo h3 {
  margin-top: 10px;
  margin-bottom: 5px;
}

.ClientInfo p,
.ToolInfo p {
  margin-top: 0;
}

.toolDescription {
  margin-top: -10px;
  display: block;
}

.ClientToolsDiv {
  margin-top: 10px;
  padding: 0 20px;
  background-color: rgba(223, 230, 238, 0.37);
  border-radius: 20px;
}

/* .ToolDiv {
  padding-bottom: 20px;
} */
.ToolDiv:not(:first-child) {
  padding-top: 10px;
}

.ToolDiv:not(:last-child) {
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(179, 179, 179);
}
