#bdp-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999998;

  background: #000;
  opacity: 0.3;
}

  #bdp-overlay.loading {
    background: #000 url('../images/loading.gif') no-repeat center center;
  }


  #bdp-reminder {
    display: none;

    position: fixed;
    bottom: 1rem;
    left: 50%;
    z-index: 999;

    width: 12rem;
    margin-left: -6rem;
    padding: 0.25rem 0;

    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.5rem;
    text-transform: uppercase;

    color: #fff;
    background-color: #ac2b37;
    box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );

    cursor: pointer;
  }

.bfc-donate-popup {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999999;

  width: 34vw;
  margin-top: 0;
  margin-left: -17vw;
  padding: 30px 0;

  color: #7f6d5f;
  background: #fff;
  box-shadow: 0 0 10px #555;
}
  .bfc-donate-popup.short {
    overflow-y: scroll;
  }

  .bfc-donate-popup strong { font-weight: bold; }

  .bfc-donate-popup .button {
    cursor: pointer;
  }

  .bfc-donate-popup > .bdp-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;

    background: url('../images/loading.gif') no-repeat scroll center center #000;

    opacity: 0.4;
  }

  .bfc-donate-popup > .bdp-shim { width: 100%; }

  .bfc-donate-popup header {
    margin-bottom: 24px;
  }

    .bdp-description {
      margin: 1em 0 0;
      padding: 1.5rem;

      font-size: 1.25rem;
      font-family: 'Roboto Slab';
      line-height: 1.4rem;
      text-align:center;

      color: #fff;
      background: #03354c;
    }

      .bdp-description span[data-bdp-live="amount"] { font-weight: bold; }

  .bfc-donate-popup .bdp-errors {
    display: none;

    color: #fff;
    background: #bb444b;
  }

    .bdp-errors h3 {
      font-size: 18px !important;
    }

    .bdp-errors ul {
      margin: 1em 0 0;
      padding: 1.5rem;

      list-style: none;

      font-family: 'Roboto Slab';
      font-size: 1.25rem;
      line-height: 1.4rem;
      text-align: center;
    }

  .bfc-donate-popup .bdp-message {
    display: none;
    margin: 1em 0 0;
    padding: 1.5rem;

    font-size: 13px;
    line-height: 17px;
    text-align: center;

    color: #fff;
    background: #55aa55;
  }

  .bfc-donate-popup.has-messages .bdp-message { display: block; }
  .bfc-donate-popup.has-messages .bdp-description { display: none; } 

  .bfc-donate-popup.has-errors .bdp-errors { display: block; }
  .bfc-donate-popup.has-errors .bdp-description { display: none; } 


  div.bdp-close {
    display: block;
    position: absolute;
    top: -10px;
    right: -10px;

    width: 40px;
    height: 40px;
    padding-left: 0;

    font-family: 'Roboto Condensed';
    font-size: 1.2rem;
    line-height: 40px;
    text-align: center;

    color: #fff;
    background: #03354c;
    border-radius: 20px;

    cursor: pointer;
  }
  a.bdp-close { display: block; }

  .bdp-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;

    font-size: 0;
    line-height: 0;
    text-align: center;
    text-indent: -9999px;

    overflow: hidden;

    background-image: url(/wp-content/uploads/2022/06/Ethnos-Canada-no-tagline-e1654527821983.png);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .bfc-donate-popup .icon {
    float: left;
    display: block;

    width: 14px;
    height: 11px;
    margin: 11px 8px 0;

    background-image: url('images/bfc-donor-form-icons.png');
    background-repeat: no-repeat;
  }

  .bdp-inner { margin: 0 36px; }

  .bdp-password-reset {
    float: right;
    font-size: 10px;

    color: #0000ff;
  }

  .bdp-field-withdrawl,
  .bdp-field-amount, .bdp-field-instructions,
  .bdp-field-reg-fname, .bdp-field-reg-lname, 
  .bdp-field-username, .bdp-field-password, 
  .bdp-field-reg-email,
  .bdp-field-email, .bdp-field-card, 
  .bdp-field-company,
  .bdp-field-expiry, .bdp-field-cvc,
  .bdp-field-address, .bdp-field-address2,
  .bdp-field-city, .bdp-field-province,
  .bdp-field-postal, .bdp-field-country,
  .bdp-field-firstname, .bdp-field-lastname {
    box-sizing: border-box;
  }
    .bdp-field-username input, .bdp-field-password input { width: 95%; }
    .bdp-field-type { margin: 0 0 18px; }
      .bdp-field-type select { width: 95%; }
    .bdp-field-withdrawl { margin: 0 0 18px; }
      .bdp-field-withdrawl select { width: 95%; }

    .bdp-field-instructions { margin-top: 18px; height: auto; }
    .bdp-field-card { border-bottom: 0; }

  .bdp-field-type {
    padding-left: 0 !important;

    font-size: 1.15em;
    line-height: 1.5em;
  }

  .bdp-field-username, .bdp-field-password,
  .bdp-field-reg-email,
  .bdp-field-reg-fname, .bdp-field-reg-lname {
    margin-bottom: 18px;
  }

  .bdp-field-country-confirm {
    padding: 12px;
    margin-top: 18px;
    border: 2px solid #bb444b;
  }

  .bdp-field-email {
    display: block;
    width: 100%;

    border-bottom: 0;
  }
    .bdp-field-email input { width: 190px; }


  .bdp-field-card {
    display: block;
    width: 100%;

    border-bottom: 0;
  }
    .bdp-field-card input { width: 150px; }
    .bdp-field-card .icon { background-position: 0 -11px; }


  .bdp-field-company {
    margin-bottom: 18px;
    border-top: 0;
  }

  .bdp-field-account {
    margin-bottom: 18px;

    font-size: 13px;
    line-height: 15px;
  }

  .bdp-field-anonymous {
    margin-top: 9px;
    margin-bottom: 18px;

    font-size: 13px;
    line-height: 15px;
  }


  .bdp-recurring-message {
    display: none;
    margin: -5px 0 10px;

    font-size: 11px;
    line-height: 14px;
  }
    .bdp-recurring-message .bdp-message {
      margin: 12px 10px 0;
      text-align: center;
    }

    .button.bdp-toggle {
      margin: 0 5px;
      padding-left: 10px;
      padding-right: 10px;

      font-size: 13px;
      line-height: 13px;
      text-align: center;
      text-transform: uppercase;

      cursor: pointer;

      opacity: 0.5;
    }

    .button.bdp-toggle-active {
      font-weight: bold;
      opacity: 1;
    }


  .bdp-field-add-percentage {
    margin-top: 18px;

    font-size: 13px;
    line-height: 15px;
  }

  .bdp-field-address {
    background-image: none;
  }
    .bdp-field-address input { width: 200px; }
    .bdp-field-address .icon { background-image: none; }


  .bdp-field-address2 {
    border-top: 0;
    border-bottom: 0;
  }
    .bdp-field-address2 input { width: 200px; }
    .bdp-field-address2 .icon { background-image: none; }


  .bdp-field-city {
    border-bottom: 0;
  }
    .bdp-field-city input { width: 200px; }
    .bdp-field-city .icon { background-image: none; }


  .bdp-field {
    position: relative;
    margin-bottom: 0.75rem;
  }

    .bdp-field .status {
      position: absolute;
      top: 11px;
      right: 6px;

      display: none;
      width: 12px;
      height: 12px;

      border-radius: 6px;
    }
      .bdp-field .status.status-success { display: none; background: #0f0; }
      .bdp-field .status.status-failed { display: block; background: #03354c; }


  .bfc-donate-popup .icon-shim {
  }

  .bfc-donate-popup input,
  .bfc-donate-popup select,
  .bfc-donate-popup textarea {
    width: 100%;

    margin-bottom: 0;

    text-align: left;
    text-transform: none;

    outline: none;
  }

    .bfc-donate-popup input:focus,
    .bfc-donate-popup select:focus,
    .bfc-donate-popup textarea:focus {
      border: 0;
      outline: none;
    }

    .bfc-donate-popup input,
    .bfc-donate-popup textarea {
      padding: 11.5px 18px;
      color: #333 !important;
    }
    .bfc-donate-popup select {
      color: #333 !important;
    }
  
    .bfc-donate-popup select {
      padding: 18px 6px 18px 18px;

      border: 0;
    }


.bfc-donate-popup .ethnos-btn {
  display: block;
}
  .bfc-donate-popup .bdp-cart-remove {
    border: 0 !important;
  }
  .bfc-donate-popup .bdp-cart-continue-options {
    margin-top: 8px;
  }
  .bfc-donate-popup .ethnos-btn.bdp-payment-btn {
    margin-top: -0.5rem;
  }
.bfc-donate-popup .ethnos-btn:not(.is-style-outline) {
  color: #fff;
  background-color: #ac2b37;
}

.bfc-donate-btn,
.bfc-donate-search-generic {
}
  .has-ethnos-lt-gray-background-color .bfc-donate-btn {
    color: #fff;
    background-color: #ac2b37;
  }
    .has-ethnos-lt-gray-background-color .bfc-donate-btn:hover {
      background-color: #223843;
    }

  .bdp-next-btn, .bdp-pay {
    display: block;
    margin-top: 25px;
    
    text-align: center;
  }

  .bdp-pay.disabled,
  .bdp-review.disabled {
    opacity: 0.25;
  }

  .bdp-next-btn, .bdp-continue {
    display: block;
    margin-top: 8px;

    text-align: center;
  }

  .bdp-cart-btn,
  .bdp-prev-btn,
  .bdp-billing-btn {
    margin-top: 10px;

    font-size: 11px;
    line-height: 11px;
    text-align: center;

    color: #000;

    cursor: pointer;
  }

    .bdp-billing-btn {
      display: block;
      font-size: 14px;

      color: #8b141b;
    }


  .bdp-step {
    font-size: 13px;
    line-height: 19px;

    color: #333;
  }

    .bdp-step-3 label, .bdp-step-4 label, {
      font-family: Roboto, Arial, Helvetica, sans-serif;
      font-weight: bold;
      font-size: 14px;
    }
  
    .bdp-step p {
      margin: 0 0 1rem 0 !important;
    }

  .bdp-preset-description {
    margin-bottom: 2em;

    font-size: 13px;
    line-height: 19px;

    color: #333;
  }
    .bdp-preset-description h2,
    .bdp-preset-description h3,
    .bdp-preset-description h4 {
      color: #03354c !important;
    }

.bdp-register-info {
  margin-top: 18px;
  font-size: 12px;
}

.bfc-donate-general,
.bfc-donate-search {
  text-align: center;
}
  .bfc-donate-field-amount {
    margin: 15px 0;
  }

  .bfc-donate-amount,
  .bfc-donate-find-post {
    width: 50%;
    background: #fff;
  }


  .bfc-donate-search .bfc-donate-field-search {
    position: relative;
  }

  .bfc-donate-search .bfc-donate-field-results {
    display: none; 
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 100;

    min-width: 350px;

    color: #333;
    background: #fff;
    box-shadow: 0 10px 10px rgb(0 0 0 / 20%);
  }

  .bfc-donate-search-alt {
    padding: 40px;
    margin-left: 50%;
  }
    .bfc-donate-search-alt .mobile {
      display: none;
    }

    .bfc-donate-field-results-ctr {
      max-height: 520px;
      overflow-y: auto;
      width: 100%;
    }

    .bfc-donate-field-results-ctr > ul {
      margin: 0;
      padding: 0;

      list-style: none;
    }

    .bfc-donate-field-results .result {
      position: relative;

      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;

      padding: 1.6rem 0;
      margin: 0 1rem;

      border-top: 2px solid #03354c;
    }

      .bfc-donate-field-results .result:first-child { border-top: 0; }
    
      .bfc-donate-field-results .result:hover {
        cursor: pointer;
      }

      .bfc-donate-field-results .result-thumb { 
        min-width: 75px;
        height: 75px;

        background-color: #eee;
        overflow: hidden;
      }

      .bfc-donate-field-results .result-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;

        height: 100%;
      }

        .bfc-donate-field-results .result h4 {
          margin-top: 0;
          margin-bottom: 0.25rem;

          font-size: 18px;
          font-weight: normal;
          line-height: 21px;
          text-align: left;

          color: #03354c;
        }

        .bfc-donate-field-results .result .button {
          position: absolute;
          bottom: 15px;
          width: 155px;
        }


    .bdp-cart-empty {
      display: none;
    }

    .bfc-cart {
      margin: 12px 0;
      padding: 0;

      list-style: none;
    }

      .bfc-cart li {
        display: grid;
        grid-template-columns: 75% 25%;

        padding: 10px 0;

        font-size: 14px;
        line-height: 18px;

        border-bottom: 1px solid #ddd;
      }

        .bfc-cart li span {
          display: block;
        }

        .bfc-cart .bdp-cart-product { 
          font-weight: bold;
        }

        .bfc-cart .bdp-cart-period { 
          clear: left;
          font-size: 12px;
        }

        .bfc-cart .bdp-cart-amount {
        }
          .bfc-cart .bdp-cart-value {
            width: 100%;
            padding: 7px;

            text-align: center;

            border: 1px solid #ddd;
          }
            .bfc-cart .bdp-cart-value:focus {
              border: 1px solid #ddd;
            }

          .bfc-cart .bdp-cart-remove {
            display: block;
            margin-top: 8px;

            font-size: 14px;
            line-height: 16px;
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;
          }

        .bfc-cart .bdp-cart-campaign { clear: left; }

        .bdp-cart-totals {
          margin: 1.5rem 0 1rem;
            
          font-size: 24px;
          line-height: 1.5;
          font-weight: bold;
          text-align: right;
        }
        
          .bdp-cart-totals span { font-weight: normal; }

        .bdp-cart-controls {
          display: flex;
          flex-direction: column;
          flex-wrap: wrap;
          gap: 1rem;
        }
          .bdp-cart-controls > * {
            flex-grow: 1;
          }

          .bdp-cart-continue-options {
            display: flex;
            flex-direction: row;
            gap: 0.5rem;
            justify-content: space-between;

            margin-top: -1rem;

            line-height: 1em;
          }
            .bdp-cart-continue-options > .ethnos-btn.btn {
              flex-grow: 1;
              padding: 8px;
            }

        .bdp-cart-custom-text {
          margin-top: 18px;

          font-size: 11px;
          line-height: 1.2em;
          text-align: center;
        }

    .bfc-donate-popup .bdp-panel-cart { margin-bottom: 50px; }
    .bfc-donate-popup .bdp-panel-billing { margin-bottom: 50px; }
      .bfc-donate-popup .bdp-panel-billing-anon { margin: 18px 0; }


    .bdp-field-sideby {
      display: flex;
      gap: 12px;
    }
      .bdp-field-sideby > * {
        flex-grow: 1;
      }

.clearfix:before,
.clearfix:after {
  content: ".";    
  display: block;    
  height: 0;    
  overflow: hidden; 
}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;} /* IE < 8 */



