.modal-body {
  .row {
    margin: 0 -15px;
    [class*='col-'] {
      padding-right: 15px;
      padding-left: 15px;
    }
  }
}

.btn-toggle-panel {
  display: block;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: none;
  color: @link-color;
  text-align: center;
  [class^='dlt-c8y-icon-'],
  [class*=' dlt-c8y-icon-'] {
    .transition(all 0.35s ease);
  }
  &.open {
    [class^='dlt-c8y-icon-'],
    [class*=' dlt-c8y-icon-'] {
      .rotate(180deg);
    }
  }
  &:hover {
    color: @link-color-hover;
  }
  &:focus {
    outline: none;
  }
}

.dashboard-preview-list {
  overflow-y: auto;
  margin-bottom: 10px;
  max-height: 125px;
  border-top: 1px solid @component-border-color;
  border-bottom: 1px solid @component-border-color;
  > .dashboard-preview-item:first-child {
    border-top: 0;
  }
  > .dashboard-preview-item:last-child {
    border-bottom: 0;
  }
}

.dashboard-preview-item {
  position: relative;
  display: block;
  margin: 0;
  padding: 5px 10px;
  min-height: 10px;
  color: inherit;
  text-transform: none;
  font-weight: normal;
  font-size: 100%;
  cursor: pointer;
  &:hover {
    color: var(--brand-primary, var(--c8y-brand-primary));
  }
  input[type='radio'] {
    position: absolute;
    opacity: 0;
    &:checked ~ .preview-label {
      color: var(--brand-primary, var(--c8y-brand-primary));
      &::after {
        position: absolute;
        top: 1px;
        right: 0;
        width: 28px;
        height: 28px;
        color: var(--brand-primary, var(--c8y-brand-primary));
        content: @dlt-c8y-icon-check;
        text-align: center;
        font: normal normal normal 20px/1 @icon-font-family;
        font-size: inherit;
        line-height: 28px;

        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
    }
  }
}
