/* #bbox-root:before {
  display: block;
  content: "New CSS coming through. NOTE: CSS will most likely remain unchanged";
  font-weight: bold;
  color: red;
} */

#bbox-root p {
  text-align: left;
}
#bbox-root ul li::before {
  display: none;
}
#bbox-root ul li {
  list-style: outside disc;
}

.dh__item label {
  margin-bottom: 0;
}

.dh {
  box-sizing: border-box;
  margin-bottom: 0;
  margin-left: 0;
  display: flex;
  flex-direction: column;
}

.dh *,
.dh *:before,
.dh *:after {
  box-sizing: inherit;
}

.dh-recurring {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1em;
}

.dh__item {
  justify-content: center;
  list-style-type: none;
  padding-left: 0;
  position: relative;
  opacity: 0;
  width: 100%;
  margin: 0 0 1em;
}
.dh__item.dh--visible {
  opacity: 1;
  transition: opacity 650ms ease-in;
  position: relative;
  left: inherit;
}
.dh__item.dh--invisible {
  left: -10000px;
  opacity: 0;
  position: absolute;
  transition: opacity 550ms ease-in;
}
.dh__item_other {
  opacity: 1;
  /* min-width: 160px; */
}

.dh__item > label {
  background-color: #fff;
  background-clip: padding-box;
  border: 2px solid #fff;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  position: relative;
  z-index: 1;
  padding: 220px 20px 20px 70px;
  text-align: left;
  min-height: 356px;
  overflow: hidden;
  width: 100%;
}
.dh__item > label:before {
  background-color: transparent;
  background-clip: padding-box;
  background-image: url(../png/list-style-special.png);
  background-position: 0 0;
  background-size: cover;
  content: "";
  display: block;
  height: 50px;
  border-radius: 5px;
  left: 10px;
  padding: 0;
  position: absolute;
  top: 215px;
  width: 60px;
}
.dh__item > label > span {
  display: block;
  position: absolute;
  top: 160px;
  right: 20px;
  color: #fff;
  z-index: 99999;
  font-size: 40px;
  font-weight: bold;
  text-transform: capitalize;
  text-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

/* Dollar handle images */
.dh__item > label:after {
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  background-color: #ccc;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
}

label[for="dollar-handle-01"]:after,
label[for="dollar-handle-04"]:after {
  background-image: url(../jpg/donate-1.jpg);
}
label[for="dollar-handle-02"]:after,
label[for="dollar-handle-05"]:after {
  background-image: url(../jpg/donate-2.jpg);
}
label[for="dollar-handle-03"]:after,
label[for="dollar-handle-06"]:after {
  background-image: url(../jpg/donate-3.jpg);
}
.dh__item_other > label:after {
  background-image: url(../jpg/donate-other-image.jpg);
}

.dh__input {
  position: absolute;
  z-index: -1;
}

/*.dh__selected {
  background-color: #fff;
  bottom:0;
  left:0;
  position: absolute;
  right:0;
  top:0;
  z-index:-1;
}*/
.dh__other {
  position: relative;
  border: 2px solid #D52B1E;
}
.dh__desc,
.dh__other {
  background-color: #f6faff;
  display: flex;
  flex-direction: column;
  padding: 0 15px 0;
  width: 100%;
}

.dh__desc h2 {
  background-color: #ffffff;
  border: 2px solid #D52B1E;
  display: block;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: 0;
  padding: 12px;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #D52B1E;
}

.dh__other label {
  background-color: #ffffff;
  border-color: #D52B1E;
  color: #D52B1E;
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 700;
  display: block;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: 0;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
}
.dh__other label:focus {
  position: absolute;
  padding: 0;
  margin: 0;
  font-size: 12px;
  top: -12px;
}

.dh__other input[type="number"],
.dh__other input[type="text"] {
  width: 100%;
  border: none;
  font-size: 24px;
  opacity: 0;
  position: relative;
  display: block;
  padding-left: 1.2em;
  text-align: left;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: auto;
  z-index: -1;
  transition: all 0.2s ease-out;
}
.dh__other input[type="number"] {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 50px;
}
.dh__other input[type="text"] {
  background-color: #D52B1E;
  color: #fff;
}
.dh__other p {
  font-size: 11px;
  line-height: 1;
  margin-bottom: 10px;
}
.dh__currency {
  position: relative;
}
.dh__currency::before {
  position: absolute;
  display: block;
  z-index: 2;
  content: "$";
  top: 50%;
  transform: translateY(-50%);
  left: 0.25em;
  opacity: 0.2;
}

/* "checked" styles */
.dh__input:checked ~ .dh__desc {
  background-color: #fcb300;
}
.dh__input:checked + label {
  border-color: #D52B1E;
}
.dh__input:checked + label:before,
.dh__input:checked:hover + label:before {
  background-position: 0 -100px;
}
.dh__input:checked ~ .dh__other > input {
  background-color: #D52B1E;
  color: #fff;
}
.dh__input:checked ~ .dh__desc h2 {
  background-color: #D52B1E;
  border-color: #D52B1E;
  color: #fff;
}
.dh__input:checked ~ .dh__other {
  border-color: #D52B1E;
}

.dh__input:checked ~ .dh__other label {
  background-color: #D52B1E;
  color: #e9f0f8;
}
.dh__input:checked ~ .dh__other label:before {
  display: block;
  content: "$";
  color: #fff;
  z-index: 2;
  position: absolute;
}
.dh__input:checked ~ .dh__other input[type="number"],
.dh__input:checked ~ .dh__other input[type="text"] {
  opacity: 1;
  z-index: 1;
}

.dh__input:checked ~ .dh__other .dh__currency::before {
  opacity: 1;
}

/* hover states */

.dh__input:hover ~ .dh__desc h2 {
  background-color: #fff;
  border-color: #D52B1E;
  color: #D52B1E;
}

@media (min-width: 600px) {
  .dh__input:hover + label:before {
    background-position: 0 -50px;
  }
}

.dh__input:checked:hover ~ .dh__desc h2 {
  background-color: #D52B1E;
  border-color: #D52B1E;
  color: #fff;
}
.dh__input:hover ~ .dh__other {
  border-color: #D52B1E;
}

.dh__input:hover ~ .dh__other > label {
  border-color: #D52B1E;
  color: #D52B1E;
}

/* END hover states */

@media (min-width: 480px) {
  .dh {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .dh__item {
    margin-bottom: 1em;
    width: 49%;
  }
}

@media (min-width: 1024px) {
  .dh {
    flex-direction: row;
    justify-content: space-between;
  }
  .dh__item {
    margin-bottom: 1em;
    width: 23%;
  }
}

.dh__disclaimer {
  font-size: 14px;
  text-align: center;
  margin: 5px 15px;
}
.dh__impact {
  margin-top: 16px;
}

/* go = Gift occurrence */

.go {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.go__label {
  font-weight: 500;
  margin: 10px 0;
  letter-spacing: 0;
  font-size: 16px;
  color: #000;
}

.go *,
.go *:before,
.go *:after {
  box-sizing: inherit;
}
.go__item:before,
.dh__item:before {
  content: "";
}
.go__item {
  list-style-type: none;
  margin-left: 0;
  position: relative;
  padding-left: 0;
  padding-right: 0;
  min-width: 15em;
}
.go__item:first-child {
  margin-bottom: 0.75em;
}
@media (min-width: 450px) {
  .go {
    flex-direction: row;
  }
  .go__item:first-child {
    margin-bottom: 0;
    margin-right: 1em;
  }
}

.go__item > label {
  cursor: pointer;
  background-color: #fff;
  border: 2px solid #D52B1E;
  border-radius: 5px;
  font-size: 18px;
  font-weight: normal;
  color: #D52B1E;
  display: block;
  text-align: center;
  padding: 0.5em 1em;
  text-transform: uppercase;
  transition: all 0.2s ease-out;
  min-width: 200px;
}

/* .go__item:last-child > label {
  border-radius: 0 100px 100px 0;
} */
.go__input:checked ~ label:after {
  content: " ";
  background-color: #D52B1E;
  border-radius: 100px;
  width: 1em;
}

/* "checked" styles */
.go__input:checked ~ label {
  background-color: #D52B1E;
  color: #fff;
}
.go__input {
  position: absolute;
  z-index: -1;
}

/* Blackbaud OLX styles */
/*.BBFormSectionRecurrenceInfo,*/
.BBDFormSectionGiftInfo > fieldset {
  display: none;
  /* opacity: 0.5; */
}
#mongo-form .BBFormFieldRecurrenceInfo {
  padding-left:0;
}
.BBDFormSectionGiftInfo .BBFormSectionHeading {
  display: none;
}
#mongo-form .BBFormSectionRecurrenceInfo > fieldset > legend > .BBFormSectionHeading {
  margin-bottom:0;
  padding-bottom:0
}
#mongo-form .BBFormSectionRecurrenceInfo .BBFormFieldContainer{
  margin-bottom:0;
}
#mongo-form .BBFormSectionRecurrenceInfo > fieldset > legend > .BBFormSectionHeading > label {
  margin-top:0;
}
.BBRecurrenceFieldContainer {
  margin-top:0;
}

