@import "./../../../themes/core/colors";
@import "./../../../themes/color";

.mr10 {
  margin-right: 10px;
}
.mt5 {
  margin-bottom: 5px;
}
.mb5 {
    margin-top: 5px;
  }

.w100 {
  width: 100%;
}

.text-right {
  text-align: right;
}

.mt20 {
  margin-top: 20px;
}

.text-selected {
  color: black(0.6);
  font-size: 12px;
  line-height: 16px;
  margin-top: 1rem;
}

.dialog-container {
  font-family: "Open Sans", sans-serif;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;

  h3 {
    font-size: 16px;
  }

  .qms-btn-icon {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
}

.section-checkbox {
  height: 190px;
  overflow-y: auto;

  .mat-checkbox-inner-container {
    margin-right: 15px;
  }
}

.title-list-section {
  .mat-checkbox-label {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: $default-color;
  }

  .mat-checkbox.qms-group-options.mat-checkbox-checked {
    background: transparent;
  }
}

.list-section {
  ul {
    list-style-type: none;
    margin-top: 4px;
    padding-left: 0;
  }

  .mat-checkbox.qms-group-options.mat-checkbox-checked {
    background: transparent;
  }
}


.panel__item {
    height: 100px;
    margin-top: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 5px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;

    .related__item__inline {
      max-width: 100%;
    }

    .related__item__content {
      height: 32px;
      line-height: 32px;
      background-color: $related-item-background;
      max-width: 100%;
      margin-bottom: 5px;
      margin-left: 2.5px;
      margin-right: 2.5px;

      .mat-icon {
        color: $related-mat-icon-color;
        font-size: 24px;
      }

      span.related__item__content_name {
        display: inline-block;
        width: auto;
        width: calc(100% - 13px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