.bfc-donate-find-ctr {
  position: relative;
  margin: 0 auto;
}

  .bfc-donate-find-ctr .bfc-donate-find-post {
    width: 90% !important; /* formerly 100% changed by NEEnns Aug 18, 2023 */
    background-color: lightgrey; /*formerly white changed by NEEnns Aug 18, 2023 */
  }

.bfc-donate-find-wait {
  display: none;
  position: absolute;
  top: 8px;
  right: 10px;

  width: 15px;
  height: 15px;

  background: url('../images/input-ajax-loader.gif') no-repeat;
  
  opacity: 0.5;
}


@media screen and (min-width: 600px) {
  .bfc-donate-popup {
    position: fixed;
    top: 50%;
  }

    .bfc-donate-popup.step-5 { width: 66vw; margin-left: -33vw; }
    .bfc-donate-popup.step-5 > .bdp-shim { width: 100%; }
    .bfc-donate-popup .bdp-step-5 { position: relative; }

    .bfc-donate-popup .bdp-panel-cart { display: none; }
    .bfc-donate-popup .bdp-panel-cart .bfc-cart { margin-top: 0; }
    .bfc-donate-popup .bdp-panel-cart .bdp-cart-amount { text-align: right; }
    .bfc-donate-popup .bdp-panel-cart .bdp-cart-processing-fees { display: none; }
    .bfc-donate-popup .bdp-panel-cart .bdp-cart-totals span {
      display: inline-block;
    }
    .bfc-donate-popup .bdp-review { margin-top: 18px; }

    .bfc-donate-popup .bdp-panel-cart,
    .bfc-donate-popup .bdp-panel-billing {
      width: 47%;
      margin-bottom: 0;
    }
    .bfc-donate-popup .bdp-panel-billing-anon {
      display: none;
      margin-top: 9px;
      margin-bottom: 0;

      font-size: 11px;
      text-align: center;
      font-style: italic;
    }

    .bfc-donate-popup .bdp-panel-payment { 
      position: absolute;
      right: 0;
      top: 0;

      width: 47%;
    }
}