@media (max-width:590px){
  .BBRecurrenceFieldContainer > span {
    white-space: pre-line;
  }
  .BBRecurrenceFieldContainer select {
    width:100%!important;
  }
}

/* 
.BBDFormSectionGiftInfo:before {
  content: "Note: The I would like to give section below will be hidden after testing";
  color: red;
  font-size: 11px;
} 
*/

/* toggle classes */
.hidden {
  display: none;
  opacity: 0;
  transition: all 1s ease-out;
}

.show {
  display: block;
  opacity: 1;
  transition: all 1s ease-out;
}

/* 
#bboxdonation_recurrence_chkMonthlyGift,
#bboxdonation_recurrence_lblRecurringGift,
#bboxdonation_recurrence_ddFrequency {
  display: none;
} 
*/

/* START "Responsivesque" styles */

@media only screen and (max-width: 880px) {
  #bbox-root {
    margin: 0 auto;
    max-width: 600px;
  }
}

#bboxdonation_divForm .BBFormSection {
  margin: 0 auto;
  max-width: 100%;
}

/* Sorry for the sucky ID inheritance weighting */
@media only screen and (min-width: 880px) {
  /* #bboxdonation_divForm .BBDFormSectionPaymentInfo, 
  #bboxdonation_divForm .BBDFormSectionBillingInfo  {
    width:48%;
    padding:10px;
    display:inline-block;
    margin-right: 0;
    margin-left: 0;
    vertical-align: top;
  }
  #bboxdonation_divForm  .BBFormFieldLabel {
      width: 100%;
      text-align: left;
  }

  #DC_ValidOther {
    width: 50%;
    min-width: auto;
  }

  #bboxdonation_payment_lblSecCode {
    width: 100%;
    margin-left:0;
  }
  
  #DCCreditSecurityCode {
    margin-left: 0;
  }*/
}
/* END "Responsivesque" styles */
.f-primary {
  color: #D52B1E;
}
.impact-heading {
  color: #000;
  width: 100%;
  text-align: center;
}

