#derivedRelationshipsViewer {
  height: 55%;
  width: 100%;
}

#derivedRelationshipsManager {
  border: thin solid #00000030;
  font-size: 12px;
  height: 40%;
  padding: 5px;
  width: 100%;
}

#derivedRelationshipsManager_header {
  align-items: center;
  border: thin solid #00000030;
  border-bottom: 0;
  background-color: #00000005;
  color: black;
  display: flex;
  font-size: 10px;
  height: 5%;
  justify-content: space-between;
  padding: 4px;
  text-transform: uppercase;
  width: 100%;
}

#derivedRelationshipsManager_header .btnGroup {
  flex: unset;
  height: 25px;
  padding: 4px 12px;
}

#derivedRelationshipsManager table thead tr {
  border-bottom: 1px solid #000000;
}

#derivedRelationshipsManager table, #derivedRelationshipsManager tr {
  width: 100%;
}

#derivedRelationshipsManager tbody {
  display: table-caption;
  max-height: calc(0.35*(87vh - 35px) - 40px);
  overflow: scroll;
}

#derivedRelationshipsManager tbody tr:hover {
  background-color: #f7f7f7;
  cursor: pointer;
}

#derivedRelationshipsManager thead input {
  border: thin solid #00000020;
  outline: none !important;
  padding: 0px 4px !important;
  transform: translateY(2px);
}

#derivedRelationshipsManager thead input:focus {
  outline: none !important;
}

#derivedRelationshipsManager table tbody tr:nth-child(even) {
  background: #00000005;
}

#derivedRelationshipsManager td, #derivedRelationshipsManager th {
  flex: 3;
  font-weight: normal;
  overflow: hidden;
  padding: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#derivedRelationshipsManager tr {
  display: flex;
}

#derivedRelationshipsManager td:nth-child(1), #derivedRelationshipsManager th:nth-child(1) {
  flex: 1;
}

#derivedRelationshipsManager td:nth-last-child(1), #derivedRelationshipsManager th:nth-last-child(1) {
  flex: 2;
}

#derivedRelationshipsManager td .customConfig {
  background: #6667AB;
  border-radius: 3px;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  text-transform: uppercase;
}

#derivedRelationshipsManager td .customConfig.chartSpecific {
  background: #717F4B;
}

#globalRelationshipOptions * {
  font-size: 11px !important;
}