body {
    font-size: 16px;
    font-family: 'Source Sans Pro', sans-serif;
}

body.layout_small {
    font-size: 46px;
}

body.layout_medium {
    font-size: 30px;
}

main {
    padding-bottom: 100px;
}


@media only screen and (max-width: 1024px) {
    main.container {
        padding-right: 0;
        padding-left: 0;
    }

    .informative-menu-open.informative-tutorial main {
        padding-right: 0;
        padding-left: 0;
    }
}

header > div > div {
    margin-bottom: 8px;
    height: 80px;
}

header img {
    margin-left: 10px;
    margin-top: 20px;
    height: 40px;
}

#regolamenti_top_menu > a.active {
    position: relative;
}

#regolamenti_top_menu > a {
    fill: #F2F2F2;
    background-color: #F2F2F2;
    color: #1E315E;
    padding: 20px;
    width: calc(50% - 10px);
    text-align: center;
}

@media only screen and (max-width: 1024px) {
    #regolamenti_top_menu > a {
        width: 50%;
        padding: 20px 10px;
        font-size: 1em;
        line-height: 2em;
    }
}

#regolamenti_top_menu > a:nth-child(1) {
    margin-right: 10px;
}

@media only screen and (max-width: 1024px) {
    #regolamenti_top_menu > a:nth-child(1) {
        margin-right: 0;
    }
}

#regolamenti_top_menu > a:nth-child(2) {
    margin-left: 10px;
}

@media only screen and (max-width: 1024px) {
    #regolamenti_top_menu > a:nth-child(2) {
        margin-left: 0;
    }
}

#regolamenti_top_menu > a.active:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc((100% - 15px) / 2);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 15px solid #FFF;
}

#informative-container {
    margin-top: 20px;
}

@media only screen and (max-width: 1024px) {
    #informative-container {
        margin-bottom: 200px;
    }

    .informative-menu-open #informative-container {
        margin-top: 0;
    }

    body:not(.informative-menu-open) .informative-content {
        display: none;
    }
}

#informative-container > .container {
    padding: 0;
}

#informative-menu .card {
    margin-bottom: 2px;
}

.tab,
.tab-accordion {
    font-weight: bold;
    padding: 25px 10px;
    text-transform: uppercase;
    font-size: 1em;
    cursor: pointer;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .tab,
    .tab-accordion {
        padding: 10px;
        font-size: 0.9em;
    }
}

.accordion:not(.active) {
    display: none;
}

.tab-sub {
    width: 100%;
    float: left;
    font-size: 1em;
    font-weight: normal;
    margin-top: 2px;
    padding: 20px 20px;
    position: relative;
    cursor: pointer;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .tab-sub {
        font-size: 0.7em;
        padding: 10px 20px;
    }
}

.cursor-pointer {
    cursor: pointer;
}

a:hover {
    color: #FBB03B !important;
    text-decoration: none !important;
}

.informative-content .tab-content {
    padding-left: 15px;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}

@media only screen and (min-width: 1025px) {
    .informative-content .tab-content {
        height: 80vh;
        overflow-y: scroll;
    }
}


@media only screen and (max-width: 1024px) {
    .informative-content .tab-content {
        padding-left: 10px;
        padding-right: 10px;
        position: relative;
        top: auto;
    }
}

.informative-content .tab-content > h1 {
    font-size: 1.5em;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .informative-content .tab-content > h1 {
        font-size: 0.8em;
    }
}

