/* Campaign summary widget */
.campaign-description {
  margin-bottom: 1em;
}

.single-campaign .campaign-description {
  font-size: 1.5em;
  font-weight: bolder;
}

.single-campaign.campaign-widget .campaign-description {
  font-size: 1em;
  font-weight: normal;
}

.campaign-summary {
  *zoom: 1;
  padding: 0 1em;
  margin-bottom: 1em;
  border: 1px solid #e6e6e6;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.campaign-summary:before,
.campaign-summary:after {
  // content: " ";
  // display: table;
}

.campaign-summary:after {
  clear: both;
}

.campaign-summary .campaign-summary-item {
  float: left;
  width: 50%;
  padding: 1em 0;
  border-bottom: 1px solid #e6e6e6;
}

.campaign-summary .campaign-raised .amount,
.campaign-summary .campaign-figures .amount {
  display: block;
  font-size: 1.5em;
  font-weight: bolder;
}

.campaign-summary .campaign-donors {
  clear: left;
}

.campaign-summary .donors-count,
.campaign-summary .time-left {
  font-weight: bolder;
}

.campaign-summary .campaign-donation {
  float: left;
  width: 100%;
  padding: 1em 0;
  text-align: center;
}

.campaign-summary .campaign-donation .donate-button {
  display: inline-block;
}

.campaign-is-endless .campaign-summary-item,
.campaign-has-no-goal .campaign-summary-item {
  width: 100%;
  text-align: center;
}

/* Campaign Progress Bar */
.campaign-progress-bar {
  width: 100%;
  height: 10px;
  background-color: #e6e6e6;
}

.campaign-progress-bar .bar {
  position: relative;
  display: block;
  height: 100%;
}

/* Donate Button */
.donate-button {
  padding: 6px 24px;
  font-size: 1em;
  line-height: 1.5em;
  border: none;
  color: #fff;
}

/* Forms */
.charitable-button {
  cursor: pointer;
}

.charitable-form-field {
  margin-bottom: 1em;
}

.charitable-form-field label {
  display: block;
  margin-bottom: 4px;
}

.charitable-form-field input,
.charitable-form-field select,
.charitable-form-field textarea {
  width: 100%;
}

.charitable-form-field button,
.charitable-form-field input[type=submit],
.charitable-form-field input[type=button],
.charitable-form-field input[type=radio],
.charitable-form-field input[type=checkbox] {
  width: auto;
  margin-left: 0;
}

.charitable-form-field.odd {
  clear: left;
}

.charitable-form-field.charitable-form-field-checkbox input[type=checkbox] {
  display: inline;
  height: auto;
}

.charitable-form-field.charitable-form-field-checkbox label {
  display: inline;
  padding-left: 4px;
  font-size: 16px;
  line-height: 16px;
}

.charitable-form-field.charitable-radio-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.charitable-form-field.charitable-radio-list li {
  list-style: none;
  margin: 0 20px 0 0;
  display: inline-block;
  line-height: 1em;
}

.charitable-form-field.charitable-form-field-multi-checkbox ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.charitable-form-field.charitable-form-field-multi-checkbox ul li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.charitable-form-field .wp-media-buttons {
  margin-bottom: 0.5em;
}

.charitable-form-field .wp-editor-container {
  border: 1px solid #dedede;
}

.charitable-fieldset> :last-child,
.charitable-fieldset-field-wrapper> :last-child {
  margin-bottom: 1em;
}

.charitable-radio-list label,
.charitable-checkbox-list label {
  display: inline;
}

.charitable-submit-field .button {
  font-size: 1em;
  line-height: 1.5em;
}

.charitable-form-content {
  margin-bottom: 1em;
  font-size: 16px;
}

.charitable-gateway-fields {
  padding-top: 1em;
}

#charitable_field_cc_cvc {
  max-width: 180px;
}

@media (min-width: 48em) {
  #charitable_field_cc_cvc {
    float: left;
    width: 33%;
  }
}

@media (min-width: 48em) {
  #charitable_field_cc_expiration {
    float: left;
    width: 63%;
    margin-left: 4%;
    clear: none;
  }
}

#charitable_field_cc_expiration .charitable-fieldset-field-header {
  font-weight: normal;
}

#charitable_field_cc_expiration fieldset>*:not(.charitable-fieldset-field-header) {
  float: left;
  width: 49%;
  max-width: 140px;
}

