* {
    margin: 0;
    padding: 0;
}

/*esta es la mia*/
body {
    background-color: gainsboro;
}

input[type="radio"], [type="checkbox"] {
    cursor: pointer;
}

.contenedor_left {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.left_left {
    text-align: left;
}

.header {
    display: flex;
    padding: 5px;
    border-bottom: 1px solid darkred;
    background-color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.header2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__title {
    color: darkred;
    width: 100%;
}

.ribbon {
    width: 100%;
}

.contacto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.header__title {
    color: darkred;
    width: 100%;
}

.div_flotante{
    width: 100%;
    position: sticky;
    display: flex;
    justify-content: start;
    top: 10%;
    gap: 5%;
}
.pago_flotante {
    color: darkred;
    background-color: rgba(211, 211, 211, 0.7);
    padding: 1%;
    text-align: center;
}

#traducir {
    cursor: pointer;
}

#traducir:hover {

    color: darkred;
    font-weight: bold;
}
.uso {
    width: 90%;
    margin-top: 5px;
    border-radius: 15px;
    padding: 5px;
}

.uso p {
    color: gray;
    font-weight: bold;
    text-align: justify;
}

.content-informacion b {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: rgb(238, 235, 235);
    padding: 0 5px;
    border-radius: 5px;
    margin-top: 5px;
}

.content-informacion b i {
    padding-right: 10px;
}

.content-informacion p {
    font-weight: bold;
    color: rgb(80, 80, 80);
    text-align: justify;
}

#general {
    /* height: 90vh; */
    padding: 0;
    /* border: 1px solid black; */
}

.container_superior {
    display: flex;
    justify-content: space-between;
    gap: 10%;
    padding: 0 5%;
    margin-top: 1%;
}
.contenedor-bandera{
    margin-right: 10px;
}

#carmelita {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    margin: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border: 3px solid brown;
    border-radius: 10px;
    padding: 1% 0;
    width: 60%;
}

#carmelita_inferior {
    margin: 0 0 2% 0;
    padding: 0;
    width: 70%;
    border-bottom: 1px solid brown;
}

.carmelita-title {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    color: darkred;
}

#contenedor_imagenValor {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-weight: bold;
}

#figura {
    width: 25%;
    margin: 0;
}

#figura .figure-img {
    margin: 0;
    padding: 0;
    height: 70px;
}

#valorDePrestamo {
    display: flex;
    justify-content: center;
}

#valorDePrestamo label {
    font-weight: bold;
}

#amarillo {

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border: 3px solid brown;
    border-radius: 10px;
    width: 50%;
    background-color: white;
    padding: 1%;
}

#amarillo input, #amarillo label, #amarillo span {
    /*font-size: 110%;*/
    font-weight: bold;
}

#amarillo input, #amarillo span {
    border: 2px solid black;
}

.total_aPagar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: 2px solid black;
    background-color: whitesmoke;
    width: 95%;
}

.extra_payment_container {
    width: 40%;
    margin: 0;
    padding: 0 !important;
    margin-bottom: 8% !important;
}

.extra_payment_container input, .extra_payment_container label, .extra_payment_container span {
    font-size: 120%;
    font-weight: bold;
}

.extra_payment_container input, .extra_payment_container span {
    border: 1px solid black;
}

.pago_mensual {
    font-size: 170%;
    color: darkred;
    width: 60%;
}

.pago_mensual input {
    color: darkred;
}

.pago_mensual span {
    color: darkred;
}

.costo_cierre {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid black;
}

.costo_cierre b {
    color: brown;
}

.container_deudas_interes {
    display: flex;
}

.ribbon img {
    width: 20%;
}

#verde {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1%;
    margin: 1%;
    background-color: goldenrod;
}

#contenedor_grafica_conv,#contenedor_grafica_linea{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}



#div_pago_conv, #div_pago_fha {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



#label_pago_conv, #label_pago_fha {
    font-weight: bold;
    color: darkred;
}

#pago_conv, #pago_fha {
    font-weight: bold;
    color: black;
    font-size: 140%;
}

.interest-container {
    width: 60%;
}

.container_central {
    display: flex;
    flex-direction: column;
    padding: 0 5%;
}

.avanzados {
    border: 1px solid brown
}

#contenedor_campos {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

#hi_div {
    font-size: 85%;
    padding: 1%;
}

.taxes_div {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-left: 1%;
}

.hoa_anyos {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ----------------------------------------------OUTLINES */

/* Ingreso */

input[type="text"]:focus {
    box-shadow: none;
}

.simpleline:focus-within {
    box-shadow: 0 0 20px rgba(144, 12, 63, 0.5);
    border: 2px solid brown;
    border-radius: 5px;
}

* input {
    overflow: hidden;
}

/* --------------------------------- TABLA ------------------------------------------ */

th {
    padding: 1% !important;
}

.heading-table {
    display: flex;
    padding: 2% 0 0 2%;
}

.table-container {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border: 1px solid brown;
    border-radius: 5px;
    background-color: white;
}


.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1% 0;
    /* font-size: 0.9em; */
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    /* overflow: hidden; */
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); */
}

