/*Cabecera hipotecas*/

.landing-header {
    background-image: url(/public/img/particulares/hipotecas/landing/landing1.jpg?v=1);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 69% top;
    background-color: #b3b2b2;
    min-height:600px;
}

.landing-header .btn:not(.btn:hover) {
    background-color: #ffffff;
    color: #33393e;
}

.landing-header .btn:hover {
    color: #0b7ad0;
}

@media screen and (max-width: 1800px) {

    .landing-header {
        background-image: url(/public/img/particulares/hipotecas/landing/landing1.jpg?v=1);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 85% top;
        background-color: #b3b2b2;
    }
}

@media screen and (max-width: 1400px) {

    .landing-header {
        background-image: url(/public/img/particulares/hipotecas/landing/landing1.jpg?v=1);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 90% top;
        background-color: #b3b2b2;
    }
}

@media screen and (max-width: 767px) {

    .landing-header {
        background-image: none;
        min-height:0;
    }

    .landing-header h1 {
        padding-right: 10rem;
    }

    .landing-header .row {
        display: flex;
        align-items: flex-end;
    }
}

/*CAMPAÑA AHORRO 2022*/

#ahorros {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align:center;
    background-color: #005ba2; 
    position: relative !important;
} 

#ahorros .container {
    position:relative !important;
    min-height:500px;
    
}
#ahorros .ahora {    
    z-index: 244;
    font-size:150px;
    color: white;
    position: absolute; 
    font-weight:300;
    top:120px;
    right:49%;
    transform:translateX(50%);
    
} 
#ahorros .ahora span {
    padding-left:160px;
                    }


#ahorros .manor {     
    z-index: 233;
    position: absolute;
    right:50%;
    transform: translateX(104%); 
    bottom:0;
}   

#ahorros .seise {
    z-index: 240;
    position: absolute;
    width: 327px;
    height: 0;
    right: 50%;
    bottom: 48%;  
    transform:translate(0%,-26%);
}

#ahorros .seise * {
    color:black;
}

#ahorros .seise h3 {
    margin-top:0;
    text-align: center;
    font-size:26px; 
    line-height: 32px;
    font-weight:bold;
}

#ahorros .seise .number {
    font-size: 150px;
    line-height: 83px;  
    font-weight:bold;
}

#ahorros .seise .perce {
    font-size: 80px; 
    font-weight:bold;
}

#ahorros .seise .perce sup {
        top: -1em;
    }

@media (max-width:991px) {
    
#ahorros {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align:center;
} 
#ahorros .ahora {               
    font-size:120px;
    color: white;
    position: absolute;
    font-weight:300;
    top:90px;
    right:50%;
    transform:translateX(50%);
}
#ahorros .ahora span {
        padding-left:160px
     }                        
#ahorros .manor {                
    position: absolute;
    right:50%;
    transform:translateX(95%); 
    bottom:18%;
}    
#ahorros .seise {
position: absolute;
width: 350px;
height: 0;
right: 50%;
bottom: 50%;
transform: translate(0%,-26%);
}
    #ahorros .seise * {
        color:black;
    }
    #ahorros .seise h3 {
        margin-top:0;
        font-size:24px; 
        line-height: 28px;
        font-weight:bold;
    }
    #ahorros .seise .number {
        margin-left:-20px;
        font-size: 150px;
        line-height: 83px;  
        font-weight:bold;
    }
    #ahorros .seise .perce {
        font-size: 80px; 
        font-weight:bold;
        
}
        #ahorros .seise .perce sup {
            top: -1em;
        }
}


@media (max-width:767px) {
    #ahorros {
        background-color:#005ba2 !important;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        position: relative;
        text-align:center;
    }
    
    #ahorros .container {
    position:relative !important;
    min-height:0px;
    
}
    #ahorros .mano-xs {
        position: relative;                        
        width:100%;
    }
    #ahorros .ahora {               
        display:none
        }
    #ahorros .manor {                
        display:none;
    }     
    #ahorros .seise {
        position: relative;
        width: auto;
        height:170px !important;
        left: 0%;
        right:0%;
        padding: 0 16px;
        transform: translate(0%,0%);
        bottom: auto; 
}    
                        
#ahorros .seise * {
    color:black;
}
#ahorros .seise h3 {
    margin-top:0;
    font-size:24px; 
    line-height: 28px;
    font-weight:bold;
}
#ahorros .seise .number {
    margin-left:-20px;
    font-size: 130px;
    line-height: 78px;  
    font-weight:bold;
}
#ahorros .seise .perce {
    font-size: 60px; 
    font-weight:bold;
}
    #ahorros .seise .perce sup {
        top: -1.2em;
    }
}

/*FIN CAMPAÑA AHORRO 2022*/

