@import url(../font/fonts/font.css);

body{
    width: 780px;
    height: 100%;
    background-color: white;
    margin: auto;
    text-align: center;
    justify-content: center;
    color: #2C3D46;
    font-family: 'Ubuntu', sans-serif;
}
input, button, select{
    font-family: 'Ubuntu', sans-serif;
}
p {
    font-size: 14px;
    line-height: 14px;
    padding: 0;
    margin: 0;
}

h1{    
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 25px 0;
    text-align: center;
}
h3{    
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    text-align: left;
    margin-block-start: 0;
}
header, section{
    display: block;
    padding: 24px 0 0;
}
.row{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.col {
    flex-basis: 0;
    flex-grow: 1;
}
.row .col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    color: #444;
    flex-wrap: wrap;
    white-space: normal;
}

.union-image__logo{
    background-image: url('../img/NewImages/logo-compraqui.png');
    width: 114px;
    height: 33px;
    background-size: contain;
    margin: auto;
}

/* CLIENT */
.union-card__client{
    border-radius: 8px;
    padding: 16px;
    background: #F6F8F9;
    margin: 0 auto;
}
.union-card__client--avatar{
    width: 40px;
    height: 40px;
    /*background: #2C3D46;*/
    border-radius: 31.3609px;
    display: flex;
    position: absolute;
}
.union-card__client h3{
    font-weight: 700;
    font-size: 14px;
    padding-left: 50px;
    padding-top: 14px;
    margin: 0;
    vertical-align: middle;
    display: inline-block;
    height: auto;
}
.union-card__client p{
    text-align: left;
    padding-left: 60px;
    margin: 0;
}
.union-card__client span{
    font-size: 12px;
    color: #9EB5C2;
    display: flex;
    margin-top: 12px;
}
.union-card__amount{
    text-align: right;

}
.union-card__client--label{
    font-size: 14px;
}
.union-card__client--number{
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
}


/*.union-grid--center{
    display: grid!important;
    align-content: center;
}*/
.union-card__client--amount h3{
    font-weight: normal;
    font-size: 15px
}
.union-card__client--amount p{
    font-size: 28px;
    line-height: 40px;
}


/* GRIDS*/
.union-grid--one-column{
    display: block;

}

.union-grid--two-columns{
    display: flex;
    justify-content: space-between;

}

.union-grid--one-column.union-grid__left {
    padding-right: 53px;
    text-align: left;
    border-right: 1px solid #ccc;
    width: 50%;
}
.union-grid--one-column.union-grid__right {
    padding-left: 53px;
    text-align: left;
    display: block;
    width: 64%;
}

.union-grid--one-column.union-grid__right__one {
    padding-left: 25%;
    text-align: left;
    display: block;
    width: 50%;
}

.union-grid__right--title{
    margin-bottom: 0;
    position: relative;
}
.union-grid__right--subtitle{
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #4B6777;
    margin-bottom: 25px;
}
/*QR Box*/
.union-container__qr{
    text-align: center;
}
.union-container__qr h3{
    text-align: center;
}
.union-container__qr span{
    text-align: center;
    font-size: 12px;
    display: block;
    margin: 0 auto 30px;
    color: #6D91A3;
}
.union-image__pago-qr{
    display: flex;
    text-align: center;
    width: 160px;
    height: 160px;
    border: 1px solid #CEDAE0;
    border-radius: 12px;
    margin: 22px auto;
    /*background-image: url('../img/NewImages/QR.png');*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: 162px 164px;
    padding: 16px;
    position: relative;
}

.union-image__pago-qr--bech-icon{
    width: 33px;
    height: 33px;
    border: 1px solid #CEDAE0;
    background-image: url('../img/NewImages/iso_bech.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex!important;
    border-radius: 10px;
    border: 4px solid white;
    position: absolute;
    top: 40%;
    left: 40%;
    margin-top: -25px;
    margin-left: -20px;
}

/*INPUTS*/
.union-input {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    position: relative;
    width: 100%;
}
.union-input label {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 4px;
    font-weight: 770;
    color: #2c3038;
    transition: 0.25s ease-in-out;
}
.union-input input, .union-input select, .union-input textarea {
    border-radius: 12px;
    background-color: white;
    border: solid 1px #9EB5C2;
    font-size: 14px;
    line-height: 24px;
    font-weight: 200;
    transition: 0.25s ease-in-out;
    -webkit-appearance: none;
    text-overflow: ellipsis;
    width: -webkit-fill-available;
    min-height: 56px;
    text-indent: 10px;
    color: #6D91A3;
}

.union-input.union-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF9100' fill-rule='evenodd' d='M19.951 7.785a.6.6 0 00-.848 0l-7.035 7.035-7.044-7.044a.6.6 0 10-.848.848l7.468 7.469a.601.601 0 00.849 0l7.458-7.46a.6.6 0 000-.848'/%3E%3C/svg%3E");
    background-position: right 8px center;
    background-repeat: no-repeat;
    width: 48%;
    cursor: pointer;
    color: #6D91A3;

}
::-webkit-input-placeholder { /* Edge */
    color: #6D91A3;
  }
  
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #6D91A3;
  }
  
  ::placeholder {
    color: #6D91A3;
  }
  
  [type="button"]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