.BBFormErrorBlock {
  width: 100%;
  max-width: none !important; /* sorry had to overwrite a rule that uses an ID specific to the form */
  margin-top: 50px;
}
/* Get ready for some of the  */
#mongo-form .BBFormContainer .BBFormSubmitbutton {
  outline: 0;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 0 20px;
  border: 0;
  position: relative;
  top: 0;
  text-decoration: none;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  background-color: #D52B1E;
  -webkit-box-shadow: 0 5px 0 #B61703;
  -moz-box-shadow: 0 5px 0 #B61703;
  box-shadow: 0 5px 0 #B61703;
  line-height: 45px;
  width: 100%;
  max-width: 320px;
  -webkit-transition: 0.3s ease-in-out all;
  -moz-transition: 0.3s ease-in-out all;
  -ms-transition: 0.3s ease-in-out all;
  -o-transition: 0.3s ease-in-out all;
} 

#mongo-form .BBFormContainer .BBFormSubmitbutton:disabled {
  background-color: #eee;
  border: 1px solid #ddd;
  color: #ccc;
  cursor:not-allowed;
  box-shadow: none;
}

#serviceAgreementDisclaimer p {
  color:red;
  text-align: center;
  width: 100%;
}

#mongo-form .BBFormContainer input,
#mongo-form .BBFormContainer select,
#mongo-form .BBFormContainer textarea {
  border-radius: 5px;
  box-shadow: none;
  height: 55px;
  border: #D52B1E solid thin;
  padding: 0 15px;
  font-size: 14px;
  outline: none;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
  max-width: none;
}

