﻿html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

a {
    text-decoration: none !important;
}

/*Font definition */
.header-text {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 60px;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.logoStep {
    display: block;
    height: 120px;
    margin: auto;
    margin-bottom: -3.4em;
    border: 3.5px solid;
    border-color: white;
    border-radius: 50%;
}

.merchant-custom-text {
    margin: 30px auto auto auto;
    width: 80%;
}

.logoContainer {
    position: initial;
    width: 100%;
    margin-left: 0px;
}

.newlogoStep {
    display: block;
    height: 110px;
    width: 250px;
    object-fit: contain;
    margin: auto;
}

.headerBrand {
    margin-bottom: 0px;
    font-size: 13px;
    text-align: center;
}

.footerBrand {
    font-size: 13px;
    text-align: center;
    font-weight: bold;
    margin: 0.5em 0px 0.5em 0px;
}

.body-container {
    padding: 1em 5em;
}

.input-fields {
    display: flex;
    gap: 5em;
}

.invoice-paid-summary {
    color: black !important;
    border: none !important;
    padding: 0px !important;
    column-span {
        color: black;
    }
}

.input-container {
    display: block;
    width: auto;/*100%;*/
    text-align: left;
    /*float: left;
    margin: 0em 5px 1em 5px;*/
}

.centered-box-container {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

.payably-grid-template-column-ad-version {
    grid-template-columns: 250px 520px !important;
}

p#testprivacy {
    display: grid;
    justify-content: space-around;
}

.invoice-error {
    display: inline-flex;
    height: 220px;
    width: 100%;

    span
    {
        margin: auto;
        color: red;
        font-weight: bold;
    }
}

.input-wrapper {
    width: auto;/*100%;*/
    display: inline-flex;
    border: solid 0.5px #CDCDCD;
    color: rgba(192, 192, 192);
    background-color: transparent;
    input {
        background-color: transparent !important;
    }
    span
    {
        margin: 0px;/*auto;*/
        padding-left: 0px;/*5px;*/
    }
}

.input-field {
    height: auto;
    width: auto;/*100%;*/
    /*padding: 5px;*/
    font-size: 13px;
    color: rgba(192, 192, 192);
    background-color: transparent;
    border: solid 0.5px #CDCDCD;
    outline: transparent !important;
}

.no-border {
    border-style: none;
}

.paymentMethodSpan {
    font-weight: bold;
    font-size: 15px;
}

.paymentMethodContainer {
    display: flex;
    min-width: 205px;
    border: solid 1px lightgrey;
    padding: 1px 5px;
    justify-content: center;
}

.nextButton {
    border-radius: 15px;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 12px !important;
    height: 40px;
}

.flex-center {
    display: flex;
    margin: auto;
    justify-content: center;
    font-size: 15px;
}

.hide {
    display: none;
}

.inactive-step {
    background-color: rgba(192, 192, 192, 0.5);
    margin-right: 5em;
}

.invoice-paid {
    display: flex;
    margin: auto;
    justify-content: center;
    color: rgb(75, 181, 67);
    margin: 10px 0px;
    text-transform: uppercase;
    h4

{
    margin: auto 0px;
    padding-left: 10px;
}

img {
    width: 40px;
    height: 40px;
}

}

.invoice-failed {
    display: flex;
    margin: auto;
    justify-content: center;
    color: #C43735;
    margin: 10px 0px;
    text-transform: uppercase;
    h4 {
        margin: auto 0px;
        padding-left: 10px;
    }

    img {
        width: 40px;
        height: 40px;
    }
}

#paymentCardContainer {
    height: 97px;
    margin-top: 10px;
    /*padding-left: 4.5em;*/
}

.payjs-label {
    font-family: sans-serif;
    font-size: 13px;
    font-weight: bold;
}

.card-holder-container {
    /*padding-left: 4.5em;*/
    /* row-gap: 0.3rem; */
    /* column-gap: 1em; */
    width: 100%;
    /* display: grid;*/
    /* grid-template-columns: 20% 34% 20% 20%; */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 17px;
}

