/**
 * Form rebuilding
 */

/* Hide content until form is ready */
.CRM_Contribute_Form_Contribution_Main {
  display: none;
}

.crm-container .crm-event-confirm-form-block .bold,
.crm-container .bold.pay_later_receipt-section {
  font-weight: inherit;
}

/**
 * Multistep
 */

/* Fix overflow bug */
#crm-container .label,
div.crm-container .label  {
  white-space: normal;
}

/* Prevent multistep panes from not being accessible */
.wizard > .content {
  overflow: auto;
  min-height: 40em;
}

/* Equalize tabs height */
.wizard > .steps a {
  min-height: 5em;
}

.crm-container div.form-item {
  height: auto;
}

/**
 * Forms : CiviCRM
 */
#crm-container.crm-public .price-set-row  label {
}
#crm-container.crm-public .price-set-row .highlight label {
  font-weight: normal;
}
#crm-container.crm-public .price-set-row .highlight label .crm-price-amount-label ,
#crm-container.crm-public .crm-price-amount-label.highlight {
  font-weight: bold;
}

/* Used for inline text inputs */
#crm-container.crm-public input.crm-form-noborder[type="text"] {
  border: medium none;
  background: none;
  width: auto;
  padding: 0px;
  height: auto;
  line-height: inherit;
  text-align: right;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/* Multi-columns displays for form label + content */
div.crm-container .bio-grid-2f,
div.crm-container .bio-grid-2f50 {
  box-sizing: border-box;
  width: 50%;
  float: left;
  min-height: 60px;
}
div.crm-container .bio-grid-2f50 .label {
  width: 50%;
}
div.crm-container .bio-grid-2f .content,
div.crm-container .bio-grid-2f50 .content {
  min-height: 40px;
  padding-right: 20px;
}
div.crm-container .crm-section.bio-grid-2f .label {
  width: 34%;
}
div.crm-container .crm-section.bio-grid-2f .content {
  margin-left: 38%;
}
div.crm-container .bio-grid-2f50 .content {
  width: 50%;
  margin-left: 50%;
}


/* Confirmation */

#crm-container .crm-contribution-confirm-form-block .description,
#crm-container .crm-event-confirm-form-block .description {
  color: inherit;
}

#crm-container .crm-contribution-confirm-form-block .crm-public-form-item,
#crm-container .crm-event-confirm-form-block .crm-public-form-item {
  border-bottom: 1px solid #e7e7e7;
}

#crm-container .crm-contribution-confirm-form-block .crm-additional-profile-view-title,
#crm-container .crm-event-confirm-form-block .crm-additional-profile-view-title,
#crm-container .crm-contribution-confirm-form-block .crm-profile-view-title,
#crm-container .crm-event-confirm-form-block .crm-profile-view-title {
  text-transform: uppercase;
  margin: 5px 0;
}


#crm-container .section-pricesetTotal {
  clear: both;
  margin-top: 15px;
  font-weight: bold;
}
