
       html {
         scroll-behavior: smooth;
       }
       @media screen and (prefers-reduced-motion: reduce) {
       	html {
       		scroll-behavior: auto;
       	}
       }


html, body, main {
  width:100vw;
  overflow-x:hidden;
}


.hero {
  background: url(https://crediactivos.com/promo/landing_1/img/hero.jpg) left center / contain no-repeat;
  position: relative;
  margin-bottom: -52px;
  margin-top: 0;
}
.hero:before {
  content:'';
  background:rgba(0,0,0,.5);
  width:100%;
  height:100%;
  position: absolute;
  top:0;
  z-index:0;
}



#btn-refi:before {

  content: '';
  background: url(https://crediactivos.com/promo/landing_3/assets/icono-boton.png) center center / cover no-repeat #F3BD61;
  width: 68px;
  height: 68px;
  position: absolute;
  display: block;
  z-index: 1;
  left: 3px;
  top: 2px;
  border-radius: 50%;
}
#btn-refi, #btn-hipo {
  position: relative;
  text-align: right;
  max-width: 320px;
  white-space: normal;
  text-align: left;
  padding-left: 2em;
}


#btn-hipo:before {
  content: '';
  background: url(https://crediactivos.com/promo/landing_3/assets/icono-boton.png) center center / cover no-repeat #535D67;
  width: 68px;
  height: 68px;
  position: absolute;
  display: block;
  z-index: 1;
  right: 3px;
  top: 2px;
  border-radius: 50%;
}



#refinanciacion .hero {
  background: url(assets/refi.jpg) left center / contain no-repeat #8a8a8a;
}
#refinanciacion .hero:before {
  content: '';
  background: transparent;
}


#refinanciacion .form-control::placeholder,
#hipotecas .form-control::placeholder {
  color:var(--primary);
}

#background-refi {
  border-right: 10px solid white;
}

#antes-despues {display: flex;justify-content: space-between;align-items: stretch;height: auto;gap: 10px;}


@media (max-width:768px) {
  .hero #formulario {
    border-radius: 12px!important;
  }
      #antes-despues {
        margin:-1.2em;
        gap:2px;
        padding:0;
    }
}

.result {
    width:auto;
}
.card-antes-despues {
    width:100%;
    justify-content:space-between;
}

.card-antes-despues {
    background: rgba(255, 255, 255, 0.90);
    border-radius: 0;
    padding: 1em;
        padding-bottom: 1em;
    box-shadow: 1px 1px 10px #000;
    padding-bottom: 3em;
    border: 2px solid;
        border-top-color: currentcolor;
        border-right-color: currentcolor;
        border-bottom-color: currentcolor;
        border-left-color: currentcolor;
    border-radius: 6px;

}
.separador:after {
  content: '';
  border-bottom: 1px solid;
  width: 150px;
  height: 0;
  display: block;
  margin: 1em auto;
}
.suma {
  padding:0;
  list-style-type: none;
  font-size: 1.4em;
  line-height: 1.4;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
}
.suma li {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
}
.suma li:before {
  content:'';
  display: flex;
}
.suma li p {
    /* margin-left:50px; */
}
.suma li:not(:last-of-type):after {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bolder;
    margin: 0 auto;
    font-size: 1.5em;
    margin-top: 0;
    height: 80px;
}

.result {
  font-weight: 800;
  border-top: 3px solid var(--secondary);
  margin: 0 auto;
  color: white;
  font-size: 2em;
  padding-top: 1em;
}

.ac-form {
  background: white;
  top: -24px;
}


.footer2 a {
  color: #fff;
}
.footer2 li {
  list-style: none;
}
.general-listing li {
  line-height: 2em;
  font-size: 14px;
}
.footer2 {
    padding: 33px 0;
  background-color: #222a37 !important;
    background: url(https://crediactivos.com/web/images/marca-agua-footer.png) -5% 150% / 400px no-repeat #152a3d;
}
.legales {
  padding-top: 2em;
  margin-left: 0;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#related-products:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 500px;
  background: linear-gradient(to top, #FFF,transparent);
  bottom: 0;
}

#display-desktop {
 z-index: 9;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn-secondary:hover {
    background:#333;
    border-color:#555;
}
.btn-primary:hover {
    background:#333;
    border-color:#555;
}
#btn-refi:hover::before {
  background: url(https://crediactivos.com/promo/landing_3/assets/icono-boton.png) center center / cover no-repeat;
}
#btn-hipo:hover::before {
  background: url(https://crediactivos.com/promo/landing_3/assets/icono-boton.png) center center / cover no-repeat;
}

@media (min-width:992px){
.display-mobile {
   visibility:hidden;
  }
  #contenedor-principal,  #contenedor-mobile {
    height:100%;
    height:100vh;
  }
}
@media (max-width: 991px) {
    #contenedor-principal, #contenedor-mobile {
      height:auto;
      height:auto;
    }
    #display-desktop {
      display:none;
    }
    .display-mobile {
      visibility:visible
    }
    .display-mobile > .container {
      width:100%;
      padding:0;
      margin:0 auto;
      font-size:1em;
    }
    #background-refi {
      border-right:0;
      border-bottom:10px solid white;
    }

    #refinanciacion .hero {
      background-size: contain;
      background-position: top center;
    }
    .hero {
      font-size:.8em;
      top:0;
      background-size:contain;
      background-position:top center;
    }
    .hero h1{
      font-size:3em!important;;
    }

    #question-refi, #question-hipo {
      margin-top:120px;
      margin-bottom:4em;
    }
    #hipotecas .hero {
      background-position:top center;
      background-size:cover;
      height:auto;
    }
}
@media (max-width:768px) {
  #refinanciacion .hero::before {
    content: '';
    background: linear-gradient(transparent 10%, #666 22%);
  }
  #hipotecas .hero {
    background-size:contain;
  }
  #hipotecas .hero:before {
    content:'';
    z-index:0;
  }
  #hipotecas .hero::after {
    background: linear-gradient(transparent 11%, #666 20%);
    content: '';
    position: absolute;
    z-index: 0;
    height: 100%;
    display: block;
    width: 100%;
    top: 0;
    z-index: 0;
  }
  .display-4 {
    font-size:2em;
    word-break:normal;
  }
}



.circle-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 21px;
    color: white;
}

.bg-offwhite {
  background:#f6f6f6;
}


#checks {
  border-top:15px solid var(--primary);
}

#checks-refi {
  border-top:15px solid var(--secondary);
}

.checks .caja ul li:before {
    content: '\f00c';
    font-family: 'FontAwesome';
    color: var(--secondary);
    margin-right: 15px;
    height:50px;
    float: left;
    clear:both;
}


#checks .checks .caja ul li {
    border-bottom:1px solid white!important;
    padding:1em 0;
}

#checks-refi .checks .caja ul li {
    border-bottom:1px solid var(--secondary);
    padding:1em 0;
}

.featherlight-content {
  background:var(--primary)!important;
}

.featherlight-content #titulo {
  color:white;
}

::placeholder {
  color: #8a8a8a!important;
}