.bfc-donor-login-error {
  padding: 5px 10px;

  font-size: 14px;

  background: #fff0f0;
  border: 1px solid #cb545b;
}

.bfc-donor-login-message {
  padding: 5px 10px;

  font-size: 14px;

  background: #f0fff0;
}

.bfc-donate-search .bfc-donate-field-search .bfc-donate-search-close { display: none; }

.bfc-donate.center {
  text-align: center;
}

@media screen and (max-width:1199px) {
  .bfc-donate-popup {
    position: fixed;
    width: 50vw;
    margin-left: -25vw;
  }

  .bfc-donate-popup .bdp-close {
    top: 0;
    right: 0;
    border-radius: 0 0 0 20px;
  }

  .bdp-cart-controls {
    display: block;
  }
    .bdp-cart-controls > a {
      display: block;
    }

    .bdp-cart-continue-options {
      margin-top: 0;
    }
}

@media screen and (max-width:991px) {
  .bfc-donate-popup {
    position: fixed;
    width: 74vw;
    margin-left: -36vw;
  }

  .bfc-donate-popup .bdp-close {
    top: 0;
    right: 0;
    border-radius: 0 0 0 20px;
  }

  .bdp-cart-controls {
    display: block;
  }
    .bdp-cart-controls > a {
      display: block;
    }

    .bdp-cart-continue-options {
      margin-top: 0;
    }
}