.payjs-base {
    border-radius: 6px;
    border: 1px solid #ced4da !important;
    color: #495057;
    background: #fff;
    padding: 0.3rem;
    height: 36px;
    width: 100%;
    outline: none;
}

/*#account-type {
    width: 95%;
}*/

.ach-base {
    width: 100% !important;
}

.payjs-container input {
    display: inline-block;
}

.payjs-wrapper {
    width: auto !important;
    max-height: 75px;
}

.pay-now-div {
    display: block; /*flex;*/
    /*margin-left: 4em;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 1em;*/
    margin: auto;
}

.info-text-div {
    width: auto;
    margin: auto;
    display: flex;
    text-align: center;
    min-width: 300px;
}

.disabled-link {
    pointer-events: none;
}

.payjs-result-error {
    text-align: center;
    margin-left: 0px;
    color: red;
}

.ach-container {
    margin-left: 5em;
    display: block;
}

.disclaimer-div {
    /*margin-left: 6.5em;*/
    text-align: justify;
    font-size: 12px;
}

.field-error {
    color: red;
    display: block!important;
    font-size: 12px;
    margin-left: 5px;
}

.total-amount {
    /*margin: auto 0px auto 1em;*/
    margin: auto 0px;
    font-size: 22px;
    p {
        margin-bottom: 0.1rem;
    }
}

.g-recaptcha {
    transform: scale(0.90);
    display: flex;
    justify-content: center;
}

.pay-btn-container {
    /*width: 100%;*/
    display: flex;
    /* margin: auto; */
    justify-content: end;
    height: 100%;
}

.payably-finance {
    display: inline-flex;
    margin: auto;
    width: 100%;
    justify-content: space-between;
    height: 80px !important;
}

.payfields-wrapper {
    height: 80px;
    width: 100%;
}

.payfields-expire-cvv {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 5px;
}

.account-type-div {
    /*transform: scale(1.09, 1.3);
    padding-left: 10px;*/
    padding-top: 0px;
    width: 100%;
}

/*Steps widget*/
    .stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding: 0px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;

    @media (max-width: 768px) {
        font-size: 12px;
    }
}

    .stepper-item::before {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 85%;
        top: 15px;
        left: -40%;
        z-index: 1;
    }

    .stepper-item::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 30%;
        top: 15px;
        left: 55%;
        z-index: 2;
    }

    .step-progress::after {
        border-color: #ccc;
    }

    .stepper-item .step-counter {
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #ccc;
        margin-bottom: 6px;
        color: white;
        background-color: rgba(75, 181, 67, 0.3);
    }

    .stepper-item.active {
        font-weight: bold;
        .step-counter

{
    background: rgb(75, 181, 67);
}

}

.stepper-item.completed .step-counter {
    background-color: #4bb543;
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #4bb543;
    width: 90%;
    top: 15px;
    left: 55%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

.container {
    max-width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 0px;
}

.shellContainer {
    color: #000;
    display: flex;
    flex-direction: row;
    overflow: auto;
}

.shell {
    padding-left: 10px;
    padding-right: 10px;
    margin: auto;
    width: 70%;
}

.adShell {
    width: 45%;
    float: left;
    align-content: center;
}

/* Ads styles */
#ad-div {
    display: block;
    width: 50%; 
    height: 100%;
    overflow: hidden;
}

.ad-link-target {
    width: 100%;
    color: transparent;
    .ad-img {
        width: inherit;
        height: 100%;
        transition: transform 0.3s ease-in-out;
    }
    .ad-img:hover {
        transform: scale(1.05); /* Increases size by 5% */
    }
}

.shell-ad {
    width: 50%;
    margin-top: 3%;
    margin-bottom: 2%;
}

a,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"],
input[type="image"],
label[for] {
    cursor: pointer;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
        color: #4f6efd;
    }