.union-input-container__data{
    background-image: url('../img/NewImages/cards.png');
    height: 19px;
    align-content: center;
    display: inline-flex;
    width: 63px;
    background-repeat: no-repeat;
    margin-left: 50px;
    background-size: contain;
}
.union-content--mobile {
    visibility: hidden;
    display: none;
}
.union-content--desktop{
    visibility: visible;
}
.union-button {
    background-color: #FF8300;
    border: none;
    color: #fff;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    font-size: 100%;
    font-weight: 400;
    justify-content: center;
    line-height: 1;
    margin: 10px 0;
    min-height: 44px;
    outline: 0;
    padding: 0 24px;
    text-align: center;
    transition: all .8s;
    width: 100%;
    height: 48px;
}
.union-button--icon {
    border-radius: 3px;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    background-size: auto;
    margin: 0 12px;
    display: block;
    background-image: url('../img/NewImages/iso_bech.png');
    background-size: contain;

}
.union-button:disabled {
    background-color: #E7EDF0;
    border-color: #c3c7ce;
    box-shadow: none;
    color: #c3c7ce;
    pointer-events: none;
}
/*QUOTE/LIST*/
.union-list__quote{
    border-radius: 8px;
    font-size: 12px;
    padding: 16px 0;
    background-image: url('../img/NewImages/pagorut.png');
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-position-x: 260px;
    background-position-y: 7px;
    background-size: 40px 40px;
}
.union-list__quote p{
    font-size: 12px;
    color: #4B6777;
}
.union-list__quote ol{
    padding-inline-start: 20px;
    color: #4B6777;
    margin-block-end: 0;
}
:focus-visible {
    outline-color: #FF8300;;
}

/*FOOTER*/
footer {
    margin: auto;
    width: fit-content;
}
.union-footer__box {
    text-align: left;
    align-items: center;
    display: flex;
    font-size: 14px;
    margin: 80px 0;
    color: #6D91A3;

}
.union-images__footer--logos{
    display: inline-flex;
    width: 100px;
    height: 22px;
    background-image: url('../img/NewImages/logos-min.png');
    background-size: contain;
    margin-left: 16px;
}
.union-images__footer--lock{
    display: inline-flex;
    width: 25px;
    height: 20px;
    background-image: url('../img/NewImages/lock.png');
    padding-left: 10px;
    background-repeat: no-repeat;
    background-size: contain;
}

.union-container--1392{
    max-width: 1392px;
    justify-content: center;
    display: grid
}
.union-container--1000{
    max-width: 1000px;
    display: grid;
    margin: auto;
}
/* MOBILE */


.payment-options-tarjetas-form-card-number-error {
    width: 100%;
    margin-top: .25rem;
    font-size: .790em;
    color: #dc3545;
    font-family: 'Ubuntu', serif;
    font-style: normal;
    font-weight: 400;
}
.payment-options-tarjetas-form-row-expiration-error {
    width: 100%;
    margin-top: .25rem;
    font-size: .790em;
    color: #dc3545;
    font-family: 'Ubuntu', serif;
    font-style: normal;
    font-weight: 400;
}

input#card-number.visa {
    background-image: url("../img/logo-visa.svg");
    background-repeat: no-repeat;
    background-position: 95% center;
}
input#card-number.mastercard {
    background-image: url("../img/logo-mastercard.svg");
    background-repeat: no-repeat;
    background-position: 95% center;
}

