main{
    min-height: 65vh;
}
.scrollUp{
    position: fixed;
    right: 1em;
    width: 45px;
    height: 45px;
    bottom: 10px;
    border-radius: 50%;
    background: #282828;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 5;
}
.scrollUp img{
    width: 18px;
    height: auto;
    transform: rotate(180deg);
}
.scrollUp.mobileScroller{
    bottom:155px;
}

section .body-home{
    /*padding: 81px 0 26px 0;*/
    padding: 137px 0 26px 0;
}
.body-home {
    background: #000;
}
.page-fix{
    overflow: hidden;
    height: 100vh;
}
.games-lobby {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.disabled {
    pointer-events: none;
    opacity:0.3;
}
.disabledNotGames{
    pointer-events: none;
    opacity:0.3;
}
#lobby_grid-container figure span {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    font-family: 'Roboto Bold Condensed';
    font-size: 15px;
}

.body-home {
    background: #000;
    overflow-x: hidden;
}
.icon-filter {
    margin: 0 21px 0 16px;
    min-width: 20px;
    width: 20px;
    display: flex;
}
.icon-filter img{
    width: 20px;
    height: auto;
}
.cantidadJuegos {
    position: absolute;
    /*right: 17px;*/
    right: 33px;
    color: #616161;
}
.option {
    margin: 0px 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
}
.option span{
    color: #ABABAB;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.options-selected-proveedor,.options-selected-tipo,.options-selected-tematica {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.option div div{
    height: 28px;
    background: #282828;
    background-size: 100% 100%;
    margin: 0px 6px;
    border-radius: 14px;
    padding: 0 9px;
}
.option a{
    font-size: 16px;
    line-height: 14px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.options-selected-proveedor a:after, .options-selected-tipo a:after, .options-selected-tematica a:after, .options-selected-favoritos a:after {
    content: "";
    background-image: url(/img/layout/icons/X.png);
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    position: relative;
    margin-left: 7px;
}
.filter-space{
    display: flex;
    flex-direction: row;
    margin: 10px 0;
    height: 28px;
    align-items: center;
    
    background: #000;
    position: fixed;
    z-index: 4;
    width: 100vw;
    margin: 0;
    height: 53px;
    /*padding: 10px 0 0;*/
    top: 94px;
}

section .breadcrumb-container.pExpositor, section .breadcrumb-container.pFilter {
    background: #000;
    position: fixed;
    height: auto;
    width: 100%;
    z-index: 4;
}
.options-container{
    display: flex;
    flex-direction: row;
    margin: 0;
    align-items: center;
}
.options-container::-webkit-scrollbar {
    height: 0px;              /* height of horizontal scrollbar ← You're missing this */
    width: 0px;               /* width of vertical scrollbar */
}
.options-container{
    overflow: auto;
}
.games-container{
    /*overflow-x: hidden;*/
    /*overflow-y: scroll;*/
    padding-left: 0 !important;
    height: 100%;
}
.games-lobby {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, 146px);
    grid-gap: 16px;
}
.games-lobby figure {
    width:146px;
    height: auto;
}
.games-lobby figure a{
    display: block;
    position: relative;
}
figure figcaption {
    position:relative;
}
.games-lobby figure span {
    -webkit-line-clamp: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    font-family: 'Roboto Bold Condensed';
    font-size: 15px;
}
.games-lobby figure .mesa-cerrada span{
    font-size: 36px;
    line-height: 43px;
    font-family: 'Roboto Bold';
}
.games-lobby figure .mesa-cerrada + .endirecto-container{
    display: none;
}

.live-roulette-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: 0.5s all;
}

.live-roulette-container .play-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background: #a2a2a217 0% 0% no-repeat padding-box;
    backdrop-filter: blur(8px);
}

.live-roulette-container .play-image-container img {
    position: relative;
    width: 40%;
    left: 2px;
}

.live-roulette-container .in-live-text {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 85px;
    height: 22px;
    font-family: var(--roboto-regular);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    bottom: 25px;
    background: #a2a2a217 0% 0% no-repeat padding-box;
    border-radius: 19px;
    font-size: 11px;
    z-index: 1;
}
.live-roulette-container .in-live-text::before {
    content: ' ';
    position: relative;
    width: 6px;
    height: 6px;
    background: #E60881;
    border-radius: 20px;
    animation: beat 2s linear infinite;
}

.game-image-container {
    position: relative;
    line-height: 0;
    margin-bottom: 5px;
}

.game-image-container .game-image {
    min-height: 230px;
}

.game-link:hover .live-roulette-container {
    background: #00000080;
} 

.closed-roulette-container, .disabled-game-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: #00000080;
}