.informative-content .tab-pane > h1 {
    font-size: 32px;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.informative-content .tab-pane > h2 {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.informative-content .card-body {
    padding: 0;
}

.informative-content .card-body h2 {
    font-size: 1.5em;
    font-weight: bold;
    text-align: left;
    margin-bottom: 15px;
}

.informative-content .card-body h3 {
    font-size: 1.1em;
    font-weight: bold;
    text-align: left;
    margin-bottom: 15px;
}

@media only screen and (max-width: 1024px) {
    .informative-content .card-body p {
        font-size: 0.6em;
    }

    .informative-content .card-body p.p-img {
        float: left;
        width: 100%;
    }

    .informative-content .card-body p.p-img img {
        width: 120px;
        float: left;
        height: 90px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .informative-content .card-body li {
        font-size: 1em;
    }

    .informative-content .card-body li li {
        font-size: 1em;
    }

    .informative-content .card-body h2 {
        font-size: 0.9em;
    }

    .informative-content .card-body h3 {
        font-size: 1.2em;
    }
}

@media only screen and (max-width: 1024px) and (orientation: portrait) {
    .informative-content .card-body p {
        font-size: 0.9em;
    }

    .informative-content .card-body li {
        font-size: 0.9em;
    }

    .informative-content .card-body h3 {
        font-size: 0.9em;
    }
}

/* stelle */
.cellaStella {
    width: 16px;
    height: 16px;
}

@media only screen and (max-width: 1024px) {
    .cellaStella {
        width: 48px;
        height: 48px;
    }
}


.tables {
    float: left;
    width: 100%;
}

table {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-collapse: collapse;
    width: 100%;
    float: left;
}

.tables.tables-3 table {
    width: 33.3%;
}

table tr {
    border: 1px solid #ddd;
    padding: .35em;
}

table tr:nth-child(even) {
    background: #f8f8f8;
}

table th,
table td {
    padding: .625em;
    text-align: center;
    vertical-align: middle;
}

table th {
    font-size: 0.8em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

table td {
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    font-size: 0.8em;
}

@media only screen and (max-width: 1024px) {
    table {
        width: 100%;
    }

    .tables.tables-3 table {
        width: 100%;
    }

    table th,
    table td {
        padding: .4em;
    }

    table th {
        font-size: 0.8em;
    }

    table td {
        font-size: 0.8em;
    }

    .table-rows th {
        width: 100%;
        float: left;
    }

    .table-rows td {
        white-space: inherit;
        width: 100%;
        float: left;
        font-size: 0.8em;
    }
}


@media only screen and (max-width: 1024px) and (orientation: portrait) {
    table th,
    table td {
        padding: .6em;
    }

    table th {
        font-size: 0.8em;
    }

    table td {
        font-size: 0.8em;
    }
}


/* media queries */
@media screen and (max-width: 768px) {
    table.mobile-table {
        border: 0;
    }

    table.mobile-table tr,
    table.mobile-table th,
    table.mobile-table td {
        display: block;
        padding: 0;
    }

    table.mobile-table tr {
        border-bottom: none;
        margin: 0 0 1em 0;
    }

    table.mobile-table td {
        text-align: right;
        position: relative;
        padding: 10px;
    }

    table.mobile-table td[data-title]:before {
        content: attr(data-title);
        font-weight: bold;
        font-size: 0.95em;
        color: #fff;
        padding: 10px;
        width: 50%;
        text-align: center;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(30, 49, 94, 0.4);
        color: #FFF;
    }

    table.mobile-table tr:nth-child(even) {
        background: transparent;
    }

    table.mobile-table tr td:nth-child(even) {
        background: #f8f8f8;
    }

    .hide-mobile {
        display: none !important;
    }

}


/*MENU MOBILE*/
@media only screen and (max-width: 1024px) {
    .informative-menu-open #regolamenti_top_menu {
        display: none;
    }


    .informative-menu-open #informative-menu {
        position: fixed;
        top: 0;
        width: 100%;
        left: 0;
        z-index: 1;
    }

    .informative-menu-open #informative-menu .card {
        margin-bottom: 0;
    }

    .informative-menu-open #informative-menu .card:not(.active),
    .informative-menu-open .tab-link:not(.active),
    .informative-menu-open .tab-sub:not(.active) {
        display: none;
    }

    .informative-menu-open .tab-link.active:before,
    .informative-menu-open .tab-sub.active:before {
        content: '';
        position: absolute;
        top: calc((100% - 5px) / 2);
        right: 20px;
        border-right: 2px solid #FFF;
        border-bottom: 2px solid #FFF;
        width: 15px;
        height: 15px;
        transform: rotate(-135deg);
    }

    .informative-palinsesti.informative-menu-open .tab.active:before {
        content: '';
        position: absolute;
        top: calc((100% - 5px) / 2);
        right: 20px;
        border-right: 2px solid #FFF;
        border-bottom: 2px solid #FFF;
        width: 15px;
        height: 15px;
        transform: rotate(-135deg);
    }

    .informative-menu-open .tabs-sottomenu > .card-body > .nav > a:not(.active):not(.show) {
        display: none;
    }

    .informative-palinsesti.informative-menu-open .informative-content {
        margin-top: 70px;
    }

    body:not(.informative-menu-open) .informative-content .tab-pane,
    body:not(.informative-menu-open) .contenuto-informative {
        display: none;
    }
}

@media only screen and (max-width: 1024px) and (orientation: portrait) {
    .informative-menu-open .informative-content {
        margin-top: 240px;
    }
}

@media only screen and (min-width: 1025px) {
    #tabella_palinsesti {
        max-height: 90vh;
        overflow-y: scroll;
        float: left;
    }
}


