/****** braintree *******/
.braintree-option {
    align-items: center;
    background-color: #FAFAFA;
    border-color: #B5B5B5;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    cursor: pointer;
    display: flex;
    padding: 12px 10px;
}
.braintree-option__label {
    color: #000000;
    font-size: 16px;
    margin-left: 20px;
    width: 100%;
    min-height: 29px;
    line-height:29px;
}
.braintree-option .braintree-option__logo {
    display: flex;
    text-align: center;
    align-items: center;
}
.braintree-option .braintree-option__logo img {
    width: 40px;
    margin-right:-5px;
}
.braintree-option:first-child {
    border-radius: 4px 4px 0 0;
    border-top-width: 1px;
}
.braintree-options-list {
    margin: 0 auto;
    padding-bottom: 5px;
    width: 100%;
}
.payment-header {
    align-items: center;
    border-bottom: 1px solid #B5B5B5;
    display: flex;
    flex-wrap: wrap;
    padding: 12px 15px 0 12px;
    position: relative;
}
.payment-header .braintree-sheet__logo--header {
    align-items: center;
    /* display: flex; */
    text-align: center;
    width: 50px;
}
.braintree-sheet__header-label {
    align-items: center;
    display: flex;
    flex-grow: 1;
    padding-bottom: 12px;
}
.braintree-icon {
    /* width: 40px; */
    box-sizing: border-box;
    font-size: 29px;
}
.braintree-sheet__card-icon {
    display: inline-block;
    padding-left: 5px;
}
.braintree-sheet__text {
    color: #000000;
    font-size: 16px;
    margin-left: 20px;
    box-sizing: border-box;
}
#payment-form.invalid-field, #payment-form.invalid-field {
    border: 2px solid #CA2A2A;
    border-radius: 4px 4px 0 0;
}
#hosted-fields-container .error-message {
    color: #CA2A2A;
    font-size: 13px;
    line-height: 1.4;
    margin: 3px 0;
    padding: 0;
}
#payment-form .card-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: flex-end;
    padding-bottom:10px;
}
#payment-form .card-icons img {
    width: 40px;
    display: inline-block;
    padding-left: 5px;
}

