.crm-container .CRM_Contribute_Form_Contribution_Main .crm-section .label {
  text-align: left;
}

.crm-contribution-main-form-block h2 {
  margin-top: 10px;  
}

#content .is_recur-section label,
#content .payment_options-group label {
  display: inline;
  margin-left: 5px;
  margin-right: 10px;
}

#crm-container.crm-public .price-set-row {
  padding: 0 10px;
  width: 100px;
  height: 50px;
  line-height: 50px;
  border: 1px solid #222;
  display: inline-block;
}
#crm-container.crm-public .price-set-row .crm-price-amount-label-separator {
  display: none;
}

#crm-container.crm-public .price-set-row label {
  display: block;
  float: left;
  width: 80px;
}

#crm-container.crm-public .price-set-row input {
  height: 50px;
}

.crm-container .crm-section.other_amount-section {
  display: inline-block;
}

.crm-container .crm-section.other_amount-section input {
  width: 150px;
  height: 50px;
  line-height: 50px;
  border: 1px solid #222;
  padding: 0 5px !important;
}

.crm-container .crm-section.other_amount-section .label {
  display: none;
}
.crm-container .crm-section.other_amount-section .content {
  margin-left: 0;
}


/* more compact address block edition */
.custom_pre_profile-group .crm-section,
.billing_name_address-group .crm-section {
  float: left;
}
.custom_pre_profile-group .crm-section .label,
.billing_name_address-group .crm-section .label{
  float: none;
  width: auto;
  text-align: left;
}
.custom_pre_profile-group .crm-section .content, 
.billing_name_address-group .crm-section .content {
  margin-left: 0;
  margin-right: 20px;
}
#editrow-street_address-Primary/*,
.billing_street_address-5-section*/ {
  width: 50%;
}
#editrow-city-Primary/*,
.billing_city-5-section*/ {
  width: 30%;
}
#editrow-postal_code-Primary, 
.billing_postal_code-5-section {
  width: 20%;
}

@media only screen and (max-width: 1024px) {
  .custom_pre_profile-group .crm-section,
  .billing_name_address-group .crm-section {
    float: none;
  }

  #editrow-street_address-Primary,
  #editrow-city-Primary,
  #editrow-postal_code-Primary,
  .billing_postal_code-5-section {
    max-width: 100%;
    width: 100%;
  }

  .custom_pre_profile-group .crm-section input,
  .billing_name_address-group .crm-section input {
    width: 100%;
  }

  #crm-container.crm-public #premiums-listings {
    min-width: auto;
    max-width: 100%;
    width: auto;
  }

  #crm-container .shipping-content select#price_26 {
    max-width: 100%;
    width: auto;
    font-size: .8em;
  }

}


.billing_name_address-group .crm-section label {
  display: inline !important;  
}

#content .custom_pre_profile-group .crm-section.form-item,
.billing_name_address-group .crm-section,
.custom_pre_profile-group .email-5-section {
  margin-top: 0.8em;
  padding: 0;
}

.billing_middle_name-section {
  display: none;  
}

#payment_information label,
#editrow-custom_10 label {
  display: inline !important;
  margin-left: 5px;
  margin-right: 10px;
}

/* priceset */
.crm-price-amount-label {
  display: none;  
}
.other_amount-content .price-field-amount {
  display: none;
}
#pricesetTotal {
  padding: 10px 0 20px;
}
#pricesetTotal .label, #pricesetTotal .content {
  font-size: 120% !important;
}

/* other amount */
#crm-container.crm-public .price-set-row.other-amount {
  width: auto;
}
/*#crm-container.crm-public .price-set-row.other-amount label {
  margin-right: 15px;
  width: auto;
}*/
/*.other_amount-content {
  border-bottom: 1px solid black;
  padding: 0 10px;
}*/
.monsymbol {
  font-weight: bold;
}
#crm-container.crm-public .other_amount-content input[type="text"],
#crm-container.crm-public .other-amount input[type="text"] {
  border: 0;
  background: none;
  width: 130px;
  height: 40px;
}

