:root {
    --fontColorTS: #001E35;
}

@font-face {
    font-family: 'Impact';
    src: url('/css/fonts/19927_impact.ttf');
}


main {
    margin: 0;
}

main >*, .content-page>*, footer {
    position: relative;
}

.content-page {
    display: flex;
    flex-direction: column;
}

.categoryTitle {
    background-size: auto;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: -59px;
    position: relative;
    position: relative;
    margin-top: -35px;
    background-position: center;
    background-repeat: no-repeat;
}

.lobby-container .categoryTitle:first-child {
    margin-top: 50px;
}

.categoryTitle#bg_ruletaLive {
    margin-top: -124px;
}

.content-lobby .lobby-container.first .categoryTitle:first-child {
    margin-top: -284px;
    height: 472px;
}

#bg_tragaperras {
    background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/tragaperras_mob_v2.jpg);
}

#bg_tradicionales {
    background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/tradicionales_mob_v2.jpg);
}

#bg_modernas {
    background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/modernas_mob_v2.jpg);
}

#bg_casino {
    background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/casino_mob_v2.jpg);
}

#bg_ruletas {
    background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/ruletas_mob_v2.jpg);
}

#bg_blackjack {
    background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/blackjack_mob_v2.jpg);
}

#bg_videobingo {
    background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/videobingo_mob_v2.jpg);
}

#bg_spanishCelebrities {
    background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/Spanish_mob_v2.jpg);
}

.content-page h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 25px;
    font-family: 'Impact';
    margin-bottom: 5px;
    color: #FFFF;
    position: relative;
    font-weight: normal;
}

.content-page h2 span:first-of-type {
    color: var(--secondary-color)
}

.content-page h2 span:nth-of-type(2) {
    font-family: var(--berlin-demibold);
    font-size: 17px;
}

.content-page h2:nth-child(2) {
    display: none;
}

.content-page h2.lined {
    font-size: 12px;
    font-family: 'Impact';
    display: block;
    width: 340px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 2px;
    font-weight: normal;
    color: var(--fontColorTS);
}

.categoryTitle#bg_ruletaLive h2 {
    color: #FFF;
    font-weight: normal;
}

.content-page h2.lined:before, .content-page h2.lined:after {
    display: flex;
    content: "";
    width: 95px;
    height: 1px;
    border-bottom: 1px solid black;
    position: absolute;
    top: 50%;
    flex-basis: 50%;
}

.content-page #bg_ruletaLive h2.lined:before, .content-page #bg_ruletaLive h2.lined:after {
    border-color: #FFFF;
}

.content-page h2.lined:before {
    left: 0;
}

.content-page h2.lined:after {
    right: 0;
}

.content-page h2.lined span {
    padding: 0 10px;
}

.content-page .lobby-container.first .categoryTitle:first-child h2 {
    top: 100px;
    color: #FFFF;
    margin: 0 auto;
    max-width: 295px;
    line-height: 25px;
    letter-spacing: 1px;
    text-shadow: 0 3px 6px #000;
}

.background-fixed {
    display: flex;
    height: auto;
    justify-content: center;
    position: fixed;
    width: 100%;
}

.background-fixed picture {
    max-width: none;
    width: auto;
}

.background-fixed img {
    max-width: none;
}

.imgTragaperrasPage {
    margin: 40px auto;
}

.navCategories {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    margin-top: 50px;
    z-index: 1;
    top: -20px;
    height: 0;
}

.module {
    width: 144px;
    height: 33px;
    position: relative;
    border-radius: 3px;
    text-align: center;
    position: relative;
    background: transparent;
    font-family: var(--berlin-demibold);
    margin: 0 20px;
    border: 1px solid #FFF;
}

.module.active, .module:hover {
    background: #FFFF;
    border: 1px solid var(--fontColorTS);
}

#containerBuscadorHomeDesktop {
    display: none;
}