#mongo-form .BBFormContainer select {
  padding-right: 50px;
}
#mongo-form .BBFormContainer textarea {
  padding-top: 20px; /* Textarea place their cursor at top left when no padding vs inputs that place at centre - need padding to compensate*/
}
/* #mongo-form .BBFormContainer input:focus,
#mongo-form .BBFormContainer select:focus,
#mongo-form .BBFormContainer textarea:focus {
  border-color: #555;
} */
#mongo-form .BBFormContainer input[type="text"]:focus,
#mongo-form .BBFormContainer select:focus,
#mongo-form .BBFormContainer textarea:focus,
#mongo-form .BBFormContainer input[type="email"]:focus,
#mongo-form .BBFormContainer input[type="number"]:focus,
#mongo-form .BBFormContainer input[type="tel"]:focus,
#mongo-form .BBFormContainer input[type="checkbox"]:focus + label:before,
#mongo-form .BBFormContainer input[type="radio"]:focus + label:before {
  border:2px solid #D52B1E;
}
#mongo-form #bboxdonation_billing_txtFirstName {
  margin-right: 2%;
}
#mongo-form #bboxdonation_billing_txtLastName {
  margin-right: 0;
}
#mongo-form #bboxdonation_billing_ddTitle {
  max-width: none;
  margin-right: 2%;
}

@media (max-width: 480px) {
  #mongo-form #bboxdonation_billing_ddTitle,
  #mongo-form #bboxdonation_billing_txtFirstName,
  #mongo-form #bboxdonation_billing_txtLastName {
    width: 100%;
  }
  #mongo-form .BBFieldExpiration .BBFormSelectList {
    width: 46%;
  }
}
#mongo-form .BBFormFieldLabel {
  color: #555;
  font-weight: bold;
  font-size: 0.875em;
  text-align: left;
  width: 100%;
}

#mongo-form .BBFormChecklistLabel,
#mongo-form .BBFormCheckboxLabel {
  color: #1e1e1e;
  cursor: pointer;
  display: inline-block;
  font-weight: normal;
  font-size: 16px;
  font-style: normal;
  padding-left: 40px;
  position: static;
  line-height: 30px;
}
#mongo-form .BBFormChecklistLabel:before,
#mongo-form .BBFormCheckboxLabel:before {
  background-clip: padding-box;
  background-image: url(../png/checkbox-2x-sprite.png);
  background-position: left 0;
  background-repeat: no-repeat;
  border-radius: 5px;
  border-radius: 4px;
  background-color: #fff;
  content: "";
  cursor: pointer;
  height: 30px;
  left: 15px;
  line-height: 30px !important;
  margin: 0 0 5px !important;
  padding: 0 0 0 30px !important;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  padding: 0px 0px 0px 30px;
  position: absolute;
  border: #D52B1E solid thin;
}

#mongo-form .BBFormChecklistLabel:before {
  background-color: #e7e7e7;
}

#mongo-form .BBFormChecklistLabel:hover:before,
#mongo-form .BBFormCheckboxLabel:hover:before {
  background-position: left -30px;
}
#mongo-form input:checked + .BBFormChecklistLabel:before,
#mongo-form input:checked + .BBFormCheckboxLabel:before {
  background-position: left -60px;
}
#mongo-form .BBFormAttrChecklist {
  border: none;
  max-height: none;
  overflow: visible;
}
#mongo-form .BBCCreditType .BBFormFieldLabel {
  display: block;
}

