page-tools-modeltraining {
  display: block;

  main {
    background: white;
    padding: 12px;
  }

  .training-nav {
    font-weight: normal;
    padding-bottom: 3px;
  }

  .training-label {
    margin-right: 10px;
  }

  .training-header {
    font-weight: normal;
    vertical-align: middle;
  }

  .table-title {
    background: #F3F3F3;
    color: #444;
    font-size: 15px;
    padding-left: 10px;
    line-height: 34px;
  }

  .trailing-input {
    margin-left: 8px;
  }

  .training-detail {
    padding: 0 !important;

    ul {
      margin: 0 !important;
    }

    li {
      background: #F3F3F3;
      display: flex;

      &:nth-child(even) {
        background: #E3F1F1;
      }

      & + li {
        border-top: 1px solid #E0E0E0;
      }
    }
  }

  td {
    > * {
      vertical-align: middle;
    }

    .fa {
      line-height: 1 !important;
      width: 1em;
      width: fit-content;
      height: 1em;
      text-align: center;
    }

    &.text-center {
      padding-left: 0;
      padding-right: 0;
    }
  }

  .alarm-search {
    display: flex;

    input {
      flex: 1;
      margin-right: 12px;
    }
  }

  .signal-intensity {
    margin: 0;
    width: 1.2em;
    height: 1.2em;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;

    li {
      width: .35em;
      background: #D1CFE4;
    }

    :nth-child(1) { height: 100%; }
    :nth-child(2) { height: 75%; }
    :nth-child(3) { height: 50%; }

    &[value="1"] :nth-child(3),
    &[value="2"] :nth-child(2),
    &[value="3"] :nth-child(1) {
      &, & ~ li {
        background: #46BDB2;
      }
    }
  }

  tfoot td {
    padding: 6px 0;
  }

  .pattern {
    padding: 6px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    & + .pattern {
      border-left: 1px solid #E0E0E0;
    }
  }

  .ptn-index {
    width: 40px;
  }
  .ptn-hostname {
    width: 100px;
  }
  .ptn-instance {
    width: 100px;
  }
  .ptn-rulename {
    flex: 1;
    text-align: left;
  }
}
