.centered-container {
    width: 100%;
    text-align: center;
}
#donate-container {
    margin: 15px;
    max-width: 320px;
    display: inline-block;
    text-align: left;
}

.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.button-value {
    /* flex-basis: 30%; */
    width: 28%;
    flex-grow: 1;
    max-width: 100px;
    margin-bottom: 10px;
    justify-content: space-around;
}

.error {
    color: #9e2146;
}

.payment-form {
  margin: auto;
  width: 320px;
}

.payment-attempted.error {
    background-color: red;
}

.payment-attempted blockquote {
    margin: 15px;
}

.donation-buttons,
.subscription-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.subscription-buttons .selected,
.button-value.selected {
    background-color: rgba(0, 199, 255, 1);
    color: black;
}

.value-buttons,
.subscription-tier {
  width: 30%;
}

.test-mode-bar {
    background-color: rgb(255, 124, 24);
    color: white;
    text-align: center;
}

.credit > .StripeElement {
    padding: 10px 6px;
    border: 1px solid #D1D1D1;
    border-radius: 4px;
    margin: 0 0 1rem 0;
}

.credit > .StripeElement--focus {
    border: 1px solid #33C3F0;
}

button {
  background-color: rgb(8,41,58);
  border: none;
  color: white;
  font-size: 1.2em;
  font-weight: 200;
  letter-spacing: normal;
  text-transform: none;
}

button:hover,
button:focus {
  color: white;
}

.StripeElement--focus {
    border: 1px solid #33C3F0;
}

.field-set {
    display: flex;
    flex-direction: column;
}

#card-element {
  background: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  padding: 18px 10px;
  margin: 0 0 1rem 0;
}

#card-element input {
  font-family: "adelle-sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.donation-amount {
  display: flex;
  flex-direction: column;
}

.user-data {
    display: flex;
    flex-direction: column;
}

.check-boxes {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.hidden-field {
  display: none;
}

.credit-card-header {
  font-weight: bold;
}

#btnSubmit, .submit-payment {
  width: 100%;
}

button.submit-payment[disabled],
button.submit-payment:disabled {
    background-color: rgb(84, 140, 169, 0.35);
}

label {
  margin: 1rem 0 0.2rem 0;
}

.donation-amount {
  width: 33%;
}

*[hidden] {
    display: none;
}

#payment-request-block p,
.divider {
  border-top: 1px solid #c0c0c0;
  text-align: center;
  font-size: 1.2em;
  margin: 16px 0 0 0;
}

.payment-error {
    color: #990000;
    background-color: #f1f1f1;
    border-radius: 0px;
    padding-left: 6px;
    padding-right: 6px;
}
