.bf-product-designation { margin-bottom: 0.25em; }
  .bf-product-designation + .bf-product-user-prices { margin-top: 0; }

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

  background: #000;
  opacity: 0.3;
}

  #bf-payment-overlay.loading {
    background: #000 url('../../loading.svg') no-repeat center center;
  }

#bf-payment-cart-open {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;

  width: 50px;
  height: 50px;

  text-align: center;

  color: #fff;
  background: #333;
  border-radius: 25px;
  opacity: 0.75;

  cursor: pointer;
}
  #bf-payment-cart-open:hover {
    opacity: 1;
  }

  #bf-payment-cart-open i.fa:before {
    font-size: 25px;
    line-height: 50px;
  }

.bf-payment-btn-loading {
  height: 30px;

  background: url('../../loading.svg') no-repeat center center;
  background-size: contain;
}


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

  width: 300px;
  height: 585px;
  margin-top: 0;
  margin-left: -150px;
  padding: 30px 0;

  color: #7f6d5f;
  background: #fff;
  box-shadow: 0 0 10px #555;
}
  .bf-payment-popup footer {
    margin: 1em 0 0;

    font-size: 12px;
    line-height: 14px;
    text-align: center;
  }

  .bf-payment-popup .button {
    cursor: pointer;
  }

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

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

    opacity: 0.4;
  }

  .bf-payment-popup > .bf-payment-shim { width: 300px; }

  .bf-payment-popup header {
    margin-bottom: 24px;
  }

    .bf-payment-description {
      margin: 1em 0 0;
      padding: 10px 1em;

      text-align:center;
    }

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

  .bf-payment-popup .bf-payment-errors {
    display: none;

    color: #fff;
    background: #bb444b;
  }

    .bf-payment-errors h3 {
      font-size: 18px !important;
    }
    .bf-payment-errors a {
      color: #fff;
    }

    .bf-payment-errors ul {
      margin: 1em 0 0;
      padding: 10px 1em;

      list-style: none;

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

  .bf-payment-popup .bf-payment-message {
    display: none;
    margin: 1em 0 0;
    padding: 10px 1em;

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

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

  .bf-payment-popup.has-messages .bf-payment-message { display: block; }
  .bf-payment-popup.has-messages .bf-payment-description { display: none; } 

  .bf-payment-popup.has-errors .bf-payment-errors { display: block; }
  .bf-payment-popup.has-errors .bf-payment-description { display: none; } 


  div.bf-payment-close {
    display: block;
    position: absolute;
    top: 11px;
    left: 11px;

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

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

    color: #fff;
    background: #aaa;
    border-radius: 9px;

    cursor: pointer;
  }
  a.bf-payment-close,
  a.bf-payment-close:hover,
  a.bf-payment-close:focus,
  a.bf-payment-close:active {
    display: block !important;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }
  
  #bf-payment-cart .button,
  #bf-payment-cart .button-secondary {
    display: block !important;
  }

  .bf-payment-logo {
    width: 80%;
    height: 46px;
    margin: 0 auto 15px;

    font-size: 15px;
    line-height: 18px;
    font-weight: bold;

    text-align: center;

    overflow: hidden;
  }

  .bf-payment-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;
  }

  .bf-payment-inner { margin: 0 36px; }

  .bf-payment-method-fields {
    display: none;
    margin-bottom: 12px;
  }

  .bf-payment-method-fields > .bf-payment-field,
  .bf-payment-field-type, .bf-payment-field-withdrawl,
  .bf-payment-field-custom_withdrawal_date,
  .bf-payment-field-quantity,
  .bf-payment-field-amount, .bf-payment-field-instructions,
  .bf-payment-field-discount-code,
  .bf-payment-field-email, .bf-payment-field-card, 
  .bf-payment-field-company,
  .bf-payment-field-phone, .bf-payment-field-in-memory-of,
  .bf-payment-field-attribute-to,
  .bf-payment-field-friend-send, .bf-payment-field-friend-name,
  .bf-payment-field-friend-email, .bf-payment-field-friend-note,
  .bf-payment-field-expiry, .bf-payment-field-cvc,
  .bf-payment-field-payment-method,
  .bf-payment-field-currency,
  .bf-payment-field-address, .bf-payment-field-address2,
  .bf-payment-field-city, .bf-payment-field-province,
  .bf-payment-field-postal, .bf-payment-field-country,
  .bf-payment-field-firstname, .bf-payment-field-lastname {
    height: 35px;

    box-sizing: border-box;
    border: 1px solid #cccccc;
  }
    .bf-payment-method-fields > .bf-payment-field { border-bottom: 0; }
    .bf-payment-method-fields > .bf-payment-field:last-child { border-bottom: 1px solid #cccccc; }

    .bf-payment-field-quantity {
      float: right;
      width: 25%;
      margin: 15px 0;
    }
      .bf-payment-field-quantity:before {
        content: 'x';
        display: inline-block;
        margin-right: 5px;
      }
      .bf-payment-field-quantity input { width: 50%; }

    .bf-payment-field-quantity.enabled + .bf-payment-field-amount {
      float: left;
      width: 75%;
      border-right: 0;
    }
      .bf-payment-field-amount input { width: 95%; }

    .bf-payment-field-type { margin: 0 0 18px; }
      .bf-payment-field-type select { width: 95%; }
    .bf-payment-field-withdrawl { margin: -18px 0 18px; border-top: 0; }
      .bf-payment-field-withdrawl select { width: 95%; }
    .bf-payment-panel-payment.hidden-type .bf-payment-field-currency { margin: 0 0 18px; }
    .bf-payment-panel-payment:not(.hidden-type) .bf-payment-field-currency { margin: -18px 0 18px; border-top: 0; }
          .bf-payment-field-currency select { width: 95%; }

    .bf-payment-method-fields .bf-payment-field input { width: 95%; }
    .bf-payment-method-fields .bf-payment-field select { width: 95%; }

    .bf-payment-field-payment-method { margin: 0; border-bottom: 0; }
      .bf-payment-field-payment-method select { width: 95%; }

    .bf-payment-field-custom_withdrawal_date {
      margin: -18px 0 18px;
      border-top: 0;
    }
      .bf-payment-field-custom_withdrawal_date select { width: 95%; }

    .bf-payment-product-instructions {
      margin-top: 18px;
      text-align: center;
    }
    .bf-payment-product-instructions:empty { display: none; }

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

    .bf-payment-product-discount {
      display: flex;
      margin-top: 18px;
    }
      .bf-payment-field-discount-code {
        flex-grow: 1;
      }
      .bf-payment-product-discount button,
      .bf-payment-product-discount button:hover,
      .bf-payment-product-discount button:focus,
      .bf-payment-product-discount button:active {
        margin-left: 0;
        margin-bottom: 0;

        font-size: 12px;
        font-weight: bold;

        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
      }

    .bf-payment-field-in-memory-of { border-top: 0; }
      .bf-payment-field-in-memory-of select { width: 95%; }
    .bf-payment-field-attribute-to { border-bottom: 0; }
      .bf-payment-field-attribute-to input { width: 95%; }

    .bf-payment-field-friend-name, .bf-payment-field-friend-email { border-bottom: 0; }
    .bf-payment-field-friend-send {
      background: transparent !important;
      border: 0;
    }
    .bf-payment-field-friend-note { height: auto; }
      .bf-payment-field-friend-note textarea { width: 100%; height: 80px; }

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

    border-bottom: 0;
  }
    .bf-payment-field-phone input, .bf-payment-field-email input { width: 190px; }

  .bf-payment-field-phone {
    margin-bottom: 18px;
  }

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

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


  .bf-payment-field-firstname {
    float: left;
    width: 50%;
    margin-bottom: 18px;
  }
    .bf-payment-field-firstname input { width: 92px; }
    .bf-payment-field-firstname .icon { background-image: none; }
    .bf-has-phone .bf-payment-field-firstname { margin-bottom: 0; border-bottom: 0; }
    .bf-has-phone + .bf-payment-field-company { border-bottom: 0; }

  .bf-payment-field-lastname {
    float: left;
    width: 50%;
    margin-bottom: 18px;

    border-left: 0;
  }
    .bf-payment-field-lastname input { width: 92px; }
    .bf-payment-field-lastname .icon { background-image: none; }
    .bf-has-phone .bf-payment-field-lastname { margin-bottom: 0; border-bottom: 0; }


  .bf-payment-field-account {
    margin-bottom: 18px;

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

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

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


  .bf-payment-field-single {
    float: left;
    width: 50%;
    border-left: 0;
  }

  .bf-payment-recurring-message {
    display: none;
    margin: -12px 0 18px;

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

  .bf-payment-field-monthly {
    float: left;
    width: 50%;
    border-left: 0;
  }

    .button.bf-payment-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.bf-payment-toggle-active {
      font-weight: bold;
      opacity: 1;
    }

  .bf-payment-field-expiry {
    float: left;
    width: 50%;
  }
    .bf-payment-field-expiry input { width: 60px; text-align:center; }
    .bf-payment-field-expiry .icon {
      height: 12px;
      margin-top: 10px;

      background-position: -14px 0;
    }


  .bf-payment-field-cvc {
    float: left;
    width: 50%;
    border-left: 0;
  }

    .bf-payment-field-cvc .icon {
      height: 12px;
      margin-top: 10px;

      background-position: -14px -12px;
    }


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

    font-size: 13px;
    line-height: 15px;
  }
    .bf-payment-field-subscribe input,.bf-payment-field-account input, .bf-payment-field-anonymous input, .bf-payment-field-add-percentage input { float: left; margin-right: 7px }

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


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


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


  .bf-payment-field-province {
    float: left;
    width: 50%;
  }
    .bf-payment-field-province input { max-width: 100%; }
    .bf-payment-field-country select { width: 90px; }
    .bf-payment-field-province .icon { background-image: none; }

  .bf-payment-field-subscribe { margin-top: 12px; margin-bottom: 12px; }

  .bf-payment-field-postal {
    float: left;
    width: 50%;
    border-left: 0;
  }
    .bf-payment-field-postal .icon { background-image: none; }


  .bf-payment-field-country {
    border-top: 0;
  }
    .bf-payment-field-country select { width: 200px; }
    .bf-payment-field-country .icon { background-image: none; }


  .bf-payment-field { position: relative; }

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

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

      border-radius: 6px;
    }
      .bf-payment-field .status.status-success { display: none; background: #0f0; }
      .bf-payment-field .status.status-failed { display: block; background: #f00; }


  .bf-payment-popup .icon-shim {
    padding-left: 12px;
  }

  #bf-payment-cart.bf-payment-popup input,
  #bf-payment-cart.bf-payment-popup select,
  #bf-payment-cart.bf-payment-popup textarea {
    margin-bottom: 0;

    font-size: 13px;
    line-height: 15px;
    font-weight: 300;
    text-align: left;
    text-transform: none;

    color: #333;
    background: #fff;
    border: 0;
    border-radius: 0;

    outline: none;
  }
    #bf-payment-cart.bf-payment-popup select {
      display: inline-block;
      position: relative;
      top: -2px;
      left: -3px;

      padding-top: 0;
      padding-bottom: 0;
    }

    #bf-payment-cart.bf-payment-popup input:focus,
    #bf-payment-cart.bf-payment-popup select:focus,
    #bf-payment-cart.bf-payment-popup textarea:focus {
      border: 0;
      outline: none;
    }

    #bf-payment-cart.bf-payment-popup input,
    #bf-payment-cart.bf-payment-popup textarea {
      padding: 7px 0;
    }
  
    #bf-payment-cart.bf-payment-popup select {
      max-width: 100%;
      margin: 8px 0;
      padding-right: 6px;

      border: 0;
    }


  .bf-payment-pay,
  .bf-payment-pay:focus,
  .bf-payment-pay:hover,
  .bf-payment-pay:active {
    display: block !important;
    margin-top: 25px;
    
    text-align: center;
  }

  .bf-payment-next-btn, .bf-payment-continue,
  .bf-payment-next-btn:hover, .bf-payment-continue:hover,
  .bf-payment-next-btn:focus, .bf-payment-continue:focus,
  .bf-payment-next-btn:active, .bf-payment-continue:active {
    display: block !important;
    margin-top: 8px;

    text-align: center;
  }

  .bf-payment-prev-btn {
    margin-top: 10px;

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

    color: #000;

    cursor: pointer;
  }


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

    color: #333;
  }

  .bf-payment-preset-description {
    font-size: 13px;
    line-height: 19px;

    color: #333;
  }

    .bf-payment-preset-description > h3 {
      font-size: 18px !important;
      line-height: 21px !important;
      text-transform: none;

      color: #8b141b !important;
    }

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

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


  .bf-payment-search .bf-payment-field-search {
    position: relative;
  }

  .bf-payment-search .bf-payment-field-results {
    display: none; 
    position: absolute;
    top: 40px;
    left: 50%;
    z-index: 100;

    width: 320px;
    margin-left: -160px;

    color: #333;
    background: #fff;
    box-shadow: 0 0 5px #555;
  }

    .bf-payment-field-results > ul {
      margin: 0;
      padding: 0;

      list-style: none;
    }

    .bf-payment-field-results .result {
      position: relative;

      min-height: 105px;

      font-size: 12px;
      line-height: 15px;
      text-align: left;

      padding: 15px 20px;
    }
    
      .bf-payment-field-results .result:hover {
        background: #eee;
        cursor: pointer;
      }

      .bf-payment-field-results .result-thumb { 
        float: left; 
        width: 75px;
        height: 75px;
        overflow: hidden;
      }

      .bf-payment-field-results .result-content {
        margin-left: 80px;
      }

        .bf-payment-field-results .result h4 {
          margin-top: -5px;

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

          color: #cf961b;
        }

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


    .bf-payment-cart-empty {
      display: none;
    }

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

      list-style: none;
    }

      .bfc-cart li {
        display: flex;
        gap: 1rem;

        position: relative;

        padding: 10px 0;

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

        border-bottom: 1px solid #ddd;
      }

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

        .bfc-cart .bf-payment-cart-product { 
          flex-grow: 1;
        }

        .bfc-cart .bf-payment-cart-option { 
          clear: left;
        }

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

        .bfc-cart .bf-payment-cart-pricing {
          text-align: right;
        }
          .bfc-cart .bf-payment-cart-pricing .bf-payment-cart-amount { min-width: 60px; }
          .bfc-cart .bf-payment-cart-pricing .bf-payment-cart-quantity > input {
            text-align: center;
            border: 1px solid #ccc;
          }

          .bfc-cart .bf-payment-cart-pricing > span { display: inline-block !important; }
          .bfc-cart .bf-payment-cart-pricing .bf-payment-prev-btn {
            margin-top: 2px;
            text-align: right;
            color: #cf961b;
          }

          .bfc-cart .bf-payment-cart-quantity {
            margin-right: 5px;
          }
          .bfc-cart .bf-payment-cart-value {
            width: 65px;
            padding: 7px;

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

          .bfc-cart .bf-payment-cart-remove {
            display: block;

            font-size: 10px;
            line-height: 16px;
            text-align: right;
            text-transform: uppercase;

            cursor: pointer;
          }

        .bfc-cart .bf-payment-cart-campaign { clear: left; }

        .bf-payment-cart-discount,
        .bf-payment-cart-totals {
          margin-bottom: 18px;
            
          font-size: 14px;
          font-weight: bold;
          text-align: right;
        }
        
          .bf-payment-cart-totals span { font-weight: normal; }

          .bf-payment-cart-discount {
            display: none;
            margin-bottom: 0;
          }
          .bf-payment-cart-discount span:nth-child(2) {
            display: inline-block;
            width: 70px;

            font-weight: normal;
          }

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

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

    .bf-payment-step-20 .bf-payment-close {
      margin-top: 8px;
    }

    .bf-payment-popup .bf-payment-panel-cart { display: none; margin-bottom: 50px; }
    .bf-payment-popup .bf-payment-panel-billing { margin-bottom: 50px; }
      .bf-payment-popup .bf-payment-panel-billing-anon { margin: 18px 0; }

    .bf-payment-popup .bf-payment-panel-extra { display: none; }
      .bf-payment-popup.use-extra .bf-payment-panel-extra { display: block; }
      .bf-payment-popup .bf-payment-panel-extra .bf-payment-heading { font-weight: 700; }
      .bf-payment-popup .bf-payment-panel-extra .bf-payment-desc { margin-bottom: 18px; }
      .bf-payment-popup .bf-payment-panel-extra .bf-payment-send-note { margin-top: 18px; }

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



.bf-payment-find-ctr {
  position: relative;
  width: 50%;
  margin: 0 auto;
}

  .bf-payment-find-ctr .bf-payment-find-post {
    width: 100%;
  }

.bf-payment-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;
}

