@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

:root {
    --CA_bradescard: #008aa2;
    --CrediBodega_Bradescard: #5bb158;
    --Del_Sol_-_Woolworth_bradescard: #eba300;
    --Shasa_Bradescard: #f393ae;
    --Bradescard_Promoda: #515050;
    --Bradescard_total: #cc092f;
    --CCP_Bradescard: #1f1d21;
    --color-theme: var(--Bradescard_total);
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100% !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    color: #000;
}

#wrapper {
    position: absolute;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    text-align: center;
    background-color: #fff;
}

#content {
    height: 80vh !important;
    min-height: 80vh !important;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

header {
    width: 100%;
    height: 160px;
    background: #cc092f;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}


.titular {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
}

/*
.titular {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    position: absolute;
    top: 55%;
    left: 10%;
    margin: -25px 0 0;
    float: left;
}

.titular2 {
    color: #fff;
    font-weight: 700;
    font-size: 3rem;
    top: 55%;
    left: 10%;
    margin: -25px 0 0;
}
*/

.titular2 {
    color: #fff;
    font-weight: 700;
}

.subtitular {
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    text-align: left;
    color: var(--color-theme);
    padding-left: 50px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.texto_azul_tarjetas {
    font-size: 19px;
    font-weight: 600;
    color: #354A89;
    padding-top: 10px;
    padding-bottom: 10px;
}


.card2 .texto_azul_tarjetas {
    font-size: 19px;
    font-weight: 600;
    color: #354A89;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 1rem 0 3rem 0;
}

.logo {
    width: 50%;
}

/*
.btn-back {
    max-width: 120px;
    position: absolute;
    top: 50%;
    left: 5%;
    margin: -25px 0 0;
    float: left;
}
*/

.clear {
    clear: both;
    width: 100%;
    height: 102px;
    margin: 0;
    float: none;
    padding: 0;
}

.tarjetero {
    box-shadow: 0px 4px 10px 5px rgb(199 199 199 / 50%);
    border-radius: 10px;
}

.tarjetero2 {
    box-shadow: 0px 4px 10px 5px rgb(199 199 199 / 50%);
    border-radius: 10px;
    background: #f2f2f2 !important;
    width: 60%;
}

.tarjetero3 {
    box-shadow: 0px 4px 10px 5px rgb(199 199 199 / 50%);
    border-radius: 10px;
    background: #f2f2f2 !important;
    width: 60%;
}

.card {
    position: relative;
    display: inline-block;
    margin: 12px;

    width: 250px;
    height: 250px;

    padding-left: 5px;
    padding-right: 5px;
    padding-top: 40px;
    padding-bottom: 10px;

    background-image: url('../images/card-back@2x.jpg');
    background-repeat: repeat-x;
    background-position: top left;

    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;

    filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.31));

    transition: all 0.2s ease-in-out;
}


.card2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 12px;
    width: 100%;
    max-width: 250px;
    padding: 1rem 5px 10px;
    background-image: url(../images/card-back@2x.jpg);
    background-repeat: repeat-x;
    background-position: top left;
    border-radius: 25px;
    filter: drop-shadow(0px 6px 4px rgba(0, 0, 0, 0.31));
    transition: all 0.2s ease-in-out;
}

.container-card2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn_main {
    background-color: var(--color-theme);
    color: #fff;
    font-weight: 600;
    font-size: 16px;

    width: 90% !important;
    height: 45px !important;

    position: absolute;
    bottom: 10px;

    left: 50%;
    transform: translate(-50%);


    border: none;
    outline: none;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.btn_main2 {
    background-color: var(--color-theme);
    color: #fff;
    font-weight: 600;
    font-size: 16px;

    width: 90% !important;
    height: 45px !important;

    position: absolute;
    bottom: 10px;

    left: 50%;
    transform: translate(-50%);


    border: none;
    outline: none;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.btn_main:hover {
    /*background-color: #FF002B;*/
}

.card-v-mini {
    display: inline-block;
}

.card-v-mini img {
    max-width: 45px;
}

.card-h-mini {
    display: inline-block;
}


.card-h-mini img {
    max-width: 75px;
}



.card-v-med {
    display: inline-block;
}

.card-v-med img {
    max-width: 65px;
}

.card-h-med {
    display: inline-block;
}

.card-h-med img {
    max-width: 110px;
}

/*
.card-single {
    position: absolute;
    z-index: 900;
    top: 60px;
    right: 25%;
    float: right;
}
*/

.card-single img {
    max-width: 100px;
}

.card-single img {
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.9));
}