.content-table thead tr {
    background-color: brown;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

.content-table thead tr th:first-child {
    background-color: black;
    color: #ffffff;
}

.content-table tbody tr td:first-child {
    background-color: brown;
    font-weight: bold;
    color: white;

}

.content-table th, .content-table td {
    text-align: center;
    padding: 2% 4%;
}

.content-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
    border-bottom: 3px solid brown;
}

.content-table tbody {
    font-size: 130%;
}

.cant_pagos-container {
    display: flex;
    padding: 0;
    margin: 0;
}

.cant_pagos_ahorra-container {
    display: flex;
    padding: 0;
    margin: 0;
}

#graficas_barras {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    margin-top: 5px;
    background-color: bisque;
    border: 1px solid brown;
    border-radius: 5px;
    padding: 5px;
}

#grafica_barra_contenedor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

#contenedor_grafica_bara {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.tablita {
    display: flex;
    justify-content: space-around;
    gap: 5%;
    border-top: 2px solid brown;
    padding: 2%;
}

.cumulativo {
    display: flex;
    padding: 0;
    margin: 0;
}

.extra_payment_container {
    width: 40%;
    margin: 0;
    padding: 0;
}

.extra_payment_container input, .extra_payment_container label, .extra_payment_container span {
    font-size: 120%;
    font-weight: bold;
}

.extra_payment_container input, .extra_payment_container span {
    border: 1px solid black;
}



th:nth-child(2), td:nth-child(2) {
    display: none;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: darkred;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.table-row {
    display: flex;
    /* justify-content: space-between; */
    border-bottom: 1px solid darkred;
    margin-bottom: 1%;
}

/* ------------------------------------------ */

/* --------------------------------------------- MEDIA QUERIES */
@media (max-width:800px) {
    .header, .header2, .container_superior {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .header h3, .contacto p {
        margin: 0;
        padding: 0;
    }

    #grafica_barra_contenedor{
        padding: 0;
    }

    #graficas_barras{
        width: 95%;
    }

    #carmelita, #amarillo {
        width: 95%;
        margin: 0;
        padding: 0;
        margin-bottom: 5px;
    }

    #contenedor_campos {
        display: flex;
        flex-direction: column;
    }

    .table-container {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .content-table {
        width: 90%;
        font-size: 60%;
    }

    .tablita {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

}

/*
@media (max-width:800px) {
    body {
        flex-direction: column;
    }
    .header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2%;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        border-bottom: 1px solid black;
    }
    .header2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .header h3 {
        text-align: center;
    }
    
    .ribbon img {
        width: 10%;
    }

    .contacto{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .contacto p{
        color: #000;
        font-size: 16px;
        content: "Llámame";
    }

    #general {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .container_superior {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    #amarillo {
        width: 100%;
        padding: 0;
        margin: 0 !important;
        margin-bottom: 3% !important;
    }
    .pago_mensual {
        padding: 0;
        width: 100%;
        margin-bottom: 0;
    }
    .down_payment_container {
        width: 100%;
        margin: 0;
        margin-top: 0 !important;
    }
    .pago_mensual label {
        font-size: 20%;
    }
    .container_deudas_interes {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .interest-container {
        margin: 0;
        margin-bottom: 3% !important;
    }
    .container_deudas_interes {
        flex-direction: column;
        margin-bottom: 10%;
    }
    .box {
        margin-bottom: 1%;
    }
    .box:nth-child(1) {
        order: 2;
    }
    .box:nth-child(2) {
        order: 1;
    }
    .box:nth-child(3) {
        order: 3;
    }
    #carmelita {
        width: auto;
    }
    #verde {
        padding-top: 2%;
    }
    #contenedor_campos {
        display: flex;
        flex-direction: column;
    }
    #hi_div {
        margin-bottom: 5%;
    }
    .taxes_div {
        margin-bottom: 5% !important;
    }
    #pmi_div {
        width: 100% !important;
        margin-bottom: 3%;
    }
    #cant_anyos label {
        font-size: 65%;
    }
    .hoa_anyos {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 5%;
    }
    .heading-table {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .title-container {
        font-size: 138%;
    }
    .table-container {
        width: 98%;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .tablita {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .tablita h5 {
        font-size: 70%;
    }
    .pagos-totales {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 10% !important;
        border: 0;
    }
    #title_antes {
        margin-bottom: 2%!important;
        text-align: center;
    }
    #title_despues {
        margin-bottom: 5%!important;
        margin-top: 8%;
        text-align: center;
    }
    .filtros-container {
        margin-bottom: 5%;
    }
    .content-table thead {
        font-size: 40%;
    }
    .content-table tbody {
        font-size: 50%;
    }
    .tablita {
        display: flex;
        flex-direction: column;
    }
    .cant_pagos-container {
        margin-bottom: 5% !important;
    }
    .cant_pagos_ahorra-container {
        margin-bottom: 10% !important;
    }
   
    .cant_pagos_ahorra-container {
        margin-bottom: 5% !important;
    }
    .extra_payment_container {
        width: auto;
    }
    .floating-btn {
        display: none !important;
    }
    #valorDeCasa {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #contenedor_imagenValor figure {
        display: none;
    }
}*/