/*Cuenta Vamos*/

.section.intro {
  min-height: 65vh;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #e92f2d;
  background-size: cover;
}

.home.section.intro {
  min-height: 0vh;
}

.home.section.intro .vertical-align {
  justify-content: flex-start !important;
}

.home.section.intro .svg-logo {
  width: 225px;
  height: 45px;
}

.home.section.intro .h1,
.home.section.intro h2.h1 {
  font-weight: bold;
  padding: 0;
  margin: 16px 0;
  text-shadow: 0 6p 6px 12px rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 52px;
  font-weight: 700;
  line-height: 56px;
}

.home.section.intro .h1 sup,
.home.section.intro h2.h1 sup {
  font-weight: normal !important;
  font-size: 50%;
  top: -0.75em;
}

@media (max-width: 768px) {
  .home.section.intro .vertical-align.but {
    justify-content: center !important;
  }
  .home.section.intro .vertical-align.log {
    justify-content: flex-end !important;
    text-align: right;
  }
  .home.section.intro .svg-logo {
    width: 175px;
    height: 40px;
  }

  .home.section.intro .h1,
  .home.section.intro h2.h1 {
    font-size: 42px;
    line-height: 46px;
  }
}

/*VIDEO PUERTA*/

.rojo-vamos {
  border-top: 1px solid white;
  color: white;
  width: 100%;
  padding-bottom: 24px;
  padding-top: 24px;
}

.video-wrapper {
  margin-left: -35%;
  background-color: #e92f2d;
}

video.background-video {
  height: 700px;
  -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0) !important;
  -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0) !important;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0) !important;
}

@media (max-width: 1200px) {
  video.background-video {
    height: 700px;
  }
  .video-wrapper {
    margin-left: -85%;
  }
}

@media (max-width: 992px) {
  video.background-video {
    height: 650px;
  }
  .video-wrapper {
    margin-left: -115%;
  }
}

@media (max-width: 768px) {
  video.background-video {
    height: 448px;
  }
  .video-wrapper {
    margin-left: -180px;
  }
}

@media (max-width: 620px) {
  video.background-video {
    height: 480px;
  }
  .video-wrapper {
    margin-left: -280px;
  }
}

@media (max-width: 380px) {
  video.background-video {
    height: 390px;
  }
  .video-wrapper {
    margin-left: -230px;
  }
}

.visible-xxs {
  display: none;
}

.home.home-particulares.section.intro .h1 {
  margin-top: 120px;
}

@media (max-width: 992px) {
  .home.home-particulares.section.intro .h1 {
    margin-top: 80px;
  }
}

@media (max-width: 768px) {
  .home.home-particulares.section.intro .h1 {
    margin-top: 40px;
  }

  .cuenta-vamos-puerta-xs.img-fluid {
    height: 550px;
    margin-left: -16px;
  }
}

@media (max-width: 620px) {
  .cuenta-vamos-puerta-xs.img-fluid {
    height: 500px;
    margin-left: -32px;
  }
}

@media (max-width: 520px) {
  .cuenta-vamos-puerta-xs.img-fluid {
    height: 400px;
    margin-left: -22px;
  }
}

@media (max-width: 406px) {
  .home.section.intro .h1,
  .home.section.intro h2.h1 {
    margin-top: 40px;
  }
  .cuenta-vamos-puerta-xs.img-fluid {
    height: 380px;
    margin-left: -33px;
  }
  .visible-xxs {
    display: block !important;
  }
  .hidden-xxs {
    display: none;
  }
}

@media (max-width: 320px) {
  .home.section.intro .h1,
  .home.section.intro h2.h1 {
    margin-top: 0px;
  }
  .cuenta-vamos-puerta-xs.img-fluid {
    height: 350px;
    margin-left: -33px;
  }
}

/*FIN VIDEO PUERTA*/

/*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*/

#blog-2 {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

#blog-2 .title-header {
  background-color: transparent;
  padding: 0 0 20px 0;
}

#blog-2 .title-header h3 {
  font-weight: 700;
  font-size: 70px;
  color: #0b7ad0;
  margin-bottom: 0;
}

#blog-2 .title-header p {
  font-weight: bold;
}

@media (min-width: 768px) {
  #blog-2 .title-header {
    background-color: transparent;
    padding: 40px 0 40px 0;
  }

  #blog-2 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  #blog-2 .title-header h3 {
    font-size: 200px;
    line-height: 0.8em;
    margin-top: 0;
    margin-bottom: 0;
  }

  #blog-2 .title-header p {
    font-size: 27px;
    line-height: normal;
    margin-top: 10px;
  }
}

@media (min-width: 992px) {
  #blog-2 .title-header h3 {
    font-size: 200px;
  }

  #blog-2 .title-header p {
    font-size: 27px;
    line-height: normal;
    margin-top: 10px;
  }
}

@media screen and (max-width: 991px) {
  #blog-2 > .container {
    margin-left: 0;
  }
}

/*SWIPER*/

#blog-2 .swiper-wrapper {
  padding-top: 7px !important;
}

#blog-2 .swiper-slide {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 93%;
  margin-right: 0 !important;
}

#blog-2 .swiper-slide .post-wrapper {
  width: 95%;
  margin-left: 1%;
  margin-right: 1%;
  background-color: #ffffff;
  display: block;
}

#blog-2 .swiper-slide .post-wrapper .thumb-wrapper {
  height: auto;
  margin: 0;
}

#blog-2 .swiper-slide .post-wrapper .thumb-wrapper div {
  display: none !important;
}

#blog-2 .swiper-slide .post-wrapper .thumb-wrapper img {
  float: none;
  height: auto;
  border-radius: 0;
  display: block !important;
  min-height: auto;
}

#blog-2 .swiper-slide .post-wrapper .blog-content {
  height: auto;
  padding: 15px 20px;
}

#blog-2 .swiper-slide .post-wrapper .blog-content .entry-header .entry-title {
  line-height: 28px;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 0;
}

#blog-2
  .swiper-slide
  .post-wrapper
  .blog-content
  .entry-header
  .entry-title:hover {
  color: #0b7ad0;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  #blog-2 .swiper-slide {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin-right: 16px !important;
  }

  #blog-2 .swiper-slide .post-wrapper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-color: #ffffff;
    display: block;
  }

  #blog-2 .container {
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  #blog-2 .swiper-slide {
    width: 33.3%;
  }
}

/*@media (max-width: 1199px) and (min-width: 992px) {
    #blog-2 .post-wrapper {
        width: 100%;
    }
}*/

/*END SWIPER*/

.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-image: url(/public/img/particulares/home/carpet.jpg?v=1);
  background-position: center top;
}

@media screen and (max-width: 768px) {
  .blk-promo .promo-flex p {
    color: white;
  }
  .main-header .bigger {
    font-size: 38px;
  }
}

@media screen and (min-width: 768px) {
  .blk-promo {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(/public/img/particulares/home/banner-contucasa.jpg?v=1);
    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;
}