#main-header {
/*background-image: url(/public/img/particulares/home/cabecera-hipotecas.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 30% top;*/
    background-color: #c61915;
    position: relative;
    overflow: hidden !important;
    margin-top: 3px;
}

#main-header .blk-img {
    height: 280px;
}

#main-header .blk-img img {
    object-fit: cover;
    object-position: top;
    height: 100%;
    width: 100%;
}

#main-header * {
    color: #ffffff;
}

/* #main-header {
    position: relative;
    background-image: url(/public/img/particulares/home/cabecera-hipotecas.jpg);
    background-size: 250%;
    background-repeat: no-repeat;
    background-position: center bottom;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    max-height: 1080px !important;
    margin-top: 3px;
}

#main-header h1 {
    font-weight: bold;
    color: #ffffff;
}

#main-header h1 sup {
    font-size: 65%;
}
 */

#main-header .btn:not(.btn:hover) {
    background-color: #ffffff;
    color: #33393e;
}

#main-header .btn:hover {
    color: #0b7ad0;
}

#buscador_home {
    margin-top: auto;
    color: #ffffff;
}

.overband {
    background-color: rgba(0, 0, 0, .6);
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.overband h2.h4 {
    font-size: 24px;
    padding: 16px
}

.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;
    }
}

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

    .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;
    }
}

@media screen and (min-width: 768px) {

    /* #main-header {
        background-position: center 93%;
        background-size: cover;
    } */

    /* #main-header h1 {
        margin-top: 12rem;
    } */

    #main-header {
  background-image: url(/public/img/particulares/home/cabecera-hipotecas.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 90% top;
  display: flex;
  align-items: center;
}

    #main-header {
        min-height: 600px;
    }
    
    .text-sm-white {
        color: #fff !important;
    }

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

    .text-sm-right {
        text-align: right;
    }
}

@media screen and (min-width: 1200px) {
    
        #main-header {
  background-image: url(/public/img/particulares/home/cabecera-hipotecas.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 66% top;
  display: flex;
  align-items: center;
}

    /* #main-header {
        background-position: center 42%;
        background-size: 150%;
    }

    #main-header h1 {
        margin-top: 10rem;
        margin-bottom: 10rem;
    } */

    .blk-promo .card-white {
        margin: 0;
        width: 100%;
    }
}

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

@media screen and (min-width: 1400px) {

    /* #main-header {
        background-size: cover;
    }

    #main-header h1 {
        margin-top: 17rem;
        margin-bottom: 20rem;
    } */

    .blk-promo .row {
        min-height: 584px;
    }

    .blk-promo .h2 {
        font-size: 43px;
        margin: 0;
    }
}

@media screen and (min-width: 1440px) {

    /* #main-header {
        background-size: 1920px;
    }

    #main-header,
    .blk-promo {
        background-size: 1920px !important;
    } */
}

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

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

.blk-promo {
    /* background-color: #005da0; */
    background-image: url(/public/img/particulares/home/kit-digital-bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

#hipoteca.blk-promo {
    /* background-color: #005da0; */
    background-image: url(/public/img/particulares/hipotecas/landing/landing1.jpg?v=1);
    background-color:#b3b2b2;
    background-position:80% top;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}


#hipoteca.blk-promo .row {
  min-height: 0px;
}

.blk-promo .card-mini .card-content {
    margin: 14px 0 14px 7px;
}

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

.blk-promo:before {
    content: " ";
    /* background-color: rgba(0, 93, 160, 0.7); */
    width: 100% !important;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.blk-promo .card-white {
    margin: 0;
}


@media screen and (min-width: 992px) {
    .blk-promo .card-white .btn {
        margin-bottom: 30px;
    }
}

#buscador_home {
    background: none !important;
}

#buscador_home::before {
    background: none;
}

.blk-promo .card-white p {
    opacity: 0.8;
    font-size: 18px;
    line-height: 28px;
}

@media (max-width: 992px) {
    #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;
    /* Align the flex-items vertically */
    justify-content: center;
    /* Optional, to align inner flex-items
                              horizontally within the column  */
}

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

#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: 18px;
    font-weight: 400;
    margin-bottom: 0;
}

#blog-2 .swiper-slide .post-wrapper .blog-content .post-share {
    padding-top: 24px;
}

#blog-2 .swiper-slide .post-wrapper .blog-content .post-share a {
    padding: 16px 0;
}

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

.blk-promo .svg {
    min-width: 250px;
}

@media (min-width: 768px) {
    .blk-promo .svg {
        width: 378px;
    }

    #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;
    }

    #blog-2 .swiper-slide .post-wrapper .blog-content .entry-header .entry-title {
        font-size: 24px;
    }
}

@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;
    }

    #blog-2 .swiper-slide {
        width: 33.3%;
    }
}

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

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