.msd-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
}
.msd-spinner.visible {
    display: flex;
}
.msd-spinner__text {
    flex: 0.5;
    text-align: center;
    padding: 16px 0 0 0;
    font-size: 12px;
    font-family: 'Ubuntu', serif;
}
.msd-spinner__loader {
    position: relative;
    margin: 0 auto;
    width: 48px;
    animation: start-spinner 0.6s ease-in;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.msd-spinner__loader > svg.circle-container {
    animation: rotateloader 1.4s linear infinite;
    height: 100%;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.msd-spinner__loader > svg.circle-container > circle.stroke {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-width: 4;
    animation: dash 2s ease-in-out infinite,
    colorspinner 2.4s ease-in-out infinite;
    stroke-linecap: round;
    stroke: orange;
}
@keyframes spin {
    0%,
    25% {
        transform: rotate(180deg);
    }
    75%,
    100% {
        transform: rotate(360deg);
    }
}
@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}
@keyframes start-spinner {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(100%);
    }
}
@keyframes opacitylogo {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes rotateloader {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
@keyframes dots {
    100%,
    0% {
        content: '';
    }
    25% {
        content: '.';
    }
    50% {
        content: '..';
    }
    90% {
        content: '...';
    }
}
@keyframes colorspinner {
    0% {
        stroke: #fd7e14;
    }
    25% {
        stroke: #dc3545;
    }
    50% {
        stroke: #007bff;
    }
    100% {
        stroke: orange;
    }
}
.content {
    background: #ffffff;
    flex: 1;
    display: none;
    flex-direction: column;
    max-width: 992px;
    margin: auto;
}
.content.visible {
    display: flex;
}

@media (max-width: 780px) {
    body {
        margin: 0;
        max-width: none;
        width: 100%;
    }
    header, section{
        padding: 0;
        padding: 0 16px;
    }
    .union-image__logo {
        margin: 10px auto;
    }
    .union-container--1392{
        max-width: initial;
        justify-content: center;
        display: flex;
        width: auto;
    }
    .union-card__client {
        margin-top: 0px;
    }
    .union-card__client span {
        display: none;
    }
    .union-grid--two-columns {
        grid-template-columns: auto;
    }
    .union-card__client--amount {
        display: flex;
        justify-content: space-between;
        margin-top: 12px;
    }
    .union-card__client--amount h3 {
        padding: 0;
    }
    .union-card__client--amount p {
        font-size: 14px;
        line-height: 0;
        font-weight: bold;
    }
    .union-grid--one-column.union-grid--left {
        padding-right: 0px;
    }
    .union-grid--one-column.union-grid--right {
        padding-left: 0px;
    }
    .union-grid--one-column.union-grid--right h3, .union-grid--one-column.union-grid--right p{
        text-align: center;
    }
    .union-content--mobile{
        visibility: visible;
        display: block;
    }
    .union-content--desktop{
        display: none;
        visibility: hidden;
    }
    .union-input-container__data {
        bottom: 6px;
    }
    footer {
        display: flex;
        flex-direction: column;
        padding: 0 16px;
    }

    .union-text__subtitle{
        font-size: 12px;
        font-weight: normal;
        color: #6D91A3;
        margin: 23px auto;
        display: grid;
        grid-template-columns: 1fr max-content 1fr;
        grid-column-gap: 1.2rem;
        align-items: center;
        width: 100%;
    }

    .union-text__subtitle::before,
    .union-text__subtitle::after {
        content: "";
        display: block;
        height: 1px;
        background-color: #6D91A3;;
    }

    .union-footer__secondary {
        text-align: center;
        margin: 30px auto;
        font-size: 12px;
    }
    .union-grid--one-column.union-grid__left {
        width: 100%;
    }
    .union-grid--one-column.union-grid__right {
        width: 100%;
    }
    .union-content--mobile .union-content{
        margin: 25px 0;
    }
    .union-grid--one-column.union-grid__right {
        padding-left: 0;
    }
    .union-input-container__data {
        position: absolute;
        right: 0;
        top: 0;
    }
    footer {
        margin: auto;
        width: auto;
    }

}
.qrLoad .msd-spinner {
    width: auto;
    height: 215px;
}
@media (max-width: 575.98px) {
    .union-button {
        width: auto;
    }
    .union-button2 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    input#cvv, input#fecha{
        width: 95%;
    }
    div.cuotas-tarjeta{
            width: 95%;
    }
    .union-images__footer--logos {
        display: block;
        margin-left: 24px;
        margin-top: 10px;
    }
    .union-footer__box {
        display: grid;
        grid-template-columns: 33px 90%;
        margin: 40px 0;
    }
}
  .header-resumen-pago__close {
    background: url(../img/close.svg) center no-repeat;
    width: 24px;
    height: 24px;
    margin-left: auto;
  }