#charitable_field_cc_expiration .year {
  margin-left: 2%;
}

.charitable-form-fields .charitable-fieldset {
  margin: 0 0 1em;
  padding: 1.5em 20px 0.5em;
  border: 1px solid #ebebeb;
}

.charitable-form-fields .charitable-fieldset-field-wrapper {
  margin: 0;
  padding: 0;
  border: none;
}

.charitable-form-fields .charitable-fieldset-field-wrapper .charitable-fieldset-field-header {
  margin-bottom: 4px;
  font-weight: bold;
}

.charitable-form-header {
  margin: 0 0 1em;
  font-size: 1.2em;
  font-weight: bolder;
}

.charitable-repeatable-form-field-table {
  margin-bottom: 1em;
}

.charitable-donation-form {
  padding-top: 1em;
}

.charitable-donation-form .donation-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.charitable-donation-form .donation-amounts li:last-child {
  /* grid-column: 1 / -1; */
}

.charitable-donation-form .donation-amounts li:last-child label {
  /* width: 100%; */
}

.charitable-donation-form .donation-amounts:before,
.charitable-donation-form .donation-amounts:after {
  /* content: " ";
        display: table;  */
}

.charitable-donation-form .donation-amounts:after {
  clear: both;
}

.charitable-donation-form .donation-amounts .donation-amount {
  position: relative;
  float: auto;
  width: auto;
  margin: 0 2% 0.5em 0;
  border: 1px solid #ddd;
  background-color: transparent;
  list-style: none;
}

.charitable-donation-form .donation-amounts .donation-amount .custom-donation-amount-wrapper,
.charitable-donation-form .donation-amounts .donation-amount>label {
  display: block;
  width: auto;
  padding: 0.5em 1em;
  margin: 0;
  font-size: 1em;
  cursor: pointer;
}

.charitable-donation-form .donation-amounts .donation-amount .amount {
  font-weight: bolder;
}

.charitable-donation-form .donation-amounts .donation-amount:nth-child(2n+2) {
  margin-right: 0;
}

.charitable-donation-form .donation-amounts .donation-amount input[type=radio] {
  margin: 0 6px 0 0;
  vertical-align: middle;
}

.charitable-donation-form .donation-amounts .donation-amount.selected {
  background-color: black;
}

.charitable-donation-form .donation-amounts .donation-amount.selected label {
  color: #fff;
}

.charitable-donation-form .donation-amounts .donation-amount.custom-donation-amount.selected label {
  color: inherit;
}

.charitable-donation-form.charitable-template-standard .donation-amounts .donation-amount.custom-donation-amount.selected,
.charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount li {
  background-color: transparent !important;
}

.charitable-donation-form.charitable-template-standard .charitable-your-donation-amount {
  font-size: 18px;
  line-height: 20px;
}

@media screen and (max-width: 37.5em) {
  .charitable-donation-form .donation-amounts .donation-amount {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}

.charitable-donation-form .custom-donation-input {
  max-width: calc(100% - 2rem);
  min-height: 30px;
  border-width: 0.078rem;
  border-style: solid;
  border-radius: 0.25rem;
  padding: 0.8rem 1rem;
  background-color: #fff;
  color: #4d4d4d;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
}

#charitable-donor-fields>.charitable-form-field,
#charitable-donor-fields .charitable-form-fields>.charitable-form-field {
  clear: both;
  padding: 0 20px;
}

.widget_charitable_donate_widget #charitable-donation-amount-form {
  padding-top: 0;
}

.widget_charitable_donate_widget #charitable-donation-amount-form .donation-amounts .donation-amount {
  width: 100%;
  margin-right: 0;
}

.charitable-hidden {
  display: none !important;
  visibility: hidden;
}

.charitable-form-field-donor-fields .charitable-login-details {
  padding-top: 1em;
}

#charitable-donor-fields {
  padding: 1.5em 0 0.5em;
}

#charitable-donor-fields .charitable-form-header {
  padding: 0 20px;
}

.charitable-modal #charitable-donor-fields .charitable-form-header {
  padding-left: 0;
}

.charitable-donor-details {
  padding: 0 20px 1em 0;
  font-size: 1rem;
  margin-bottom: 25px;
}

.charitable-donor-details .donor-address,
.charitable-donor-details .donor-contact-details {
  margin-bottom: 0.5em;
}

