.foh-donation-form {
  max-width: 680px;
  margin: auto;
  position: relative;
  z-index: 1;
  font-family:'Rajdhani', sans-serif;
  font-size: 1.1rem;
}


.foh-donation-form > * {
  box-sizing: border-box;
}

.foh-donation-form .form-label {
  text-transform: uppercase;
  text-align: center;
}

.foh-donation-form .form-label.form-label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.foh-donation-form .form-label:not(.form-label-hidden) {
  margin: 0;
}
.foh-donation-form .form-radio label {
  text-align: left;
  color:#395793;
}
.foh-donation-form .form-radios{
  text-align: left;
}

.foh-donation-form .form-fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.foh-donation-form .form-input {
  width: 100%;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: .875rem;
  border-radius: 0;
  border: 1px solid #000;
  position: relative;
  z-index: 1;
}

.foh-donation-form .form-input.hidden {
  display: none;
}

.foh-donation-form .form-input.other-amount {
  margin-top: .75rem;
}

.foh-donation-form .form-input.form-input-right {
  border-right: none;
}

.foh-donation-form .form-input.form-input-right:focus {
  border-right-width: 1px;
}

.foh-donation-form .form-input.form-input-left {
  border-left: none;
}

.foh-donation-form .form-input::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.foh-donation-form .form-input:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.foh-donation-form .form-input::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.foh-donation-form .form-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.foh-donation-form .form-input:focus {
  outline: 1px solid #395793;
  border-color: #395793;
}

.foh-donation-form .form-select {
  width: 100%;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color:#888;
  padding: .875rem;
  border-radius: 0;
  border: 1px solid #000;
  display: block;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.foh-donation-form .form-select:invalid {
  color: rgba(0, 0, 0, 0.5);
  border: 2px solid #A21B1E;
    -webkit-box-shadow: 5px 5px 5px black;
    -moz-box-shadow: 5px 5px 5px black;
    box-shadow: 5px 5px 5px black;
    -webkit-box-shadow: 0 0 10px #A21B1E;
    -moz-box-shadow: 0 0 10px #A21B1E;
    box-shadow: 0 0 10px #A21B1E;
}

.foh-donation-form .foh-donation-fields:not(.active) {
  display: none;
}

.foh-donation-form .foh-payment-amount {
  background: #e2e2e2;
  text-align: center;
  padding: 18px 12px;
  text-transform: uppercase;
}

.foh-donation-form .foh-payment-amount a {
  text-transform: initial;
  text-decoration: underline;
  color: #000;
}

.foh-donation-form .foh-payment-amount a:hover {
  text-decoration: none;
}

.foh-donation-form .foh-donation-content {
  background: #fff;
  padding: 18px 12px;
}

.foh-donation-form .form-payment-fields:not(.active),
.foh-donation-form .form-hidden-field:not(.active) {
  display: none;
}

.foh-donation-form .form-radios .form-label {
  text-align: left;
  text-transform: initial;
}

.foh-donation-form .form-radios .form-radio {
  display: inline-block;
}

.foh-donation-form .form-radios .form-radio input {
  width: auto;
  width: 1em;
  height: 1em;
  padding: 0;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid #000;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 50%;
  margin-right: .25rem;
}

.foh-donation-form .form-radios .form-radio input:checked {
  background: #395793;
  border-color: #395793;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.foh-donation-form .form-radios .form-radio input:focus {
  position: relative;
}

.foh-donation-form .form-radios .form-radio input:focus::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border: 1px solid white;
  box-shadow: 0px 0px 0px 2px #395793;
  border-radius: 50%;
}

.foh-donation-form .form-radios .form-radio:not(:last-of-type) {
  margin-right: .75rem;
}

.foh-donation-form #mailing-address-different, .foh-donation-form #opt-in-email {
  width: auto;
  width: 1em;
  height: 1em;
  padding: 0;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid #000;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  margin-right: .25rem;
}

.foh-donation-form #mailing-address-different:checked, .foh-donation-form #opt-in-email:checked  {
  background: #A21B1E;
  border-color: #A21B1E;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.foh-donation-form #mailing-address-different:focus, .foh-donation-form #opt-in-email:focus {
  position: relative;
}

.foh-donation-form #mailing-address-different:focus::after, .foh-donation-form #opt-in-email:focus::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border: 1px solid white;
  box-shadow: 0px 0px 0px 2px #395793;
}

.foh-donation-form .form-btn {
  --foh-radio-bg-color: #A21B1E;
  --foh-radio-border-color: #A21B1E;
  --foh-radio-font-color: #fff;
  display: inline-block;
  padding: .75rem 0;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background: var(--foh-radio-bg-color);
  border: 2px solid var(--foh-radio-border-color);
  width: 100%;
  color: var(--foh-radio-font-color);
  font-weight: 600;
  text-transform: uppercase;
  transition: .35s;
  border-radius:0px;
}