.paymentBtn {
    max-width: 80px;
    max-height: 85px;
    padding: 10px;
}

.btn {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: orange;
    font-size: 15px;
    line-height: 1;
    border-radius: 25px;
    background: white;
    border-radius: 20px;
    border: 1px solid orange;
    padding: 5px 15px;
    -webkit-transition: background .3s;
    -o-transition: background .3s;
    transition: background .3s;
    margin-right: 85PX;
    margin-left: 20px;
    margin-top: 20px;
}

.btnV2 {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    color: white;
    font-size: 9px;
    background: #838383;
    border: 1px solid #838383;
    padding: 15px 25px;
    margin-left: 14em;
    margin-top: 15px;
    font-family: 'Verdana', sans-serif;
}

.btnV2-active {
    display: flex; /* inline-block */
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    color: white;
    background: #2da137;
    border: 1px solid #2da137;
    padding: 15px 25px;
    margin: auto; /* margin-top: 15px !important; */
    font-family: 'Verdana', sans-serif;
}

.logo {
    width: 220px;
    height: auto;
}

.content-area {
    width: 100%;
    height: 100vh;
    overflow: auto;
    /*position: relative;*/
    z-index: 0;
    /*text-align: center;*/
    display: flex;
    flex-direction: column;
}

.content-area-ad {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 0;
    /*text-align: center;*/
    display: flex;
}

.form-step {
    width: 100%;
    display: none;
}

    .form-step.active {
        display: flex;
        flex-direction: column;
    }

.btn-group {
    width: 75%;
    display: -webkit-inline-box;
    align-items: center;
    justify-content: right;
}

.form-popup {
    position: relative;
    top: 0px;
    left: 0;
    right: 0;
    margin: 0;
    background: #fff;
    max-width: fit-content;
    max-height: fit-content;
}

.popup-text {
    text-align: left;
}

.payment-form {
    display: block;
    overflow: hidden;
    width: 100%;
    background-color: #fff;
    border-radius: 25px;
}

#header {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 50px;
}

.convenience-fee {
    font-size: 14px;
}

#paymentMethodDiv {
    display: block;
    width: 100%;
    padding: 0px 5em;
}

#paymentFormTextDiv {
    cursor: pointer;
    display: flex;
    height: fit-content;
    width: 100%;
    margin-top: 5px;
    padding-left: 5px;
}

#step1Container {
    margin-right: 0px;
}

.payment-type {
    display: flex;
}

#nextBtnDiv {
    display: flex;
    flex-direction: row-reverse;
}

#paymentDetailTextDiv {
    display: flex;
    margin-left: 5em;
    padding-left: 5px;
}

#paymentConfirmationTextDiv {
    display: flex;
    margin-left: 5em;
    padding-left: 5px;
}

.pci-logo-responsive {
    display: none;
    width: 100%;
    img {
        margin: auto;
        height: 30px;
    }
}

#step2Container {
    /*padding-left: 5px;
    padding-right: 5em;
    margin-bottom: 5px;*/
    padding: 0px 5em;
}

.email-receipt {
    width: 100%;
}

.name-on-card {
    width: 100%;
}

.billing-street-address {
    width: 100%;
}

.zip-code {
    width: 100%;
}

.ach-footer {
    margin-top: 2px;
    margin-bottom: 15px;
}

.footer-separator {
    display: inline;
}

.responsive-card-details {
    display: none;
}

.ach-footer-responsive {
    display: none;
}

.grid-column-end {
    grid-column: 4;
}

.payment-summary {
    display: flex;
    margin-top: 15px;
}

.ach-input-fields {
    margin: 10px 0px;
    /*display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: 5rem 5rem 5rem;
    margin: auto;
    gap: 15px 10px;
    margin-top: 10px;
    justify-content: space-between;*/
}

.grid-span-2-columns {
    grid-column: 1 / 3;
}