/* Payment method buttons */
#mongo-form .BBFormPaymentRadioOptions {
  position: relative;
}
#mongo-form .BBFormPaymentRadioOptions input[type="radio"] {
  left: 0;
  position: absolute;
  z-index: -1;
}
#mongo-form #bboxdonation_payment_divPaymentChoiceCreditCard {
  /* this spaces the buttons */
  padding-right: 1em !important;
}
#mongo-form #bboxdonation_payment_lblChoiceCredit,
#mongo-form #bboxdonation_payment_lblChoiceDirectDebit,
#mongo-form #bboxdonation_payment_lblChoiceBillMeLater {
  background: padding-box rgb(255, 255, 255);
  border: none;
  border-radius: 5px;
  color: #aaa;
  font-size: 14px;
  font-weight: bold;
  height: 64px;
  line-height: 24px;
  padding: 30px 100px 10px 30px;
  position: relative;
  text-align: left;
  text-transform: uppercase;
  width: 280px;
}
#mongo-form #bboxdonation_payment_lblChoiceCredit:after,
#mongo-form #bboxdonation_payment_lblChoiceDirectDebit:after,
#mongo-form #bboxdonation_payment_lblChoiceBillMeLater:after {
  content: "Donate by";
  position: absolute;
  top: 16px;
  left: 30px;
  line-height: 14px;
  text-align: left;
  margin: 0;
  padding: 0;
}
#mongo-form #bboxdonation_payment_lblChoiceCredit:before {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  right: 20px;
  left: auto;
  width: 50px;
  height: 50px;
  background-image: url(../png/credit-card.png);
  background-position: 0 -100px;
}

#mongo-form #bboxdonation_payment_lblChoiceBillMeLater:before {
  content: "";
  position: absolute;
  top: 7px;
  right: 20px;
  left: auto;
  width: 100px;
  height: 50px;
  background-image: url(../png/paypal.png);
  background-position: 0 -50px;
}
#mongo-form #bboxdonation_payment_lblChoiceDirectDebit:before {
  content: "";
  position: absolute;
  top: 7px;
  right: 20px;
  left: auto;
  width: 50px;
  height: 50px;
  background-image: url(../png/debit.png);
  background-position: 0 -50px;
}

#mongo-form #bboxdonation_payment_lblChoiceCredit.BBFormRadioPaymentSelected,
#mongo-form
  #bboxdonation_payment_lblChoiceBillMeLater.BBFormRadioPaymentSelected,
#mongo-form
  #bboxdonation_payment_lblChoiceDirectDebit.BBFormRadioPaymentSelected {
  background-color: #D52B1E;
  color: #fff;
  text-align: left;
}
#mongo-form
  #bboxdonation_payment_lblChoiceCredit.BBFormRadioPaymentSelected:before {
  background-position: 0 0;
}
#mongo-form
  #bboxdonation_payment_lblChoiceBillMeLater.BBFormRadioPaymentSelected:before {
  background-position: 0 0;
}

#mongo-form
  #bboxdonation_payment_lblChoiceDirectDebit.BBFormRadioPaymentSelected:before {
  background-position: 0 0;
}
/* Two fields - use flex */
/*#mongo-form .BBTwoFields {
  display:flex;
  justify-content: space-between;
}

#divName {
  display:flex;
  justify-content: space-between;
  flex-flow:wrap;
}
*/
#mongo-form .BBTwoFields .BBFormTextbox,
#mongo-form .BBTwoFields .BBFormSelectList {
  max-width: none;
}
#mongo-form .BBTwoFields .BBFormSelectList,
#mongo-form .BBTwoFields .BBFormSelectList {
  margin-right: 2%;
}
/* #mongo-form .BBTwoFields .BBFormTextbox:last-child,
#mongo-form .BBTwoFields .BBFormSelectList:last-child {
  float: right;
} */

