﻿
.pm-text-center {
    text-align: center;
    margin: 20px;
}

.pm-title {
    color: #00693C;
    font-weight: bold;
}


.label-title {
    color: #00693C;
    font-size: 18px;
    text-align: center;
}


.pm-subtitle {
    color: #69BE28;
    margin: 15px;
    text-align: left;
    padding: 10px 10px;
    max-width: 1000px;
    margin: auto;
}

.label-movil {
    color: #69BE28;
    font-size: 10px;
    text-align: center;
}

.label-number-movil {
    color: #00693C;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.label-sms {
    color: #00693C;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.label-reenvio {
    color: #00693C;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    text-decoration: underline !important;
}

.label-sms-question {
    font-weight: 500;
    font-size: 10px;
    text-align: center;
}

.pm-subtitle-otp {
    color: #69BE28;
    margin: 15px;
    text-align: center;
    padding: 10px 10px;
    max-width: 1000px;
    margin: auto;
}

.inputs-otp {
    position: relative;
    width: 440px;
    max-width: 20%;
    margin: 0 auto 15px;
    text-align: center;
    white-space: nowrap;
    font-size: 0;
}

.buttons-otp {
    text-align: center
}

.pm-input-readonly {
    border: 1px solid #f9f9f9;
    background-color: #f9f9f9;
    padding: 10px;
    vertical-align: middle;
    color: #888;
    text-align: center;
    font-weight: bold;
    height: 40px;
    padding: 10px;
}

.pm-mastercard {
    position: absolute;
    width: 25px;
    height: 25px;
    /*right: 2px;*/
    bottom: 7px;
}

.pm-visa {
    position: absolute;
    width: 25px;
    height: 23px;
    /*right: 2px;*/
    bottom: 7px;
}

.pm-amex {
    position: absolute;
    width: 25px;
    height: 23px;
    bottom: 7px;
    margin-left: -17px;
    margin-bottom: 5px;
}


.pm-mastercard-table {
    width: 25px;
    height: 25px;
}

.pm-visa-table {
    width: 23px;
    height: 18px;
}

.pm-amex-table {
    width: 23px;
    height: 18px;
}

.pm-buttons-div {
    max-width: 1000px;
    margin: auto;
    padding: 5px 0px 5px;
    right: 5px;
    text-align: right;
}

.pm-text-div {
    max-width: 1000px;
    margin: auto;
    padding: 5px 0px 5px;
    font-size: 11px;
    font-weight: bold;
}

.fieldset {
    position: relative;
    margin: 0 0 20px;
}

.pm-link {
    text-align: center;
    color: inherit;
    cursor: pointer;

    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
}

.pm-link-otp {
    text-align: center;
    color: inherit;
    cursor: pointer;
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    text-decoration: underline;
}

.pm-link-otp-wait {
    text-align: center;
    color: inherit;
    cursor: default !important;
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    text-decoration: none !important;
}

.pm-link:hover {
    text-decoration: underline;
    color: inherit;
    cursor: pointer;
}


/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/

.form-fields {
    position: relative;
}

.pm-inputs {
    position: relative;
    /*width: 440px;*/
    max-width: 100%;
    margin: 0 auto 15px;
    text-align: center;
    white-space: nowrap; /*fix for 'required' elements*/
    font-size: 0;
}

    .pm-inputs:after {
        content: "";
        display: block;
        clear: both;
    }

    .pm-inputs label {
        display: block;
        width: 100%;
        margin: 0 0 5px;
        text-align: center;
        font-size: 15px;
    }
    .pm-inputs input {
        border: 1px solid #f9f9f9;
        background-color: #f9f9f9;
        padding: 10px;
        vertical-align: middle;
        color: #888;
        text-align: center;
        font-weight: bold;
        height: 40px;
        width: 100%;        
    }

.earth-theme .pm-inputs input[type="text"] {
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: bold;
}

@media (min-width: 721px) {
    .paymentmethod-page .form-fields {
        padding: 25px 2% 20px;
    }
}

@media (min-width: 721px) {
    .paymentmethod-page .form-fields:after {
        content: "";
        display: block;
        clear: both;
    }
}

@media (min-width: 721px) {
    .paymentmethod-page .pm-inputs {
        float: left;
        width: 28%;
        margin-left: 2%;
    }
}

@media (min-width: 721px) {
    .paymentmethod-page .pm-inputs:nth-child(3n+1) {
        clear: both;
        margin-left: 0;
    }
}

@media (min-width: 721px) {
    .paymentmethod-page .pm-inputs:nth-child(4n+1) {
        clear: both;
        margin-left: 0;
    }
}

.paymentmethod-page .pm-inputs:only-child {
    width: 100%;
}

.paymentmethod-page .custom-attributes {
    float: none;
    width: auto;
    margin-left: 0;
}

.paymentmethod-page .custom-attributes li {
    width: 24.25%;
    margin: 0 0 0 1%;
}

.paymentmethod-page .custom-attributes li:nth-child(4n+1) {
    margin-left: 0;
}

.paymentmethod-page {
    margin: 0 0 15px;
}


@media (min-width: 721px) {
    .paymentmethod-page .form-fields {
        max-width: 1000px;
        margin: auto;
        border-top: 1px solid #eee;
        background-color: #f9f9f9;
        padding: 25px 10px 20px;
    }
}

.paymentmethod-page .select-wrap {
    display: inline-block; /*should be inline-block, otherwise the "required" symbol will drop on a new line*/
    width: 100%;
}

.paymentmethod-page .select-wrap + .required,
.paymentmethod-page .option-list + .required {
    position: relative;
}

.paymentmethod-page .title {
    text-align: center;
}
.pm-div-table {
    max-width: 1000px;
    margin: auto;
}

/*------------------------------------------------------------------------------------------------------------*/


/*---------------------------------ESTILO PARA EL LISTADO DE TARJETAS-----------------------------------------*/
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;

}
/* Zebra striping */
tr:nth-of-type(odd) {
    background: #eee;
}

th {
    background: #00693C;
    color: white;
    font-weight: bold;
}

td, th {
    padding: 6px;
    /*border: 1px solid #ccc;*/
    text-align: left;
}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    table, thead, tbody, th, td, tr {
        display: block;
    }
  
    /*se oculta los headers(sin usar display:none; por accesiblidad)*/
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        border: 1px solid #ccc;
    }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        td:before {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }

        /*texto de la columna*/
        td:nth-of-type(1):before {
            content: "Nombre en tarjeta";
        }

        td:nth-of-type(2):before {
            content: "Tipo";
        }

        td:nth-of-type(3):before {
            content: "Tarjeta";
        }

        td:nth-of-type(4):before {
            content: "Expira";
        }
}

/*---------------------------------ESTILO PARA EL CHECK DE TARJETA PREFERIDA-----------------------------------------*/
.containerCheck {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* oculta el checkbox por defecto*/
    .containerCheck input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* crea el custom checkbox */
.checkmark {
    position: absolute;
    /*top: 0;*/
    left: 50%;
    height: 25px;
    width: 25px;
    border: 1px solid #929191;
    background-color: #fff;
    text-align: center;

}

.containerCheck:hover input ~ .checkmark {
    background-color: #ccc;
}

.containerCheck input:checked ~ .checkmark {
    background-color: #006338;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.containerCheck input:checked ~ .checkmark:after {
    display: block;
}

.containerCheck .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}