.charitable-donor-details .charitable-change-user-details {
  margin-bottom: 0;
  padding-bottom: 0;
}

#charitable-user-fields,
#charitable-meta-fields {
  padding: 0 20px;
}

.charitable-modal #charitable-user-fields,
.charitable-modal #charitable-meta-fields {
  padding: 0;
}

#charitable-meta-fields {
  padding-top: 1.5em;
  margin-top: 1.5em;
  border-top: 1px solid #ebebeb;
}

.charitable-terms-text {
  border: 1px solid #ebebeb;
  padding: 10px;
  background-color: #f8f8f8;
  margin-bottom: 1em;
  max-height: 200px;
  overflow: scroll;
  display: none;
}

.charitable-terms-text.active {
  display: block;
}

#login-prompt {
  margin-bottom: 4px;
}

.charitable-login-form {
  padding: 1em;
  margin-bottom: 1em;
  border: 1px solid #ebebeb;
}

.charitable-login-form label {
  display: block;
  margin-bottom: 4px;
}

.charitable-login-form>p,
.charitable-login-form .login-username,
.charitable-login-form .login-password,
.charitable-login-form .login-remember {
  margin-bottom: 1em;
  padding-bottom: 0;
}

.charitable-login-form .login-submit {
  margin-bottom: 0;
  padding-bottom: 0;
}

.js .charitable-donation-form .donation-amount input[type=radio] {
  display: none;
}

/* Receipts */
.donation-summary {
  margin-bottom: 1em;
  padding-bottom: 0;
}

.donation-summary dd,
.donation-summary dt {
  margin-top: 0;
}

.donation-summary dt {
  float: left;
  margin-right: .5em;
  font-weight: bold;
}

.donation-summary dd {
  display: block;
  margin-bottom: 0;
}

.donation-summary dd::after {
  content: " ";
  display: block;
  clear: left;
}

.charitable-table.donation-details {
  width: 100%;
  text-align: left;
}

.charitable-table.donation-details td {
  padding: 15px 0;
}

.charitable-table.donation-details tfoot td {
  border-top: 1px solid #e6e6e6;
  padding-top: 15px;
  font-weight: 500;
}

h3.charitable-header {
  font-weight: 800;
  border-bottom: 1px solid black;
  padding-bottom: 10px;
  margin-top: 50px;
}

.charitable-table tr,
.charitable-table td {
  padding-right: 1.5em;
}

/* Campaigns grid */
.campaign-loop.campaign-list,
.campaign-loop.campaign-grid {
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
}

.campaign-loop.campaign-list li.campaign,
.campaign-loop.campaign-list .campaign.hentry,
.campaign-loop.campaign-grid li.campaign,
.campaign-loop.campaign-grid .campaign.hentry {
  position: relative;
  padding: 0;
  margin: 0 0 1em 0;
  list-style: none;
  box-shadow: none;
  box-sizing: border-box;
}

.campaign-loop.campaign-list li.campaign h3,
.campaign-loop.campaign-list .campaign.hentry h3,
.campaign-loop.campaign-grid li.campaign h3,
.campaign-loop.campaign-grid .campaign.hentry h3 {
  margin-top: 0;
  text-decoration: none;
}

.campaign-loop.campaign-list .wp-post-image,
.campaign-loop.campaign-grid .wp-post-image {
  padding-bottom: 1em;
}

.campaign-loop.campaign-list .campaign-donation-stats,
.campaign-loop.campaign-grid .campaign-donation-stats {
  margin-bottom: 1em;
}

.campaign-loop.campaign-list .campaign-donation-stats .amount,
.campaign-loop.campaign-list .campaign-donation-stats .goal-amount,
.campaign-loop.campaign-grid .campaign-donation-stats .amount,
.campaign-loop.campaign-grid .campaign-donation-stats .goal-amount {
  font-weight: bolder;
}

.campaign-loop.campaign-list .campaign-donation .button,
.campaign-loop.campaign-grid .campaign-donation .button {
  display: inline-block;
}

.campaign-progress-bar {
  margin-bottom: 0.5em;
  overflow: hidden;
}

.campaign-loop.campaign-list li.campaign,
.campaign-loop.campaign-list .campaign.hentry {
  padding: 0 0 1em 0;
  margin: 0 0 1em 0;
  border-bottom: 1px solid #e6e6e6;
}