.blockUI {
    width: 100% !important;
    background-color: transparent !important;
    img {
        width: auto;
        height: 300px;
        margin: auto;
    }
}

#main-content {
    padding: 0px 4em;
}

.main-conten-add-padding {
    padding: 0px 1em;
}

.payment-methods {
    /*display: flex;
    gap: 1em;
    justify-content: center;
    padding: 1em;*/
    padding: 1em 0px;
    max-width: 600px;
    min-width: 250px;
    margin: auto;
}

.input-field {
    border: none;
    color: black;
}

.input-wrapper {
    color: black;
    border: none;
}

/* Footer CSS Styles */
.payably-footer {
    padding: 20px 15px 10px 15px;
}

.powered-by {
    width: 250px;
    margin: auto;
    padding-bottom: 5px;
}

.pci-logo-footer {
    width: 240px;
    margin: auto;
}

.pci-logo-container {
    display: flex;
    justify-content: center;
    /*padding-right: 15px;*/
    column-gap: 20px;
    /*position: relative;
    top: 15px;*/
}

/*.pci-logo {
    position: relative;
    right: 30%;
}*/

.payably-footer-ad-version {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    margin-bottom: 10px;
    font-size: 14px;
    margin-top: 1%;
    margin-bottom: 3%;
    position: absolute;
    bottom: 180px;
    margin-left: 30px;
    div {
        margin: auto 0px;
        position: relative;
        left: 30px;
        top: 5px;
    }
    img {
        height: 40px;
    }
}
/* END - Footer CSS Styles */

/* Paynow 4.0 MEDIA QUERIES */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* <576px — Extra pequeñas (XS) */
@media (max-width: 575.98px) {
    /* Estilos para pantallas muy pequeñas */
    .paymentMethodContainer {
        min-width: 150px;
    }

    .shell {
        padding-left: 0px;
        padding-right: 0px;
        margin: auto;
        width: 95%;
    }

    .merchant-custom-text {
        margin: auto;
    }

    #header {
        margin-bottom: 15px;
    }

    #main-content {
        padding: 0px;
    }

    .body-container {
        padding: 1em;
    }

    .input-wrapper {
        input {
            max-width: 100px;
        }
    }
    
    .input-container {
        input {
            max-width: 100px;
        }
    }

    .small-device-margin {
        margin-left: -5px;
    }

    #paymentMethodDiv {
        padding: 0px 0.5em;
    }

    #nextBtnDiv {
        margin-top: 1em;
    }

    #paymentDetailTextDiv {
        margin-left: 0.5em;
    }

    #paymentConfirmationTextDiv {
        margin-left: 0.5em;
    }

    .inactive-step {
        margin-right: 0.5em;
    }

    #step2Container {
        padding: 0px 0.5em;
    }

    .pay-btn-container {
        justify-content: center;
        padding: 0.5em;
    }

    #thankMessage {
        padding: 0px 0.5em;
    }

    /* Stepper responsive styles */
    .stepper-item::before {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 55%;
        top: 15px;
        left: -20%;
        z-index: 1;
    }

    .stepper-item::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 30%;
        top: 15px;
        left: 65%;
        z-index: 2;
    }

    .stepper-item.completed::after {
        width: 70%;
        left: 65%;
    }

    .payably-finance {
        display: block;
        margin-bottom: 5em;
    }

    .payfields-expire-cvv {
        gap: 15px;
    }

    .payjs-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 110px;
    }

    #ad-div {
        display: none;
    }
}