.rojo {
    color: #CC1332;
}

.azul {
    color: #354A89;
}

.negro {
    color: #000;
}




/* ::::::::::  COLUMNAS ::::::::::::::::::::::::::  */

.valido {
    margin-bottom: 4px;
    width: 100%;
    height: 35px;
    color: #fff;
    font-size: 0.8em;
    background-color: #66B40C;
    text-align: center;
    vertical-align: middle;
    border: none;

    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

.novalido {
    margin-bottom: 4px;
    width: 100%;
    height: 35px;
    color: #fff;
    font-size: 1em;
    background-color: #FB3B00;
    text-align: center;
    vertical-align: middle;
    padding-top: 10px;
    border: none;

    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}



/* ··············· FORMULARIOS ························· */

#forma {
    position: relative;
    top: 30%;
    -webkit-transform: translateY(-30%);
    -ms-transform: translateY(-30%);
    transform: translateY(-30%);

    margin: 0 auto;
    z-index: 300;
    width: 70%;
    height: auto;
    background-color: #fff;
    padding: 30px 20px 30px 20px;

    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}


input[type=text] {
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
}


.losinputs {
    margin-bottom: 4px;
    height: 55px;
    color: #404040;
    font-size: 22px;
    background-color: #DADADA;
    text-align: left;

    text-indent: 17px;
    border: 1px solid #888888;

    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;

}


.losinputs:focus {
    background-color: #E2E2E2;
    color: #404040;
}


.pesos {
    position: relative;
}

.pesos input {
    padding-left: 15px;
}

.pesos:before {
    font-size: 22px;
    color: #2d2d2d;
    position: absolute;
    top: -7px;
    content: "$";
    left: 15px;
}


select {
    margin-bottom: 4px;
    width: 70%;
    height: 35px;
    color: #404040;
    font-size: 15px;
    background-color: #F1F1F1;
    text-align: left;

    border-style: none;

}

*:focus {
    outline: none;
}

::-webkit-input-placeholder {
    color: #404040;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #404040;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #404040;
}

:-ms-input-placeholder {
    color: #404040;
}


textarea {
    margin-bottom: 4px;
    width: 70%;
    height: 135px;
    color: #404040;
    font-size: 15px;
    background-color: #E0E0E0;
    text-align: left;

    text-indent: 12px;
    border-style: none;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    resize: none;

}






/* -------- LOS ERRORES ---------------------------------------- */
#errorContainer {
    display: none;
    width: auto;
    height: auto;
    color: #404040;
    /* border: 1px solid #FF2323; */
    text-align: justify;
    padding: 8px 0px 8px 0px;
    font-size: 0.7em !important;
}

#errorContainer label {
    float: none;
    width: auto;
}

input.error {
    border: 2px solid #FF2323;
}

select.error {
    background-color: #FF2323;
    border: 2px solid #FF2323;
}

#aviso.error {
    border: 2px solid #FF2323;
}

input[type=checkbox].error {
    outline: 2px solid #FF2323;
}






/* ------- MEDIA QUERIES --------------------- */


/* ----  tercer y último CAMBIO -------------- */

