.detail-edit .gsa18f_procurement_recurring_length .help-block{
  position: absolute;
}

#pegasys_document_number-wrapper{
  display: none;
}

.status-completed #pegasys_document_number-wrapper{
  display: block;
}

.card#request-details-card{
  .detail-edit{
    display: none;
  }
  .edit-mode & {
    .detail-edit{
      display: block;
    }
    .detail-display{
      display: none;
    }
  }
  #building_number-wrapper {
  }
}

[data-child-is-dirrty="true"] .selectize-input,
[data-is-dirrty="true"] {
  border-color: #3A6E93;
  background: #FFFDE8;
}

.cost_per_unit-wrapper, .total_price-wrapper {
  .detail-display .detail-value:before{
    content: "$";
  }
}

.detail-element{
  font-size: 13px;
  font-weight: bold;
  color: #5F8CAE;
  padding-bottom: 5px;
}

.detail-value{
  font-size: 16px;
  &:empty{
    content: "--";
  }
  &.amount{
    font-weight: 800;
    &:before{
      content: "$ ";
    }
  }
}

.edit-mode{
  .sub-card-left{
    .detail-wrapper{
      border-radius: 4px 0px 0px 4px;
      margin-left: 0px;
    }
  }
  .gsa18f_procurement_date_requested input{
    width: 100%;
  }
  .sub-card-right{
    clear: right !important;
    .detail-wrapper{
      border-radius: 0px 4px 4px 0px;
      margin-right: 0px;
    }
  }
  .sub-card{
    .detail-wrapper.detail-wrapper{
      padding-top: 10px;
      margin-bottom: 0px;
      background: map-get($c2blue-swatch, quinary);
    }
  }
  .half-col-wrap{
    width: 50%;
    float: left;
    margin-bottom: 0px;
    padding-top: 5px;
    clear: none !important;
  }
  .recurring_length-wrapper.recurring_length-wrapper{
    margin-bottom: 30px;
  }
}

.not_to_exceed-wrapper, .not_to_exceed-wrapper .column, .not_to_exceed-wrapper .form-group {
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
}
#total-wrapper {
  .detail-display {
    display: block !important;
  }
}
#amount-wrapper{
  padding: 10px 15px 0 15px;
  background: map-get($c2blue-swatch, quinary);
  border-radius: 4px;
  max-width: 96%;
  float: left;
  margin-left: 10px;
  margin-top: 10px;
  .detail-element{
    color: #272727;
  }
  select, input {
    max-width: 30%;
  }
  label[for=ncr_work_order_amount] {
    &.input-group-addon {
      border-radius: 4px 0 0 4px;
    }
  }
  input[name="ncr_work_order[amount]"] {
    border-left: none;
    max-width: 25%;
  }
  .input-group > :first-child{
    border-radius: 4px 0 0 4px;
    background-color: white;
  }
  .detail-value{
    display: block;
    &.amount{
      font-size: 1.6em;
    }
    &.not_to_exceed{
      padding-top: 0px;
      padding-bottom: 3px;
    }
  }
  .detail-wrapper{
    padding-bottom: 2px;
  }
}

.card{
  textarea{
    margin: 0 0 0.4rem;
    &::-webkit-input-placeholder {
        color: map-get($c2black-swatch, tertiary);
    }
  }
  .help-block{
    font-size: 13px;
  }
  label{
    color: $primary-color;
    &[data-title="Using direct pay"] {
      color: map-get($c2black-swatch, primary);
    }
  }
  .detail-wrapper{
    margin-bottom: 15px;
  }
  .request-detail{
    margin-bottom: 10px;
  }
  .request-content-wrapper{
    margin-bottom: 10px;
  }

  #edit-request-details {
    display: none;
  }

  input.missing-cl-number {
    border-color: red;
  }

  span.missing-cl-number {
    color: red;
  }

  .line-item-block {
    .view-mode & {
      margin-bottom: 1rem;
    }

    .callout {
      margin-bottom: 0;
    }

    .line-item-add {
      text-align: left;
      font-weight: bold;

      a.button {
        height: 23px;
        width: 23px;
        padding: 0;
        line-height: 19px;
      }

      a.add-text {
        vertical-align: top;
      }

      .view-mode & {
        display: none;
      }
    }

    .line-item-controls {
      text-align: right;
      margin-bottom: 1rem;

      a {
        padding-left: 1rem;
        font-size: 80%;
      }

      .view-mode & {
        display: none;
      }
    }
  }
}
