/* history results summary */
.result-summary-badge {
  display: inline-block;
  font-size: 12px;
}

.result-summary-badge span {
  display: inline-block;
  padding: 4px 6px;
  font-weight: bold;
}

.result-summary-label {
  margin-right: 1px;
  color: #fff;
  border-radius: 4px;
}

.result-summary-stat {
  width: 56px;
}

.result-total {
  background-color: rgba(44, 62, 80, 0.9);
}

.result-updated {
  background-color: rgba(52, 152, 219, 0.9);
}

.result-inserted {
  background-color: rgba(24, 188, 156, 0.9);
}

.result-unsaved {
  background-color: rgba(231, 76, 60, 0.9);
}

/* record view */
#download-import-file {
  max-width: 50%;
  text-overflow: ellipsis;
  overflow-x: hidden;
}

/* import stats */
.import-stats {
  padding: 4px 6px;
  border-radius: 4px;
  color: #fff;
  font-size: 28px;
  line-height: 2em;
}

.import-stats-total {
  background-color: #2c3e50;
}
.import-stats-inserted {
  background-color: #18bc9c;
}
.import-stats-updated {
  background-color: #3498db;
}
.import-stats-errors {
  background-color: #d9534f;
  cursor: pointer;
}
.lightred-bg {
  background-color: #f7dfdf;
}
.lightgreen-bg {
  background-color: #dff7df;
}
.lightred-color {
  color: #f66666;
}
.black-color {
  color: #000000;
}
.import-parse-error-button {
  background-color: #f7dfdf;
  color: #000000;
  margin: 0px 5px 0px;
}

.import-stat {
  float: right;
  font-size: 1em;
}

/* rows not saved */

.row-not-saved {
  padding: 0;
  background-color: #ecf0f1;
}

.row-not-saved.open {
  background-color: #ecf0f1;
  padding: 12px 14px;
}

.row-not-saved-message {
  display: inline-block;
  padding: 0.5em 0.6em;
  font-size: 1.1em;
  margin: 0 4px 4px 0;
  line-height: 1;
  background-color: rgba(231, 76, 60, 0.1);
  color: #2c3e50;
  border: 1px solid #e74c3c;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.list-child-row {
  padding: 10px 12px;
  font-size: 14px;
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid #dce4ec;
}

.list-child-row li {
  list-style-type: none;
  line-height: 1.5;
  padding: 4px;
  border-bottom: 1px solid #eaeaea;
}

.list-child-row li.field-has-error {
  background-color: rgba(231, 76, 60, 0.1);
}

.list-child-row li:last-of-type {
  border-bottom: none;
}

.list-child-title {
  cursor: pointer;
  display: inline-block;
  width: 20%;
  font-weight: bold;
}

.list-child-row p.text-danger {
  margin: 0;
}

.list-child-edit .record-field {
  width: 270px;
}

.list-child-edit label {
  display: none;
}

.edit-field {
  color: #999;
}

.edit-field:hover {
  background-color: #999;
  color: #fff;
}
