
body {
    font-family: 'Roboto Slab','serif';
  }
  
  h2 {
    text-align: center;
  }
  .calculadora {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
  }
  
  .boxed {
    padding: 8px 16px;
    width: 100%;
    background: #fff7fa;
    border-radius: 10px;
    max-width: 640px;
    margin: 48px auto;
    border: 1px dotted #eb5b34;
    margin-bottom: 55px;
    position: relative;
  }
  .reset {
    cursor: pointer;
    opacity: .4;
    pointer-events: none;
    position: absolute;
    right: 50%;
    transform: translate(50%, 0);
    top: 55px;
    display: flex;
  }
  
  .reseticon {
    width: 24px;
    padding-left: 4px;
  }
  .reseticon img {
    width: 100%;
    height: auto;
  } 
  .deslizador {
          width: 100%;
          padding: 0px;
          vertical-align: top;
          text-align: center;
          display:inline-block;
          position: relative;
      }
  
    .error {
      font-size: 14px;
      color: red;
      text-align: left;
    }
    input[type=range] {
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    width: 100%; /* Specific width is required for Firefox. */
    background: transparent; /* Otherwise white in Chrome */
  }
  
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
  }
  
  input[type=range]:focus {
    outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
  }
  
  input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;
  
    /* Hides the slider so custom styles can be added */
    background: transparent; 
    border-color: transparent;
    color: transparent;
  }
  
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    position: relative;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: #eb5b34;
    z-index:10;
    cursor: pointer;
    margin-top: -14px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
    box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
  }
  
  /* All the same stuff for Firefox */
  input[type=range]::-moz-range-thumb {
    box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
    z-index:10;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: #eb5b34;
    cursor: pointer;
    position: relative;
  
  }
  
  /* All the same stuff for IE */
  input[type=range]::-ms-thumb {
    box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
    z-index:10;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: #eb5b34;
    cursor: pointer;
    position: relative;
  }
  
  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 1px;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #000;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
  }
  
  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #000;
  }
  
  input[type=range]::-moz-range-track {
    width: 100%;
    height: 1px;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #000;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
  }
  
  input[type=range]::-ms-track {
    width: 100%;
    height: 1px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
  }
  input[type=range]::-ms-fill-lower {
    background: #2a6495;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  }
  input[type=range]:focus::-ms-fill-lower {
    background: #000;
  }
  input[type=range]::-ms-fill-upper {
    background: #000;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #000;
  }
  
  input:focus{
      outline: none;
  }
  
  *:focus {
    outline: none;
  }
  input.valuebox {
    border: 0;
    width: 100%;
    height: 45px;
    font-family: 'Roboto Slab', 'serif';
    font-size: 20px;
  }
  
  #down_calc {
    width: 60%;
  }
  .valbox {
    border: 1px solid #eb5b34;
    position: relative;
      background: #fff;
      padding-left: 15px;
      border-radius: 3px;
      max-width: 175px;
      font-size: 17px;
  }
  
  .valbox:after {
  
    content: attr(data-format);
    position: absolute;
    top: 9px;
      left: 5px;
      font-size: 20px;
  }
  
  .valotro:after {
    content: attr(data-perc);
    position: absolute;
    top: 9px;
    right: 5px;
    font-size: 20px;
  }
  input.valuebox.percbox {
    width: 60px;
    text-align: right;
      padding-right: 22px;
  }
  .valview {
    position: relative;
    text-align: left;
  }
  .valview div{
    display: inline-block;
    width: 49%;
  }
  
  .valview div.viewmax {
    text-align: right;
    width: 50%;
    right: -3px;
    position: absolute;
  }
  .valbox {
    margin: 30px 0;
    max-width: 170px;
    text-align: left;
    position: relative;
  }
  
  .valboxtasa {
    width: 100px;
  }
  .valbox .symbol {
    position: absolute;
    left: 6px;
    top: 9px;
    font-size: 17px;
  }
  .valbox .symbol {
    position: absolute;
    left: 6px;
    top: 9px;
    font-size: 17px;
  }
  
  .valbox .symbol.symbolperc {
    left: 91%;
  }
  
  .period {
    width: 100%;
    padding: 5px 0;
  }
  .period .texto {
    display: inline-block;
    width: 80%;
  
  }

  .botones {
    max-width: 900px;
    margin: 48px auto;
    text-align: center;

  }
 
  .half, .pagomensual {
    opacity:.4;
  }
  .half {
    pointer-events: none;
  }
  .bot {
    vertical-align: top;
    text-align: center;
    padding: 8px 16px;
    border-radius: 16px;
    border: 1px solid #eb5b34;
    position: relative;
    cursor: pointer;
    margin: 4px;
    width: 310px;
    display: inline-block;
  }
  
  .extra {
    text-align: center;
    width: 295px;
    margin: 20px auto 0px;
  }
  .bot.active {
    background: #eb5b34;
    color: #fff;
    opacity: 1;
  }
  .slid {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 15px;
    height: 10px;
    background: gray;
    transition: left .4s;
  }
  
  .slid.active {
    left:15px;
    background: #eb5b34;
  }
  
  .pagomensual {
      max-width: 450px;
      margin: 0 auto;
     
      text-align: center;
      padding: 10px;
  }
  
  .pagomensual {
    font-size: 17px;
      width: 280px;
      /* max-width: 290px; */
      margin: 20px auto;
      padding: 15px 0;
      background-color: #fff;
      border: 2px solid #eb5b34;
      border-radius: 5px;
      box-shadow: 5px 5px 5px rgb(0 0 0 / 10%);
  }
  
  .pagomensual .final {
    font-size: 22px;
    font-weight: 700;
  }
  .stopper { 
    position: absolute;
      top: 14px;
      left: 0px;
      width: 5px;
      height: 5px;
      background: #000;
  }
  
  .stopper.stopper2 {
    left: 100%;
  }
  
  .deslizador .titulo {
    padding: 0px 0px 30px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    font-weight: 700;
  }
  
  .desl {
    position: relative;
  }
  
  .half {
    text-align: center;
    padding: 15px 0;
  }
  .deslizador {
      width: 100%;
      margin: 0 auto;
    }
  
    .valbox {
      margin: 5px 0 0;
    }
  
    .topcaja {
      background: #dbf0fe;
    }
  
    .topinfo  {
      max-width: 420px;
      margin: 0 auto;
      padding: 20px 0 40px;
      text-align: center;
      line-height: 26px;
    }
  
    .topinfo .titulo {
      font-weight: 700;
  
    }
    .cajita {
      width: 80px;
      display: inline-block;
      vertical-align: top;
      background: #fff;
      text-align: center;
      padding: 0px;
      border: 1px solid #eb5b34;
      box-shadow: 5px 5px 5px rgb(0 0 0 / 30%);
    }
  
    .cajita .anos {
      background: #eeeeef;
      padding:3px 7px;
      margin-bottom: 5px;
    }
  
    .cajita .puntos {
      font-weight: 300;
      padding: 3px 7px;
      font-size: 13px;
    }
    .fijas, .variable {
      display: inline-block;
      vertical-align: top;
      padding:0 10px 0 0;
    }
  
    .actual30, .actual15, .actual5 {
      font-weight: 700;
      font-size: 20px;
    }
  
    .parrafo {
      padding: 10px 0;
      line-height: 21px;
      font-size: 14px;
      color: gray;
      max-width: 600px;
      margin: 0 auto;
      text-align: left;
    }
  
    .numeros .titulo {
      position: relative;
      width: 50px;
    }
  
    .numeros .masinfo {
      position: absolute;
      cursor: pointer;
      top: 0px;
      right: -3px;
      padding: 3px;
      width: 6px;
      text-align: center;
      line-height: 4px;
      font-size: 10px;
      border-radius: 50%;
      color: #fff;
      background: #eb5b34;
      height: 5px;
      padding-right: 2px;
    }
  
    .numeros .variable .masinfo {
      right: -25px;
    }
  
    .tooltip {
      position: absolute;
      opacity: 0;
      top: 0;
      left: 0;
      width: 140px;
      padding: 5px;
      background: #fff;
      border: 1px dotted gray;
      z-index: 20;
      font-size: 13px;
    }

    .historic path {
      fill: transparent;
      stroke: #eb5b34;
      stroke-width: 2px;
    }

    .historic text {
      font-size: 24px;
      fill: gray;
    }

    .x.axis path, .x.axis line, .y.axis path, .y.axis line{
      display: none;
    }

    .y.axis .tick line, .x.axis .tick line {
      display: block;
      stroke: lightgray;
      stroke-width: 0.5px;
    }
  @media screen and (min-width: 720px) {
    .bot {
          width: 266px;
    }
      .extra {
        margin: 20px auto -30px;
      }

  .reset {
    right: 50px;
    top: 27px;
    transform:translate(0,0)
  }
    .historic text {
      font-size: 14px;
    }
    #down_calc {
    width: 100%;
  }
    .fijas, .variable {
     
      padding:0 30px 0;
    }
  .deslizador .titulo {
    font-size: 16px;
    font-weight: 700;
  }
  
  .half {
    width: 100%;
    padding: 0;
    text-align: center;
    display: inline-block;
    vertical-align: top;
  }
  
  .half.bottom {
    margin-top: 45px;
  }
    .deslizador {
      width: 90%;
      max-width: 622px;
      margin: 0 auto;
    }
    .valbox {
      margin: -12px 0 0;
      margin-left: 10px;
    }
  
    input.valuebox {
      max-width: 100px;
    }
  

    .pagomensual {
      margin-top: 50px;
    }

  .valbox .symbol.symbolperc {
      left: 90%;
  }
  
  }