/* label stuff */
#mongo-form .label--show {
  font-style: italic;
  font-size: 11px;
  font-weight: normal;
  left: 15px;
  line-height: 1;
  opacity: 1;
  position: absolute;
  top: 0;
  transition: all 0.2s ease-out;
}

/* fix month inconsistent left position */
#mongo-form #bboxdonation_payment_lblMonth.label--show {
  left: 7px;
}
#mongo-form .label--hide {
  opacity: 0;
  position: absolute;
  transition: all 0.2s ease-out;
  top: 20px;
  left: 0;
  z-index: -1;
}

#mongo-form #bboxdonation_billing_lblFullName,
#mongo-form #bboxdonation_payment_lblExpiryLbl {
  display: none;
}

#mongo-form #bboxdonation_billing_billingAddress_lblAUStatePostCode,
#mongo-form #bboxdonation_billing_billingAddress_lblNZCityPostCode,
#mongo-form #bboxdonation_billing_billingAddress_lblUKCityCounty,
#mongo-form #bboxdonation_billing_billingAddress_lblStateZip {
  display: none;
}

#mongo-form #bboxdonation_billing_lblLastName.label--show,
#mongo-form #bboxdonation_billing_lblFirstName.label--show {
  position: static;
}

#mongo-form #bboxdonation_billing_billingAddress_lblNZPostCode.label--show,
#mongo-form #bboxdonation_billing_billingAddress_lblAUPostCode.label--show,
#mongo-form #bboxdonation_billing_billingAddress_lblZip.label--show {
  left: 52%;
}
#mongo-form #bboxdonation_payment_lblYear.label--show {
  left: 51%;
}
@media (min-width: 481px) {
  #divName {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  #mongo-form #bboxdonation_billing_lblLastName.label--show {
    position: absolute;
    left: 63%;
  }

  #mongo-form #bboxdonation_billing_lblFirstName.label--show {
    position: absolute;
    left: 25%;
  }
}
#DollarHandles,
#mongo-form .BBFormFieldContainer {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}
#mongo-form #DC_ValidOther,
#mongo-form #DCCreditSecurityCode {
  padding-top: 0;
  padding-bottom: 0;
}
/* #mongo-form .BBFormIndivFields {
  margin-top: 0;
  margin-bottom: 0;
} */

#mongo-form .BBFormFieldContainer.BBFormInlineError {
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 1em !important;
}

#mongo-form .BBFormInlineError .BBFormInlineErrorItem {
  margin-left: 0;
}
#mongo-form .BBTwoFields.BBFormInlineError .BBFormInlineErrorItem {
  width: 50%;
}
#mongo-form .BBThreeFields.BBFormInlineError .BBFormInlineErrorItem {
  width: 33%;
}

#mongo-form .BBFormFieldContainer .BBFormFieldContainer {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}

#mongo-form input[type="radio"] {
  position: static;
  left: auto;
  height: auto;
  vertical-align: middle;
}
#mongo-form input[type="checkbox"] {
  bottom: 50%;
  height: auto;
  margin: 0;
  opacity: 0;
  position: absolute;
  transform: translateY(50%);
}
.BBCCreditType {
  width: 100%;
}
/* helper class - needs to override everything */
.BBFormInlineError {
  width: 100% !important;
}
#mongo-form .BBFormAddress {
  display: flex;
  flex-direction: column;
}

/* #mongo-form .BBFormAddress .BBFormFieldContainer:first-child {
  order: 1;
} */

#mongo-form label a {
  text-decoration: underline;
}
/* Two fields - use flex */
#mongo-form .BBFormIndivFields .BBTwoFields.BBFormFieldContainer,
#mongo-form .BBTwoFields.BBFieldBillingStateZip > .BBFormFieldContainer {
  display: flex;
  justify-content: space-between;
}

