@font-face {
    font-family: 'BerlinDemiBold';
    src: url('/css/fonts/BRLNSDB.woff2');
}

.berlin-demi-bold{
    font-family: 'BerlinDemiBold';
}
.fixed {
    position: fixed;
}
footer{
    position: relative;
    margin: 0;
}
#textos-ceo-home{
    position: relative;
}
.imagen-fondo-centrada {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 0;
    top: 0px;
}
.imagen-fondo-centrada div {
    height: calc(100vh - 55px);
    width: 100%;
    top: 55px;
    position: relative;
    background: transparent linear-gradient(180deg, #001E35 0%, #1C8EBC 94%) 0% 0% no-repeat padding-box;
    background-size: cover;
}

.container-home{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
    overflow: hidden;
}
.titular-slots{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 22px;
    justify-content: space-between;
    align-items: center;
}
.titular-slots span{
    font-size: 22px;
    line-height: 16px;
}
.titular-slots span span{
    font-family: 'Berlin Regular';
    font-size: 16px;
    margin-left: 6px;
}
#recomended-container .titular-slots span span{
    font-size: 22px;
    color:#ffd030;
}
#recomended-container .titular-slots span{
    line-height: 18px;
    width: 170px;
}
.titular-slots span.nombre-usuario{
    text-transform: capitalize;
}
.switch-options{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.switch-options div{
    display: flex;
    position: relative;
    width: 34px;
    height: 34px;
    cursor: pointer;
}
.switch-options .switch-options__cuadricula{
    background:url("/img/layout/icons/galeria_desactivado.webp");
    background-size: 34px;
    background-repeat:no-repeat;
    margin-right: 10px;
}
.switch-options .switch-options__cuadricula.active{
    background:url("/img/layout/icons/galeria_activado.webp");
    background-size: 34px;
    background-repeat:no-repeat;
}
.switch-options .switch-options__list{
    background:url("/img/layout/icons/lista_desactivado.webp");
    background-size: 34px;
    background-repeat:no-repeat;
}
.switch-options .switch-options__list.active{
    background:url("/img/layout/icons/lista_activado.webp");
    background-size: 34px;
    background-repeat:no-repeat;
}
.lobbyRowWrap {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap:15px;
}
.lobbyRowWrap.lobbyDestacado {
    gap: 20px;
}

.games-container{
    margin: 0 16px 35px;
    z-index: 1;
    position: relative;
}
#container-page-fav{
    padding-top:45px;
}
.lobbyRowWrap figure{
    position: relative;
    width: 100%;
}
.lobbyRowWrap .destacada-style-image figure{
    width: 100%;
}

.lobbyRowWrap figure img{
    border-radius: 10px;
    border: 2px solid #fff;
    margin-bottom: 2px;
}
.lobbyRowWrap figure > a img{
    box-shadow: 0 0 12px #000;
}
.active.list-style-image{
    display:block;
}
.destacada-style-image, .list-style-image{
    display: none;
}
.active.destacada-style-image{
    display:block;
}