.campaign-loop.campaign-grid {
  margin: 0 0 1em 0;
  padding: 0;
  *zoom: 1;
}

.campaign-loop.campaign-grid:before,
.campaign-loop.campaign-grid:after {
  // content: " ";
  // display: table;
}

.campaign-loop.campaign-grid:after {
  clear: both;
}

.campaign-loop.campaign-grid .wp-post-image {
  max-width: 100%;
  width: 100%;
}

.campaign-loop.campaign-grid li.campaign,
.campaign-loop.campaign-grid .campaign.hentry {
  list-style: none;
  float: left;
  margin: 0 2% 1em 0;
  padding: 1em;
  border: 1px solid #e6e6e6;
}

.campaign-loop.campaign-grid .campaign-donation {
  text-align: center;
}

.campaign-grid.masonry {
  -moz-column-gap: 1em;
  -webkit-column-gap: 1em;
  column-gap: 1em;
}

.campaign-grid.masonry li.campaign,
.campaign-grid.masonry .campaign.hentry {
  display: inline-block;
  margin: 0 0 1em;
  width: 100%;
  float: none;
}

.campaign-grid-2 li.campaign,
.campaign-grid-2 .campaign.hentry {
  // width: 49%;
}

.campaign-grid-2 li.campaign:nth-child(2n+2),
.campaign-grid-2 .campaign.hentry:nth-child(2n+2) {
  margin-right: 0;
}

.campaign-grid-2.masonry {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
}

.campaign-grid-3 li.campaign,
.campaign-grid-3 .campaign.hentry {
  // width: 32%;
}

.campaign-grid-3 li.campaign:nth-child(3n+3),
.campaign-grid-3 .campaign.hentry:nth-child(3n+3) {
  margin-right: 0;
}

.campaign-grid-3.masonry {
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-count: 3;
}

.campaign-grid-4 li.campaign,
.campaign-grid-4 .campaign.hentry {
  // width: 23.5%;
}

.campaign-grid-4 li.campaign:nth-child(4n+4),
.campaign-grid-4 .campaign.hentry:nth-child(4n+4) {
  margin-right: 0;
}

.campaign-grid-4.masonry {
  -moz-column-count: 4;
  -webkit-column-count: 4;
  column-count: 4;
}

/* Donors */
.donors-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.donors-list .donor {
  *zoom: 1;
  list-style: none;
  padding: 1em 0;
}

.donors-list .donor:before,
.donors-list .donor:after {
  content: " ";
  display: table;
}

.donors-list .donor:after {
  clear: both;
}

.donors-list .donor .avatar {
  margin: 0;
}

.donors-list .donor .donor-name {
  font-weight: bold;
}

.donors-list .donor .donor-name,
.donors-list .donor .donor-location,
.donors-list .donor .donor-donation-amount {
  margin: 0.5em 0 0 0;
}

.donors-list .donor>*:first-child {
  margin-top: 0;
}

.donors-list.donors-list-horizontal .donor {
  display: inline-block;
  padding: 0 20px 1em 0;
  width: 100px;
  vertical-align: top;
}

.donors-list.donors-list-vertical .donor {
  border-bottom: 1px solid #e6e6e6;
}

/* Widgets */
.widget.widget_charitable_campaigns_widget .campaigns {
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
}

