/**
 * DARK STYLE
 */
         .edellinen-peli-container-dark,.seuraava-peli-container-dark,.sarjataulukko-container-dark,.otteluohjelma-container-dark {
            display: flex;
            flex-direction: column;
            padding: 24px 32px 24px 32px;
            background: #1c1c1c;
            color: #ffffff;
            justify-content: center;
            width: 100%;
	    font-family: Arial;
        }

        .otteluohjelma-otsikko-dark,.liveseuranta-otsikko-dark {
            width: 100%;
            text-align: center;
            font-size: 32px;
            font-weight: 700;
            font-family: Arial;
        }

        .otteluohjelma-dark th {
            font-size: 16px;
            font-weight: 700;
	    font-family: Arial;
            text-transform: uppercase;
            text-align: center;
            color: #ffffff;
            border: 0 !important;
            border-left: 4px solid #000000 !important;
            border-right: 4px solid #000000 !important;
            border-bottom: 4px solid #000000 !important;
        }

        .otteluohjelma-dark {
            border-top: 4px solid #000000 !important;
            border-bottom: 4px solid #000000 !important;
        }

        .otteluohjelma-dark a {
            font-family: Arial;
            color: #fff;
        }
        
        .otteluohjelma-dark a:hover {
            color: #E00000;
        }

        .otteluohjelma-dark .ottelu-tulos-dark {
            font-family: Arial;
            text-align: center;
        }

        .sarjataulukko-dark tr:first-child td {
            background: #1C1C1C !important;
        }

        .sarjataulukko-dark tr:nth-child(2n+3) td {
            background: #1C1C1C !important;
        }

        .sarjataulukko-joukkue-dark {
            font-family: Arial;
            text-align: left !important;
        }

        .sarjataulukko-solu-dark a {
            color: #fff;
        }

        .sarjataulukko-solu-dark a:hover {
            color: #E00000;
        }

        .edellinen-peli-ylaosa-dark,.seuraava-peli-ylaosa-dark {
            display: flex;
            flex-direction: row;
        }

        .edellinen-peli-aika-paikka-dark,.seuraava-peli-aika-paikka-dark {
            display: flex;
            flex-direction: column;
	    font-family: Arial !important;
        }

        .edellinen-peli-logo-dark,.seuraava-peli-logo-dark {
            width: 25%;
            padding: 5% 0 5% 0;
        }
        
        .edellinen-peli-logo-dark img,.seuraava-peli-logo-dark img {
            width: auto;
            height: auto;
            transition-duration: 1s;
        }
        
        .tulevat-pelit-logo-dark img:hover,.edellinen-peli-logo-dark img:hover,.seuraava-peli-logo-dark img:hover {
            width: auto;
            height: auto;
            transform: scale(1.1);
            transition-duration: 1s;
        }
        
        .edellinen-peli-aika-paikka-dark,.seuraava-peli-aika-paikka-dark {
            width: 50%;
            padding: 5% 0 5% 0;
            text-align: center;
            font-size: 28px;
            font-family: Arial;
            font-weight: 600;
        }

        .edellinen-peli-paiva-dark,.seuraava-peli-paiva-dark {
            text-transform: uppercase;
        }
        
        .edellinen-peli-joukkueet-dark,.seuraava-peli-joukkueet-dark {
            width: 100%;
            text-align: center;
            font-size: 32px;
            font-weight: 700;
            font-family: Arial;
        }
        
        .oddy-copyright-line-dark {
            display: flex;
            flex-direction: column;
            justify-content: center;
            font-family: Arial;
            text-align: center;
            color: #ffffff;
            margin-top: 16px;
            font-size: 12px;
        }

@media only screen and (min-width: 1025px) {
        .otteluohjelma-dark td {
            font-family: Arial;
            padding: 12px 6px 12px 6px;
            border-left: 4px solid #000000 !important;
            border-right: 4px solid #000000 !important;
        }
        
        .otteluohjelma-dark tr:first-child td {
            background: #1C1C1C !important;
        }
        
        .otteluohjelma-dark tr:nth-child(2n+3) td {
            background: #1C1C1C !important;
        }

        .sarjataulukko-dark {
            font-family: Arial;
            border-top: 4px solid #000000 !important;
            border-bottom: 4px solid #000000 !important;
        }
        
        .sarjataulukko-sarja-dark {
            width: 100%;
            text-align: center;
            font-family: Arial;
            font-size: 32px;
            font-weight: 700;
        }
        
        .sarjataulukko-otsikot-dark th {
            font-family: Arial;
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            text-align: center;
            color: #ffffff;
            border: 0 !important;
            border-left: 4px solid #000000 !important;
            border-right: 4px solid #000000 !important;
            border-bottom: 4px solid #000000 !important;
        }
        
        .sarjataulukko-dark td {
            font-family: Arial;
            padding: 6px 2% 6px 2%;
            border-left: 4px solid #000000 !important;
            border-right: 4px solid #000000 !important;
            text-align: center;
        }
        
        .sarjataulukko-solu-dark img {
            font-family: Arial;
            margin-right: 12px;
        }
}