.closed-roulette-container .closed-text {
    width: 168px;
    text-align: center;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-wrap: nowrap;
    font-family: var(--roboto-regular);
}

.closed-roulette-container .closed-text span {
    font-size: 36px;
    line-height: 43px;
    font-family: var(--roboto-bold);
}

.disabled-game-container p {
    text-align: center;
    line-height: normal;
}

figure .mesa-cerrada + .playlive-button{
    display: none;
}
figure img {
    border-radius: 3px;
}
.btn_info {
    width: 14px;
    height: 14px;
    position: absolute;
    right: 0;
    bottom: 10px;
}
.favorite{
    width: 14px;
    position: absolute;
    bottom: 0;
    right: 25px;
    cursor: pointer;
}
.favorite img{
    border-radius: 0;
}
.btn-aplicar-mob {
    background: #E60881;
    border: 0;
    color: #fff;
    border-radius: 3px;
    font-family: 'Roboto Bold';
    font-size: 14px;
    line-height: 13px;
    width: auto;
    padding: 0 11px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.games-lobby figure figcaption .category {
    font-family: 'Roboto Condensed';
    color: #ABABAB;
    text-transform: capitalize;
    text-overflow: ellipsis;
    width: 104px;
}
.filter-mob {
    position: fixed;
    bottom: -569px;
    width: 100%;
    height: auto;
    max-height: 569px;
    background: #000;
    z-index: 200;
    background: #282828;
    overflow: auto;
    border-radius: 15px 15px 0 0;
}
.hideFilter {
    display:none;
}
.container-aplicar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 50px;
    padding: 0 35px;
    background: #282828;
    z-index: 3;
    border-radius: 15px 15px 0 0;
}
.selector {
    width: 90%;
    margin: 0 auto;
    height: 32px;
    background: #d9d9d9;
    border-radius: 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #1E1E1E !important;
    position: relative;
    cursor: pointer;
    transition: color 0.5s linear;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.filter-mob .selector:first-child{
    margin-top: 50px;
}
.selector > span {
    font-size: 14px;
    margin-left: 16px;
}
.selector.active::after{
    transform: rotate(180deg);
}

.selector.inactive::after{
    transform: rotate(0deg);
}
.selector::after {
    content: "";
    width: 14px;
    height: 9px;
    background-size: 14px;
    background-image: url(/img/layout/icons/desplegar.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 12px;
    right: 10px;
    transition: all 0.2s linear;
}
.selector + div {
    width: 85%;
    height: 0;
    /*height: 109px;*/
    overflow: hidden;
    transition: height 1s linear;
    margin: 12px auto 18px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-between;
    transition: all 0.2s linear;
}
/*.selector.inactive + div{*/
/*    height: 0;*/
/*}*/
.selector + div label {
    width: 50%;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
    margin: 2px 0;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
@keyframes onScreen{
    0%{
        bottom: -569px;
    }
    100%{
       bottom: 0;
    }
}
@keyframes onScreenLogged{
    0%{
        bottom: -569px;
    }
    100%{
       bottom: 55px;
    }
}
@keyframes offScreen{
    0%{
        bottom: 0px;
    }
    100%{
       bottom: -569px;
    }
}
@keyframes offScreenLogged{
    0%{
        bottom: 55px;
    }
    100%{
       bottom: -569px;
    }
}

figure{
    position: relative;
}
.endirecto-container{
    position: absolute;
    left: calc(50% - 42px);
    right: unset;
    top: unset;
    bottom: 25px;
    background: #a2a2a217 0% 0% no-repeat padding-box;
    width: 84px;
    height: 22px;
    font-size: 11px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    border-radius: 19px;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}
.endirecto-container p{
    margin: 0;
    position: relative;
    height: 100%;
}
.golden-beat{
    position: relative;
    width: 6px;
    height: 6px;
    background: #E60881;
    border-radius: 20px;
    animation: beat 2s linear infinite;
}
a .playlive-button {
    width: 22%;
    height: 12%;
    background: #a2a2a217 0% 0% no-repeat padding-box;
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    right: 41%;
    top: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.sub-lobby figure .mini-playlive {
    width: 22%;
    height: 12%;
}
.playlive-button img{
    width: 35%;
    margin-left: 11%;
    align-self: center;
}
.sub-lobby figure .mini-playlive img {
    width: 36%;
    margin-left: 12%;
    align-self: center;
}

.main-lobby .nuevo .endirecto-container,.main-lobby .exclusivo .endirecto-container,.main-lobby .torneo .endirecto-container,.main-lobby .renovado .endirecto-container{
        right: 13px;
        left: initial;
        top: 14px;
        bottom: initial;
}

.filter-space label input[type="checkbox"], .filter-desk label input[type="checkbox"]{
    position: relative;
    top: 1.5px;
    background: transparent;
    border: 1px solid #fff;
    appearance: none;
    height: 14px;
    width: 14px !important;
    border-radius: 2px;
    z-index: 0;
}
.selector + div label.check{
    position: absolute;
    width: auto;
    display: block;
    z-index: -1;
}
.filter-space label.check:after {
    display: none;
    content: "";
    width: 10px;
    height: 10px;
    background: #e60881;
    position: relative;
    transform: rotate(0);
    border-width: 0;
    border: none;
    /*left: -12px;*/
    /*top: -1px;*/
    left: 2px;
    top: -17px;
}
.filter-space label input:checked ~ .check::after {
    /*display: inline-block;*/
    display: block;
    position: absolute;
}
figure .mesa-cerrada{
    height: 97%;
}

.body-home{
    min-height: 800px;
}

.games-lobby {
    position: relative;
    width: 100%;
    min-height: 70vh;    
}

.games-lobby figure {
    height: min-content;
    animation: fadeIn 1.3s forwards;
}

.games-lobby figure .game-provider {
    font-family: var(--roboto-regular-condensed);
    color: #ABABAB;
    text-transform: capitalize;
    text-overflow: ellipsis;
    width: 104px;
}

.games-lobby figure .game-favourites-link, .games-lobby figure .game-info-link {
    position: absolute;
    bottom: 0;
}

.games-lobby figure .game-favourites-link {
    right: 25px;
    cursor: pointer;
}

.games-lobby figure .game-info-link {
    right: 0;
}

.filter-mob {
    transition: bottom 1s;
}

.blur {
    filter: blur(3px);
}

.filter-buttons.filter-hidden {
    bottom: -100% !important;
}

.filter-buttons {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 569px;
    height: auto;
    background-color: var(--dark-secondary-color);
    border-radius: 15px 15px 0 0;
    bottom: 0;
    z-index: 5;
    transition: bottom 1s;
}

.filter-buttons.logged {
    bottom: 55px;
}

.filter-buttons.hide {
    display: none;
}

.filter-buttons .filter-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 25px;
    align-items: center;
    width: 90%;
    overflow-y: auto;
    padding-bottom: 25px;
}

.filter-buttons .apply-filters-mobile-container {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.filter-buttons .apply-filters-mobile-container span {
    line-height: 0;
}

.filter-buttons .selector-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 14px;
}

.filter-buttons .selector-container .selector-title {
    position: relative;
    display: block;
    width: 100%;
    padding: 5px 15px;
    border-radius: 3px;
    background-color: #1e1e1e;
    cursor: pointer;
}

.filter-buttons .selector-container .selector-title::after {
    content: '';
    width: 14px;
    height: 9px;
    background-size: 14px;
    background-image: url(/img/layout/icons/desplegar.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 12px;
    right: 10px;
    transition: all 0.2s linear
}

.filter-buttons .selector-container.active .selector-title::after {
    transform: rotate(180deg);
}

.filter-buttons .selector-container .selector-inputs-container {
    height: 0;
    overflow: hidden;
}

.filter-buttons .selector-container.active .selector-inputs-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    height: auto;
    padding: 10px 10px 0;
    
}

.filter-buttons .selector-container .selector-inputs-container .filter-button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: calc(50% - 4px);
    text-wrap: nowrap;
    cursor: pointer;
}

.filter-buttons .selector-container .selector-inputs-container .filter-button .input-name-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
} 

.filter-buttons .selector-container .selector-inputs-container .filter-button .games-amount {
    display: none;
    color: #616161;
}

.filter-buttons .selector-container .selector-inputs-container .filter-button input {
    appearance: none;
    width: 14px !important;
    height: 14px;
    border: 1px solid #ffffff;
    border-radius: 2px;
}

.filter-buttons .selector-container .selector-inputs-container .filter-button input:checked {
    background-color: var(--main-color);
}

.filter-buttons .selector-next-div .filter-button {
    display: flex;
    align-items: center;
}

.filter-buttons .selector-next-div .filter-button input {
    appearance: none;
    width: 14px !important;
    height: 14px;
    border: 1px solid #ffffff;
    border-radius: 2px;
}

.filter-buttons .selector-next-div .filter-button input:checked {
    background-color: var(--main-color);
}

 @media screen and (min-width: 1024px) {
    .closed-roulette-container .closed-text {
        font-size: 0.8vw;
        line-height: 1.2vw;
    }
    
    .closed-roulette-container .closed-text span {
        font-size: 36px;
        line-height: 43px;
    }
}

@media (min-width:1280px){
    .scrollUp{
        position: fixed;
        right: 1em;
        width: 45px;
        height: 45px;
        bottom: 10px;
        border-radius: 50%;
        background: #282828;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
    .scrollUp img{
        width: 18px;
        height: auto;
        transform: rotate(180deg);
    }
    section .breadcrumb-container.pExpositor{
        background: #000;
        position: fixed;
        height: auto;
        width: 100%;
        z-index: 4;
    }
    section .body-home{
        padding: 40px 0 26px 0;
    }
    .icon-filter{
        display: none;
    }
    .selector{
        margin: 12px 0 18px;
    }
    .selector:nth-child(1){
        margin: 0 0 18px;
    }
    .selector + div{
        height: auto;
        margin: 0 auto;
    }
    .selector.inactive:after{
        transform: rotate(360deg);
    }
    .filter-space{
        background: transparent;
        /*position: fixed;*/
        position: relative;
        z-index: 4;
        width: 100%;
        margin: 0;
        height: 53px;
        padding: 10px 0 0;
        /*top: 148px;*/
        top: 0;
        align-items: flex-start;
    }
    .filter-space label input[type="checkbox"], .filter-desk label input[type="checkbox"]{
        position: relative;
        top: 1.5px;
        background: transparent;
        border: 1px solid #fff;
        appearance: none;
        height: 14px;
        width: 14px !important;
        border-radius: 2px;
    }
    label.check{
        position: absolute;
    }
    .filter-space label.check:after, .filter-desk label.check:after{
        display: none;
        content: "";
        width: 10px;
        height: 10px;
        background: #e60881;
        position: relative;
        transform: rotate(0);
        border-width: 0;
        border: none;
        left: -12px;
        top: -1px;
    }
    .filter-space label input:checked ~ .check::after,  .filter-desk label input:checked ~ .check::after{
        /*display: inline-block;*/
        display: block;
        top: -17px;
        left: 2px;
    }
    .filter-desk.hideFilter{
        display: block;
    }
    .filter-desk{
        height: 100%;
        /*max-height: 81vh;*/
        z-index: 3;
        overflow: auto;
        width: 272px;
        min-width: 272px;
        max-width: 272px;
        position: relative;
        bottom: 0;
        top: 0;
        /*margin-left: 3%;*/
        padding: 20px;
        background: #282828;
        border-radius: 3px;
    }
    .games-container{
        /*padding-left: 14%;*/
        display: flex;
        height: 100%;
        min-height: 550px;
        width: 86%;
        margin: 0 auto;
    }
    .selector{
        width: 100%;
    }
    .selector + div label{
        /*width: auto;*/
        width: 100%;
        font-size: 14px;
        line-height: 18px;
    }
    .options-container {
        /*margin-left: 6%;*/
        margin-left: 3%;
    }
    
    /* -------------- en directo + button play ruletas destacadas ---------*/
    figure{
        position: relative;
    }
    .playlive-button {
        width: 14%;
        height: 22%;
    }
    .mini-playlive {
        width: 26%;
        height: 13%;
    }
    .shadow-box-live{
        width: 100%;
        height: 230px;
        background: #00000080;
        filter: brightness(0.5);
        position: absolute;
        transition: opacity 0.5s;
        opacity: 0;
        top: 0;
    }
    figure a:first-child:hover .shadow-box-live{
        opacity: 0.8;
    }
    
    .filter-buttons {
        display: block;
        position: relative;
        width: 275px;
        min-width: 275px;
        height: min-content;
        max-height: unset;
        bottom: unset;
        border-radius: 3px;
        padding: 20px;
        z-index: 3;
    }
    
    .filter-buttons .apply-filters-mobile-container {
        display: none;
    }
    
    .filter-buttons .filter-content {
        width: 100%;
    }
    
    .filter-buttons .selector-container {
        gap: 20px;    
    }
    
    .filter-buttons .selector-container.active .selector-inputs-container {
        width: 85%;
        padding: 0;
        flex-direction: column;
        gap: 0;
    }
    
    .filter-buttons .selector-container .selector-inputs-container .filter-button {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-buttons .selector-container .selector-inputs-container .filter-button .games-amount {
        display: block;
    }
    
    .filter-buttons.filter-hidden {
        bottom: unset;
    }
}

@keyframes beat {
    0%{
        box-shadow: 0px 0px 0px var(--main-color);
    }
    50%{
        box-shadow: 0px 0px 5px 2px var(--main-color);
    }
    100%{
        box-shadow: 0px 0px 0px var(--main-color);
    }
}