.widget.widget_charitable_campaigns_widget .campaign {
  list-style: none;
  padding: 1em 0;
  border-bottom-color: #e6e6e6;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

.widget.widget_charitable_campaigns_widget .campaign .wp-post-image {
  padding: 0;
  margin: 0 0 0.5em 0;
}

.widget.widget_charitable_campaigns_widget .campaign .campaign-title {
  padding: 0;
  margin: 0 0 0.5em 0;
  font-size: inherit;
  font-weight: bolder;
}

.widget.widget_charitable_campaigns_widget .campaign .campaign-time-left {
  font-weight: normal;
}

/* Notices */
.charitable-notice {
  padding: 1em;
  margin-bottom: 1em;
  border: 1px solid;
}

.charitable-notice > ul {
  padding: 0;
  margin: 0;
  list-style: none;
  &.charitable-notice-errors {
    font-size: 1rem;
    line-height: 1rem;
    li {
      margin-bottom: 5px;
      &:last-child {
        margin-bottom: 0;
      }
      &:before {
        // svg warning icon.
        content: "\f534";
        font-family: "dashicons";
        height: 15px;
        color: orange;
        position: relative;
        top: 6px;
        font-size: 1.3rem;
        margin-right: 10px;
      }
    }
  }
}

.charitable-notice>ul li {
  padding: 0;
  border: none;
}

.charitable-notice a {
  text-decoration: underline;
}

/* modal donation */

.charitable-modal.charitable-modal-donation {
  width: 80%;
  max-width: 800px;
  padding: 1em;
  background-color: #fff;
  overflow-y: auto;
}

.charitable-modal.charitable-modal-donation .charitable-submit-field {
  margin-bottom: 0;
}

/*# sourceMappingURL=modal.css.map */


/* donation form templates */

.charitable-donation-form.charitable-template-standard {
  .charitable-fieldset {
    padding: 0;
    border: none;

    .charitable-form-header {
      font-size: 21px;
      line-height: 21px;
      font-weight: 800;
      margin-bottom: 10px;
    }
  }

  .charitable-fieldset {
    margin: 0 0 1em;
    padding: 1em 20px .5em !important;
    border: 1px solid #ebebeb;
  }

  .charitable-fieldset> :last-child,
  .charitable-fieldset-field-wrapper> :last-child {
    margin-bottom: 0;
  }

  .donation-amounts {
    &.has-suggested-amounts {
      margin-bottom: 0;
      grid-template-columns: 1fr 1fr;

      &.donation-amounts-count-3,
      &.donation-amounts-count-5 {
        li:last-child {
          grid-column: 1 / -1;
        }
      }

    }

    .donation-amount {
      margin: 5px;
    }

    li {
      text-align: center;

      span.description {
        font-size: 16px !important;
        line-height: 21px !important;
        font-weight: 500;
        display: block;
        margin: 5px auto;
      }
    }

    &.donation-suggested-amount {
      display: flex;
      flex-direction: row;
      margin-top: 5px !important;
      margin-bottom: 10px;
      padding: 5px;

      span.custom-donation-amount-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
      }

      li {
        display: flex;
        text-align: left;
        align-items: center;
        justify-content: space-between;
        background: white;
        border: 1px solid #ddd;
        border-radius: 0;
        padding: 4px 0;
        margin: 5px;

        label {
          width: 100%;
          margin-bottom: 10px;
          display: block;
        }

        input[type="text"] {
          border-width: .078rem;
          border-style: solid;
          border-radius: .25rem;
          padding: 0.8rem 10px;
          max-width: calc(100% - 4rem);
          background-color: #fff;
          color: #4d4d4d;
          font-size: 1rem;
          font-family: inherit;
          font-weight: 500;
          line-height: 1.2;
        }

        width: 100%;
        margin: 0;
      }
    }



  }

  #charitable-donor-fields {
    .charitable-form-header {
      padding: 0;
    }

    padding-top: 0;

    .charitable-form-fields {
      margin-top: 15px;
    }

    #charitable-user-fields {
      padding-left: 0;
      padding-right: 0;

      input,
      select {
        font-size: 16px;
        line-height: 16px;
      }

      input {
        border-width: .078rem;
        border-style: solid;
        border-radius: .25rem;
        padding: 0.8rem 1rem;
        background-color: #fff;
        color: #4d4d4d;
        font-size: 1rem;
        font-family: inherit;
        font-weight: 500;
        line-height: 1.2;
      }

      select {
        border-width: .078rem;
        border-style: solid;
        border-radius: .25rem;
        padding: 0.8rem 1rem;
        background-color: #fff;
        color: #4d4d4d;
        font-size: 1rem;
        font-family: inherit;
        font-weight: 500;
        line-height: 1.2;
      }

      .charitable-form-field {
        display: flex;
        flex-direction: column;

        label {
          font-size: 16px;
          line-height: 16px;
          font-weight: 500;
          margin-bottom: 10px;
        }

        input {
          width: auto;
        }
      }
    }
  }

  #charitable-gateway-fields {
    #charitable-gateway-selector-header {
      font-size: 16px;
      line-height: 16px;
      font-weight: 500;
      margin-bottom: 10px;
    }

    .charitable-form-field {
      margin-bottom: 5px;
    }

    #charitable-gateway-selector {
      margin-top: 5px;
      margin-bottom: 0px;

      li {
        margin-right: 15px;

        label {
          font-size: 16px;
          line-height: 16px;
          font-weight: 500;
        }

      }
    }

    #charitable-gateway-selector-header {
      display: none;
    }

    .charitable-gateway-fields.charitable-form-fields {
      .charitable-form-field {
        display: flex;
        flex-direction: column;
      }

      label {
        font-size: 16px;
        line-height: 16px;
        font-weight: 500;
        margin-top: 15px;
        margin-bottom: 10px;
        display: block;
      }

      input {
        width: auto;
        border-width: 0.078rem;
        border-style: solid;
        border-radius: 0.25rem;
        padding: 12.8px 16px;
        min-height: 25px;
        background-color: #fff;
        color: #4d4d4d;
        font-size: 1rem;
        font-family: inherit;
        font-weight: 500;
        line-height: 1.2;
      }
    }
    #charitable_stripe_card_field {
      width: auto;
      border-width: .078rem;
      border-style: solid;
      border-radius: .25rem;
      padding: 0.8rem 1rem;
      min-height: 30px;
      background-color: #fff;
      color: #4d4d4d;
      font-size: 1rem;
      font-family: inherit;
      font-weight: 500;
      line-height: 1.2;
      // padding-top: 22px !important;
      // padding-bottom: 3px;
      display: grid;
      align-items: center;
    }
  }

}

