/* Define how SqPaymentForm iframes should look */
.sq-input {
    border: 1px solid rgb(223, 223, 223);
    display: inline-block;
    width: calc(100% - 16px);
    padding: 7px;
    font-size: 16px;
}

/* Define how SqPaymentForm iframes should look when they have focus */
.sq-input--focus {
    /*outline: 5px auto rgb(59, 153, 252);*/
    box-shadow: 0 0 3px 1px #00699d;
}

/* Define how SqPaymentForm iframes should look when they contain invalid values */
.sq-input--error {
    /*outline: 5px auto rgb(255, 97, 97);*/
    box-shadow: 0 0 3px 1px rgb(255, 97, 97);
}

/* Customize the "Pay with Credit Card" button */
.button-credit-card {
    min-width: 200px;
    min-height: 20px;
    padding: 0;
    margin: 5px;
    line-height: 20px;
    box-shadow: 2px 2px 1px rgb(200, 200, 200);
    background: rgb(255, 255, 255);
    border-radius: 5px;
    border: 1px solid rgb(200, 200, 200);
    font-weight: bold;
    cursor:pointer;
}


/* Customize the "{{Wallet}} not enabled" message */
.wallet-not-enabled {
    min-width: 200px;
    min-height: 40px;
    max-height: 64px;
    padding: 0;
    margin: 10px;
    line-height: 40px;
    background: #eee;
    border-radius: 5px;
    font-weight: lighter;
    font-style: italic;
    font-family: inherit;
    display: block;
}

#sq-ccbox {
    float:left;
    margin:5px;
    padding:10px;
    vertical-align: top;
    font-weight: bold;
}

.label-name,
.input-wrap {
    display: inline-block;
    vertical-align: middle;
}

.label-name {
    text-align: right;
    width: 41%;
    margin-top: -12px;
}

.input-wrap {
    margin: 0 0 0 3%;
    width: 46%;
    text-align: left;
}

.square-customer-cards {
    background: #eee;
    text-align: left;
    padding: 9px;
    margin-top: 5px;
}
.square-saved-card-label {
    font-style: italic;
    font-weight: 600!important;
}

#square_form_fields {
    margin-top: 15px;
}

.actions-toolbar.squareup_payment, .checkout-agreements-block.squareup_payment {
    clear: both;
}

#payment_form_squareup_payment {
    margin-bottom: 30px;
}

#payment_form_squareup_payment + .actions-toolbar .primary.hide{
    display: none;
}

/* Gift card form */
#square-gift-card {
    clear: both;
}

#square-gift-card .controls {
    display: flex;
}

#square-gift-card .action {
    white-space: nowrap;
}

#square-gift-card .gift-card-balance {
    white-space: nowrap;
    min-width: 200px;
}

#sq-cvv {
    margin-right: 10px;
    width: 40px;
}

@media (min-width: 768px), print {
    .checkout-payment-method .sq-payment-method .payment-option-title {
        padding-left: 0px;
    }
}

.button-apple-pay {
    width: 240px;
    height: 40px;
    cursor: pointer;
    display: block;
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: plain;
    -apple-pay-button-style: black;
}

.button-after-pay {
    width: 240px;
    height: 40px;
}

.cash-app-button {
    width: 240px;
    height: 40px;
}

#payment_form_squareup_payment_express {
    width: 240px;
}

#checkoutExpress #payment_form_squareup_payment_express {
    text-align: center;
    width: 100%;
}

#checkoutExpress #payment_form_squareup_payment_express [data-role=content] {
    display: inline-block;
    width: 240px;
}

#checkoutExpress .actions-toolbar {
    width: 100%;
    position: relative;
}

#checkoutExpress .actions-toolbar .primary {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

#checkoutExpress .actions-toolbar .button.primary {
    width: 240px;
    margin: 0;
}

#checkoutExpress .express-checkout-separator {
    text-align: center;
    padding: 10px 0;
    height: 35px;
}

#square-rewards {
    margin-top: 20px;
}

.action-delete:before {
    content: '\e604';
    text-align: right;
}

.actions-gift-card > .action-delete:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 18px;
    line-height: 20px;
    color: #006bb4;
    content: '\e604';
    font-family: 'luma-icons';
    vertical-align: middle;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: right;
}

.sq-accordion-gift-card {
    margin-bottom: 15px;
}

.sq-td-left {
    padding-left: 0px;
}

.sq-td-right {
    text-align:right;
    padding-right: 0px;
}