/* ≥576px — Pequeñas (SM) */
@media (min-width: 576px) {
    /* Estilos para pantallas pequeñas */
    .shell {
        padding-left: 0px;
        padding-right: 0px;
        margin: auto;
        width: 95%;
    }

    .merchant-custom-text {
        margin: auto;
    }

    #header {
        margin-bottom: 15px;
    }

    #main-content {
        padding: 0px;
    }

    .body-container {
        padding: 1em;
    }

    .input-wrapper {
        input {
            max-width: 100px;
        }
    }
    
    .input-container {
        input {
            max-width: 100px;
        }
    }

    .small-device-margin {
        margin-left: -5px;
    }

    #paymentMethodDiv {
        padding: 0px 0.5em;
    }

    #nextBtnDiv {
        margin-top: 1em;
    }

    #paymentDetailTextDiv {
        margin-left: 0.5em;
    }

    #paymentConfirmationTextDiv {
        margin-left: 0.5em;
    }

    .inactive-step {
        margin-right: 0.5em;
    }

    #step2Container {
        padding: 0px 0.5em;
    }

    .pay-btn-container {
        justify-content: center;
        padding: 0.5em;
    }

    #thankMessage {
        padding: 0px 0.5em;
    }

    /* Stepper responsive styles */
    .stepper-item::before {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 60%;
        top: 15px;
        left: -20%;
        z-index: 1;
    }

    .stepper-item::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 30%;
        top: 15px;
        left: 60%;
        z-index: 2;
    }

    .stepper-item.completed::after {
        width: 80%;
        left: 60%;
    }

    #ad-div {
        display: none;
    }
}

/* ≥768px — Medianas (MD) */
@media (min-width: 768px) {
    /* Estilos para pantallas medianas */
    .shell {
        width: 90%;
    }

    #header {
        margin-bottom: 1em;
    }

    #main-content {
        padding: 0px 1em;
    }

    .body-container {
        padding: 1em;
    }

    .input-wrapper {
        input {
            max-width: 100px;
        }
    }
    
    .input-container {
        input {
            max-width: 100px;
        }
    }

    #paymentMethodDiv {
        padding: 0px 1em;
    }

    #nextBtnDiv {
        margin-top: 0px;
    }

    #paymentDetailTextDiv {
        margin-left: 1em;
    }

    #paymentConfirmationTextDiv {
        margin-left: 1em;
    }

    .inactive-step {
        margin-right: 1em;
    }

    #step2Container {
        padding: 0px 1em;
    }

    .pay-btn-container {
        justify-content: center;
        padding: 0.5em;
    }

    .nextButton {
        padding: 6px 8px !important;
    }

    #thankMessage {
        padding: 0px 1em;
    }

    .powered-by {
        width: auto;
        text-align: center;
        img {
            margin-left: 0px !important;
        }
    }
    
    .stepper-item::before {
        width: 60%;
    }

    .stepper-item::after {
        left: 60%;
    }

    .stepper-item.completed::after {
        width: 80%;
        left: 60%;
    }

    #ad-div {
        display: none;
    }
}

/* ≥992px — Grandes (LG) */
@media (min-width: 992px) {
    /* Estilos para pantallas grandes */
    .powered-by {
        width: auto;
        text-align: center;
        img {
            margin-left: 0px !important;
        }
    }

    .stepper-item::before {
        width: 62%;
    }

    .stepper-item::after {
        left: 58%;
    }

    .stepper-item.completed::after {
        width:86%;
        left: 57%;
    }

    #ad-div {
        display: none;
    }
}

/* ≥1200px — Extra grandes (XL) */
@media (min-width: 1200px) {
    /* Estilos para pantallas extra grandes */
    #ad-div {
        display: block;
    }

    .shell-ad {
        width: 50%;
        margin-top: 3%;
        margin-bottom: 2%;
    }
}

/* ≥1400px — Ultra grandes (XXL) */
@media (min-width: 1400px) {
    /* Estilos para pantallas ultra grandes */
    .shell {
        width: 70%;
    }

    .shell {
        width: 70%;
    }

    .stepper-item::before {
        width: 65%;
    }

    .stepper-item::after {
        left: 55%;
    }

    .stepper-item.completed::after {
        width: 90%;
        left: 55%;
    }

    #ad-div {
        display: block;
    }

    .shell-ad {
        width: 50%;
        margin-top: 3%;
        margin-bottom: 2%;
    }
}