.charitable-donation-form.charitable-template-minimal {
  .charitable-fieldset {
    padding: 0;
    border: none;

    .charitable-form-header {
      font-size: 21px;
      line-height: 21px;
      font-weight: 800;
      margin-bottom: 10px;
    }
  }

  .charitable-fieldset> :last-child,
  .charitable-fieldset-field-wrapper> :last-child {
    margin-bottom: 0;
  }

  .donation-amounts {
    &.has-suggested-amounts {
      margin-bottom: 0;

      &.donation-amounts-count-1 {
        grid-template-columns: 1fr;
      }

      &.donation-amounts-count-2 {
        grid-template-columns: 1fr 1fr;

        .donation-amount {
          margin: 5px;

          &:first-child {
            margin-left: 0;
          }

          &:last-child {
            margin-right: 0;
          }
        }
      }

      &.donation-amounts-count-3 {
        grid-template-columns: 1fr 1fr 1fr;

        .donation-amount {
          margin: 5px;

          &:first-child {
            margin-left: 0;
          }

          &:last-child {
            margin-right: 0;
          }
        }
      }

      &.donation-amounts-count-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;

        .donation-amount {
          margin: 5px;

          &:first-child {
            margin-left: 0;
          }

          &:last-child {
            margin-right: 0;
          }
        }
      }

      &.donation-amounts-count-5 {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;

        .donation-amount {
          margin: 5px;

          &:first-child {
            margin-left: 0;
          }

          &:last-child {
            margin-right: 0;
          }
        }
      }

      &.donation-amounts-count-6 {
        .donation-amount {
          margin: 5px;
        }

        grid-template-columns: 1fr 1fr 1fr;
      }

      &.donation-amounts-count-7,
      &.donation-amounts-count-8 {
        .donation-amount {
          margin: 5px;
        }

        grid-template-columns: 1fr 1fr 1fr 1fr;
      }
    }

    .donation-amount {
      margin: 5px;

      &:first-child {
        margin-left: 0;
      }

      &:last-child {
        margin-right: 0;
      }
    }

    li {
      text-align: center;

      span.description {
        font-size: 16px !important;
        line-height: 21px !important;
        font-weight: 500;
        display: block;
        margin: 5px auto;
      }
    }

    &.donation-suggested-amount {
      display: flex;
      flex-direction: row;
      margin-top: 5px !important;

      span.custom-donation-amount-wrapper {
        display: block;
        width: 100%;
      }

      li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: white;
        border: solid 1px #8c8c8c;
        border-radius: 4px;
        padding: 4px 0;

        label {
          width: 100%;
          display: none;
        }

        input[type="text"] {
          height: fit-content;
          background-color: #fff;
          font-size: var(--givewp-font-size-headline-md);
          font-weight: normal;
          line-height: 1.5;
          color: #bababa;
          border: none;
          outline: none;
          box-shadow: none;
          width: 100%;
          text-align: center;
          padding: 0;
          min-height: 45px;
        }
        width: 100%;
        margin: 0;
      }
    }
  }

  .charitable-custom-donation-field-alone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: solid 1px #8c8c8c;
    border-radius: 4px;
    padding: 4px 0;

    label {
      width: 100%;
      display: none;
    }

    input[type="text"] {
      height: fit-content;
      background-color: #fff;
      font-size: var(--givewp-font-size-headline-md);
      font-weight: normal;
      line-height: 1.5;
      color: #bababa;
      border: none;
      outline: none;
      box-shadow: none;
      width: 100%;
      text-align: center;
      padding: 0;
    }

    width: 100%;
    margin: 0;
  }

  #charitable-donor-fields {
    .charitable-form-header {
      padding: 0;
    }

    padding-top: 0;

    .charitable-form-fields {
      margin-top: 15px;
    }

    #charitable-user-fields {
      padding-left: 0;
      padding-right: 0;

      input,
      select {
        font-size: 16px;
        line-height: 16px;
      }

      input {
        border-width: .078rem;
        border-style: solid;
        border-radius: .25rem;
        padding: 0.8rem 1rem;
        background-color: #fff;
        color: #4d4d4d;
        font-size: inherit;
        font-family: inherit;
        font-weight: 500;
        line-height: 1.2;
        min-height: 18px;
      }

      select {
        border-width: .078rem;
        border-style: solid;
        border-radius: .25rem;
        padding: 0.5rem 1rem;
        min-height: 40px;
        background-color: #fff;
        color: #4d4d4d;
        font-size: inherit;
        font-family: inherit;
        font-weight: 500;
        line-height: 1.2;
      }

      .charitable-form-field {
        display: flex;
        flex-direction: column;

        label {
          font-size: 16px;
          line-height: 16px;
          font-weight: 500;
          margin-bottom: 10px;
        }

        input {
          width: auto;
        }
      }

      .charitable-form-group {
        &.charitable-form-group-number-1 {
          display: flex;
          flex-direction: row;
          justify-content: stretch;
          align-content: center;
          width: 100%;
          gap: 15px;
          flex-wrap: wrap;

          #charitable_field_title {}

          div#charitable_field_first_name,
          div#charitable_field_last_name,
          div#charitable_field_email {
            flex: 1;
          }

          input {}
        }
      }
    }
  }

  #charitable-gateway-fields {
    #charitable-gateway-selector-header {
      font-size: 16px;
      line-height: 16px;
      font-weight: 500;
      margin-bottom: 10px;
    }

    .charitable-form-field {
      margin-bottom: 5px;
    }

    #charitable-gateway-selector {
      margin-top: 5px;
      margin-bottom: 0px;

      li {
        margin-right: 5px;

        input[type="radio"] {
          display: none;
        }

        label {
          display: inline-block;
          position: relative;
          font-size: 16px;
          line-height: 16px;
          font-weight: 500;
          padding: 10px 20px;
          margin-right: -1px;
          /* Overlap bordering */
          border: 1px solid #ccc;
          cursor: pointer;
          background-color: #f1f1f1;
          opacity: .55;
        }

        input[type="radio"]:checked+label {
          background-color: #fff;
          color: #000;
          font-weight: bold;
          opacity: 1;
          padding-left: 35px;
        }

        /* Add checkmark icon when checked */
        input[type="radio"]:checked+label::before {
          content: "\f15e";
          font-size: 22px;
          font-family: 'dashicons';
          font-weight: 900;
          position: absolute;
          left: 10px;
          top: 50%;
          transform: translateY(-50%);
          color: green;
        }

        // label {
        //     font-size: 16px;
        //     line-height: 16px;
        //     font-weight: 500;

        // }
      }
    }

    #charitable-gateway-selector-header {
      display: none;
    }

    .charitable-gateway-fields.charitable-form-fields {
      padding: 10px 10px;

      .charitable-form-field {
        display: flex;
        flex-direction: column;
      }

      label {
        font-size: 16px;
        line-height: 16px;
        font-weight: 500;
        margin-top: 15px;
        margin-bottom: 10px;
        display: block;
      }

      input {
        width: auto;
        border-width: .078rem;
        border-style: solid;
        border-radius: .25rem;
        padding: 0.8rem 1rem;
        background-color: #fff;
        color: #4d4d4d;
        font-size: inherit;
        font-family: inherit;
        font-weight: 500;
        line-height: 1.2;
      }
    }
  }

  .donate-button {
    width: 100%;
  }

  .charitable-notice {
    padding: 5px 10px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 600;

    li {
      margin: 10px 0;
    }
  }
}

