/*
 * -----------------------------------------------
 *  Widget    : deliteful/list/List
 *  baseClass : d-list or d-round-rect-list
 * -----------------------------------------------
 */
.d-list,
.d-round-rect-list {
  /* edit display at your own risk */
  display: block;
  /* Position relative is needed by List.getBottomDistance(). */
  /* The List must be positioned to be the offsetNode of renderers. */
  /* Otherwise, the offsetTop value is computed against a wrong parent */
  position: relative;
  padding: 0;
  /* Do not change this margin setting when customizing list in the app css*/
  margin: 0;
}
.d-round-rect-list {
  margin: 0 9px;
}
.d-list-category {
  /* No position should be defined, as the List is using offsetTop to measure distance of elements within the list */
  /* Edit display at your own risk */
  display: block;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.d-list-item {
  list-style-type: none;
  display: block;
}
.d-list-cell {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-align-items: center;
  outline-offset: -2px;
}
.d-list-cell .d-spacer {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.d-list-item-icon {
  margin-right: 7px;
}
.d-list.d-rtl .d-list-item-icon {
  margin-right: 0px;
  margin-left: 7px;
}
.d-list-item-label {
  white-space: nowrap;
  text-overflow: ellipsis;
}
.d-list-item-right-text {
  padding-right: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.d-list.d-rtl .d-list-item-right-text {
  padding-right: 0px;
  padding-left: 4px;
}
.d-list-loader {
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  padding: 0px 8px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.d-list-loader .d-progress-indicator {
  width: 24px;
  height: 24px;
  vertical-align: top;
}
.d-list-loader.d-loading {
  cursor: wait;
}
.d-list-loader .d-list-loader-label {
  padding-left: 10px;
}
.d-list-loading-panel {
  display: table;
  z-index: 2;
  height: 100%;
  width: 100%;
  text-align: center;
  cursor: wait;
}
.d-list-loading-panel .d-list-loading-panel-info {
  display: table-cell;
  vertical-align: middle;
}
.d-list-loading-panel .d-list-loading-panel-info .d-progress-indicator {
  width: 48px;
  height: 48px;
  vertical-align: top;
}
.d-list-loading-panel .d-list-loading-panel-info div {
  vertical-align: middle;
}
.d-list-loading-panel .d-list-loading-panel-info svg {
  vertical-align: middle;
}
.d-list-loading-panel .d-list-loading-panel-info .d-list-loading-panel-info-label {
  padding-left: 10px;
}
.d-list-loader .d-progress-indicator-lines,
.d-list-loading-panel .d-progress-indicator-lines {
  stroke: #808080;
}
.d-list-no-items {
  white-space: nowrap;
  text-overflow: ellipsis;
  width: auto;
  vertical-align: middle;
  line-height: 40px;
  text-align: center;
}
.d-selectable,
.d-multiselectable {
  cursor: pointer;
}
.d-list {
  border: 1px solid #ddd;
  background-color: #fff;
}
.d-round-rect-list {
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}
.d-round-rect-list > *:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.d-round-rect-list > *:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.d-list-category.d-list-cell,
.d-list-category .d-list-cell {
  background-color: #f5f5f5;
  color: #333333;
  border-bottom: 1px solid #ddd;
  padding: 0 10px;
  height: 35px;
}
.d-list-cell {
  border-bottom: 1px solid #ddd;
  padding: 0px 8px;
  height: 40px;
}
.d-selectable .d-list-item:hover,
.d-multiselectable .d-list-item:hover {
  background-color: #f5f5f5;
}
.d-selectable .d-list-cell.d-selected,
.d-multiselectable .d-list-cell.d-selected {
  border-bottom: 1px solid #428bca;
  background-color: #428bca;
  color: #fff;
  font-weight: bold;
}
.d-list-loader {
  font-weight: 500;
  height: 38px;
}
.d-list-loader:hover {
  background-color: #ebebeb;
}
.d-list-loader.d-list-previous-loader {
  border-top-width: 0;
  /* padding-bottom to compensate the fact that the bottom width is 0 instead of 1 */
  padding-bottom: 1px;
  border-bottom: 1px solid #ddd;
}
.d-list-loader.d-list-next-loader {
  border-bottom-width: 0;
  /* padding-bottom to compensate the fact that the bottom width is 0 instead of 1 */
  padding-bottom: 1px;
}
.d-list-loader.d-loading {
  color: #999999;
  font-weight: normal;
  font-style: italic;
}
.d-list-loader.d-loading:hover {
  background-color: inherit;
}
.d-list-loading-panel {
  color: #999999;
  background-color: #fff;
  font-style: italic;
}
