body[data--source*="TaskManagement/Tasks"] table.dynamic > * > * > td {
  white-space: pre-wrap;
  vertical-align: top;
  padding-top: 0.4em;
}

body[data--source*="/Task:"] table.dynamic > * > * > td {
  vertical-align: middle;
  padding-top: 0;
}

nav.Menu > .Menu > ol > li > span > a[href$="/RelationsManagement"] {
  background-image: url("UserInterface.Icon.Relation.svg");
}

nav.Menu > .Menu > ol > li > span > a[href$="/TaskManagement"] {
  background-image: url("UserInterface.Icon.Task.svg");
}

nav.Menu > .Menu > ol > li > span > a[href$="/TimeRegistration"] {
  background-image: url("UserInterface.Icon.Time.svg");
}

nav.Menu > .Menu > ol > li > span > a[href$="/Banking"] {
  background-image: url("UserInterface.Icon.Banking.svg");
}

nav.Menu > .Menu > ol > li > span > a[href$="/Accounting"] {
  background-image: url("UserInterface.Icon.Booking.svg");
}

nav.Menu > .Menu > ol > li > span > a[href$="/EmployeeManagement"] {
  background-image: url("UserInterface.Icon.Employee.svg");
}

nav.Menu > .Menu > ol > li > span > a[href$="/SoftwareLicensing"] {
  background-image: url("UserInterface.Icon.Software.svg");
}

nav.Menu > .Menu > ol > li > span > a[href$="/Invoicing"] {
  background-image: url("UserInterface.Icon.Invoicing.svg");
}

nav.Menu > .Menu > ol > li > span > a[href$="/BusinessAdministration"] {
  background-image: url("UserInterface.Icon.Business.svg");
}

header > .Title > a {
  background-image: url("ChartaSoftware.Logo.svg");
  background-size: 168px 60px;
  background-position: center center;
  background-repeat: no-repeat;
  font-size: 0;
  height: 75px;
  width: 100%;
  display: block;
}


/* Planning / Gantt */
table.Gantt {
  table-layout: auto;
}

table.Gantt > tbody > tr > td:nth-child(1) {
  max-width: 25em;
}

table.Gantt > tbody > tr > td:nth-child(1) > span {
  white-space: nowrap;
}

table.Gantt > tbody > tr > td:nth-child(4) {
  max-width: none;
}

table.Gantt > tbody > tr.Cycle,
table.Gantt > tbody > tr.Cycle a {
  color: red;
}

.Planning {
  white-space: nowrap;
}

.Planning > .Bar {
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  background-color: rgb(119, 253, 168);
  border: solid rgb(100, 201, 141) 1px;
  border-radius: 0.4em;
  height: 1em;
}

.Planning > .Bar > .Progress {
  background: linear-gradient(rgb(94, 247, 151), rgb(15, 181, 76));
  border-right: solid rgb(100, 201, 141) 1px;
  border-radius: 0 0.4em 0.4em 0;
  height: 100%;
}

.Planning > .Assignees {
  display: inline;
  margin-left: 1em;
}

body[data--source*="/Task:"] table.Kanban.dynamic > * > * > td {
  vertical-align: top;
}

.Kanban th {
  white-space: nowrap;
}

.Kanban .Item .Title {
  display: block;
  font-weight: bold;
  border-bottom: 1px solid #E0E0E0;
}

.Kanban .Item {
  display: inline-block;
  width: 8em;
  height: 8em;
  vertical-align: top;
  background-color: white;
  margin: 5px;
  padding: 0.5em;
  border: 1px solid #E0E0E0;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: box-shadow 0.5s ease;
  cursor: pointer;
  overflow: hidden;
}

.Kanban .InProgress .Item {
  background-color: lightyellow;
}
.Kanban .Finished .Item {
  background-color: #D6FDBE;
}

.Kanban .Item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.25), 0 3px 6px rgba(0,0,0,0.22);
}
