.item-container {
  margin-top: 10px;
  background: #ffffff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  padding-top: 22px;
  padding-bottom: 19px;
  cursor: pointer;

  &.child-item {
    margin-top: 2px;
    border-radius: 0px 0px 5px 5px;
  }

  &.has-trailing-item {
    border-radius: 5px 5px 0px 0px;
  }

  &.middle-item {
    border-radius: 0px;
  }

  &.first-item {
    margin-top: 5px;
  }

  &.last-item {
    margin-bottom: 10px;
  }

  .customer {
    font-size: 26px;
    font-weight: bold;
    color: #000000;
    padding-bottom: 10px;
  }

  .book {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;

    .book-image .thumbnail {
      width: 59px;
      max-height: 111px;
      box-shadow: 0 0 18px 0 #b8b3b7;
      border-radius: 6px;
    }

    .details {
      padding-left: 20px;
      display: flex;
      flex-direction: column;

      .book-name {
        font-size: 16px;
        color: #000000;
        font-weight: bold;
        max-width: 400px;
      }

      .book-details {
        display: flex;
        flex-direction: row;

        .labels {
          display: flex;
          flex-direction: column;
          font-size: 16px;
          color: #000000;
          font-weight: bold;
        }

        .data {
          display: flex;
          flex-direction: column;
          margin-left: 30px;

          .comment {
            overflow: hidden;
            max-width: 460px;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }
      }

      .status {
        position: absolute;
        right: 19px;
        font-size: 18px;
        color: #596470;
        font-weight: bold;
        max-width: 210px;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;

        &.with-tags {
          margin-top: 40px;
        }

        .desc {
          margin-left: 10px;
        }
      }
    }
  }

  .tag-wrapper {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    right: 6px;
    margin-top: -27px;
  }
}
