/* COMPONENT DECAL REMAKE */

.decal-remake {
    position: relative;
    background-color: #a1a1a1;
    padding: 1rem 3rem;

    color: #FFFFFF;
    font-size: 1.6rem;
    max-width: 300px;

    margin-top: 1rem;
}

.decal-remake .highlight {
    font-size: 1.8rem;
    font-weight: bold;
}

.decal-remake__number {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../img/component-decal.svg);
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: .4rem;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: bold;

    width: 2.9rem;
    height: 4.6rem;
    line-height: 4.6rem;
}

.decal-remake__top {
    text-align: center;
    margin: 0 auto 1rem auto;
    width: 16rem;   
}

.decal-remake__mid {
    border-top: solid 1px #FFFFFF;
    border-bottom: solid 1px #FFFFFF;
    padding: .2rem 0;
    text-align: center;
}

.decal-remake__bottom,
.decal-remake__bottom-single {
    padding: 1rem 0 .5rem 0;
    text-align: center;
}
.decal-remake__bottom::after {
    display: block;
    content: '';
    clear: both;
}
.decal-remake__bottom > div {
    float: left;
    width: 50%;
}
.decal-remake__bottom > div.border-right {
    border-right: solid 1px #FFFFFF;
}



/* EMPRESA PAGE */
#componentSwiper .swiper-slide img {
    display: block;
    height: 400px;
    width: auto;
}

#componentSwiper .swiper-slide {
    padding: 0;
    overflow-x: hidden;
    text-align: center;
}

#componentSwiper .swiper-slide .img-wrapper {
    width: 100%;
}

.empresa-swiper-absolute-center {
    position: relative;
    width: 500px;
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
}

.empresa-swiper-absolute-center img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%,-50%) !important;
    height: 400px !important;
}

@media(max-width:715px) {
    #componentSwiper .swiper-slide img {
        height: 220px;
    }

    .empresa-swiper-absolute-center {
        width: 260px !important;
        height: 220px !important;
    }

    .empresa-swiper-absolute-center img {
        height: 220px !important;
    }
}

/* REVISTA */
.revista-float-item {
    float: left;
    width: 50%;
}

.revista-comunicate {
    font-size: 1.3rem;
    font-weight: 500;
    color: #111111;
}

.revista-numero {
    cursor: pointer;
    color: #E2211C;
    font-weight: bold;
    font-size: 2.4rem;
}

button.revista-llamanos {
    position: relative;
    padding: 1.4rem 2.5rem 1.4rem 4rem;
}

button.revista-llamanos img {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    width: 2rem;
}

button.revista-llamanos:hover {
    background-color: #FFFFFF;
    color: #E2211C;
    /* border-color: #E2211C; */
}

@media(min-width: 1150px) {
    .row.ajuste-revista-donde-suscribo .cell:first-child,
    .row.ajuste-revista-donde-suscribo .cell:last-child {
        width: 25% !important;
    }

    .row.ajuste-revista-donde-suscribo .cell {
        width: 50% !important;
    }
}



/* TARJETA DE CREDITO */

.ajuste-iframe-container {
    max-width: 50rem;
    margin: 0 auto 1rem auto;
}

.ajuste-iframe {
    position: relative;
    width: 100%;
    padding: 0;
    padding-top: 53.6%;
}

.ajuste-iframe iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}



/* SUCURSALES */

.resultFilterContainer .characteristics.hide .accesos.table {
    display: none;
}


/* PREGUNTAS FRECUENTES */

body.preguntasFrecuentes .component-accordion .component-accordion .component-accordion .component-accordion .ui-accordion-header.ui-state-active:after, body.preguntasFrecuentes .component-accordion .component-accordion .component-accordion .component-accordion .ui-accordion-header.ui-state-active:before {
    margin-top: 0;
}


/* BUSCADOR */

.buscador-desktop {
    position: relative;
    line-height: 1;
    color: #E2211C;
    font-size: 15px;
}

.buscador-resultados {
    display: none;
    position: absolute;
    top: 62px;
    right: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    background-color: rgba(255,255,255,.8);

    width: 700px;
    max-height: 360px;

    z-index: 500;
}