.pregunta {
    position: relative;
    border-bottom: 1px solid #eb5b34;
    padding-top: 16px;
    padding-bottom: 16px;
}
.pregtit {
    display: inline-block;
    width: 100%;
    padding-left: 16px;

}
.txt_width.info {
    height: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: height .4s;
}
.expand {
    position: absolute;
    top: 56px;
    right: 0;
    margin: -40px 0 30px;

    text-align: right;
    cursor: pointer;
    padding: 0 16px 16px 0;
}
p a {
    font-weight: 700;
}
.expand img {
    width: 20px;
    pointer-events: none;
}
p {
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
    padding-bottom: 4px;
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    
}

.quote {
    font-size: 28px;
    padding: 20px;
    line-height: 39px;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
}
.ma.article li {
    margin-bottom: 24px;
    line-height: 26px;
}
.div {
    width: 100%;
    height: 24px;
    margin-bottom: 4px;
    border-bottom: 1px solid #eb5b34;
}
.bullets {
    padding: 4px 16px;
    background: #8c93cb;
    color: #fff;
 }
 .casos {
    padding: 8px 8px 24px;
    background: #8c93cb;
    margin-top: 24px;
    color:#fff;
 }

 .casos ul {
    font-style:normal;
 }
 .casos .tit {
    padding: 16px;
    font-weight: 700;
 }
 .casos .caso {
    padding: 1px 28px;
    font-style: italic;
 }
 @media screen and (min-width: 728px) {
    .bullets {
        padding: 16px;
    }
 }
