.form-process {
  li {
    h5 {
      color: $color-gray;
    }
    li {
      display: none;
    }
    &:before {
      background: $color-gray;
    }
    &.section-complete {
      &:before {
        background: $color-green;
        content: "\2714\fe0e";
        @media screen and (max-width: $small-screen) {
          content: "\2713\fe0e";
        }
      }
    }
    &.section-current {
      h5 {
        font-weight: bold;
        color: $color-primary;
      }
      li {
        display: list-item;
        &.sub-section-current {
          font-weight: bold;
          color: $color-primary;
        }
        &.sub-section-hidden {
          display: none;
        }
      }
      &:before {
        background: $color-primary;
      }
    }
  }
}

.form-process-step {
  color: $color-white;
  font-weight: 700;
  text-align: center;
  width: 2em;
  margin-left: -.2em;
  margin-right: -.2em;
  top: -.2em;
  display: block;
  border: 4px solid $color-white;
  background: $color-gray-medium;
  border-radius: 4em;
  display: inline-block;
  &.current {
    background: $color-primary;
  }
}

.form-process-total {
  font-weight: normal;
  padding-right: 4px;
}

// dealing with overly broad style in m_table
.review-growable {
  background-color: $color-gray-lightest;
  table.review {
    margin: 0;
  }
  tr {
    > td {
      background: $color-gray-lightest;
    }
    &:first-child {
      > td {
        border-top-style: none;
      }
    }
    &:last-child {
      > td {
        border-bottom-style: none;
      }
    }
  }
}

.form-review-panel-page {
  margin-bottom: 5rem;
  &:last-child {
    margin-bottom: 0;
  }
  &:focus {
    outline: none;
  }
  tr {
    td {
      &:last-child {
        font-weight: 700;
        min-width: 3em;
      }
    }
  }
}
.form-review-panel-page-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  &.header-stacked-small {
    @media screen and (max-width: $small-screen) {
      flex-direction: column;
      align-items: flex-start;
    }
  }
}

.form-review-panel-page-header {
  flex: 1;
  padding-bottom: 0 !important;
  padding-right: 5px;
  line-height: 37px;
  margin-top: 0;
  margin-bottom: 0;
}

.form-review-array {
  margin-top: 5rem;
}