.container-etiqueta-bar{
    margin-top: 1px;
    display: flex;
}
.container-etiqueta-bar a{
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #fff;
    color: #fff;
}
.container-etiqueta-bar a.activeTag{
    width: fit-content;
    background: #001e35;
    color: white;
}
a.activeTag:hover {
    color: #001e35;
    background: white;
}
.more-tags-div a.activeTag{
    margin:5px 0 0;
}
.container-prio-and-more{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.more-tags{
    width: 40px;
    padding: 6px 10px;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url(/img/layout/icons/desplegar.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    cursor: pointer;
    transition: all 0.3s linear;
}

.more-tags-div{
    display: none;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    position: absolute;
    bottom: -90px;
}
.container-game-name{
    height: 32px;    
}
.lobbyRowWrap figure p{
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.container-games figure.container-juego {
    width: 130px;
    height: 202px;
    border-radius: 10px;
    margin: 3.5px;
    box-shadow: 0 0 12px #000;
    background: #001e35;
}
.fav-and-info{
    display: flex;
    flex-direction: row;
}
.fav-and-info .favorite{
    width: auto;
}
.lobbyRowWrap figure .fav-icon img{
    position: relative;
    width: 34px;
    height: 34px;
    border: 0;
    top: 4px;
    margin-right: 10px;
    cursor: pointer;
}
.lobbyRowWrap figure .info-game{
    position: relative;
    width: 34px;
    border: 0;
    top: 4px;
}

.box-under-profile{
    display: none;
    top: 56px;
}

/* ------------ FAV PAGE ------------------*/
.no-content-favs{
    width: 100%;
    max-width: 430px;
    height: 225px;
    position: relative;
    display: none;
    flex-direction: column;
    background: #1C8EBC4D;
    border: 2px solid #fff;
    text-align: center;
    border-radius: 10px;
    font-family: 'Berlin Regular';
    padding: 5px 20px;
    justify-content: center;
    margin: 0 auto;
}
.no-content-favs h2{
    color: #FFD030;
    font-size: 22px;
    margin: 0;
    padding: 0 0 10px;
}
.no-content-favs p{
    font-size: 14px;
    line-height: 19px;
    margin: 0;
}
.no-content-favs .button-fav{
    background: #FFD030;
    color: #001E35;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 89px;
    height: 33px;
    margin: 20px auto 0;
    padding-right: 5px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 13px;
}
.button-fav .button-fav__icon{
    position: relative;
    width: 22px;
    height: 22px;
    background: url(/img/layout/icons/icono_favoritos_activo.webp);
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 3px;
}
.icono-fav-span{
    background: url(/img/layout/icons/icono_favoritos_desactivado.webp);
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center;
    width: 27px;
    display: inline-block;
    height: 16px;
    position: relative;
    top: 4px;
}
/* ----------------------------------------*/
/* ----------------- Textos SEO ---------------------*/

.txt-seo {
    width: 90%;
    max-width: 1122px;
    margin: 0 auto;
    padding-bottom: 20px;
}
.txt-general .white-text-centered {
    color: #fff;
    text-transform: none;
    text-align: center;
    font-family: 'Berlin Demi Bold';
}
.txt-seo h1{
    font-size: 25px;
    line-height: 27px;
}
.txt-seo > h2 {
    border: 1px solid #c5c4c2;
    line-height: 18px;
    font-size: 16px;
    padding: 8px 18px;
    font-family: 'Berlin Demi Bold';
    text-align: center;
    cursor: pointer;
}
.seo-home-transparent .txt-seo p, .seo-home-transparent .txt-seo h2, .seo-home-transparent .txt-seo ul li {
    color: #fff;
}
.txt-seo > h2 ~ p, .txt-seo > h2 ~ ul {
    display: none;
}
.seo-home-transparent .txt-seo p, .seo-home-transparent .txt-seo h2, .seo-home-transparent .txt-seo ul li {
    color: #fff;
    text-align: center;
    font-weight: 100;
}
/*-------------------- -----------------------*/

/* ------------- slider contenido bares --------*/
.slider-bar{
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    width: 768px;
    height: 100px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;
}
.slider-bar picture img {
    max-width: 100%;
}
.shadow{
    position: absolute;
    width: 100%;
    z-index: 2;
    height: 100%;
    top: 0;
    box-shadow: inset 0px -10px 10px 4px #0000007a;
}
/* ---------------------------------------------*/
/*aseguramos que aparezcan los 2 últimos juegos que serán los que utilicemos de link*/
    .style-image.list-style-image.active.salaLink,
    .style-image.destacada-style-image.salaLink.active {
        display: block !important;
    }
/*----------------------------------------------------------------------*/
#recomended-container .style-image.list-style-image.active{
    display:block;
}
#recomended-container .style-image.destacada-style-image.active{
    display:block;
}

@media (max-width:360px){
    .container-prio-and-more a{
        font-size: 13px;
        padding: 6px 7px;
    }
}
@media (max-width:374px){
    .style-image.list-style-image.active:nth-child(n+19) {
        display: none;
    }
}
@media (min-width:375px){
    .lobbyRowWrap {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .lobbyRowWrap.lobbyDestacado {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (min-width:375px) and (max-width:475px){
    .style-image.list-style-image.active:nth-child(n+18) {
        display: none;
    }
    /*linea extra*/
    .extra-line .style-image.list-style-image.active:nth-child(n+18) {
        display: block;
    }
    .extra-line .style-image.list-style-image.active:nth-child(n+23) {
        display: none;
    }
    /*---------------*/
}
@media (min-width:436px){
    #recomended-container .titular-slots span{
        width: 100%;
    }
}
@media (max-width:475px){
    .style-image.destacada-style-image.active:nth-child(n+18) {
        display: none;
    }
    
    #recomended-container .style-image.list-style-image.active:nth-child(n+13) {
        display: none;
    }
}
@media (min-width:476px){
    .lobbyRowWrap {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
    .lobbyRowWrap.lobbyDestacado {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media (min-width:476px) and (max-width:1023px){
    .style-image.list-style-image.active:nth-child(n+16) {
        display: none;
    }
    .style-image.destacada-style-image.active:nth-child(n+16) {
        display: none;
    }
    #recomended-container .style-image.list-style-image.active:nth-child(n+17) {
        display: none;
    }
    /*linea extra*/
    .extra-line .style-image.list-style-image.active:nth-child(n+18) {
        display: block;
    }
    .extra-line .style-image.list-style-image.active:nth-child(n+25) {
        display: none;
    }
    
    .extra-line .style-image.destacada-style-image.active:nth-child(n+16) {
        display: block;
    }
    .extra-line .style-image.destacada-style-image.active:nth-child(n+23) {
        display: none;
    }
    /*---------------*/
}

@media (min-width:476px) and (max-width:550px){
    .container-prio-and-more a{
        padding: 6px 7px;
        font-size: 13px;
    }
}
@media(min-width:768px){
    .games-container{
        max-width: 90%;
    }
    .slider-bar{
        width: 2560px;
        height: 200px;
    }
    #container-page-fav{
        margin: 0 auto;
    }
}
@media(max-width:1023px){
    #recomended-container .style-image.destacada-style-image.active:nth-child(n+12){
        display:none;
    }
}
@media(min-width:1024px){
    .games-container{
        max-width: 963px;
    }
    .lobbyRowWrap {
        grid-template-columns: repeat(6,minmax(0,1fr));
    }
    .lobbyRowWrap.lobbyDestacado{
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
    .style-image.destacada-style-image.active:nth-child(n+14) {
        display: none;
    }
    /* linea extra */
    .extra-line .style-image.destacada-style-image.active:nth-child(n+14) {
        display: block;
    }
    .extra-line .style-image.destacada-style-image.active:nth-child(n+23) {
        display: none;
    }
    /* ------------- */
    .more-tags.show-tags-active:hover {
        transform: rotate(23deg) !important;
    }
    #recomended-container .style-image.destacada-style-image.active:nth-child(n+16){
        display:none;
    }
}

@media (min-width:1024px) and (max-width:1279px){
    .style-image.list-style-image.active:nth-child(n+24) {
        display: none;
    }
    #recomended-container .style-image.list-style-image.active:nth-child(n+13) {
        display: none;
    }
    
    /*linea extra*/
    .extra-line .style-image.list-style-image.active:nth-child(n+18) {
        display: block;
    }
    .extra-line .style-image.list-style-image.active:nth-child(n+35) {
        display: none;
    }
    /*---------------*/
}

@media(min-width:1280px){
    .lobbyRowWrap{
        grid-template-columns: repeat(7,minmax(0,1fr));
    }
    .games-container{
        max-width: 1122px;
    }
    .style-image.list-style-image.active:nth-child(n+27) {
        display: none;
    }
    #recomended-container .style-image.list-style-image.active:nth-child(n+15) {
        display: none;
    }
    /*linea extra*/
    .extra-line .style-image.list-style-image.active:nth-child(n+18) {
        display: block;
    }
    .extra-line .style-image.list-style-image.active:nth-child(n+42) {
        display: none;
    }
    /*---------------*/
}