.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;
}


@media screen and (min-width: 1025px) {
  .bf-payment-popup {
    position: fixed;
    top: 50%;
  }
    .bf-payment-popup.has-small-window {
      max-height: 100%;
      overflow-y: scroll;
      overflow-x: hidden;

      border-radius: 0 !important;
    }
}

@media screen and (min-width: 600px) {
    .bf-payment-popup.step-20 { width: 600px; margin-left: -300px; }
    .bf-payment-popup.step-20 > .bf-payment-shim { width: 600px; }
    .bf-payment-popup .bf-payment-step-20 { position: relative; }

    .bf-payment-popup.step-30 { width: 600px; margin-left: -300px; }
    .bf-payment-popup.step-30 > .bf-payment-shim { width: 600px; }
    .bf-payment-popup .bf-payment-step-30 { position: relative; }

    .bf-payment-popup.step-40.use-extra { width: 600px; margin-left: -300px; }
    .bf-payment-popup.step-40.use-extra > .bf-payment-shim { width: 600px; }
    .bf-payment-popup .bf-payment-step-40 { position: relative; }


    .bf-payment-popup .bf-payment-panel-cart .bfc-cart { margin-top: 0; }
    .bf-payment-popup .bf-payment-panel-cart .bf-payment-cart-amount { text-align: right; }
    .bf-payment-popup .bf-payment-panel-cart .bf-payment-cart-processing-fees { display: none; }
    .bf-payment-popup .bf-payment-panel-cart .bf-payment-cart-totals span {
      display: inline-block;
      width: 70px;
    }
    .bf-payment-popup .bf-payment-review { margin-top: 18px; }
      .bf-payment-popup .bf-payment-review + .bf-payment-cart-btn { margin-top: 5px; }

    .bf-payment-popup .bf-payment-panel-cart,
    .bf-payment-popup .bf-payment-panel-billing,
    .bf-payment-popup.use-extra .bf-payment-panel-thankyou {
      width: 234px;
      margin-bottom: 0;
    }
      .bf-payment-popup.use-extra .bf-payment-panel-thankyou {
        min-height: 350px;
      }
    .bf-payment-popup .bf-payment-panel-billing-anon {
      display: none;
      margin-top: 9px;
      margin-bottom: 0;

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

    .bf-payment-popup .bf-payment-panel-payment,
    .bf-payment-popup .bf-payment-panel-extra { 
      position: absolute;
      right: 0;
      top: 0;

      width: 234px;
    }
      .bf-payment-popup .bf-payment-panel-extra { 
        width: 264px;
        padding-left: 30px;

        border-left: 1px solid #ccc;
      }
}