.module__top {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.module__contents {
    height: 100%;
    width: 100%;
    color: #FFFF;
    text-align: center;
    line-height: 31px;
    font-size: 14px;
    display: block;
}

.module.active .module__contents, .module:hover .module__contents {
    color: var(--fontColorTS);
}

.lobbyRowWrap {
    display: flex;
    flex-flow: row wrap;
    margin: 0 auto;
    justify-content: flex-start;
    width: 360px;
}

.lobbyRowWrap figure {
    display: flex;
    flex-direction: column;
    background-color: #FFFF;
    border-radius: 10px;
    text-align: center;
    width: calc(50% - 20px);
    height: 210px;
    margin: 10px;
    box-shadow: 0px 3px 6px #0000004d;
    z-index: 1;
    position: relative;
}

.lobbyRowWrap figure.destacada {
    background: var(--main-color);
}

.lobbyRowWrap figure img {
    display: block;
    width: 91%;
    margin: 7px auto;
    border-radius: 8px;
    max-height: 100px;
}

.lobbyRowWrap figure a:first-child {
    position: relative;
    height: 100%;
}

.lobbyRowWrap .btnJugar {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: 78px;
    height: 40px;
    top: -14px;
    background-color: #FFFF;
    border-radius: 17px;
    font-family: 'Berlin Sans';
}

.lobbyRowWrap figure.destacada .btnJugar {
    background: var(--main-color)
}

.lobbyRowWrap .btnJugar span {
    display: block;
    text-align: center;
    line-height: 30px;
    margin: 0 auto;
    width: 69px;
    height: 31px;
    background: var(--fontColorTS);
    border-radius: 17px;
    text-transform: uppercase;
    font-family: var(--berlin-demibold);
    font-size: 14px;
}

.contenido-juego {
    display: flex;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;
    width: 20%;
    height: 20%;
    right: 0px;
}

.lobbyRowWrap .info-game {
    width: 16px;
    position: absolute;
    right: 10px;
    bottom: 3px;
}

.lobbyRowWrap figure.destacada .info-game-negro {
    display: none;
}

.box_tituloJuego {
    font-family: var(--berlin-demibold);
    color: var(--fontColorTS);
    display: flex;
    width: 90%;
    margin: 0 auto;
    line-height: 1rem;
    margin-top: -9px;
    min-height: 32px;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: calc(50% - -51px);
    left: 0;
    right: 0;
}

.lobbyRowWrap figure.destacada .box_tituloJuego {
    color: #FFFF;
}

.tituloJuego {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 35px;
    width: 90%;
}

.minAmount {
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--berlin-demibold);
    color: var(--main-color);
    font-size: 14px
}

.lobbyRowWrap figure.destacada .minAmount {
    color: var(--secondary-color)
}

.seo_hr {
    height: 83px;
    width: 100%;
    background-size: contain;
    margin: 0;
    border: none;
}

/* .seo_hr_top {
    background-image: url(/img/home/superior_mob.jpg);
    margin-top: 77px;
}

.seo_hr_bottom {
    background-image: url(/img/home/inferior_mob.jpg);
    background-position-y: bottom;
}
 */
#seo_container {
    background: #FFFF;
    display: inline-block;
    text-align: center;
    min-height: unset;
}

.txt-seo p, .txt-seo h1, .txt-seo h2, .txt-seo ul li , .txt-seo ol li {
    color: #000;
    text-align: center;
    padding-left: 0;
}

.txt-seo > h2 {
    border: 1px solid #c5c4c2;
    line-height: 18px;
    font-size: 16px;
    padding: 8px 18px;
    font-family: var(--berlin-demibold);
    text-align: center;
}

.txt-seo > h2:last-of-type {
    margin-bottom: 20px;
}

.txt-seo > h1 {
    text-transform: none;
    text-align: center;
    font-family: var(--berlin-demibold);
    font-size: 25px;
    line-height: 27px;
}