#mongo-form .BBTwoFields .BBFormTextbox:first-child,
#mongo-form .BBTwoFields .BBFormSelectList:first-child,
#mongo-form #bboxdonation_tribute_txtFirstName {
  margin-right: 2%;
}
#mongo-form .BBTwoFields .BBFormTextbox:last-child,
#mongo-form .BBTwoFields .BBFormSelectList:last-child {
  margin-right: 0;
}
/* Tribute name specific styles */
#divTributeAcknowledgeeInfo .BBFormIndivFields .BBTwoFields {
  padding-top: 3em;
}
#mongo-form .BBFormIndivFields .BBTwoFields .label--show {
  top: 2.25em;
}
#mongo-form #bboxdonation_tribute_lblLastName,
#mongo-form .BBTwoFields label:last-of-type {
  left: 52%;
}

#bboxdonation_tribute_lblName {
  position: absolute;
  top: 0;
}
#mongo-form #bboxdonation_tribute_txtTributeRecordName {
  margin-left: 0;
}
#mongo-form .BBExpirationCSC {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
}

#mongo-form #DC_ValidOther {
  display: flex;
  justify-content: space-between;
  margin-left: 0;
  margin-right: 0;
  padding-right: 0;
  padding-top: 1em;
  position: relative;
  width: 70%;
}
#mongo-form #DCCreditSecurityCode {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-top: 1em;
  width: 30%;
}
#mongo-form #DCCreditSecurityCode .label--show {
  left: 30px;
}
@media (min-width: 601px) {
  #mongo-form #DCCreditSecurityCode {
    padding-left: 1.3%;
  }
}
#mongo-form .BBFieldExpiration .BBFormSelectList {
  min-width: 20px;
  width: 49%;
}
#mongo-form .BBFormButtonRow > .BBFormFieldContainer {
  text-align: center;
}

/*.BBFormSelectList {
  text-transform: capitalize;
}*/
#mongo-form .BBFormSectionGiftAttributes label.BBFormAttribsHeading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.don-amt {
  border-top: 1px solid #ccc;
  font-size: 24px;
  margin: 10px 10px 10px 14px;
  padding: 15px 0;
}
.surcharge-amount {
  color: #666;
  display: none; /* this will be modified by js */
  font-size: 16px;
}
.ts-and-cs {
  text-align: center;
}
.don-amt__para {
  font-size: 24px;
  text-align: center;
}
@media (min-width: 881px) {
  .don-amt__para {
    text-align: left;
  }
}
.don-amt__val {
  color: #D52B1E;
  font-size: 32px;
}
#mongo-form #cscWhatsThis {
  position: absolute;
  top: 50%;
  transform: translateY(-25%);
}
/* Remove webkit arrows on number fields */
#dh_other-field::-webkit-inner-spin-button,
#dh_other-field::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"]#dh_other-field {
  -moz-appearance: textfield;
}

.reCAPTCHADisclosure p {
  margin-left: 0 !important;
  text-align: center !important;
}
/*.BBFormFieldContainerRequired{
  position: relative;
}
.BBFormFieldContainerRequired:after{
  color: '#ff0000';
  content:'*';
  font-size:14px;
  position: absolute;
}*/
ul li::before {
  content: "";
  display: none;
}

#mongo-form .BBFormSectionHeading {
  border-bottom: none;
}
#mongo-form .BBFormSectionHeading label {
  font-weight: 500;
  margin: 10px 0;
  letter-spacing: 0;
  font-size: 16px;
  color: #000;
}

#mongo-form .BBFormSectionGiftAttributes {
  background-color: #fff;
  border-radius: 5px;
  margin: 40px 15px 15px;
}
#mongo-form .BBFormSectionGiftAttributes label,
#mongo-form .BBFormSectionGiftAttributes .BBFormSectionHeading {
  padding-bottom: 0;
  margin-bottom: 0;
}
#mongo-form .BBFormAttribItem {
  padding-top: 10px;
}
.master-holder h4 {
  padding-left: 14px;
  margin-top: 15px;
}
#DollarHandles h4 {
  padding-left: 0;
}

#mongo-form
  div#bboxdonation_payment_BBFormDDRoutingBSBNumber
  input[type="text"] {
  min-width: 100px;
}