/* Smaller screens */
@media only screen and (max-width: 1024px) {
        .edellinen-peli-container-dark,.seuraava-peli-container-dark,.sarjataulukko-container-dark,.otteluohjelma-container-dark {
            font-family: Arial;
            padding: 24px 12px 24px 12px;
            width: 100%;
            font-size: 95%;
        }
        
        .edellinen-peli-aika-paikka-dark span,.seuraava-peli-aika-paikka-dark span {
            font-family: Arial;
            font-size: 75%;
        }
        
        .edellinen-peli-joukkueet-dark span,.seuraava-peli-joukkueet-dark span {
            font-family: Arial;
            font-size: 75%;
        }
        
        .otteluohjelma-dark .ottelu-sijainti-dark {
            font-family: Arial;
            display: none;
        }
}

/* Anything smaller than this... */
@media only screen and (max-width: 767px) {
        .edellinen-peli-container-dark,.seuraava-peli-container-dark,.sarjataulukko-container-dark,.otteluohjelma-container-dark {
            font-family: Arial;
            padding: 24px 6px 24px 6px;
            width: 100%;
            font-size: 85%;
        }
        
        .otteluohjelma-dark .ottelu-sijainti-dark,.ottelu-tulos-dark {
            display: none;
        }
        
        .sarjataulukko-otsikot-dark th {
            padding: 8px 2px 8px 2px;
            font-family: Arial;
            text-align: center;
            font-size: 95%;
            text-transform: uppercase;
        }
        
        .sarjataulukko-solu-dark,.sarjataulukko-ottelut-solu-dark {
            padding: 8px 2px 8px 2px;
            font-family: Arial;
            text-align: center;
            font-size: 95%;
        }
        
        .sarjataulukko-joukkue-dark img {
            display: none;
        }
}

.oddylogo-light {
    filter: invert();
}