.braintree-placeholder {
    margin-bottom: 13px;
}
.braintree-placeholder, .braintree-heading {
    color: #000000;
    font-size: 16px;
    margin-bottom: 10px;
}
#payment-group{
    margin-top:20px;
}
#hosted-fields-container, #braintree_paypal, #braintree_paypal_complete{
    margin-top:20px;
}
.braintree-options-list {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 300ms linear 100ms;
    min-height: 0;
}
.braintree-options-list {
    display: block;
    height: auto;
    overflow: visible;
    visibility: visible;
}
.payment-options-container * {
    box-sizing: border-box;
}
.braintree-icon--bordered {
    background: #FFFFFF;
    border: 1px solid #bbb;
    border-radius: 3px;
    box-sizing: content-box;
}
.braintree-large-button {
    background: #FAFAFA;
    border-radius: 4px;
    color: #000000;
    cursor: pointer;
    font-size: 14px;
    margin: 0 auto;
    padding: 18px;
    text-align: center;
    width: 100%;
}
.braintree-sheet__header {
    align-items: center;
    border-bottom: 1px solid #B5B5B5;
    display: flex;
    flex-wrap: wrap;
    padding: 12px 15px 12px 12px;
    position: relative;
}
.braintree-sheet__header .braintree-sheet__label {
    font-size: 16px;
}
.braintree-sheet__content--button {
    min-height: 84px;
    padding: 20px;
    text-align: center;
}
.braintree-sheet__content--button .braintree-sheet__button--paypal {
    margin: 0 auto;
}
.braintree-paypal {
    display: block;
    height: auto;
    overflow: visible;
    visibility: visible;
    max-height: 1000px;
    opacity: 1;
    transition: max-height 250ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 300ms linear 100ms;
    min-height: 0;
    margin: 0 auto 13px
}
.braintree-sheet {
    background-color: white;
    border: 1px solid #B5B5B5;
    border-radius: 4px;
    margin: 0 auto;
    max-height: 500px;
    transition: transform 300ms, opacity 300ms, max-height 300ms ease;
    width: 100%;
}
/* PAYPAL CSS  */
#paypal-button-container {
    font-size: 0;
    width: 100%;
    overflow: hidden;
    min-width: 75px;
}
#paypal-button-container.paypal-button-size-responsive {
    text-align: center;
}
#paypal-button-container>.zoid-outlet {
    display: inline-block;
    min-width: 75px;
    max-width: 750px;
    position: relative;
}
#paypal-button-container.paypal-button-layout-vertical>.zoid-outlet {
    min-width: 75px;
}
#paypal-button-container>.zoid-outlet {
    width: 250px;
    height: 35px;
}
#paypal-button-container.paypal-button-size-responsive>.zoid-outlet {
    width: 100%;
}
#paypal-button-container>.zoid-outlet>iframe {
    min-width: 100%;
    max-width: 100%;
    width: 75px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#paypal-button-container>.zoid-outlet>iframe.zoid-component-frame {
    z-index: 100;
}
#paypal-button-container>.zoid-outlet>iframe.zoid-prerender-frame {
    transition: opacity .2s linear;
    z-index: 200;
}
#paypal-button-container>.zoid-outlet>iframe.zoid-visible {
    opacity: 1;
}
#paypal-button-container>.zoid-outlet>iframe.zoid-invisible {
    opacity: 0;
    pointer-events: none;
}
.braintree-sheet__header .braintree-sheet__logo--header {
    align-items: center;
    display: flex;
    text-align: center;
    width: 50px;
}
#hosted-fields-container {
    margin-bottom: 10px;
    background-color: white;
    border: 1px solid #B5B5B5;
    border-radius: 4px;
    margin: 0 auto;
    transition: transform 300ms, opacity 300ms, max-height 300ms ease;
    display: none;
    height: auto;
    overflow: visible;
    visibility: visible;
}
.hosted-field {
    height: 50px;
    box-sizing: border-box;
    width: inherit;
    padding: 0 8px;
    display: inline-block;
    box-shadow: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #dddddd;
    line-height: 20px;
    background: #fcfcfc;
    margin: 4px 0 0;
    background: linear-gradient(to right, white 50%, #fcfcfc 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 300ms ease-in-out;
    position: relative;
}
.braintree-form__flexible-fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.braintree-form__flexible-fields .field-container {
    flex-basis: 190px;
    flex-grow: 1;
}
.braintree-sheet__content--form {
    padding: 10px 15px 10px 10px;
}
.braintree-form__label {
    color: #000000;
    display: block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-align: left;
}
.hosted-fields--label {
    font-family: courier, monospace;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    color: #000000;
    display: block;
    font-weight: normal;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-align: left;
}
.button-container {
    display: block;
    text-align: center;
}
/*.button {*/
/*    cursor: pointer;*/
/*    font-weight: 500;*/
/*    line-height: inherit;*/
/*    position: relative;*/
/*    text-decoration: none;*/
/*    text-align: center;*/
/*    border-style: solid;*/
/*    border-width: 1px;*/
/*    border-radius: 3px;*/
/*    -webkit-appearance: none;*/
/*    -moz-appearance: none;*/
/*    display: inline-block;*/
/*}*/
.button--small {
    padding: 10px 20px;
    font-size: 0.875rem;
}
.button--green {
    outline: none;
    background-color: #64d18a;
    border-color: #64d18a;
    color: white;
    transition: all 200ms ease;
}
.button--green:hover {
    background-color: #8bdda8;
    color: white;
}
.braintree-hosted-fields-focused {
    border: 1px solid #64d18a;
    border-radius: 1px;
    background-position: left bottom;
}
.braintree-hosted-fields-invalid {
    border: 1px solid #ed574a;
}

/* Braintree Hosted Fields styling classes*/
.braintree-hosted-fields-focused {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.braintree-hosted-fields-focused.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
#cardForm {
    max-width: 50.75em;
    margin: 0 auto;
    padding: 1.875em;
}
.field-container {
    margin-bottom: 10px;
    padding-left: 5px;
}
/* braintree changes from secom */
#paypal-credit-button-container iframe, #paypal-button-container iframe{
    z-index:0 !important; /* to prevent issues with recaptcha mobile */
}
#braintree-loading{
    text-align: center;
    margin: 50px 0px;
}
#braintree_paypal_complete .payment-header{
    flex-wrap:nowrap;
}
#braintree_paypal_complete .braintree-sheet__header-label{
    max-width: -webkit-calc(100% - 30px);
    max-width:    -moz-calc(100% - 30px);
    max-width:         calc(100% - 30px);
}
#braintree_paypal_email{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button-with-text {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
        -apple-pay-button-type: buy;
    }
    .apple-pay-button-with-text > * {
        display: none;
    }
    .apple-pay-button-black-with-text {
        -apple-pay-button-style: black;
    }
    .apple-pay-button-white-with-text {
        -apple-pay-button-style: white;
    }
    .apple-pay-button-white-with-line-with-text {
        -apple-pay-button-style: white-outline;
    }
}

/* apple pay button support */
@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
    }
    .apple-pay-button-black {
        -apple-pay-button-style: black;
    }
    .apple-pay-button-white {
        -apple-pay-button-style: white;
    }
    .apple-pay-button-white-with-line {
        -apple-pay-button-style: white-outline;
    }
}


@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        background-size: 100% 60%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }
    .apple-pay-button-black {
        background-image: -webkit-named-image(apple-pay-logo-white);
        background-color: black;
    }
    .apple-pay-button-white {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }
    .apple-pay-button-white-with-line {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
        border: .5px solid black;
    }
}