/* UTILITY */
.list-style-none {
    list-style: none;
}


/*ICONE*/
.infoCartellinoPrezzo {
    background: url(/skill/lobby/assets/svg/icona_scura_costo.svg) no-repeat center;
    background-size: 30px;
}

.infoIconaMontepremiScura {
    background: url(/skill/lobby/assets/svg/icona_scura_montepremi.svg) no-repeat center;
    background-size: 30px;
}

.infoIconaPartecipanti {
    background: url(/skill/lobby/assets/svg/icona_scura_giocatori.svg) no-repeat center;
    background-size: 30px;
}

.tipoIconaChiara {
    background: url(/skill/lobby/assets/svg/icona_scura_tipo.svg) no-repeat center;
    background-size: 30px;
}

.obiettivoIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_obiettivo.svg) no-repeat center;
    background-size: 30px;
}

.partitaIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_partita.svg) no-repeat center;
    background-size: 30px;
}

.tempoIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_tempo.svg) no-repeat center;
    background-size: 30px;
}

.varianteIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_variante.svg) no-repeat center;
}

.icona_scura_compagnodigioco {
    background: url(/skill/lobby/assets/svg/icona_scura_compagnodigioco.svg) no-repeat center;
    background-size: 30px;
}

.specialiIconaChiara {
    background: url(/skill/lobby/assets/svg/icona_chiara_speciali.svg) no-repeat center;
    background-size: 30px;
}

.preferitoIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_preferito.svg) no-repeat center;
}

.usernameIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_username.svg) no-repeat center;
    background-size: 30px;
}

.cambiagiocoIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_cambiagioco.svg) no-repeat center;
    background-size: 30px;
}

.cambiatavoliIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_cambiotavoli.svg) no-repeat center;
    background-size: 30px;
}

.stampaIconaScura {
    background: url(/skill/lobby/assets/svg/icona_stampa_scura.svg) no-repeat center;
    background-size: 20px;
}

.carteinmanoIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_carteinmano.svg) no-repeat center;
    background-size: 30px;
}

.ordinacarteIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_ordinacarte.svg) no-repeat center;
    background-size: 30px;
}

.ordinavaloreIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_ordinavalore.svg) no-repeat center;
    background-size: 30px;
}

.vincitoreIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_vincitore.svg) no-repeat center;
    background-size: 30px;
}

.infotavolo_mobileIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_infotavolo_mobile.svg) no-repeat center;
    background-size: 30px;
}

.cambiagioco_mobileIconaScura {
    background: url(/skill/lobby/assets/svg/icona_scura_cambiagioco_mobile.svg) no-repeat center;
    background-size: 30px;
}

/** ICONE SPECIALI DEI TORNEI **/
.iconaFreeroll {
    background: url(/skill/lobby/assets/svg/icona_speciale_freeroll.svg) no-repeat center;
    background-size: 30px;
}

.iconaGarantito {
    background: url(/skill/lobby/assets/svg/icona_speciale_garantito.svg) no-repeat center;
    background-size: 30px;
}

.iconaPassword {
    background: url(/skill/lobby/assets/svg/icona_speciale_password.svg) no-repeat center;
    background-size: 30px;
}

.iconaPremioMatto {
    background: url(/skill/lobby/assets/svg/icona_speciale_premio_matto.svg) no-repeat center;
    background-size: 30px;
}

.iconaClub {
    background: url(/skill/lobby/assets/svg/icona_speciale_club.svg) no-repeat center;
    background-size: 30px;
}

