.material-prices-intro {
  margin: 20px 0 24px;
  padding: 18px 20px;
  background: #f5f8fc;
  border-left: 4px solid #337ab7;
  border-radius: 4px;
}

.material-prices-intro h2 {
  margin-top: 0;
  font-size: 24px;
}

.material-prices-intro .help-block {
  color: #526477;
  line-height: 1.6;
}

.material-prices-category {
  margin: 28px 0 14px;
  font-size: 22px;
}

.material-price-card {
  margin-bottom: 20px;
}

.material-price-card .panel-heading {
  padding: 12px 16px;
  background: #f8fafc;
}

.material-price-card h4 {
  margin: 0;
  line-height: 1.5;
}

.material-price-name {
  max-width: 480px;
}

.material-price-table {
  min-width: 1050px;
  margin-bottom: 0;
}

.material-price-table > thead > tr > th {
  vertical-align: middle;
  background: #fff;
  color: #526477;
  font-size: 12px;
}

.material-price-table > tbody > tr > td,
.material-price-table > tbody > tr > th {
  padding: 12px;
  vertical-align: middle;
}

.material-price-table .form-control {
  min-width: 105px;
}

.material-price-thickness {
  white-space: nowrap;
}

.material-price-status {
  min-width: 200px;
}

.material-price-status .label {
  display: inline-block;
  padding: 6px 8px;
}

.material-price-status .btn {
  display: block;
  margin-top: 8px;
}

.material-price-row-error {
  background: #fff7f7;
}

.material-price-details {
  background: #fffdf5;
}

.material-price-details p {
  margin: 0;
  line-height: 1.6;
}

.material-price-table .form-control:disabled {
  background: #f4f5f7;
  color: #697586;
}

.material-prices-save {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin-bottom: 0;
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid #dce3eb;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.06);
}

.material-prices-save .col-sm-offset-2 {
  width: 100%;
  margin-left: 0;
}

.material-prices-save-hint {
  display: inline-block;
  margin-right: 16px;
  color: #526477;
}

@media (max-width: 767px) {
  .material-prices-save-hint {
    display: block;
    margin-bottom: 8px;
  }
}
