.title {
  margin-bottom: 10px;
}
.label {
  margin: 0;
}
.sub-label {
  font-size: 12px;
  font-style: italic;
  margin: 0;
}

.furniture-item-button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 36px;
  height: 36px;
  color: #fff;
  background: #3760a1;
  border: none;
  border-radius: 100%;
  cursor: pointer;
  flex-shrink: 0;
  .mat-icon {
    font-size: 18px;
    line-height: 36px;
    width: auto;
    height: auto;
  }
}

.furniture-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  overflow: hidden;
  margin: 0 0 10px;
  .furniture-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 2px 0 0;
    overflow: hidden;
    &.furniture-model {
      .furniture-item-left {
        padding-right: 10px;
      }
    }
    .furniture-item-wrapper {
      display: flex;
      align-items: center;
      .error-expand-handle {
        cursor: pointer;
        transform: rotate(0deg);
        height: 40px;
        width: 40px;
        &.expanded {
          transform: rotate(180deg);
          transition: 0.3s ease-in-out;
        }
      }
    }
    .furniture-item-wrap {
      border: 1px solid #dce4ea;
      padding: 4px 0 4px 10px;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      width: 100%;
      .furniture-item-left {
        display: flex;
        flex-direction: column;
        width: 80%;
        font-size: 13px;
        margin: 0;
        .furniture-item-title {
          display: flex;
          flex-direction: column;
          justify-content: center;
          width: 100%;
          min-height: 32px;
        }
        .furniture-item-copy {
          float: right;
          border: none;
          padding: 0 15px;
          margin: 0 0 0 10px;
          line-height: 32px;
          font-size: 12px;
          text-transform: uppercase;
          background: transparent;
          color: #dce4ea;
          font-weight: 600;
          cursor: pointer;
          &:focus {
            outline: 0;
          }
          &:hover {
            color: rgba(0, 0, 0, 0.87);
          }
        }
      }
      .furniture-item-right {
        display: flex;
        padding-top: 4px;
        width: 20%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .furniture-item-delete {
          -webkit-user-select: none;
          -moz-user-select: none;
          -ms-user-select: none;
          user-select: none;
          width: 36px;
          height: 36px;
          color: #fff;
          background: #3760a1;
          border: none;
          border-radius: 100%;
          cursor: pointer;
          flex-shrink: 0;
          .mat-icon {
            font-size: 18px;
            line-height: 36px;
            width: auto;
            height: auto;
          }
        }
      }
    }
    .furniture-item-conversion-wrap {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      padding-top: 9px;
      box-sizing: border-box;
      .furniture-item-conversion-row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
      .furniture-item-conversion-button-wrap {
        width: 30%;
      }
      .furniture-item-conversion-input-wrap {
        width: 70%;
        position: relative;
        input {
          width: 90%;
          border: 1px solid #e8eceb;
          border-radius: 3px;
          box-sizing: border-box;
          padding: 10px 5px;
          &:disabled {
            background: #eee;
          }
        }
        .furniture-item-conversion-input-label {
          font-size: 8px;
          position: absolute;
          top: 2px;
          left: 10px;
        }
        .input-binded-button {
          background: none;
          border: none;
          cursor: pointer;
          position: absolute;
          right: 0;
          top: 10px;
          color: #000;
          .mat-icon {
            height: 14px;
            width: 14px;
            font-size: 14px;
          }
        }
        .input-binded-button-highlight {
          color: #009a6d;
        }
      }
    }
  }
}

.furniture-item-conversion-highlight {
  background: #009a6d;
  svg {
    fill: #fff;
  }
}
::ng-deep error-messages {
  .error-message {
    font-weight: bold;
    font-size: 12px;
  }
  .error-description {
    font-size: 11px;
  }
}

.furniture-item-totals {
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  .furniture-item-total-row {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
  }
  .furniture-item-total-button-highlight {
    background: #009a6d;
    color: #fff;
  }
}
