.slider-header {
  margin-top: 1px;
}

.slide-dana--title {
  font-weight: bold;
  margin-bottom: 2rem;
  margin-top: 0;
  color: #33393e;
}

.slide-dana--body {
  font-weight: 500;
  font-weight: 600;
}

.slide-dana--buttons {
  margin-top: 3rem;
}

.section.intro-vamos {
  background: url("./assets/cuenta-vamos-bg.jpg")
    no-repeat center top;
  background-size: cover;
}

@media (max-width: 767px) {
  .slide-dana .row {
    min-height: 480px;
  }

  .section.intro-vamos {
    background: none;
    background-color: #f4f7fc;
    background-size: cover;
    color: #33393e !important;
  }
  .section.intro-vamos .text-white {
    color: #33393e !important;
  }

  #callToActionModal .modal-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #ddd;
  }
  #callToActionModal .modal-content {
    padding: 16px;
  }
}

.section.intro-vamos .bigger {
  font-size: 32px;
  font-weight: bold;
}
.section.intro-vamos .big {
  font-size: 20px;
  font-weight: bold;
}

/*Fin Cuenta Vamos*/

/* Fundacion */

.logo_fundacion {
  text-align: right;
}

.center div:first-child {
  float: left;
}

.center div:last-child {
  float: right;
}

@media screen and (max-width: 1024px) {
  .center {
    text-align: center;
  }

  .center > div {
    margin-left: auto;
    margin-right: auto;
    float: none !important;
  }
}

/* Fin Fundacion */

/* RESPONSIVE */
@media (min-width: 1280px) and (max-width: 1366px) {
  #bloque_eventos .texto_bloque ul li {
    display: inline-block;
    padding: 4px;
    vertical-align: middle;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .buscador > span {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* MENU */
  #myNavbar ul li {
    padding-right: 10px;
  }

  #main-header .btn.btn-white {
    margin-top: 24px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .buscador > span {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  #main-header h1 {
    font-size: 34px;
    line-height: 36px;
  }
}

@media (max-width: 576px) {
  .buscador {
    padding: 15px 35px;
  }

  /* EVENTOS */
}

@media (max-width: 480px) {
  .buscador {
    padding: 12px 20px;
  }

  .buscador i {
    font-size: 16px;
    padding-right: 5px;
  }
}

@media screen and (max-width: 1247px) {
  #bloque_necesitas .carousel-inner > .item.next.left img,
  #bloque_necesitas .carousel-inner > .item.prev.right img,
  #bloque_necesitas .carousel-inner > .item img,
  #bloque_necesitas .carousel-inner > .item.active img {
    width: 100% !important;
  }

  #bloque_necesitas .carousel-inner > .item:nth-child(2).next.left img,
  #bloque_necesitas .carousel-inner > .item:nth-child(2).prev.right img,
  #bloque_necesitas .carousel-inner > .item:nth-child(2) img,
  #bloque_necesitas .carousel-inner > .item:nth-child(2).active img {
    position: absolute;
    top: auto;
    bottom: 81px !important;
    left: 0;
    right: 0;
  }
}

.lupa-responsive {
  display: none !important;
}

.text-white {
  color: #fff !important;
}

.text-black {
  color: #33393e !important;
}

@media screen and (max-width: 767px) {
  .card-white .box-triangle {
    margin-left: 30px;
    margin-right: 18px;
  }

  .vertical-align {
    display: block !important;
  }

  .vertical-align > [class^="col-"],
  .vertical-align > [class*="col-"] {
    display: block;
  }

  .text-xs-white {
    color: #fff !important;
  }

  .text-xs-black {
    color: #33393e !important;
  }

  /*    background mode - 1 */

  .carousel.slide .carousel-inner .item img {
    width: 100% !important;
    height: auto !important;
  }

  .blk-promo .card-white {
    text-align: left;
    margin-left: 14px;
  }
}

#eventos .nri-right {
  color: #33393e;
}

.section-padding {
  padding-top: 0;
}

.blue-custom {
  background-color: #005da0;
  color: #ffffff;
}

#buscador_home {
  background: none !important;
}

#buscador_home::before {
  background: none;
}

@media (max-width: 991px) {
  #buscador_home {
    display: none !important;
  }

  .lupa-responsive {
    display: block !important;
  }
}

.vertical-align {
  display: flex;
  align-items: center;
}

.vertical-align > [class^="col-"],
.vertical-align > [class*="col-"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*Blogs*/

.go {
  font-size: 140px;
  font-weight: 900;
  color: #0b7ad0;
  line-height: 150px;
}

.h-auto {
  height: auto !important;
  min-height: 0 !important;
}

.blk-promo {
  position: relative;
}

.blk-promo .btn-white {
  border: none;
  background-color: rgba(0, 0, 0, 0.4);
}

.blk-promo .btn-white:hover,
.blk-promo .btn-white:focus {
  border: none;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

.blk-promo .promo-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.blk-promo {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

.d-flex-vcenter {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  align-content: stretch;
}

@media screen and (max-width: 768px) {
  .blk-promo .promo-flex p {
    color: white;
  }
}

@media screen and (min-width: 768px) {
  .slide-dana {
    background-size: cover;
    background-image: url("./assets/header-home.jpg");
    background-position: center;
    background-repeat: no-repeat;
  }

  .slide-dana .row {
    min-height: 570px;
    display: flex;
    align-items: center;
  }

  .slide-dana--buttons {
    display: flex;
    gap: 2.5rem;
    flex-direction: row;
  }

  .blk-promo {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 80% top;
  }
}

.swiper-slide #semaforos-riesgo {
  top: auto;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

/*INTRO HOME PARTICULARES*/

.img-xs {
  height: 300px;
  position: relative;
}

.img-xs img {
  height: 300px;
}

.img-xs h1 {
  position: absolute;
  top: 12px;
  left: 40vw;
}

.no-card {
  color: white;
}

/*FIN INTRO HOME PARTICULARES*/

#semaforos-riesgo {
  margin-left: 0px;
  padding-bottom: 15px;
  margin-top: 0px;
  margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
  .home-mortgage {
    background-image: url("/assets/bg-mortgage-home.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .home-fondos {
    background-image: url("/assets/bg-fondos.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}

@media screen and (min-width: 1200px) {
  .slide-dana .row {
    min-height: 640px;
  }
}

/* portucuenta */

.banner-portucuenta.azul-bg {
  background-color: #0d60a7;
  color: #fff;
}

#callToActionModal.modal {
  z-index: 1040 !important;
}

#callToActionModal .close {
  width: auto !important;
  height: auto !important;
  font-weight: 400;
  opacity: 1;
  align-items: center;
}

.slider-header {
  & .header-slider-next {
    margin-right: 0;
    display: block !important;
  }
  & .header-slider-prev {
    margin-left: 0;
    display: block !important;
  }
}
