/*
 * Copyright (c) 2021 Nexi Payments S.p.A.
 * @author      iPlusService S.r.l.
 * @copyright   Copyright (c) 2021 Nexi Payments S.p.A. (https://ecommerce.nexi.it)
 * @license     GNU General Public License v3.0
 * @category    Payment Module
 * @version     8.0.0
 */

#pagodil-installments-number-title {
    display: inline;
    margin-right: 10px;
}

#pagodil-installments-number {
    min-width: 100px;
    display: inline;
}

#checkout-payment-step .payment-option {
    align-items: center !important;
}

#checkout-payment-step .payment-option label {
    display: flex !important;
    align-items: center !important;
    gap:8px; /* STRAMO */
}

/* STRAMO */
#checkout-payment-step .payment-option img {
/*     height: 30px !important; */
    width: auto ;
    max-height: 45px;
/*     max-width: 90px !important; */
/*     transform: none !important; */
    flex: 0 0 auto ;
    object-fit: contain;
/*     margin-left: 5px !important; */
/*     margin-right: 5px !important; */
}

#card-fieldset-build {
    border: none;
    margin-bottom: 10px;
}

#card-fieldset-build .form--fieldset {
    display: flex;
    flex-direction: column;
}

#card-fieldset-build .form--wrap__row {
    display: flex;
    flex-direction: row;
    height: 40px;
    margin-bottom: 12px;
}

#card-fieldset-build .form--input__wrap.col-5 {
    width: 50%;
}

#card-fieldset-build .form--wrap__row .form--input__wrap.col-5:first-child {
    margin-right: 5px;
}

#card-fieldset-build .form--wrap__row .form--input__wrap.col-5:last-child {
    margin-left: 5px;
}

#card-fieldset-build .form--input__wrap.col-10 {
    width: 100%;
}

#card-fieldset-build .form--input__wrap>iframe {
    width: 100%;
    height: 40px;
    border: 1px solid #888;
    border-radius: 3px;
}

#card-fieldset-build .form--input__wrap.with-errors>iframe {
    border: 1px solid #ff0000;
}

#card-fieldset-build .card-field-form .messages {
    margin-bottom: 20px;
}

#card-fieldset-build .build-error-message {
    color: #df0000;
}

.nexi-hide {
    display: none !important;
}

p.loading {
    color: black;
    font-size: 2em;
}

p.loading:after {
    content: ' .';
    animation: dots 1s steps(5, end) infinite;
}

#xpay-card-pan iframe,
#xpay-card-expire iframe,
#xpay-card-cvv iframe {
    max-width: 100%;
}

@keyframes dots {

    0%,
    20% {
        color: rgba(0, 0, 0, 0);
        text-shadow:
            .25em 0 0 rgba(0, 0, 0, 0),
            .5em 0 0 rgba(0, 0, 0, 0);
    }

    40% {
        color: black;
        text-shadow:
            .25em 0 0 rgba(0, 0, 0, 0),
            .5em 0 0 rgba(0, 0, 0, 0);
    }

    60% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 rgba(0, 0, 0, 0);
    }

    80%,
    100% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 black;
    }
}