@media screen and (max-width:480px) {
    /*
    .logo {
        max-width: 185px;
        position: relative;
        top: -9px;
        margin: 0 auto;
        float: none;
    }
    */

    /*
    .titular {
        position: relative;
        top: 63px;
        left: 4px;
        margin: 0 auto;
        float: none;
        font-size: 17px;
    }
    */

    .texto_azul_tarjetas {
        font-size: 18px;
        font-weight: 600;
        color: #354A89;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /*
    .btn-back {
        top: 120px;
        left: 41%;
    }
    */

    .btn_main {
        font-size: 14px;
        width: 95% !important;
        height: 45px !important;
    }
    
    .btn_main2 {
        font-size: 14px;
        width: 95% !important;
        height: 45px !important;
        display: block;
        position: relative;
        margin-top: 0px !important;
        top: -5vh !important;
    }

    .subtitular {
        color: #fff;
        font-weight: 700;
        font-size: 20px;
        text-align: center;
        color: var(--color-theme);
        padding-left: 3px;
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .derecha {
        text-align: center !important;
    }

    .padding2 {
        padding: 4px !important;
    }

    .losinputs {
        width: 100% !important;
    }

    .w70,
    .w55,
    .w35 {
        width: 90% !important;
    }

    .card {
        width: 225px;
        height: 228px;
        padding: 22px 3px 4px 3px;
        margin: 12px;
    }
	/*
    .card-single {
        position: relative;
        margin: 0 auto;
        float: none;
        padding: 10px 10px 10px 10px;
        margin-bottom: 55px;
        margin-top: -90px;
    }
    */

    .card-single img {
        max-width: 100px;
    }



}


/* ----  segundo CAMBIO -------------- */

@media screen and (min-width:481px) and (max-width:880px) {
    .logo {
        max-width: 230px;
        position: relative;
        top: -30px;
        margin: 0 auto;
        float: none;
    }

    /*
    .titular {
        position: relative;
        top: 90px;
        left: -15px;
        margin: 0 auto;
        float: none;
    }
    */

    .derecha {
        text-align: center !important;
    }

    .padding2 {
        padding: 4px !important;
    }

    .losinputs {
        width: 100% !important;
    }

    .w70,
    .w55,
    .w35 {
        width: 90% !important;
    }
    
	/*
    .card-single {
        position: relative;
        margin: 0 auto;
        float: none;
        padding: 10px 10px 10px 10px;
        margin-bottom: 55px;
        margin-top: -90px;
    }
    */

    .card-single img {
        max-width: 100px;
    }
}

.CA_bradescard {
    background: #008aa2 !important;
}

.CrediBodega_Bradescard {
    background: #5bb158 !important;
}

.Del_Sol_-_Woolworth_bradescard {
    background: #ffba1b !important;
}

.Shasa_Bradescard {
    background: #ddabb9 !important;
}

.Bradescard_Promoda {
    background: #515050 !important;
}

.Bradescard_total {
    background: #cc092f !important;
}

.CCP_Bradescard {
    background: var(--CCP_Bradescard) !important;
}



.btn-back {
    color: #FFF !important;
    background: none !important;
    border: 2px solid #FFF !important;
    border-radius: 50% !important;
    width: 3rem !important;
    height: 3rem !important;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.btn-back #btn_reg {
    color: #FFF !important;
}

/* Pequeños dispositivos (móviles en vertical, menos de 576px) */
@media (max-width: 767px) {
    header {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: space-evenly;
        align-items: center;
        height: auto;
        padding: 1.5rem 0px;
    }

    header .titular {
        font-size: 2rem;
    }
}

/* Dispositivos grandes (tablets en horizontal y laptops pequeñas, entre 768px y 991px) */
@media (min-width: 768px) and (max-width: 1023px) {
    header {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: space-evenly;
        align-items: center;
        height: auto;
        padding: 1.5rem 0px;
    }

    header .titular {
        font-size: 1.4rem;
    }

    header .logo {
        margin-top: 2rem;
    }
}

/* Computadoras de escritorio estándar (entre 992px y 1199px) */
@media (min-width: 1024px) {
    header {
        display: flex;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: space-around;
        align-items: flex-end;
        height: auto;
        padding: 1.5rem 0px;
    }

    header .titular {
        font-size: 1.5rem;
        width: 50%;
        text-align: left;
        padding: 0px;
        margin: 0px;
    }

    header .logo {
        width: 12% !important;
    }
}

.card:hover,
.card2:hover {
    transform: translateY(-1rem) !important;
    box-shadow: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.31)) !important;
    cursor: pointer;
}