.buscador-resultados__top {
    padding: 0 1.6rem;
    /* height: 3.6rem; */
    line-height: 3.6rem;
    font-weight: bold;
    text-transform: uppercase;
}

.buscador-resultados__body {
    max-height: calc(360px - 3.6rem);
    overflow-y: auto;
}

.buscador-resultados__item {
    background-color: #FFFFFF;
    position: relative;
    font-size: 14px;
    padding: 1rem 7rem 1rem 1.6rem;
    border-bottom: solid 1px #999999;
}
.buscador-resultados__item > div {
    /* ELLIPSIS */
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.buscador-resultados__item > div:first-child {
    color: #E2211C;
    height: 2rem;
    line-height: 2rem;
}
.buscador-resultados__item > div:nth-child(2) {
    color: #999999;
    height: 2rem;
    line-height: 2rem;
}
.buscador-resultados__item > a {
    display: block;
    position: absolute;
    top: 50%;
    right: 1.6rem;
    transform: translateY(-50%);
    height: 3rem;
    line-height: 3rem;
    width: 5rem;
    background-color: #FFFFFF;
    text-transform: uppercase;
    color: #E2211C;
    font-size: 1.3rem;
    font-weight: bold;
    border: solid 1px #E2211C;
    border-radius: 100px;
    transition: .2s;
    padding: 0;
    text-align: center;
}
.buscador-resultados__item > a:hover {
    color: #FFFFFF;
    background-color: #E2211C;
}

/* BUSCADOR MOBILE */
.buscador-mobile>i, .buscador-mobile>span {
    top: 25px;
}

.buscador-mobile__resultados {
    background-color: #f9f9f9;
    /* border-radius: 10px; */
    /* padding: 10px; */
    overflow-y: auto;
    max-height: 0;
    font-size: 12px;
    /* box-shadow: inset 0 0 10px rgba(0,0,0,.4); */
    border-bottom: solid 1px rgba(167,167,167,0.0);
    
    transition: .3s;
}
.buscador-mobile__resultados.show {
    margin-top: 10px;
    max-height: 200px;
    border-bottom: solid 1px rgba(167,167,167,0.3);
}

.buscador-mobile__resultados .buscador-resultados__item {
    background-color: transparent;
}

.buscador-mobile__msg {
    padding: 1.6rem;
    line-height: 1.4;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #E2211C;
}

.buscador-mobile .buscador-resultados__item > a {
    background-color: #E2211C;
    color: #FFFFFF;
}



/* HOME PRODUCTOS SWIPER FIX */

.component-item-text-top-button>.content-wraper>h2 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 2.2rem;
    color: #E2211C;
    font-weight: normal;
}

body.home .component-item-text-top-button>.content-wraper>h3 {
    color: #a1a1a1;
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1.4;
    height: 8.8rem;
    margin-bottom: 2rem;
    text-transform: initial;
}

#home-grid-swiper .swiper-slide>a>h2, #home-grid-swiper .swiper-slide>h2 {
    font-size: 2.2rem;
    font-weight: normal;
    color: #E2211C;
    line-height: 1;
}

#home-grid-swiper .swiper-slide>a>h3, #home-grid-swiper .swiper-slide>h3 {
    color: #a1a1a1;
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1.4;
    height: 8.8rem;
}

.section.component h3.descanso-visual {
    font-size: 7.4rem;
    color: #E2211C;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 12rem;
    font-family: 'Lato Black', sans-serif;
    line-height: 7.4rem;
}

@media(max-width: 1150px) {
    .section.component h3.descanso-visual {
        font-size: 6rem;
        line-height: 6rem;
        margin-bottom: 0;
        background-color: #fff;
    }
}

@media (max-width: 560px) {
    .section.component h3.descanso-visual {
        font-size: 3.4rem;
        line-height: 3.4rem;
        padding-bottom: 9rem;
    }
}



/* FIX PARA GLOBA DE SEGUROS/CONOCE MAS/ASISTENCIA/DETALLE COBERTURA */
#asistenciafix .legalContainer {
    width: 100% !important;
}

#asistenciafix.component-price-table .row.legalContainer .cell .arrow {
    right: 50% !important;
    transform: translateX(50%) !important;
}