.header-home .carousel-inner .carousel-item {
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

@media (min-width:768px) {
    .header-home .carousel-inner .carousel-item {
        height: 100%;
        padding: 5rem 0px;

        min-height: 500px;
    }
}

/*Nuevo home */
.card.card-round {
    border-radius: 21px;
    border: 0px;

}
.card.card-home {
    box-shadow: 1px 1px 20px 0 rgb(179 179 179 / 50%);
   min-height:auto;
}
.row-sm {
    margin-left: -5px;
    margin-right: -5px;
}

.row-sm *[class^="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

span.acceso-titulo {
    color: #343a40;
    text-decoration: none;
    line-height: 1.1;
    font-size:95%;

}
img.acceso-icono {
    margin-right: 5px;
}


a.link-acceso {
    width:100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

a.link-acceso:hover {
    text-decoration: none;
}
@media ( min-width: 768px) {
    a.link-acceso {
        margin-right: 10px;
    }
    a.link-acceso:last-child {
        margin-right: 0px;
    }
    a.link-acceso:hover {
        margin-bottom: 10px;
    }
}


.fila {
    display: flex;
    flex-direction: column;
}
@media ( min-width: 768px) {
.fila {
    display: flex;
    flex-wrap: nowrap;
    width:100%;
    flex-direction: row;
}
}
.card-home h2{
    /*margin-bottom: 26px;*/
    color: #343a40!important;
    font-size:1rem;
    margin-left: .5rem;
}

.card-home .card-body {
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

@media ( min-width: 768px) {
    #cardVida .link-acceso {
        border-right: 1px solid #ccc;
        padding-right:5px;
    }
    #cardVida .link-acceso:first-child {
        border-right:0px;

    }
    #cardVida .link-acceso:last-child {
        border-right:0px;
        padding-right:0px;

    }

}

@media (min-width: 992px) {
    .home-cards {
    height: 0px;
    }

    .home-cards .container {
        position: relative;
        top: -129px;
    }
}


a.btn-link-main {
    background-color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0px 0px 10px 1px rgb(156 156 156 / 39%);
    padding: 5px 15px;
    margin-bottom: 25px;
    border-radius: 20px;
}

a.btn-link-main:hover,
a.btn-link-main:active,
a.btn-link-main:focus {
    text-decoration: none!important;
}

a#btnSeguros i{
 color:#314ce8;
}
a#btnSeguros:hover, 
a#btnSeguros:active,  
a#btnSeguros:focus {
    background-color:#EBEEFF;
    box-shadow: 0px 0px 3px 1px rgb(156 156 156 / 39%);
}
a#btnVida i {
color:#1db5b8;
}
a#btnVida:hover, 
a#btnVida:active,  
a#btnVida:focus {
    background-color:#E9F8F8;
    box-shadow: 0px 0px 3px 1px rgb(156 156 156 / 39%);
}

/* == slick override == */

.slick-prev:before,
.slick-next:before {
    font-family: 'font-grupo-renta';
    font-size: 26px;
}
.slick-dots li button:before {
    font-family: sans-serif;
    line-height: 20px;
    content: '';
    width: 20px;
    height: 15px;
    border-radius: 15px;
    background-color: #d9000d;
    transform: all 1s ease;
    /*color:red;*/
}
.slick-next:before {
 /*content: '→';*/
 content: "\e904";
}
.slick-prev:before {
 /* content: '←';*/
 content: "\e905";
}
.slick-prev {
    left: 0;
    z-index: 1;
    background-color: rgb(0 0 0 / 46%);
    height: 80px;
    width: 80px;
}
.slick-next {
    right: 0;
    z-index: 1;
    background-color: rgb(0 0 0 / 46%);
    height: 80px;
    width: 80px;
}
.slick-prev:hover,
.slick-prev:focus, 
.slick-next:hover, 
.slick-next:focus {
	background: rgb(0 0 0 / 70%);
}
.slick-initialized .slick-slide {
	display: flex;
}
.slick-slider {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
.slick-slide img.item-image  {
    display: block;
    width: 100%;
    height: auto;
}
/* == Fin slick overrite == */

.slider {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
}
.slider.slick-initialized {
    visibility: visible;
    opacity: 1;    
}
.slider .item  {
    position:relative;
    max-width: 100%;
    flex-direction: column;
    justify-content: flex-start;;
    align-items: center;
}
.slider .box {
    width: 100%;
    padding: 2rem;
    /*background-color: #f8f8f8;*/
    border-bottom:1px solid #ccc;
    color: #333333;
}
.slide-upper-title {
    text-transform: uppercase;
    font-weight: 700;
}
.slide-title {
    font-weight: 700;
    font-size: 2rem;
}
.slick-dots {
    bottom: -36px;
}

@media (max-width: 768px) and (min-width: 0px) {
    .slider .item {
        background-image: none!important;
    }
}

@media (min-width: 768px) {  
    .slick-slide img.item-image {
        display: none;
    }
    .slider .item  {
        position:relative;

        max-width: 100%;
        height: 500px;

        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .slider .box {
        padding: 0;
        background-color: transparent;
        color: white;
        border-bottom:none;

    }
    .slide-upper-title {
        text-transform: uppercase;
        font-weight: 700;
    }
}