@media screen and (max-width:599px) {
  /*
  #bdp-reminder {
    display: none !important;
  }
  */

  .bfc-donate-popup {
    width: 94vw;
    margin-left: -46vw;
  }

  .bfc-donate-search .bfc-donate-field-search.searching {
    position: fixed;
    top: 90px; /* formerly 140px changed by NEEnns Aug 18, 2023 */
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;

    width: auto;
    padding: 20px;
    margin-left: 0;

    background: #fff;
  }
    .bfc-donate-search .bfc-donate-field-search.searching .bfc-donate-search-close {
      display: block;
      position: absolute;
      top: 0;
      right: 0;

      width: 40px;
      height: 40px;

      font-weight: bold;
      line-height: 40px;
    }
      .bfc-donate-search .bfc-donate-search-close:before {
        content: 'X';

        width: 40px;
        height: 40px;

        line-height: 40px;
        text-align: center;
      }

  .bfc-donate-search .bfc-donate-field-results {
    position: static;
    width: 100%;
    height: 100%;
    margin-top: 20px;
    margin-left: 0;

    box-shadow: none;
  }

  .bfc-donate-search .bfc-donate-field-results .bfc-donate-field-results-ctr {
    float: none;
    width: 100%;
    max-height: 60%;

    border-bottom: 1px solid #888;
  }

  .bfc-donate-search .bfc-donate-field-results .bfc-donate-search-alt {
    margin-left: 0;
    padding: 20px;
  }

  .bfc-donate-search .bfc-donate-field-results .bfc-donate-search-alt .desktop { display: none; }
  .bfc-donate-search .bfc-donate-field-results .bfc-donate-search-alt .mobile { display: block; font-size: 12px; }


  .bdp-cart-continue-options {
    margin-top: 0;
  }
    .bdp-cart-continue-options > .ethnos-btn.btn {
      padding: 8px 16px;
      font-size: 0.7rem;
    }
}

@media screen and (max-width:375px) {
    .bdp-cart-continue-options > .ethnos-btn.btn {
      padding: 8px 10px;
      font-size: 0.65rem;
    }
}