.foh-donation-form .form-btn:hover {
  background: white;
  color: #395793;
}

.radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.radio + label {
  --foh-radio-bg-color: #e2e2e2;
  --foh-radio-border-color: #e2e2e2;
  --foh-radio-font-color: #404040;
  display: inline-block;
  padding: .75rem 0;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background: var(--foh-radio-bg-color);
  border: 1px solid var(--foh-radio-border-color);
  width: 100%;
  color: var(--foh-radio-font-color);
  font-weight: 600;
  text-transform: uppercase;
}

.radio:focus + label {
  position: relative;
}

.radio:focus + label::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border: 1px solid white;
  box-shadow: 0px 0px 0px 3px #395793;
}

.radio.radio-transparent + label {
  --foh-radio-bg-color: transparent;
  --foh-radio-font-color: #404040;
}

.radio.radio-transparent:focus + label::after {
  border-width: 3px;
  box-shadow: 0px 0px 0px 5px #395793;
}

.radio.radio-transparent:disabled + label {
  pointer-events: none;
}


.foh-donation-fields .radio:checked + label {
  --foh-radio-bg-color: #395793;
  --foh-radio-border-color: #395793;
  --foh-radio-font-color: #fff;
}

.radio:checked + label {
  --foh-radio-bg-color: #A21B1E;
  --foh-radio-border-color: #A21B1E;
  --foh-radio-font-color: #fff;
}

.payment-type {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.payment-type + label {
  --foh-radio-bg-color: #e2e2e2;
  --foh-radio-border-color: #e2e2e2;
  --foh-radio-font-color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: .75rem 0 1rem;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background: transparent;
  border-bottom: 2px solid var(--foh-radio-border-color);
  width: 100%;
  color: var(--foh-radio-font-color);
  font-weight: 600;
  text-transform: uppercase;
}

.payment-type:checked + label {
  --foh-radio-font-color: #395793;
  --foh-radio-border-color: #395793;
  position: relative;
  overflow: hidden;
}

.payment-type:checked + label::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 7px;
  left: 0;
  bottom: 0;
  background: #395793;
}

.payment-type:focus + label {
  outline: 2px solid #395793;
}

.payment-type:disabled + label {
  pointer-events: none;
}

.form-row {
  --foh-margin: 1rem;
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-.5 * var(--foh-margin));
  margin-right: calc(-.5 * var(--foh-margin));
  box-sizing: border-box;
}

.form-row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--foh-margin) * .5);
  padding-left: calc(var(--foh-margin) * .5);
}

.form-row.form-row-0 {
  --foh-margin: 0;
}

.form-col-4 {
  flex: 0 0 auto;
  width: 50%;
  box-sizing: border-box;
}

.form-mt-3 {
  margin-top: 1rem;
}

.form-mb-3 {
  margin-bottom: 1rem;
}

#expiry-date {
  border-right-width: 0px;
}

#expiry-date:focus {
  border: 1px solid #395793;
  outline: 1px solid #395793;
  z-index: 5;
}

#cvc-number {
  border-left-width: 0;
}

#cvc-number:focus {
  border: 1px solid #395793;
  outline: 1px solid #395793;
  z-index: 5;
}

@media (min-width: 600px) {
  .form-col-4 {
    flex: 0 0 auto;
    width: 25%;
    box-sizing: border-box;
  }
  .form-col-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .form-mb-sm-0 {
    margin-bottom: 0;
  }
  #card-number,
  #first-name {
    border-right-color: white;
    position: relative;
    z-index: 2;
  }
  #card-number:focus,
  #first-name:focus {
    border-right-color: #395793;
  }
  #last-name {
    z-index: 3;
  }
  #expiry-date {
    border-left: 0;
  }
}

.form-mt-0 {
  margin-bottom: 0;
}

.form-text-center {
  text-align: center;
}

.foh-fields:not(.active) {
  display: none;
}

#mailing-address-contact:not(.active) {
  display: none;
}

.error-message {
  background: #A21B1E;
  margin-top: .35rem;
  font-weight: bold;
  display: block;
  padding: .25rem;
  color: #fff;
}

.error-message.error-message-payment {
  padding: .5rem;
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.1rem;
  text-align: center;
}

.edit-payment {
  background: rgba(160, 161, 162, 0.25);
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: .75rem;
  margin-bottom: 1rem;
}

.edit-payment:not(.active) {
  display: none;
}

#donation-thank-you {
  max-width: 680px;
  margin: auto;
  background: #fff;
  padding: 18px 12px;
}

#donation-thank-you h2 {
  text-align: center;
  font-size: 2.5rem;
}

#donation-thank-you .donation-amount {
  font-weight: bold;
}

#processing {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .75;
  z-index: 5;
}

#processing:not(.processing) {
  display: none;
}

.form-d-none {
  display: none;
}
