/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */



/* Estilos */
.bloque-calculadora{
    border-top-right-radius: 175px;
    border-bottom-left-radius: 175px;
    background: linear-gradient(184.24deg, #F0F5E3 -3.24%, #CCE490 173.52%), #B1CF66;
    padding: 80px 0;
}
.interior-calculadora{
    max-width: 1110px;
    margin: 0 auto;
    color: #292B2E;
}
.interior-calculadora > h2{
    font-size: 48px;
    line-height: 120%;
    max-width: 540px;
}
.descripcion-calculadora{
    max-width: 540px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.top-calculadora{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.top-calculadora span{
    font-weight: bold;
    font-size: 16px;
    line-height: 140%;
    width: 190px;
    display: flex;
    align-items: center;
}
.top-calculadora > span > img{
    margin-right: 16px;
    width: 45px;
    height: 45px;
}
.tabla-calculadora{
    display: flex;
    border-radius: 9px;
    overflow: hidden;
}
.tabla-calculadora > div{
    flex: 1;
}
.tabla-calculadora .tabla-calculadora-izq{
    max-width: 475px;
    background-color: #FFFFFF;
}
.tabla-calculadora .tabla-calculadora-izq .titulo-tabla-calculadora{
    padding: 22px 40px;
    background-color: #f7f7f7;
    font-weight: bold;
    font-size: 26px;
    line-height: 120%;
    color: #639202;
}
.tabla-calculadora-izq .cuerpo-tabla-calculadora > form > .campo-form{
    position: relative;
}
.tabla-calculadora-izq .cuerpo-tabla-calculadora .tag-input{
    position: absolute;
    right: 27px;
    top: 50px;
    color: #639202;
    font-weight: bold;
    font-size: 26px;
    line-height: 120%;
}
.tabla-calculadora .cuerpo-tabla-calculadora{
    padding: 44px 40px;
}
.tabla-calculadora .tabla-calculadora-der .cuerpo-tabla-calculadora{
    padding-top: 72px;
    position: relative;
}
.tabla-calculadora .tabla-calculadora-der{
    background-color: #639202;
}
.tabla-calculadora .tabla-calculadora-der .titulo-tabla-calculadora{
    background-color: #739d1b;
    color: #FFFFFF;
    padding: 22px 40px;
    font-weight: bold;
    font-size: 26px;
    line-height: 120%;
}
.tabla-calculadora .campo-form{
    display: inline-grid;
    width: 100%;
    margin-bottom: 42px;
}
.tabla-calculadora .campo-form label{
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 4px;
}
.tabla-calculadora .campo-form select,
.tabla-calculadora .campo-form input{
    border: 1px solid #639202;
    border-radius: 6px;
    padding: 26px 23px;
    font-size: 16px;
    line-height: 140%;
    color: #292B2E;
}
.tabla-calculadora .campo-form select{
    -moz-appearance:none;
    -webkit-appearance:none;
    appearance:none;
    position: relative;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: calc(100% - 20px);
    background-position-y: 25px;
}
.tabla-calculadora .campo-form select:after{

}
.tabla-calculadora .campo-form select, .tabla-calculadora .campo-form input{
    padding-right: 120px;
}
.tabla-calculadora-der .cuerpo-tabla-calculadora .campo-resultado{
    border: 1px solid #EBEBEB;
    border-radius: 6px;
    padding: 20px;
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tabla-calculadora-der .campo-resultado span{
    color: #FFFFFF;
}
.tabla-calculadora-der .campo-resultado > span:first-child{
    font-size: 16px;
}
.tabla-calculadora-der .campo-resultado > span:last-child{
    font-weight: bold;
    font-size: 26px;
}
.tabla-calculadora-der .campo-resultado > span:last-child img{
    margin-right: 12px;
}
.botonera-calculadora{
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.botonera-calculadora .btn-cta{
    border: 3px solid #DF6C30;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 25px;
    text-decoration: none;
    min-width: 215px;
    text-align: center;
}
.botonera-calculadora > .btn-cta:first-child{
    margin-right: 30px;
}
.botonera-calculadora#botonera-no-calculadora > .btn-cta:first-child{
    margin-right: 0;
}
.botonera-calculadora .btn-cta.btn-cta-secundario{
    color: #DF6C30;
    background-color: transparent;
}
.botonera-calculadora .btn-cta.btn-cta-principal{
    color: #FFFFFF;
    background-color: #DF6C30;
}
.botonera-calculadora.oculto{
    display: none;
}
#calculadora-contenedor-error{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: -28px;
    background-color: #b0cf66;
    display: inline-grid;
    align-items: stretch;
    justify-content: center;
    color: #FFFFFF;
}
#calculadora-contenedor-error.oculto{
    display: none;
}
#calculadora-mensaje-error{
    font-size: 26px;
    line-height: 120%;
    font-weight: bold;
    max-width: 410px;
    text-align: center;
}
#img-error-max,
#img-error-min{
    display: none;
    margin: 0 auto;
    max-width: 279px;
    width: 100%;
}
/* Fin Estilos */

/* Tablet */
@media only screen and (max-width : 1140px) {
    .interior-calculadora{
        padding: 0 15px;
    }
    .bloque-calculadora {
        border-top-right-radius: 75px;
        border-bottom-left-radius: 75px;
    }
    #img-error-max,
    #img-error-min{
        max-width: 179px;
    }
}
/* Fin Tablet */

/* Móvil */
@media only screen and (max-width : 760px) {
    .tabla-calculadora,
    .botonera-calculadora,
    .top-calculadora{
        display: block;
    }
    .tabla-calculadora .tabla-calculadora-izq{
        max-width: 100%;
    }
    .interior-calculadora{
        padding: 0 15px;
    }
    .botonera-calculadora .btn-cta{
        display: block;
        max-width: 100%;
        margin-top: 15px;
    }
    .botonera-calculadora > .btn-cta:first-child{
        margin-right: 0;
    }
    .tabla-calculadora .tabla-calculadora-izq .titulo-tabla-calculadora,
    .tabla-calculadora .cuerpo-tabla-calculadora{
        padding: 22px;
    }
    .tabla-calculadora .tabla-calculadora-der .cuerpo-tabla-calculadora{
        padding-top: 27px;
    }
}
/* Fin móvil */