// mobile styles for under 700px wide //
@media screen and (max-width: 700px) {
  .charitable-donation-form.charitable-template-minimal {
    #charitable-donor-fields #charitable-user-fields {
      .charitable-form-group.charitable-form-group-number-1 {
        flex-direction: column;
      }
    }
    .donation-amounts.has-suggested-amounts.donation-amounts-count-1,
    .donation-amounts.has-suggested-amounts.donation-amounts-count-2,
    .donation-amounts.has-suggested-amounts.donation-amounts-count-3,
    .donation-amounts.has-suggested-amounts.donation-amounts-count-5,
    .donation-amounts.has-suggested-amounts.donation-amounts-count-7,
    .donation-amounts.has-suggested-amounts.donation-amounts-count-8,
    .donation-amounts.has-suggested-amounts.donation-amounts-count-9,
    .donation-amounts.has-suggested-amounts.donation-amounts-count-10 {
      grid-template-columns: 1fr;
    }
    .donation-amounts.has-suggested-amounts.donation-amounts-count-4,
    .donation-amounts.has-suggested-amounts.donation-amounts-count-6{
      grid-template-columns: 1fr 1fr;
    }
  }
}


#charitable-gateway-fields-stripe {
  &.charitable-cc-fields-multiple {
    display: grid;
    grid-template-columns: 75% 25%;
    grid-template-rows: auto auto; /* This creates the equivalent of a 2x2 grid */
    gap: 10px; /* Optional: Sets the gap between grid items */

    > div.charitable_stripe_multiple_field:nth-child(even), /* Target every odd div (1st, 3rd, 5th, etc.) */
    > div:first-child {

      input {
        font-family: sans-serif !important;
        font-size: 16px !important;
        padding: 15px 10px !important;
        min-height: 15px !important;
        font-weight: 500 !important;
      }
    }

    > div.charitable_stripe_multiple_field:nth-child(odd) { /* Target every even div (2nd, 4th, 6th, etc.) */

    }

    > div {
      > div,
      input {
        width: auto !important;
        border-width: .078rem  !important;
        border-style: solid  !important;
        border-radius: .25rem  !important;
        padding: 15px 10px !important;
        background-color: #fff  !important;
        color: #4d4d4d  !important;
        font-size: 1rem  !important;
        font-family: inherit  !important;
        font-weight: 500  !important;
        line-height: 1.2  !important;
        min-height: 15px;
        font-size: 16px !important;
      }
    }
  }
}


