.ampGrid-head--cell {
  padding-top: 6px;
  padding-bottom: 6px; }

.ampGrid {
  border-bottom: #f5f5f5 solid 1px;
  margin: 1.5rem 0;
  border-collapse: collapse;
  width: 100%; }

.ampGrid-head {
  color: #ffa326;
  font-weight: bold; }

.ampGrid-head td {
  padding: 7px 6px;
  line-height: 1; }

.ampGrid-inner {
  border: #b0e3ef solid 1px;
  border-radius: 0 0 10px 10px;
  margin-bottom: 1rem;
  overflow: auto; }

.ampGrid-group.not-table {
  background-color: #f5f5f5; }
  .ampGrid-group.not-table:hover {
    background-color: #bce7f0; }

.ampGrid-cell {
  padding: 12px 6px;
  vertical-align: middle;
  line-height: 1;
  background-color: #f5f5f5; }

.ampGrid.has-actions .ampGrid-cell {
  vertical-align: top; }

.ampGrid.has-actions .ampGrid-cell {
  padding-bottom: 6px; }

.ampGrid-cell:first-child {
  padding-left: 12px; }

.ampGrid-cell:last-child {
  padding-right: 12px; }

.ampGrid-row:first-child .ampGrid-cell:first-child {
  border-top-left-radius: 6px; }

.ampGrid-row:first-child .ampGrid-cell:last-child {
  border-top-right-radius: 6px; }

.ampGrid.has-actions .ampGrid-group:not([class*="is-active"]) .ampGrid-row:nth-last-child(3) .ampGrid-cell:first-child,
.ampGrid.has-actions .ampGrid-group.is-active .ampGrid-row:nth-last-child(2) .ampGrid-cell:first-child,
.ampGrid-group:not([class*="is-active"]) .ampGrid-row:nth-last-child(2) .ampGrid-cell:first-child,
.ampGrid-row:first-child:last-child .ampGrid-cell:first-child,
.ampGrid-group.is-active .ampGrid-row:last-child .ampGrid-cell:first-child {
  border-bottom-left-radius: 6px; }

.ampGrid.has-actions .ampGrid-group:not([class*="is-active"]) .ampGrid-row:nth-last-child(3) .ampGrid-cell:last-child,
.ampGrid.has-actions .ampGrid-group.is-active .ampGrid-row:nth-last-child(2) .ampGrid-cell:last-child,
.ampGrid-group:not([class*="is-active"]) .ampGrid-row:nth-last-child(2) .ampGrid-cell:last-child,
.ampGrid-row:first-child:last-child .ampGrid-cell:last-child,
.ampGrid-group.is-active .ampGrid-row:last-child .ampGrid-cell:last-child {
  border-bottom-right-radius: 6px; }

.ampGrid-divider {
  padding: 0;
  height: 6px;
  background: transparent !important; }

.ampGrid-group:hover .ampGrid-cell,
.ampGrid-group.is-active .ampGrid-cell {
  background-color: #bce7f0;
  cursor: pointer; }

.ampGrid-actions p {
  font-size: 0.8em;
  line-height: 1;
  opacity: 0;
  transition: 0.1s opacity; }

.ampGrid-group:hover .ampGrid-actions,
.ampGrid-group.is-active .ampGrid-actions {
  opacity: 1; }

.ampGrid-group:hover .ampGrid-actions p,
.ampGrid-group.is-active .ampGrid-actions p,
.ampGrid-actions:hover p {
  opacity: 1; }

.ampGrid-actions a {
  color: #069; }

.ampGrid-panel {
  line-height: 1.2; }

.ampGrid-panel .formLabel {
  display: block; }

.ampGrid-header {
  padding: 0;
  background: none;
  border: none; }

.ampGrid-header:after {
  content: " ";
  display: block;
  clear: both; }

.ampGrid-inner {
  background-color: #bce7f0;
  cursor: initial;
  margin-bottom: 0;
  /*Override dashboard.css*/
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px; }

.ampGrid-panel {
  background: rgba(255, 255, 255, 0.5);
  margin-left: 12px;
  margin-right: 12px;
  padding: 6px 12px; }

.ampGrid-panel.p50 {
  width: calc(50% - 48px);
  margin-top: 6px; }

.ampGrid-panel:after {
  content: " ";
  display: block;
  clear: both; }

.ampGrid-inner-actions {
  clear: both;
  text-align: right;
  padding: 10px; }

.ampGrid-inner-actions .button {
  margin-left: 1em;
  line-height: 1;
  padding: .5em; }

.data-row .key,
.data-row .value {
  width: auto;
  text-align: left; }

.ampGrid-actions {
  clear: both;
  padding: 10px; }

.donation_result_total {
  margin-bottom: 10px;
  padding-right: 0; }

.cents {
  opacity: 0.5;
  font-size: 80%; }

#donation_result_grid tr[data-id] td {
  padding-top: 12px; }

#donation_result_grid a:hover {
  opacity: 0.6; }

#donation_result_grid td:nth-child(5) img {
  height: 1em;
  width: auto; }

.separator {
  opacity: 0.3;
  font-weight: bold;
  margin: 0 0.5em; }

/* Migrating existing styling*/
#donation_result_grid a.reject {
  color: #c33; }

#donation_result_grid tr[data-id] td {
  white-space: nowrap; }

#donation_result_grid tr[data-id] td a {
  white-space: normal; }

.row .input_short,
.row .input_long,
.row textarea {
  font-size: 1.4rem;
  line-height: 1.1;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 3px;
  border-color: #bebebe; }

select.input_short,
select.input_long {
  padding: 3px; }

.pagelet-header {
  margin-bottom: 2em; }

.pagelet-header--add {
  float: right;
  margin-top: -3em; }
