/* FUENTES */
@font-face {
    font-family: MarcinAntB;
    font-style: 200;
    font-weight: normal;
    font-display: swap;
    src: url(https://static-sandbox.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-light-webfont.woff2) format("woff2"),url(https://static-sandbox.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-light-webfont.woff) format("woff")
}

@font-face {
    font-family: MarcinAntB;
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(https://static-sandbox.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-bold-webfont.woff2) format("woff2"),url(https://static-sandbox.elpais.com/dist/resources/fonts/marcin-ant-b/marcinantb-bold-webfont.woff) format("woff")
}

@font-face {
    font-family: MajritTx;
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url(https://static-sandbox.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Roman.woff2) format("woff2"),url(https://static-sandbox.elpais.com/dist/resources/fonts/majrit/majrit-text/Majrit-Text-Roman.woff) format("woff")
}

@font-face {
    font-family: MajritBn;
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url(https://static-sandbox.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Bold.woff2) format("woff2"),url(https://static-sandbox.elpais.com/dist/resources/fonts/majrit/majrit-banner/Majrit-Banner-Bold.woff) format("woff")
}

/* NO UTILIZAR */
body {
    margin: 0 auto;
    padding: 0;
}

.buscador-rest {
    width: 100%;
    height: auto;
}
/* NO UTILIZAR */

/* SOBRESCRITURA */
body .a .a_e {
    border-bottom: 0px;
}

body .a .a_md .a_md_i {
    display: none;
}

body .a .a_c .raw_html {
    margin: 0px auto 24px auto;
}

body .a .a_c .w-cr_a a {
    color: #000;
}
/* FIN - SOBRESCRITURA */

/* MAPA */
.mapa {
    width: 100%;
    max-width: 848px;
    margin: 0 auto;
    height: 400px;
}

/* LISTADO */
.bl-listado {
    width: 100%;
    margin: 0 auto;
}
/* Párrafo informativo */
.info {
    font-family: 'MarcinAntB';
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    line-height: 1.2rem;

    margin: 20px auto 0px auto;
    max-width: 848px;
}

/* SELECTORES */
.selectores {
    display: flex;
    flex-direction: column;

    position: relative;

    margin: 20px auto 0px auto;
    max-width: 848px;
}

.selectores .sel-separador {
    display: none;
    content: '';
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    border-left: 1px solid #d8d8d8;
}

.selectores .sel {
    width: 100%;
    height: 58px;
    appearance: none;
    border-radius: 32px;
    border: 0px;
    padding: 12px 24px;
    background-color: #f2f2f2;

    /* Texto */
    font-family: 'MarcinAntB';
    font-size: 18px;
    font-weight: 200;
    color: #000;

    /* Flecha */
    background-image: url('//ep01.epimg.net/estaticos/arc/2023/03/gastro-carreteras/img/flecha_sel.svg');
    background-repeat: no-repeat;
    background-position-x: calc(100% - 24px);
    background-position-y: 50%;
}

.selectores .sel:last-of-type {
    margin-top: 16px;
}

/* APARTADO DE RESULTADOS */
.resultados-outer {
    width: calc(100% + 40px);
    height: auto;
    margin-top: 32px;
    padding-bottom: 32px;
    margin-left: -20px;
    background-color: #f9f9f9;

    display: none;
}

.resultados-outer.visible {
    display: block;
}

.resultados-inner {
    width: 100%;
    max-width: 848px;
    margin: 0 auto;

    box-sizing: border-box;
    padding: 0px 16px;
}

/* COPY DE RESULTADOS */
.resultados-copy {
    width: 100%;
    height: auto;
    text-align: center;

    padding: 30px 0px;
    border-bottom: 1px solid #d8d8d8;
}

.resultados-copy span {
    font-family: 'MarcinAntB';
    font-size: 12px;
    font-weight: normal;
    line-height: 12px;
}

.resultados-copy span.bold {
    font-weight: bold;
}

/* FILTROS 
.filtros {
    display: flex;
    padding: 20px 0px;
}

.filter-item {
    width: auto;
    height: auto;
    cursor: pointer;

    display: flex;
    align-items: center;

    margin-right: 20px;
}

.filter-item img {
    width: 12px;
    height: 12px;
    margin-right: 6px;
}

.filter-item span {
    font-family: 'MarcinAntB';
    font-size: 14px;
    font-weight: normal;
    line-height: 14px;
} */

/* LISTADO */
.listado {
    width: 100%;
    height: auto;

    padding: 16px 0px 32px 0px;

    display: flex;
    flex-wrap: wrap;
}

.listado-item {
    /* Estructura */
    width: calc(50% - 9px);
    /* height: 320px; */
    max-height: 420px;
    margin-right: 18px;
    margin-top: 16px;

    /* Estilos */
    border-radius: 24px;
    background-color: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.listado-item:nth-child(2n) {
    margin-right: 0px;
}

.listado-item img {
    width: 100%;
    height: auto;
    max-height: 176px;
    object-fit: cover;
    border-radius: 24px 24px 0px 0px;
}

.listado-item .bl-info {
    width: 100%;
    height: 220px;

    box-sizing: border-box;
    padding: 20px 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.listado-item .bl-info .text-info {
    width: 100%;
    height: 100%;
    max-height: 150px;
    overflow-y: auto;
}

.listado-item .bl-info .text-info .title {
    margin: 0;
    padding: 0;

    font-family: 'MajritBn';
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;

    padding-bottom: 12px;
    border-bottom: 1px solid #d8d8d8;
}

.listado-item .bl-info .text-info .text {
    padding-top: 12px;

    display: flex;
}

.listado-item .bl-info .text-info .text img {
    width: 16px;
    height: 19px;

    margin-right: 8px;
}

.listado-item .bl-info .text-info .text span {
    font-family: 'MajritTx';
    font-size: 12px;
    font-weight: normal;
    line-height: 14px;
}

.listado-item .bl-info .ficha {
    margin: 0;
    border: 0;

    width: 100px;
    height: 30px;
    cursor: pointer;

    border-radius: 24px;
    background-color: #BFFF7D;

    display: flex;
    justify-content: center;
    align-items: center;

    /* Texto */
    font-family: 'MarcinAntB';
    font-size: 11px;
    font-weight: bold;
    line-height: 11px;
}

/* DANOS OPINIÓN - ¿NUESTRO O ARC? */
.bl-op {
    display: block;
    padding: 40px 0px 0px 0px;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #000;
}

.op-header {
    border-bottom: 0.0625rem solid #4a4a4a;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.op-title {
    font-family: MajritTx,serif;
    font-weight: 900;
    letter-spacing: -.015rem;
    text-transform: uppercase;
    border-bottom: 1px solid #4a4a4a;
    padding-bottom: 0.5rem;
    color: #000;
    position: relative;
    margin: 0;

    font-size: 1rem;
    line-height: 1.1875rem;
    text-transform: none;
    border: 0;
}
.op-title:after {
    content: "";
    height: 0.125rem;
    width: 160px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #bfff7d;
}
.op-btn {
    margin: 0;
    border: 0;

    position: relative;
    top: -8px;

    width: 128px;
    height: 30px;
    cursor: pointer;

    border-radius: 24px;
    background-color: #BFFF7D;

    display: flex;
    justify-content: center;
    align-items: center;
    /* Texto */
    font-family: 'MarcinAntB';
    font-size: 11px;
    font-weight: bold;
    line-height: 11px;
}

.op-text {
    padding: 16px 0px;
    
}
.op-text p {
    margin: 0;
    padding: 0;

    font-family: MajritTxRoman,serif;
    font-size: 16px;
    line-height: 21px;
}

/* MODAL (SLIDE o SLIDES) */
.modal-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background-color: #f9f9f9;

    display: none;
}

.modal-outer.active {
    display: block;
    z-index: 10000;
}

/* Modal interno */
.modal-inner {
    width: 100%;
    max-width: 848px;
    height: 100%;
    margin: 0 auto;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cierre */
.modal-close {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);

    width: 100px;
    height: 30px;
    border-radius: 24px;
    background-color: #f2f2f2;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    /* Texto */
    font-family: 'MarcinAntB';
    font-size: 11px;
    font-weight: bold;
    line-height: 11px;
}

/* SLIDER */
.slider-outer {
    width: calc(100% - 16px);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-inner {
    width: calc(100% - 80px);
    margin: 0 auto;
    height: 82%;
}

.slider-inner .slide {
    width: 100%;
    height: 100%;

    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
}

/* Dentro de las slides */
.slide .slide-image {
    width: 100%;
    height: 35%;
    object-fit: cover;
    border-radius: 24px 24px 0px 0px;
}

.slide .slide-info {
    width: 100%;
    height: 65%;
    
    box-sizing: border-box;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: relative;
}

.slide .slide-info .slide-lona {
    position: absolute;
    bottom: 100px;
    left: 20px;
    width: calc(100% - 40px);
    height: 24px;
    background: linear-gradient(to bottom, #ffffff40 0%,#ffffff 100%);
}

.slide .slide-info .slide-text {
    width: 100%;
    height: auto;
    max-height: calc(100% - 80px);
    overflow-y: auto;
    overflow-x: hidden;

    box-sizing: border-box;
    padding-right: 3px;
}

.slide .slide-info .slide-text .title {
    margin: 0;
    padding: 0;

    font-family: 'MajritBn';
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;

    padding-bottom: 8px;
    border-bottom: 1px solid #d8d8d8;
}

.slide .slide-info .slide-text .descripcion {
    margin: 0;
    padding: 0;

    font-family: 'MajritTx';
    font-size: 13px;
    font-weight: normal;
    line-height: 14px;

    padding: 8px 0px;
    border-bottom: 1px solid #d8d8d8;
}

/* Información web y teléfono */
.slide .slide-info .slide-text .slide-web {
    padding: 8px 0px;
    border-bottom: 1px solid #d8d8d8;
}

.slide .slide-info .slide-text .slide-web span {
    display: block;

    font-family: 'MajritTx';
    font-size: 12px;
    line-height: 13px;
    font-weight: normal;
}

.slide .slide-info .slide-text .slide-web span b {
    font-family: 'MajritBn';
}

.slide .slide-info .slide-text .slide-web span:first-of-type {
    margin-bottom: 4px;
}

/* Localización */
.slide .slide-info .slide-text .slide-loc {
    padding: 8px 0px 20px 0px;
    display: flex;
    align-items: center;
}
.slide .slide-info .slide-text .slide-loc img {
    width: 10px;
    height: 12px;

    margin-right: 6px;
}
.slide .slide-info .slide-text .slide-loc span {
    font-family: 'MajritTx';
    font-size: 12px;
    font-weight: normal;
    line-height: 13px;
}

.slide .slide-info .slide-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slide .slide-info .slide-final .slide-google {
    width: 120px;
    height: 34px;
    border-radius: 24px;
    background-color: #BFFF7D;

    display: flex;
    justify-content: center;
    align-items: center;

    /*Texto*/
    font-family: 'MarcinAntB';
    font-size: 12px;
    line-height: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

.slide .slide-info .slide-final .slide-filtros {
    display: flex;
}

/* FILTROS */
.slide .slide-info .slide-final .slide-filtros .slide-pet,
.slide .slide-info .slide-final .slide-filtros .slide-terraza {
    width: 34px;
    height: 34px;
}

/* PET FRIENDLY */
.slide .slide-info .slide-final .slide-filtros .slide-pet {
    background: url('//ep01.epimg.net/estaticos/arc/2023/03/gastro-carreteras/filtros/mascotas.svg') center no-repeat;

    margin-right: 16px;
    position: relative;
}

/* TERRAZA */
.slide .slide-info .slide-final .slide-filtros .slide-terraza {
    background: url('//ep01.epimg.net/estaticos/arc/2023/03/gastro-carreteras/filtros/terraza.svg') center no-repeat;
    position: relative;
}

/* PRUEBA POPUP */
.slide .slide-info .slide-final .slide-filtros .slide-pet .popup-pet,
.slide .slide-info .slide-final .slide-filtros .slide-terraza .popup-ter {
    visibility: hidden;
    

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);

    width: 80px;
    height: 40px;
    border-radius: 10px;
    background-color: #f2f2f2;

    box-sizing: border-box;
    padding: 0px 6px;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    /* Texto */
    font-family: 'MarcinAntB';
    font-size: 12px;
    font-weight: normal;
    line-height: 12px;
    text-align: center;
}

.slide .slide-info .slide-final .slide-filtros .slide-pet:hover .popup-pet,
.slide .slide-info .slide-final .slide-filtros .slide-terraza:hover .popup-ter {
    visibility: visible;
}

/* Flechas */
.slider-move {
    cursor: pointer;
    width: 30px;
    height: 30px;
}
.slider-move:hover {
    opacity: 0.7;
}

/* Animación en slides */
/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}
  
@keyframes fade {
    from {opacity: .2} 
    to {opacity: 1}
}

@media only screen and (min-width: 768px) {
    body .a .a_c {
        grid-column: 2/12;
        width: 715px;
        margin: 0 auto;
    }

    .mapa {
        height: 500px;
    }

    .info {
        font-size: 18px;
        margin-top: 24px;
    }

    .selectores {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    
        position: relative;
    
        margin-top: 24px;
    }
    
    .selectores .sel-separador {
        display: block;
    }

    .selectores .sel {
        width: 50%;
        height: 68px;
        /* Texto */
        font-size: 20px;
    }
    
    .selectores .sel:first-of-type {
        margin-right: 22px;
    }
    
    .selectores .sel:last-of-type {
        margin-top: 0px;
        margin-left: 22px;
    }

    .resultados-outer {
        margin-left: calc(-100vw / 2 + 715px / 2);
        margin-right: calc(-100vw / 2 + 715px / 2);
        width: 100vw;
    }

    .listado-item {
        /* Estructura */
        width: calc(33% - 19px);
        max-width: 264px;
        height: 420px;
        margin-right: 28px;
    
        /* Estilos */
        border-radius: 24px;
        background-color: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    }

    .listado-item:nth-child(2n) {
        margin-right: 28px;
    }
    
    .listado-item:nth-child(3n) {
        margin-right: 0px;
    }

    .listado-item img {
        width: 100%;
        height: 176px;
        object-fit: cover;
    }
    
    .listado-item .bl-info {
        width: 100%;
        height: 244px;
    
        box-sizing: border-box;
        padding: 20px;
    
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .listado-item .bl-info .text-info {
        max-height: 174px;
    }

    .listado-item .bl-info .text-info .title {
        font-size: 19px;
        line-height: 19px;
    }

    .listado-item .bl-info .text-info .text span {
        font-size: 15px;
        line-height: 19px;
    }

    .op-text p {
        font-size: 18px;
        line-height: 24px;
    }

    .modal-close {
        top: 30px;
    }

    .slider-inner {
        width: calc(100% - 160px);
    }

    .slide .slide-image {
        height: 43%;
    }

    .slide .slide-info {
        height: 57%;
        padding: 50px;
    }

    .slide .slide-info .slide-lona {
        position: absolute;
        bottom: 130px;
        left: 50px;
        width: calc(100% - 100px);
    }

    .slide .slide-info .slide-text .title {
        font-size: 24px;
        line-height: 24px;

        padding-bottom: 18px;
    }

    .slide .slide-info .slide-text .descripcion {
        font-size: 16px;
        line-height: 21px;

        padding: 18px 0px;
    }

    /* Información web y teléfono */
    .slide .slide-info .slide-text .slide-web {
        padding: 18px 0px;
    }

    .slide .slide-info .slide-text .slide-web span {
        font-size: 16px;
        line-height: 16px;
        font-weight: normal;
    }

    .slide .slide-info .slide-text .slide-web span:first-of-type {
        margin-bottom: 6px;
    }

    /* Localización */
    .slide .slide-info .slide-text .slide-loc {
        padding: 18px 0px;
    }
    .slide .slide-info .slide-text .slide-loc img {
        width: 21px;
        height: 24px;

        margin-right: 8px;
    }
    .slide .slide-info .slide-text .slide-loc span {
        font-size: 14px;
        line-height: 18px;
    }

    .slide .slide-info .slide-final .slide-google {
        width: 150px;
        height: 47px;
        border-radius: 32px;
        background-color: #BFFF7D;

        display: flex;
        justify-content: center;
        align-items: center;

        /*Texto*/
        font-family: 'MarcinAntB';
        font-size: 13px;
        line-height: 13px;
        font-weight: bold;
        text-decoration: none;
        color: #000;
    }

    .slide .slide-info .slide-final .slide-filtros .slide-pet,
    .slide .slide-info .slide-final .slide-filtros .slide-terraza {
        width: 47px;
        height: 47px;
    }

    .slider-move {
        cursor: pointer;
        width: 44px;
        height: 44px;
    }
}

@media only screen and (min-width: 1001px) {
    body .a .a_c {
        grid-column: 2/12;
        width: 790px;
        margin: 0 auto;
    }

    .mapa {
        height: 600px;
    }

    .resultados-outer {
        margin-left: calc(-100vw / 2 + 790px / 2);
        margin-right: calc(-100vw / 2 + 790px / 2);
    }

    .resultados-inner {
        padding: 0px;
    }

    .slider-inner {
        width: calc(100% - 218px);
    }

    .slide .slide-info .slide-text .title {
        font-size: 26px;
        line-height: 26px;

        padding-bottom: 20px;
    }

    .slide .slide-info .slide-text .descripcion {
        font-size: 18px;
        line-height: 23px;

        padding: 20px 0px;
    }

    /* Información web y teléfono */
    .slide .slide-info .slide-text .slide-web {
        padding: 20px 0px;
    }

    .slide .slide-info .slide-text .slide-web span {
        font-size: 15px;
        line-height: 15px;
    }

    .slide .slide-info .slide-text .slide-web span:first-of-type {
        margin-bottom: 8px;
    }

    /* Localización */
    .slide .slide-info .slide-text .slide-loc {
        padding: 20px 0px;
    }
    .slide .slide-info .slide-text .slide-loc img {
        width: 22px;
        height: 26px;

        margin-right: 8px;
    }
    .slide .slide-info .slide-text .slide-loc span {
        font-size: 16px;
        line-height: 19px;
    }

    .slide .slide-info .slide-final .slide-google {
        width: 200px;
        height: 60px;

        /*Texto*/
        font-size: 16px;
    }

    .slide .slide-info .slide-final .slide-filtros .slide-pet,
    .slide .slide-info .slide-final .slide-filtros .slide-terraza {
        width: 60px;
        height: 60px;
    }
}

@media screen and (min-width: 1199px) {
    body .a .a_c {
        grid-column: 2/12;
        width: 957px;
        margin: initial;
    }

    body .a .a_c .w-cr {
        margin: 0 var(--grid-10-2-column-content) 2rem;
    }

    .resultados-outer {
        margin-left: calc(-100vw / 2 + 957px / 2);
        margin-right: calc(-100vw / 2 + 957px / 2);
    }
}