#pricesetTotal .calc-value, #pricesetTotal .monthLabel {
  /*display: inline;*/
}
#pricesetTotal .shipping {
  margin-left: 19%;  
}

/* Donation Amount form section - flexbox layout */
#crm-container.crm-public .content.Donation_Amount-content,
#crm-container.crm-public .content.contribution_amount-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
 
#crm-container.crm-public .content.Donation_Amount-content .price-set-row,
#crm-container.crm-public .content.contribution_amount-content .price-set-row {
  margin-right: 1em;
}
 
#crm-container.crm-public .content.Donation_Amount-content .price-set-option-content,
#crm-container.crm-public .content.contribution_amount-content .price-set-option-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-flow: row-reverse nowrap;
          flex-flow: row-reverse nowrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#crm-container.crm-public .content.Donation_Amount-content .price-set-row label,
#crm-container.crm-public .content.contribution_amount-content .price-set-row label {
  float: none;
}

#crm-container.crm-public .content.Donation_Amount-content .crm-price-amount-amount,
#crm-container.crm-public .content.contribution_amount-content .crm-price-amount-amount {
  padding: 0;
}

#crm-container.crm-public .content.Donation_Amount-content .other-amount .price-set-option-content,
#crm-container.crm-public .content.contribution_amount-content .other-amount .price-set-option-content {
  display: inline;
}

/* products */
#editrow-custom_4 .label,
#editrow-custom_9 .label {
  float: none;
  width: 100%;
  text-align: center;
}
#editrow-custom_4,
#editrow-custom_9 {
  margin-left: 0;
  margin-right: 15px;
  width: 47%;
  float: left;
}
#editrow-custom_4 .content,
#editrow-custom_9 .content {
  margin-left: 0;
}
.product {
  margin-bottom: -18px;
  clear: both;
  font-size: 16px;
  background-color: #f0f0f0;
  border: 2px solid #fff;
  cursor: pointer;
  padding: 10px;
  /*height: 50px;*/
}
.product.product-no_thanks {
/*  height: 40px;
  line-height: 40px;*/
  text-align: center;
  padding: none;
}
.product input {
  float: right;
/*  margin-top: 20px;*/
}
.product.product-no_thanks input {
/*  margin-top: 15px;*/
}
.product.product-selectable.active input {
/*  margin-top: 75px;  */
}
.product img {
  float: left;
  padding-right: 10px;
}
.product.active {
  font-size: 18px;
  font-weight: bold;
  border: 2px solid #cfcfcf;
  background-color: #fff;
}
.product.product-selectable {
  position: relative;  
}
.product.product-selectable.active {
  padding: 15px;
/*  height: 125px;*/
}
.product.product-selectable.active .product-full-image img {
  width: 60%;
}
.product.product-selectable.active label {
  width: 30%;
  float: left;
}
.product.product-selectable.active #editrow-custom_11 {
  /*position: absolute;
  top: 60px;
  right: 10px;*/
}


.product img.full {
/*  width: 120px;*/
}

#editrow-contribution_note {
  clear: both;
  padding-top: 20px;
}

/* note */
#editrow-contribution_note {
  margin-top: 10px;
}
#editrow-contribution_note .label {
  float: none;
  width: auto;
}
#editrow-contribution_note .content {
  margin-left: 0;
}
#editrow-contribution_note .content textarea {
  width: 75%;
}

#editrow-custom_10 .label {
  width: auto;
}

#crm-container .is_recur-section .content .description {
  font-size: 80%;
  margin-left: 0;
}
/*#crm-container .is_recur_radio-section label {
  display: inline-block;
  width: 90%;
}*/
#crm-container .shipping-content select {
  /*width: 500px;*/
  width: 80%;
  max-width: 500px;
}
