.sales-order {
  width: 100%;
}
.sales-order h1 {
  line-height: 1;
}
@media only screen and (max-width: 860px) {
  .sales-order table.order-items-table {
    overflow: auto;
  }
}
.sales-order .mobile-only {
  display: none;
}
@media (max-width: 670px) {
  .sales-order .mobile-only {
    display: block;
  }
}
.sales-order .mobile-only h5 {
  border-bottom: 1px solid black;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
@media (max-width: 670px) {
  .sales-order .desktop-only {
    display: none;
  }
}
.sales-order table.mobile-totals .dollar-prefix {
  display: flex;
  align-items: center;
}
.sales-order table.mobile-totals tr {
  display: table;
  width: 100%;
}
.sales-order table.mobile-totals tr th {
  width: 50%;
}
.sales-order table.mobile-totals tr th:last-of-type {
  float: right;
  text-align: right;
}
.sales-order .mobilize .add-item-row {
  display: table-row;
}
.sales-order .mobilize .add-item-mobile {
  display: none;
}
@media screen and (max-width: 670px) {
  .sales-order .mobilize h5 {
    text-align: left;
  }
  .sales-order .mobilize input {
    text-align: left !important;
    width: 100% !important;
    padding: 15px !important;
  }
  .sales-order .mobilize .seed-package-warning {
    width: 100%;
    max-width: 100%;
  }
  .sales-order .mobilize .add-item-row {
    display: none;
  }
  .sales-order .mobilize .add-item-mobile {
    display: block;
  }
  .sales-order .mobilize thead {
    display: none;
  }
  .sales-order .mobilize tr {
    display: block;
    position: relative;
    padding: 1.2em 0;
  }
  .sales-order .mobilize td {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    padding-bottom: 10px !important;
  }
  .sales-order .mobilize td:not(#other-comments-cell):before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    padding: 0.2em 0.6em 0.2em 0;
    text-align: left;
  }
  .sales-order .mobilize td:last-child:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .sales-order .mobilize tr.other-comments td:not(#other-comments-cell) {
    display: none;
  }
  .sales-order .mobilize.order-items-table tbody td {
    border: none;
  }
  .sales-order .mobilize.order-items-table tr.item-row {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 25px;
  }
  .sales-order .mobilize.order-items-table tr.item-row input {
    background-color: white;
  }
}
.sales-order .floor-and-base-price {
  background: green;
  border-radius: 6px;
  padding: 2px;
  font-size: 10px;
  margin-top: 2px;
  color: white;
}
.sales-order .floor-and-base-price.hidden {
  display: none;
}
.sales-order .tray-size-warning {
  background: red;
  border-radius: 8px;
  padding: 30px;
  width: 100%;
  text-align: center;
  font-size: 15px;
  color: white;
}
.sales-order .sales-order-mobile-input {
  margin: 0px;
}
.sales-order .sales-order-mobile-input input {
  width: 75% !important;
}
.sales-order .sales-order-mobile-input select {
  height: 30px;
  font-size: 11px;
  width: 25% !important;
}
.sales-order .seed-package-warning {
  text-align: left;
  font-size: 10px;
  font-weight: bold;
  color: red;
  max-width: 80px;
}
.sales-order .free-shipping-note {
  font-size: 10px;
  line-height: 1;
}
.sales-order .terms-warning {
  background: red;
  color: white;
  font-size: 12px;
  padding: 8px;
  border-radius: 5px;
}
.sales-order .right-aligned {
  text-align: right;
}
.sales-order .dropdown-wrapper {
  min-width: 225px;
}
.sales-order .stage-container {
  text-align-last: right;
}
.sales-order .stage {
  padding: 5px;
  border-radius: 5px;
}
.sales-order .prospecting {
  background-color: red;
  color: white;
}
.sales-order .estimating {
  background-color: yellow;
}
.sales-order .selling {
  background-color: green;
  color: white;
}
.sales-order h1 {
  text-align: right;
  font-size: 35px;
  font-weight: bold;
  text-transform: capitalize;
}
.sales-order address {
  padding: 20px;
}
.sales-order textarea {
  min-height: 150px;
}
.sales-order input {
  margin-bottom: 0;
  height: 30px;
}
.sales-order .error label {
  color: red;
}
.sales-order .error input {
  border-bottom-color: red;
}
.sales-order .error textarea {
  border-color: red;
}
.sales-order select.browser-default.small-select {
  height: 32px;
  margin-bottom: 0;
}
.sales-order .btn-block {
  margin-top: 15px;
}
.error-wrapper,
.spinner-wrapper {
  text-align: center;
  padding: 50px;
}
.order-items-table thead {
  border-top: 1px black solid;
  border-bottom: 1px black solid;
}
.order-items-table thead th,
.order-items-table tbody th,
.order-items-table tfoot th {
  padding: 10px;
}
.order-items-table thead td,
.order-items-table tbody td,
.order-items-table tfoot td {
  padding: 10px;
  vertical-align: top;
}
.order-items-table thead td,
.order-items-table tbody td,
.order-items-table tfoot td,
.order-items-table thead th,
.order-items-table tbody th,
.order-items-table tfoot th {
  border-left: 1px black solid;
  border-right: 1px black solid;
}
.order-items-table tfoot {
  border-top: 1px black solid;
  border-bottom: 1px black solid;
}
.order-items-table .input-field {
  margin: 0;
  height: auto;
  min-height: auto;
}
.order-items-table input {
  margin: 0;
  height: auto;
}
.order-items-table .has-number,
.order-items-table .has-number-input input {
  text-align: center;
}
.order-items-table .has-number-input {
  text-align: center;
}
.order-items-table .has-number-input input {
  width: 80px;
}
.order-items-table .dollar-prefix {
  display: flex;
  justify-content: flex-end;
}
.order-items-table .dollar-prefix > * {
  flex-shrink: 1;
}
.order-items-table .small {
  font-size: 10px;
}
.order-items-table > thead > tr > th,
.order-items-table tr > td {
  text-align: center;
}
.order-metadata {
  float: right;
}
.order-metadata table {
  table-layout: fixed;
}
.order-metadata thead th,
.order-metadata tbody th,
.order-metadata tfoot th {
  padding: 10px;
}
.order-metadata thead td,
.order-metadata tbody td,
.order-metadata tfoot td,
.order-metadata thead th,
.order-metadata tbody th,
.order-metadata tfoot th {
  border: 1px black solid;
  width: 50%;
  text-align: center;
}
.order-metadata thead td input,
.order-metadata tbody td input,
.order-metadata tfoot td input,
.order-metadata thead th input,
.order-metadata tbody th input,
.order-metadata tfoot th input {
  text-align: right;
}
.order-metadata thead td select,
.order-metadata tbody td select,
.order-metadata tfoot td select,
.order-metadata thead th select,
.order-metadata tbody th select,
.order-metadata tfoot th select {
  margin-bottom: 0;
}