.txt-seo a {
    color: var(--main-color);
    font-weight: normal;
}

.txt-seo > h2 ~ p, .txt-seo > h2 ~ ul, h2~ol {
    display: none;
}

@media all and (min-width: 593px) {
    .lobbyRowWrap figure {
        height: 230px;
    }

    .lobbyRowWrap {
        width: calc((180px + 20px)*2);
    }

    .content-page h2.lined {
        width: 380px;
    }

    .content-page h2.lined:before, .content-page h2.lined:after {
        width: 110px;
    }
}

@media all and (min-width: 768px) {
    #bg_tragaperras {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/tragaperras_tab_v2.jpg);
    }

    #bg_tradicionales {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/tradicionales_tab_v2.jpg);
    }

    #bg_modernas {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/modernas_tab_v2.jpg);
    }

    #bg_casino {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/casino_tab_v2.jpg);
    }

    #bg_ruletas {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/ruletas_tab_v2.jpg);
    }

    #bg_blackjack {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/blackjack_tab_v2.jpg);
    }

    #bg_videobingo {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/videobingo_tab_v2.jpg);
    }

    #bg_spanishCelebrities {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/Spanish_tab_v2.jpg);
    }

    .lobby-container .categoryTitle:first-child {
        height: 224px;
    }

    .lobbyRowWrap {
        width: calc((180px + 20px)*3);
    }

    .lobbyRowWrap figure {
        width: calc(33% - 20px);
    }

    .lobbyRowWrap figure.destacada,.lobbyRowWrap figure.destacada .btnJugar {
        background: var(--main-color);
    }

    .lobbyRowWrap figure.destacada .box_tituloJuego {
        color: #FFFF;
    }

    .lobbyRowWrap figure.destacada .minAmount {
        color: var(--secondary-color);
    }

    .lobbyRowWrap figure.destacada .info-game-negro {
        display: none;
    }

    .content-page h2.lined {
        width: 580px;
    }

    .content-page h2.lined:before, .content-page h2.lined:after {
        width: 210px;
    }
}

@media all and (min-width: 1024px) {
    .navCategories {
        margin-right: auto;
        margin-left: auto;
    }

    #bg_tragaperras {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/tragaperras_desk_v2.jpg);
    }

    #bg_tradicionales {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/tradicionales_desk_v2.jpg);
    }

    #bg_modernas {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/modernas_desk_v2.jpg);
    }

    #bg_casino {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/casino_desk_v2.jpg);
    }

    #bg_ruletas {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/ruletas_desk_v2.jpg);
    }

    #bg_blackjack {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/blackjack_desk_v2.jpg);
    }

    #bg_videobingo {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/videobingo_desk_v2.jpg);
    }

    #bg_spanishCelebrities {
        background-image: url(https://dtjbhedcmstdr.cloudfront.net/img/layout/Spanish_desk_v2.jpg);
    }

    .categoryTitle {
        margin-top: -235px;
    }

    .lobby-container .categoryTitle:first-child {
        height: 274px;
        margin-top: 78px;
    }

    .lobbyRowWrap, .navCategories {
        width: calc((180px + 20px)*5);
        top: 155px;
        margin-bottom: 191px;
    }

    #containerBuscadorHomeDesktop {
        display: flex;
        align-items: center;
        margin-top: 80px;
        background: transparent;
        z-index: auto;
        top: -119px;
        position: relative;
        flex-basis: 75%;
        justify-content: flex-end;
        right: -25px;
    }

    #containerBuscadorHome {
        display: none;
    }

    .lobbyRowWrap figure {
        width: calc(20% - 20px);
    }

    .lobbyRowWrap figure:hover {
        transform: scale(1.02)
    }

    .content-lobby {
        top: 33px;
    }

    .content-page h2.lined {
        width: 980px;
    }

    .content-page h2.lined:before, .content-page h2.lined:after {
        width: 420px;
    }
}