.wpbnbd--frequency-based {
  background: #fff;
  border: 1px solid #ccc;
  color: #111;
  position: relative;
  width: 100%;
}
.wpbnbd--frequency-based input[type=radio] {
  position: absolute;
  left: -99999em;
}
.wpbnbd--frequency-based input[type=radio][name=donation_frequency], .wpbnbd--frequency-based input[type=radio][name=donation_frequency] + label {
  display: none;
}
.wpbnbd--frequency-based input[readonly] {
  background-color: #f1f1f1;
  color: #666;
}
.wpbnbd--frequency-based .freq-label,
.wpbnbd--frequency-based .tier-label,
.wpbnbd--frequency-based .input-container {
  display: block;
  font-weight: bold;
  cursor: pointer;
}
.wpbnbd--frequency-based .freq-label {
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  z-index: 1;
}
.wpbnbd--frequency-based button,
.wpbnbd--frequency-based .submit-button {
  margin: 0 0.76rem 0.76rem;
}
@media only screen and (min-width: 782px) {
  .wpbnbd--frequency-based button,
.wpbnbd--frequency-based .submit-button {
    margin: 0 1.5rem 1.5rem;
  }
}
.wpbnbd--frequency-based button:disabled,
.wpbnbd--frequency-based .submit-button:disabled {
  opacity: 0.5;
}
.wpbnbd--frequency-based .wpbnbd__button {
  font-size: 16px;
  text-transform: uppercase;
}
.wpbnbd--frequency-based .thanks {
  color: #767676;
  font-size: 0.8em;
  margin: 0.38rem 0.76rem 0.76rem;
  display: none;
}
@media only screen and (min-width: 600px) {
  .wpbnbd--frequency-based .thanks {
    display: block;
  }
}
@media only screen and (min-width: 782px) {
  .wpbnbd--frequency-based .thanks {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
}

.wpbnbd.tiered .tiers {
  margin: 0.38rem;
  display: none;
  flex-wrap: wrap;
  position: relative;
}
@media only screen and (min-width: 782px) {
  .wpbnbd.tiered .tiers {
    margin: 1.12rem 1.12rem 0.38rem;
  }
}
.wpbnbd.tiered .tiers .tier-label {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 0.38rem;
  padding: 0.38rem 0.76rem;
}
.wpbnbd.tiered .tiers .tier-label:hover {
  background: #f1f1f1;
}
.wpbnbd.tiered .tiers input[type=radio]:focus + .tier-label {
  background: #f1f1f1;
  outline: 1px dotted currentcolor;
  outline-offset: -4px;
}
.wpbnbd.tiered .tiers input[type=radio]:checked + .tier-label {
  background-color: #757575;
  border-color: transparent;
  color: #fff;
}
.wpbnbd.tiered .tiers .odl {
  font-weight: bold;
  left: 0.38rem;
  position: absolute;
  bottom: calc(1.6em + 1.1rem + 2px);
}
.wpbnbd.tiered .tiers input.other-input ~ .money-input,
.wpbnbd.tiered .tiers input.other-input ~ .odl {
  display: none;
}
.wpbnbd.tiered .tiers input.other-input:checked ~ .money-input {
  display: flex;
}
.wpbnbd.tiered .tiers input.other-input:checked ~ .odl {
  display: block;
}
.wpbnbd.tiered .tiers input.other-input:checked + label {
  margin-bottom: calc(3.2em + 1.86rem + 2px);
}
.wpbnbd.tiered .money-input {
  bottom: 0.38rem;
  left: 0.38rem;
  position: absolute;
}

.wpbnbd.untiered.wpbnbd--nyp-disabled .tier-label {
  border: none;
  font-size: 1.25rem;
  padding: 0;
}
.wpbnbd.untiered .input-container {
  margin: 0.76rem;
  display: none;
}
@media only screen and (min-width: 782px) {
  .wpbnbd.untiered .input-container {
    margin: 1.5rem 1.5rem 0.76rem;
  }
}
.wpbnbd.untiered input[type=radio]:checked ~ .input-container {
  display: block;
}

.wpbnbd .money-input {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 200px;
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #ccc;
}
.wpbnbd .money-input[focus-within] {
  border-color: #111;
  outline: thin solid rgba(17, 17, 17, 0.15);
  outline-offset: -4px;
}
.wpbnbd .money-input:focus-within {
  border-color: #111;
  outline: thin solid rgba(17, 17, 17, 0.15);
  outline-offset: -4px;
}
.wpbnbd .money-input .currency {
  cursor: default;
  font-size: 0.8em;
  padding-left: 0.5em;
}
.wpbnbd .money-input input[type=number] {
  border: none;
  outline: none;
  box-shadow: none;
  background: none;
  max-width: 174px;
}
.wpbnbd .money-input input[type=number]:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.wpbnbd .frequencies {
  position: relative;
  font-size: 0.7em;
}
@media only screen and (min-width: 600px) {
  .wpbnbd .frequencies {
    font-size: 0.8em;
  }
}
.wpbnbd .frequency input[type=radio]:checked ~ .tiers {
  display: flex;
}
.wpbnbd .tab-container {
  display: flex;
}
.wpbnbd .tab-container .freq-label {
  border-radius: 0;
  margin: 0;
}
.wpbnbd .tab-container .freq-label.wpbnbd__button--active {
  color: #111;
}
.wpbnbd .tab-container .freq-label:focus {
  outline: 0;
  text-decoration: underline;
  -webkit-text-decoration-style: dotted;
          text-decoration-style: dotted;
  text-decoration-thickness: 1px;
}
