.contenido {
    width: 80%;
}

.enlace_idioma {
    font-size: .75em;
    float: right;
    padding: 14px 52px 0 0;
    position: relative;
}

.enlace_idioma a {
    font-size: 1.6em;
    position: absolute;
    right: 0;
    top: 9px;
}

.linea_wrapper {
    position: relative;
}

.linea_contenido {
    padding: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-transition: 250ms all ease-in-out;
    transition: 250ms all ease-in-out;
    will-change: transform;
    user-select: none;
    cursor: pointer;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
}

.linea_contenido::-webkit-scrollbar {
    display: none;
}

.img_wrapper {
    position: relative;
}

.img_wrapper::before {
    position: absolute;
    min-width: 1000px;
    width: 150%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    display: block;
}

.linea_contenido img {
    margin: 0;
    padding: 0;
    display: block;
    opacity: 1;
    width: 150%;
    min-width: 1000px;
    max-width: none;
    -webkit-transition: 250ms all ease-in-out;
    transition: 250ms all ease-in-out;
}

.esconder {
    height: 0;
    opacity: 0;
    -webkit-transition: 250ms all ease-in-out;
    transition: 250ms all ease-in-out;
}

.linea_contenido.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    transform: scale(1);
}

.menu_act .linea_contenido .img_wrapper:nth-child(1) {
    display: block;
}


/* sombras */

.sombra {
    width: 5%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.sombra--left {
    left: 0;
    background: rgb(108, 101, 101);
    background: linear-gradient(90deg, rgba(108, 101, 101, 0.23472668810289388) 0%, rgba(255, 255, 255, 0) 50%);
    opacity: 0;
}

.sombra--right {
    right: 0;
    background: rgb(255, 255, 255);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, rgba(108, 101, 101, 0.23472668810289388) 100%);
}


/*--- menu ---*/

.filtros_mvl {
    margin: 0px 5px 10px;
}

.filtros_mvl::after {
    content: ':';
    display: inline-block;
}

.menu_linea {
    z-index: 3;
    background: #fff;
    width: 100%;
    margin-bottom: 10px;
}

.menu_act .menu_linea {
    position: fixed;
    top: 0;
}

.menu_linea ul {
    padding: 0;
    margin: 0;
}

.menu_linea li {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
    font-size: .85em;
    border: 1px solid #eee;
    padding: 5px 10px;
    margin: 5px 2.5px;
    background: #eee;
    color: #ccc;
    max-width: 65px;
    height: 2.15em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-transform: lowercase;
}

.menu_linea li.activo {
    color: #444;
    border-color: #ccc;
    max-width: none;
}

.menu_linea li#todos,
.menu_linea li#todos:hover,
.menu_linea li#todos.activo {
    font-weight: bold;
    color: #444;
    background: none;
    border: none;
    padding: 5px 0;
    margin: 5px;
}

#todos.esconder {
    display: none;
}

.menu_linea li:nth-child(1).activo {
    background: rgba(255, 153, 204, .2);
}

.menu_linea li:nth-child(2).activo {
    background: rgba(135, 126, 199, .2);
}

.menu_linea li:nth-child(3).activo {
    background: rgba(52, 104, 136, .2);
}

.menu_linea li:nth-child(4).activo {
    background: rgba(71, 174, 209, .2);
}

.menu_linea li:nth-child(5).activo {
    background: rgba(153, 153, 51, .2);
}

.menu_linea li:nth-child(6).activo {
    background: rgba(255, 125, 91, .2);
}

.menu_linea li:nth-child(7).activo {
    background: rgba(255, 255, 102, .2);
}

.menu_linea li:nth-child(8).activo {
    background: rgba(51, 204, 102, .2);
}

.menu_linea li:hover {
    background: #eee;
    -webkit-transition: 250ms all ease-in-out;
    transition: 250ms all ease-in-out;
}

@media only screen and (max-device-width: 480px) {
    .contenido {
        width: 100%;
    }
    .linea_contenido img,
    .img_wrapper::before {
        min-width: 1500px;
    }
    .menu_linea {
        display: none;
        width: 100%;
        height: 100vh;
        background: #fff;
        position: fixed;
        z-index: 99999;
        top: 0;
        left: 0;
        margin: 0;
    }
    .menu_linea ul {
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
    }
    .menu_linea li {
        width: 100%;
        font-size: 18px;
    }
    .cerrar_ok {
        position: absolute;
        top: auto;
        right: 10px;
        bottom: 20px;
        font-size: 25px;
        line-height: 2em;
        width: 2em;
        color: #333;
        text-align: center;
        font-weight: bold;
        background: rgba(135, 126, 199, .3);
        border-radius: 5px;
    }
    .cerrar_ok svg {
        fill: #333;
        width: 24px;
        height: 24px;
        transform: scale(.7, .7);
    }
    .filtros_mvl {
        border: 1px solid #ccc;
        display: inline-block;
        padding: 10px 15px;
        margin: 5px 2px 20px;
        border-radius: 5px;
    }
    .filtros_mvl::after {
        display: none;
    }
}