.iconaRiservato {
    background: url(/skill/lobby/assets/svg/icona_speciale_riservato.svg) no-repeat center;
    background-size: 30px;
}

.iconaSatelliti {
    background: url(/skill/lobby/assets/svg/icona_speciale_satelliti.svg) no-repeat center;
    background-size: 30px;
}

.iconaToken {
    background: url(/skill/lobby/assets/svg/icona_speciale_token.svg) no-repeat center;
    background-size: 30px;
}

.iconaIscritto {
    background: url(/skill/lobby/assets/svg/icona_speciale_iscritto.svg) no-repeat center;
    background-size: 30px;
}

/*TUTORIAL*/
.contenuto-informative iframe {
    width: 100%;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}

@media only screen and (max-width: 1024px) {
    .contenuto-informative iframe {
        width: 100%;
        position: relative;
        top: auto;
    }
}


.tabella-titolo {
    width: 100%;
    float: left;
    text-align: center;
    font-size: 1em;
    color: white;
    background: #1e315e;
    padding-bottom: 10px;
    padding-top: 10px;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .tabella-titolo {
        font-size: 0.6em;
    }
}


/*TABELLA RESPONSIVE CLASSIFICHE*/
@media only screen and (min-width: 1025px) {
    #tabella_classifiche {
        max-height: 100vh;
        overflow-y: scroll;
    }
}

.rg-container {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    line-height: 1.4;
    margin: 0;
    color: #222;
}

/* table */
table.rg-table {
    width: 100%;
    margin-bottom: 0.5em;
    font-size: 1em;
    border-collapse: collapse;
    border-spacing: 0;
}

table.rg-table tr {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-align: left;
    color: #333;
}

table.rg-table thead {
    border-bottom: 3px solid #ddd;
}

table.rg-table tr {
    border-bottom: 1px solid #ddd;
    color: #222;
}

table.rg-table tr.highlight {
    background-color: #dcf1f0 !important;
}

table.rg-table.zebra tr:nth-child(even) {
    background-color: #f6f6f6;
}

table.rg-table th {
    font-weight: bold;
    padding: 0.35em;
    font-size: 0.9em;
}

table.rg-table td {
    padding: 0.35em;
    font-size: 0.9em;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    table.rg-table td {
        font-size: 0.5em;
    }
}

table.rg-table .highlight td {
    font-weight: bold;
}

table.rg-table th.number,
td.number {
    text-align: right;
}

/* media queries */
@media screen and (max-width: 1024px) {
    .rg-container {
        max-width: 1024px;
        margin: 0 auto;
    }

    table.rg-table {
        width: 100%;
    }

    table.rg-table tr.hide-mobile,
    table.rg-table th.hide-mobile,
    table.rg-table td.hide-mobile {
        display: none;
    }

    table.rg-table thead {
        display: none;
    }

    table.rg-table tbody {
        width: 100%;
    }

    table.rg-table tr,
    table.rg-table th,
    table.rg-table td {
        display: block;
        padding: 0;
    }

    table.rg-table tr {
        border-bottom: none;
        margin: 0 0 1em 0;
        padding: 0.5em;
    }

    table.rg-table tr.highlight {
        background-color: inherit !important;
    }

    table.rg-table.zebra tr:nth-child(even) {
        background-color: transparent;
    }

    table.rg-table.zebra td:nth-child(even) {
        background-color: #f6f6f6;
    }

    table.rg-table tr:nth-child(even) {
        background-color: transparent;
    }

    table.rg-table td {
        padding: 0.5em 0 0.25em 0;
        border-bottom: 1px dotted #ccc;
        text-align: right;
    }

    table.rg-table td[data-title]:before {
        content: attr(data-title);
        font-weight: bold;
        display: inline-block;
        content: attr(data-title);
        float: left;
        margin-right: 0.5em;
        font-size: 0.95em;
    }

    table.rg-table td:last-child {
        padding-right: 0;
        border-bottom: 2px solid #ccc;
    }

    table.rg-table td:empty {
        display: none;
    }

    table.rg-table .highlight td {
        background-color: inherit;
        font-weight: normal;
    }
}