* {
    margin: 0;
    padding: 0;
}

body {
    background-color: whitesmoke;
}

.general {
    width: 100%;
}

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


.ribbon {
    width: 100%;
}

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

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

.uso {
    width: 95%;
    margin-top: 3px;
    border-radius: 15px;
    padding: 5px;
}

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

.div_flotante {
    width: 100%;
    position: sticky;
    display: flex;
    justify-content: start;
    top: 10%;
    gap: 5%;
}

.contenedor_ultimo_item {
    margin-bottom: 5px !important;
}

.pago_flotante {
    color: darkred;
    background-color: rgba(211, 211, 211, 0.7);
    padding: 1%;
    text-align: center;
}

#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;
}


#traducir {
    cursor: pointer;


}

#traducir:hover {

    color: darkred;
    font-weight: bold;
}

.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 {
    /* display: flex; */
    /* flex-direction: column; */
    /* height: 98vh; */
    padding: 0;
    /* margin: 0; */
    /* background-color: gainsboro; */
}

.container_superior {
    display: flex;
    justify-content: space-around;
    gap: 8%;
    padding: 1% 3%;
}

#carmelita {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: goldenrod;
    padding: 0;
    margin: 1%;
    border-radius: 10px;
}

#carmelita_inferior,#verde_inferior {
    margin: 0;
    padding: 0;
    width: 80%;
}

#carmelita_superior {
    width: 80%;
    margin: 0;
}

#verde_superior {
    width: 60%;
    margin: 0;
}

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

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

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

#valorDePrestamo {
    text-align: center;
    padding: 0;
}

#amarillo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1% 1% 0 1%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border: 3px solid brown;
    border-radius: 20px;
    background-color: gainsboro;
}

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

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

.total_aPagar_conv, .total_aPagar_fha {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 2px solid black;
    background-color: white;
}

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

.costos_cierre_conv, .costos_cierre_fha {
    padding: 0;
    margin: 0;
}

.costos_cierre_conv b, .costos_cierre_fha b {
    color: brown;
}


.ribbon img {
    width: 20%;
}

#verde {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    background-color: gainsboro;
    border: 3px solid brown;
    border-radius: 20px;
}



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

}
#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;
}

.contenedor-bandera {
    margin-right: 5px;
}


#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;
    /* font-size: 120%; */
}

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

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

.avanzados {
    border: 1px solid brown
}

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

.incluir {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

/* Ingreso */

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

.simpleline:focus-within {
    outline: 1.5px solid goldenrod;
}

.caja1, .caja2, .caja3 {
    width: 30%;
    height: 95%;
}

.caja1 {
    background-color: rgb(235, 41, 186);
}

.caja2 {
    display: flex;
    flex-direction: column;
    background-color: rgb(247, 229, 216);
    padding: 1%;
    margin: 0;
}

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

.simple_input span {
    background-color: white;
    border-right: 0;
}

.simple_input input {
    border-left: 0;
    overflow: hidden;
}

.caja3 {
    background-color: rgb(30, 210, 75);
}

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

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

th {
    padding: 1% !important;
}

.table-container {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
    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: 3% 0;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
}

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

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

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

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

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

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

}

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

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

.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;
}

.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%;
}

.cant_pagos_ahorra-container {
    padding: 0;
}

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

/* Outlines */

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

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


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

* input {
    overflow: hidden;
}

.centro {
    width: 90%;
}

.filtros-container div {
    margin: 0 !important;
    padding: 0 !important;
}

h4 {
    font-size: 120% !important;
}

.heading-table {
    width: 80%;
    display: flex;
    justify-content: space-around;
}

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

@media (max-width:800px) {
    body {
        flex-direction: column;
    }

    .header {
        display: flex;
        flex-direction: column;
        margin-bottom: 5px;
    }

    .ribbon {
        width: 100%;
    }

    .container_casa_interes {
        display: flex;
        flex-direction: column;
    }

    .centro {
        margin: 0;
        padding: 0;
        width: 95%;
    }

    .valor_casa-extra_payment {
        padding: 0 12px !important;
    }

    .container_superior {
        flex-direction: column;
        width: 100%;
        padding: 0;
        gap: 0;
    }

    #grafica_barra_contenedor {
        padding: 0;
    }

    #graficas_barras {
        width: 95%;
    }

    .valor_casa-extra_payment {
        padding: 0;
    }

    .valor_casa-extra_payment h5 {
        font-size: 100%;
    }

    .valor_casa-extra_payment input[type="text"] {
        font-size: 70% !important;
    }

    #general {
        flex-direction: column;
    }

    .heading-table {
        padding: 0 !important;
        margin: 0 !important;
        width: 95% !important;
        display: flex;
        flex-direction: row;
    }

    .extra_payment_container, .filtros-container {
        width: 100% !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .filtros-container div {
        margin: 0 !important;
        padding: 0 !important;
    }

    .box {
        margin-bottom: 1%;
    }

    /* .box:nth-child(1) {
        order: 2;
    }
    .box:nth-child(2) {
        order: 1;
    }
    .box:nth-child(3) {
        order: 3;
    } */
    #amarillo label {
        font-size: 70%;
    }

    .container_dti {
        display: flex;
        flex-direction: column;
    }

    #carmelita {
        padding-top: 2%;
    }

    #verde {
        padding-top: 2%;
    }



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

    #hi_div {
        margin-bottom: 2%;
    }

    #taxes_div {
        margin-bottom: 6%;
    }

    #cant_anyos label {
        font-size: 65%;
    }

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



    .title-container {
        font-size: 138%;
    }

    .table-container {
        border: none;
        box-shadow: none;
    }

    .pagos-totales {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 10% !important;
    }

    .filtros-container {
        margin-bottom: 5%;
    }

    .content-table thead {
        font-size: 40%;
    }

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

    .cant_pagos-container {
        margin-bottom: 5% !important;
    }

    .cant_pagos_ahorra-container {
        margin-bottom: 10% !important;
    }

    .floating-btn {
        display: none !important;
    }

    .table-container {
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

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


}

