/*
Theme Name: Rentarfy
Template: hello-elementor
Author: Tres Tristes Tigres
Author URI: https://www.trestristestigres.com/
Version: 3.0.1.1711617387
Updated: 2024-03-28 10:16:27

*/

form#miFormulario * {
    font-family: 'Roboto';
}

form#miFormulario label {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 16px;
}


.fields.radio>input+input {
    margin-left: 20px;
}

.fields {
    margin-bottom: 20px;
}


.fields.edad {
    display: block;
    position: relative;
    max-width: 375px;
}


.fields.edad button, .fields.edad input {
    background-color: white;
    color: gray;
    border: 0;
    border-radius: 75em;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
}

.fields.edad input {
    padding-left: 40px;
    padding-right: 40px;
    text-align: center;
    position: relative;
    display: block;
    max-width: 375px;
    margin-bottom: 21px;
}

.fields.edad>button:first-child {
    box-shadow: none;
    position: relative;
    z-index: 1;
    outline: 0;
    position: absolute;
    top: -1px;
    left: 0px;
}

.fields.edad>button+input+button {
    box-shadow: none;
    outline: 0;
    position: absolute;
    z-index: 1;
    top: -1px;
    right: 0px;
}


.fields.edad>button:first-child::after {
    content: '|';
    position: absolute;
    top: 0;
    left: 37px;
    z-index: 9999999;
    font-weight: 900;
    font-size: 30px;
}

.fields.edad>button+input+button::after {
    content: '|';
    position: absolute;
    top: 0;
    right: 37px;
    z-index: 9999999;
    font-weight: 900;
    font-size: 30px;
}

.fields.edad button {
    font-size: 22px;
    background-color: transparent;
    font-weight: 500;
}

.fields.cp input {
    background-color: white;
    color: gray;
    border: 0;
    border-radius: 75em;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 375px;
    text-align: center;
}

button.calcular {
    outline: 0;
    border: 0;
    padding-left: 90px;
    padding-right: 90px;
    padding-top: 14px;
    padding-bottom: 14px;
    max-width: 375px;
    width: 100%;
    font-weight: 500;
    margin-top: 60px;
}

.fields.valor {
    display: flex;
    flex-direction: column-reverse;
}


span#valorViviendaLabel {
    background-color: white;
    color: gray;
    border: 0;
    border-radius: 75em;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 375px;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 50px;
}

.fields.edad button:hover {
    background-color: transparent !important;
    color: black;
}

.fields.edad button:hover::after,.fields.edad button:hover::before {
    color: gray;
}



/* Inputs styles */

.content-input input,
.content-select select{
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.content-input input{
	visibility: hidden;
	position: absolute;
	right: 0;
}

.content-input{
	position: relative;
	margin-bottom: 30px;
	padding: 2px 10px 5px 50px;
	display: block;
}

.content-input input + i{
background: white;
 border:1px solid rgba(0,0,0,0.2);
 position: absolute; 
 left: 0;
 top: 0;
}

.content-input input[type=radio] + i{
 height: 20px;
 width: 20px;
 border-radius: 100%;
 left: 15px;
}


.content-input input[type=radio] + i:before{
	content: '';
    display: block;
    height: 10px;
    width: 10px;
    background: transparent;
    border-radius: 100%;
    position: absolute;
    z-index: 1;
    top: 4px;
    left: 4px;
    background: #f15a24;
    transition: all 0.25s ease;
    transform: scale(0) /* Lo reducimos a 0*/;
    opacity: 0;
}


.content-input input[type=radio]:checked + i:before{
	transform: scale(1);
	opacity: 1;
}

.content-input:hover input[type=radio]:not(:checked) + i{
	background: #f15a2466;
}

.fields.radio {
    display: flex;
    align-items: center;
}

label.content-input {
    cursor: pointer;
}


.fields.valor input {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #000000;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .fields.valor input:hover {
    opacity: 1;
  }
  
  .fields.valor input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #a4f3eb;
    border: solid 2px white;
    cursor: pointer;
    background:#f15a24;
    background-size: 45%;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .fields.valor input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #a4f3eb;
    cursor: pointer;
    background:#f15a24;
    border: solid 2px white;
  }

  form#miFormulario .edad input, form#miFormulario .cp input, form#miFormulario .valor span {
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}


#miFormulario .range-wrap {
    position: relative;
  }

  #miFormulario .range {
    width: 100%;
  }
  #miFormulario .bubble {
    background: white;
    color: #f15a24;
    padding: 4px 12px;
    position: absolute;
    border-radius: 4px;
    left: 50%;
    top: 36px;
    transform: translateX(-50%);
    box-shadow: 1px 1px 6px 4px #9e9b9b1f;
}

  #miFormulario .bubble::after {
  content: "";
    position: absolute;
    width: 7px;
    height: 6px;
    top: -6px;
    left: calc(50% - 2px);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
}

.fields.edad button:focus {
    background-color: transparent !important;
    color: gray !important;
}

.fields.edad button:focus::after {
    color: black !important;
}

.fields.valor {
    max-width: 400px;
}

div#resultadoHipoteca {
    margin-top: 50px;
    font-size: 20px;
}

div#resultadoHipoteca strong {
    font-weight: 600 !important;
    color: #f15a24;
}

span.renta, span.hipoteca {
    font-size: 28px;
    color: #f15a24;
    font-weight: 300;
}

a.boton-contactar {
    background-color: #3b3a39;
    padding: 10px 60px;
    border-radius: 20em;
    display: block;
    max-width: max-content;
    text-align: center;
    margin-right: auto;
    color: white;
    text-transform: uppercase;
}