/**
 * LIGHT STYLE
 */
     .edellinen-peli-container-light,.seuraava-peli-container-light,.sarjataulukko-container-light,.otteluohjelma-container-light {
        display: flex;
        flex-direction: column;
        padding: 24px 32px 24px 32px;
        background: #FFFFFF00;
        color: #1C1C1C;
        justify-content: center;
        width: 100%;
    }

    .otteluohjelma-otsikko-light,.liveseuranta-otsikko-light {
        width: 100%;
        text-align: center;
        font-size: 32px;
        font-weight: 700;
        font-family: sans-serif;
    }
    
    .otteluohjelma-light th {
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
        color: #1C1C1C;
        border: 0 !important;
        border-left: 4px solid #FFFFFF !important;
        border-right: 4px solid #FFFFFF !important;
        border-bottom: 4px solid #FFFFFF !important;
    }
    
    .otteluohjelma-light {
        border-top: 4px solid #FFFFFF !important;
        border-bottom: 4px solid #FFFFFF !important;
    }

    .otteluohjelma-light a {
        color: #1C1C1C;
    }
    
    .otteluohjelma-light a:hover {
        color: #600000;
    }

    .otteluohjelma-light .ottelu-tulos-light {
        text-align: center;
        color: #1C1C1C !important;
    }

    .otteluohjelma-light td {
        padding: 12px 6px 12px 6px;
        border-left: 4px solid #FFFFFF !important;
        border-right: 4px solid #FFFFFF !important;
        color: #1C1C1C;
        background: #ffffff !important;
        color: #1C1C1C !important;
    }
    
    .otteluohjelma-light tr:first-child td {
        background: #E5E5E5 !important;
    }
    
    .otteluohjelma-light tr:nth-child(2n+3) td {
        background: #E5E5E5 !important;
    }

    .edellinen-peli-ylaosa-light,.seuraava-peli-ylaosa-light {
        display: flex;
        flex-direction: row;
    }
    
    .edellinen-peli-aika-paikka-light,.seuraava-peli-aika-paikka-light {
        display: flex;
        flex-direction: column;
    }
    
    .edellinen-peli-logo-light,.seuraava-peli-logo-light {
        width: 25%;
        padding: 5% 0 5% 0;
    }
    
    .edellinen-peli-logo-light img,.seuraava-peli-logo-light img {
        width: auto;
        height: auto;
        transition-duration: 1s;
    }
    
    .tulevat-pelit-logo-light img:hover,.edellinen-peli-logo-light img:hover,.seuraava-peli-logo-light img:hover {
        width: auto;
        height: auto;
        transform: scale(1.1);
        transition-duration: 1s;
    }
    
    .edellinen-peli-aika-paikka-light,.seuraava-peli-aika-paikka-light {
        width: 50%;
        padding: 5% 0 5% 0;
        text-align: center;
        font-size: 28px;
        font-family: sans-serif;
        font-weight: 600;
    }
    
    .edellinen-peli-joukkueet-light,.seuraava-peli-joukkueet-light {
        width: 100%;
        text-align: center;
        font-size: 32px;
        font-weight: 700;
        font-family: sans-serif;
    }

    .edellinen-peli-paiva-light,.seuraava-peli-paiva-light {
        text-transform: uppercase;
    }
    
    .sarjataulukko-light {
        border-top: 4px solid #FFFFFF !important;
        border-bottom: 4px solid #FFFFFF !important;
    }

    .sarjataulukko-light tr:first-child td {
        background: #E5E5E5 !important;
    }
    
    .sarjataulukko-light tr:nth-child(2n+3) td {
        background: #E5E5E5 !important;
    }
    
    .sarjataulukko-joukkue-light {
        text-align: left !important;
    }
    
    .sarjataulukko-solu-light a {
        color: #1C1C1C;
    }
    
    .sarjataulukko-solu-light a:hover {
        color: #600000;
    }

    .sarjataulukko-sarja-light {
        width: 100%;
        text-align: center;
        font-size: 32px;
        font-weight: 700;
        font-family: sans-serif;
    }
    
    .sarjataulukko-otsikot-light th {
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
        color: #1C1C1C;
        border: 0 !important;
        border-left: 4px solid #FFFFFF !important;
        border-right: 4px solid #FFFFFF !important;
        border-bottom: 4px solid #FFFFFF !important;
    }
    
    .sarjataulukko-light td {
        padding: 6px 2% 6px 2%;
        border-left: 4px solid #FFFFFF !important;
        border-right: 4px solid #FFFFFF !important;
        text-align: center;
        background: #FFFFFF !important;
        color: #1C1C1C !important;
    }
    
    .sarjataulukko-solu-light img {
        margin-right: 12px;
    }
        
    .oddy-copyright-line-light {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        color: #1C1C1C;
        margin-top: 16px;
        font-size: 12px;
    }

    .oddy-copyright-line-light img {
        filter: invert();
    }

    .tulevat-pelit-table-light {
        border: 0px solid #FFFFFF00 !important;
        border-collapse: collapse;
        width: 100%;
        background: #FFFFFF00 !important;
    }

    .tulevat-pelit-table-light th, .tulevat-pelit-table-light td, .tulevat-pelit-table-light tr {
        border: 0px solid #FFFFFF00 !important;
        padding: 12px 6px 12px 6px !important;;
        font-size: 18px !important;
        font-weight: 700;
        text-align: center;
        color: #1C1C1C;
        background: #FFFFFF00 !important;

    }

    .tulevat-pelit-table-light img {
        width: 80px;
        height: auto;
    }

    .tulevat-pelit-table-light .tulevat-pelit-paiva-light {
        text-transform: uppercase;
    }

/* Smaller screens */
@media only screen and (max-width: 1024px) {
        .edellinen-peli-container-light,.seuraava-peli-container-light,.sarjataulukko-container-light,.otteluohjelma-container-light {
            padding: 24px 12px 24px 12px;
            width: 100%;
            font-size: 95%;
        }
        
        .edellinen-peli-aika-paikka-light span,.seuraava-peli-aika-paikka-light span {
            font-size: 75%;
        }
        
        .edellinen-peli-joukkueet-light span,.seuraava-peli-joukkueet-light span {
            font-size: 75%;
        }
        
        .otteluohjelma-light .ottelu-sijainti-light {
            display: none;
        }

}

/* Anything smaller than this... */
@media only screen and (max-width: 767px) {
        .edellinen-peli-container-light,.seuraava-peli-container-light,.sarjataulukko-container-light,.otteluohjelma-container-light {
            padding: 24px 6px 24px 6px;
            width: 100%;
            font-size: 85%;
        }
        
        .otteluohjelma-light .ottelu-sijainti-light,.ottelu-tulos-light {
            display: none;
        }
        
        .sarjataulukko-otsikot-light th {
            padding: 8px 2px 8px 2px;
            text-align: center;
            font-size: 95%;
            text-transform: uppercase;
        }
        
        .sarjataulukko-solu-light,.sarjataulukko-ottelut-solu-light {
            padding: 8px 2px 8px 2px;
            text-align: center;
            font-size: 95%;
        }
        
        .sarjataulukko-joukkue-light img {
            display: none;
        }

}