#google-pay-button {
  min-height: 40px; /* Minimum height for the button */
  margin: 10px 0;
  button {
    width: 100%;
  }
}

.charitable-privacy-policy-text {
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
}

#charitable-square-wallet-buttons {
  display: flex;
  flex-direction: row;
  gap: 0px;
  margin: 0;
}

/* When empty, hide the container */
#charitable-square-wallet-buttons:empty {
  display: none;
}

/* All direct child divs */
#charitable-square-wallet-buttons > div {
  flex: 1;  /* This makes divs share space equally */
}

/* When exactly one div child */
#charitable-square-wallet-buttons > div:only-child {
  width: 100%;
}

/* When exactly two div children */
#charitable-square-wallet-buttons > div:first-child:nth-last-child(2),
#charitable-square-wallet-buttons > div:first-child:nth-last-child(2) ~ div {
  width: 50%;
}


#google-pay-button,
#apple-pay-button {
  min-height: 40px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  width: 100%;
  /* border: 1px solid #ddd; */
}

#google-pay-button:before,
#apple-pay-button:before {
  content: "Google Pay";
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#apple-pay-button:before {
  content: "Apple Pay";
}

.wallet-enabled #google-pay-button:before,
.wallet-enabled #apple-pay-button:before {
  display: none;
}

#charitable-square-wallet-separator {
  text-align: center;
  width: 100%;
  display: block;
  margin: 0;
  font-size: 14px;
  color: #666;
  position: relative;
}

#charitable-square-wallet-separator:before,
#charitable-square-wallet-separator:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 33%;
  height: 1px;
  background: #ddd;
}

#charitable-square-wallet-separator:before {
  left: 0;
}

#charitable-square-wallet-separator:after {
  right: 0;
}

#charitable-square-card-payment-fields {
  border: 0;
  margin: 0;
  padding: 0;
  &.no-wallets {
    padding: 0;
    border: none;
  }
}