/* 2020-mobiilitaulukoiden tyylit */

/* globaali resetti */
* { 
 margin: 0;
 padding: 0;
} 

/* runko */
body {
 background: #0D274E;
 color: #eee; 
 font: 12px tahoma,sans-serif;
}

/* -- MARGINAALIT JA OTSIKOT -- */
h1 {
 font: bold 30px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin: 0; 
 color: #eee;
 text-align: left;
 /*text-shadow: 0 0 1px #eee; */
}

h2 {
 font: bold 22px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 20px;
 color: #eee;
}

h2.laajuus {
 font: bold italic 18px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 20px;
 color: #eee;
 /* text-shadow: 0 0 1px #eee; */
}

/* laajuustekstien kieliversiot */
span.laajuus-fi {
 color: #eee;
}

span.laajuus-en {
 color: #eee;
 display: none;
}

h2.tulosodotus {
 font: bold 18px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 20px;
 color: #eee;
 text-transform: uppercase;
}

h2.datavirhe1 {
 font: bold 22px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 20px;
 color: #fc0;
}

h2.datavirhe2 {
 font: bold 22px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 20px;
 color: #eee;
}

h3 {
 font: bold 14px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 20px
}

h3.kalenteri {
 font: bold 14px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 5px;
 color: #eee; 
}

h3.kalenteriknimi, h3.kalenteripaivays {
 font: 14px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 0px;
 color: #eee;
 text-transform: uppercase; 
 letter-spacing: 1px;
}

h3.kalenteripkunta {
 font: italic 12px applesdgothicneo-regular,calibri,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 10px;
 color: #ccc;
 text-transform: uppercase; 
}

h4 {
 font: bold 12px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
 margin-bottom: 20px
}

p {
 margin-bottom: 10px;
}

a {
 color: #333;
 text-decoration: underline
}

a:hover, a:active {
 color: #d00;
 text-decoration: underline
}

a.kuski {
 color: #eee;
 text-decoration: underline
}

a.kuski:hover, a.kuski:active {
 color: #fc0;
 text-decoration: underline
}

a.atlinkki {
 color: #666;
 text-decoration: none
}

a.atlinkki:hover, a.atlinkki:active {
 color: #d00;
 text-decoration: underline
}

a.mlinkki, a.mlinkki:hover, a.mlinkki:active, a.mlinkki:visited {
 float: right;
 display: block;
 width: 40px;
 height: 40px;
 margin: 2px;
 background: url("../kuvat/2016mlinkki.png") no-repeat 0 0 transparent;
}

/* taulukon runkosäilio */
.paasailio { 
  margin:0 auto;
  width: 100%;
  min-width: 320px;
  padding: 0;
  background: url("../kuvat/2018mttausta1tulos.jpg") top center repeat-y #153A6E;
}

/* -- VALIKKO -- */
/* valikon säilio */
.valikkosailio { 
  margin: 0;
  width: 100%;
  padding: 0;
  height: 50px;
}

/* valikko */
ul.valikko {
 margin: 0 0 0;
 list-style: none;
}

ul.valikko li {
  float: left;  
  color: #ccc;
  margin: 0;
  width: 50%;
}
 
ul.valikko li a {
  display: block;    
  width: 100%;
  height: 50px;
  font: 12px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
  color: #ccc;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0;
  text-align: center;
  line-height: 50px;
}

ul.valikko li a.ekalinkki {
 background: #153A6E;
 color: #ccc;
 text-decoration: none;
}

ul.valikko li a.ekalinkki:hover {
 background: #254A7E;    
 color: #eee;
 text-decoration: none;
}

ul.valikko li a.ekalinkki:active {
 color: #fc0;
 text-decoration: none;
}

ul.valikko li a.tokalinkki {
 background: #123361;
 color: #ccc;
 text-decoration: none;
}

ul.valikko li a.tokalinkki:hover {
 background: #224371;    
 color: #eee;
 text-decoration: none;
}

ul.valikko li a.tokalinkki:active {
 color: #fc0;
 text-decoration: none;
}

ul.valikko li a.kolmaslinkki {
 background: #102C54;
 color: #ccc;
 text-decoration: none;
}

ul.valikko li a.kolmaslinkki:hover {
 background: #203C64;    
 color: #eee;
 text-decoration: none;
}

ul.valikko li a.kolmaslinkki:active {
 color: #fc0;
 text-decoration: none;
}

.sponsorisailio { 
 margin: 0;
 width: 96%;
 padding: 20px 2%;
 height: 100px;
 background: /* url("../kuvat/2018ttausta1tyhja.jpg") 0 0 no-repeat #153A6E */ transparent;
 color: #eee;
 font: 11px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
}

.sponsorisailio a, .sponsorisailio img {
 border: 0;
 margin-right: 15px;
}

.sponsorisailio .spteksti-fi { 
 color: #333;
 font: 11px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
}

.sponsorisailio .spteksti-en {
 display: none;
 color: #333;
 font: 11px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
}

/* -- OTSIKKO -- */
/* otsikkosäiliö */ 
.otsikko {
 position: relative;
 margin: 0;
 width: 96%;
 padding: 20px 2%;
 /* height: 50px; */
 background: /* url("../kuvat/2018ttausta1tyhja.jpg") left -140px no-repeat #153A6E */ transparent;
 border-radius: 0;
}

/* -- VIESTIALUE -- */
.viestialue {
 width: 96%;
 padding: 1% 2%;
 background: transparent;
}

.viestialue .viesti {
 font: 11px applesdgothicneo-regular,tahoma,sans-serif;
 color: #fd0;
 background: rgba(0,0,0,0.45);
 padding: 3px 10px;
 line-height: 20px;
}

.viestialue .viestien {
 display: none;
 font: 11px applesdgothicneo-regular,tahoma,sans-serif;
 color: #fd0;
 background: rgba(0,0,0,0.45);
 padding: 3px 10px;
 line-height: 20px;
}

/* tarkastusväri viestiin */
.viestialue .tarkastettu {
 color: #0f0;
}

.viestialue .viesti a, .viestialue .viesti a:visited, .viestialue .viestien a, .viestialue .viestien a:visited {
 color: #fd0;
 font: 11px applesdgothicneo-regular,tahoma,sans-serif;
}

.viestialue .viesti a:hover, .viestialue .viesti a:active, .viestialue .viestien a:hover, .viestialue .viestien a:active {
 color: #d00;
}

/* -- SOMEALUE -- */
.somealue {
 width: 96%;
 padding: 20px 2%;
 height: 20px;
 background: transparent;
}

.somealue ul.somelista {
 list-style-type: none;
 margin: 0;  
}

.somealue ul.somelista li {
 float:left;
 margin-right: 5px;
}

/*.somealue ul.somelista li:first-child {
 margin-right: 5px;
} */

.twitter-share-button { 
 color: #234676;
}

/* otsikon korkeus tietokantavirhetilanteessa */
.tkvirhe {
 height: 100px;
}

/* -- PÄIVITYSALUE -- */
.paivitysalue {
 width: 96%;
 padding: 1% 2%;
 height: 10px;
 background: transparent;
}

/* taulukon päivitysajankohta */
.paivitysalue .paivitys {
 font: 11px applesdgothicneo-regular,tahoma,sans-serif;
 color: #eee;
 text-align: left;
 float: left;
}

/* -- TOIMINTOALUE -- */
/* -- toimintopalkin lista -- */
.toimintoalue {
 width: 96%;
 padding: 20px 2%;
 height: 50px;
 background: transparent;
}

ul.toiminnot {
 list-style-type: none;
 margin: 0;
}

ul.toiminnot li {
 float: left;
 margin-right: 5px;
}

/* näkymän vaihto */
ul.toiminnot li a.nakyma {
 display: block;
 width: 50px;
 height: 45px;
 background: url("../kuvat/2016nappulat.png") no-repeat 0 0 transparent;
 font-size: 0; 
}

ul.toiminnot li a.nakyma:hover {
 background-position: 0 -45px;
}

ul.toiminnot li a.nakyma:active {
 background-position: 0 -90px;
}

/* pisteiden/sijojen vaihto */
ul.toiminnot li a.pistevaihto {
 display: block;
 width: 50px;
 height: 45px;
 background: url("../kuvat/2016nappulat.png") no-repeat 0 -135px transparent;
 font-size: 0; 
}

ul.toiminnot li a.pistevaihto:hover {
 background-position: 0 -180px ;
}

ul.toiminnot li a.pistevaihto:active {
 background-position: 0 -225px;
}


/* suomen kielen valinta */
ul.toiminnot li a.suomeksi {
 display: block;
 width: 50px;
 height: 45px;
 background: url("../kuvat/2016kliput.png") no-repeat 0 0 transparent;
 font-size: 0;
}

ul.toiminnot li a.suomeksi:hover {
 background-position: 0 -45px;
}

ul.toiminnot li a.suomeksi:active {
 background-position: 0 -90px;
}

/* englannin kielen valinta */
ul.toiminnot li a.englanniksi {
 display: block;
 width: 50px;
 height: 45px;
 background: url("../kuvat/2016kliput.png") no-repeat 0 -135px transparent;
 font-size: 0; 
}

ul.toiminnot li a.englanniksi:hover {
 background-position: 0 -180px;
}

ul.toiminnot li a.englanniksi:active {
 background-position: 0 -225px;
}

a.pistevaihto {
 color: #ddd;
}

/* -- OHJEALUE -- */
.ohjealue {
 width: 96%;
 padding: 15px 2%;
 /* height: 10px; */
 background: #1A3966;
 text-align: left;
}

.ohjealue .ohjekohta {
  font: 11px applesdgothicneo-regular,tahoma,sans-serif;
  color: #eee;
}

/* -- TULOSSÄILIÖ -- */
.tulossailio {
 position: relative;    
 width: 100%;
 height: 50px;
 background: #153A6E; 
 margin: 0 0 0;
 overflow: visible;
}

.tummasailio {
 background: #052A5E !important;
}

.tulossailio ul.kuskitiedot {
 position: absolute;
 top: 0;
 left: 65px;
 list-style-type: none;
 z-index: 10;
 margin: 0;
 padding: 0;
}

.tulossailio ul.kuskitiedot li.nimi {
 height: 17px;
 padding-top: 8px;
 color: #eee;
 font: bold 14px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif; 
 text-align: left;
 text-transform: uppercase;
 text-overflow: ellipsis;
}

/* kerhon, tiimin ja kelkan nimi */
.tulossailio ul.kuskitiedot li.kerho { 
 height: 14px;
 padding-top: 0;
 margin: 0;
 color: #eee;
 font: 11px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif; 
 text-align: left;
 display: none;
}

/* kokonaispistemäärä */
.tulossailio .loppupisteet {
 position: absolute;
 top: 1px;
 right: 35px;
 height: 48px;
 font: bold 26px avenirnext-regular,"trebuchet ms",tahoma,sans-serif;
 line-height: 48px;
 color: #eee;
 text-align: right;
 text-shadow: none;
}

.tulossailio .lpaikaajoton {
 position: absolute;
 top: 1px;
 right: 35px;
 height: 48px;
 font: bold 30px "trebuchet ms",tahoma,sans-serif;
 line-height: 48px;
 color: #eee;
 text-align: right;
 text-shadow: none;
 display: none;
}

/* piste-erot kärkeen ja edelliseen kuskiin */
.tulossailio ul.piste-erot {
 position: absolute;
 top: 0;
 right: 5px;
 height: 50px;
 width: 25px;
 list-style-type: none;
 margin: 0;
}

.tulossailio ul.piste-erot li.erokarkeen {
 width: 25px;
 height: 16px;
 padding-top: 9px;
 color: #eee;
 font: 11px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
 text-align: left;
}

.tulossailio ul.piste-erot li.eroedelliseen {
 width: 25px;
 height: 24px;
 padding-top: 1px;
 color: #eee;
 font: 11px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
 text-align: left; 
}

/* sijoitus */
.tulossailio .sijoitus {
 position: absolute;
 top: 0;
 left: 0;
 width: 50px;
 height: 50px;
 font: 20px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
 line-height: 50px;
 color: #eee;
 text-align: center;
 background: #264878;
 cursor: pointer;
}

.tulossailio .jtsijoitus {
 background: #1A3966;
}

/* tulossäiliön erikoismuotoilut */
.ekasailio {
 border-top: 0;
 background: #153A6E /* url("../kuvat/2018ttausta1tulos.jpg") center -360px no-repeat */; 
}

.tokasailio {
 background: #153A6E /* url("../kuvat/2018ttausta1tulos.jpg") center -414px no-repeat */; 
}

.vikasailio {
 border-bottom: 0;
 margin: 0;
}

/* sarakkeiden korostus parillisiin kisohin */
.parillinen {
 /* background: url("../kuvat/2015ptstausta.jpg") center top #2C5070; */
 background: rgba(0,0,0,0.1);
}

/* valuuttakuvake rahasarjoja varten */
.fyffe {
 position: absolute;
 top: 0px;
 left: 215px;
 color: rgba(255,204,0,0.85);
 font: bold 40px "trebuchet ms",tahoma,sans-serif;
 line-height: 48px;
}

/* -- INFOALUE -- */
.infoalue {
 width: 96%;
 /* height: 405px; */
 padding: 2%;
 background: #264878;
 display: none;
 margin-bottom: 0;
 overflow-x: scroll;
 -webkit-overflow-scrolling: touch;
}

.jtinfoalue {
  background: #1A3966;    
}

.infotaulu {
 /* width: 100%; */
}

.infotaulu td {
 /* width: 900px; */
}

/* infoalueen listat */
.infoalue ul { 
 list-style: none; 
 float: left;
 margin-right: 20px;
}

.infoalue ul li {  
 font: 11px applesdgothicneo-regular,tahoma,sans-serif;
 color: #eee;
 text-align: left;
 line-height: 15px; 
}

/* infoalueen listat */
.infoalue ul.tilastolista {
 clear: both;
 list-style: none; 
 margin-right: 20px;
}

.infoalue ul.tilastolista > li {
 float: left;
}

.infoalue ul.tilastolista ul {
 list-style: none; 
 margin-right: 20px;
 margin-top: 20px;
}

/* kisatietojen lista */
.infoalue ul.kisaotsikot {
 list-style: none;
 transition: top 1s ease-out;
}

.infoalue ul.kisaotsikot li { 
 float: left; 
 text-align: center;
 display: block;
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap; 
}

.infoalue ul.kisaotsikot li .paikka {
 font: 12px applesdgothicneo-regular,tahoma,sans-serif;
 text-transform: uppercase; 
 color: #eee;
}

.infoalue ul.kisaotsikot li .paikka a {
 font: 12px applesdgothicneo-regular,tahoma,sans-serif;
 text-transform: uppercase; 
 color: #eee; 
}

.infoalue ul.kisaotsikot li .paikka a:hover, .infoalue ul.kisaotsikot li .paikka a:active {
 color: #d00;
}

.infoalue ul.kisaotsikot li .aika {
 font: 11px applesdgothicneo-regular,tahoma,sans-serif;
 color: #eee;
}

.sm-kisa {
 background: rgba(33,43,51,0.75);
}

/* kisatietolistan leveysvaihtoehdot */
/* 0-9 erää */
.leveys180 {
 width: 180px;
}

.leveys135 {
 width: 135px;
}

.leveys90 {
 width: 90px;
}

.leveys45 {
 width: 45px;
}

/* 10 erää */
.leveys160 {
 width: 160px;
}

.leveys120 {
 width: 120px;
}

.leveys80 {
 width: 80px;
}

.leveys40 {
 width: 40px;
}

/* 11-12 erää */
.leveys140 {
 width: 140px;
}

.leveys105 {
 width: 105px;
}

.leveys70 {
 width: 70px;
}

.leveys35 {
 width: 35px;
}

/* 12-15 erää, leveys90 löytyy jo */
.leveys120 {
 width: 120px;
}

.leveys108 {
 width: 108px;
}

.leveys81 {
 width: 81px;
}

.leveys75 {
 width: 75px;
}

.leveys60 {
 width: 60px;
}

.leveys54 {
 width: 54px;
}

.leveys50 {
 width: 50px;
}

.leveys30 {
 width: 30px;
}

.leveys27 {
 width: 27px;
}

.leveys25 {
 width: 25px;
}

/* watercrossiin */
.leveys65 {
 width: 65px;
}

/* pistelista */
.infoalue ul.pisteet {
 list-style: none;
 color: #eee;
 margin-bottom: 15px;
}

.infoalue ul.pisteet li {
 display: block;
 position: relative;  
 /* width: 45px; */
 float: left;
 font: 16px applesdgothicneo-regular,"trebuchet ms",tahoma,sans-serif;
 text-align: center;
 line-height: 48px;
}

.infoalue ul.pisteet li span.piste {
 display: inline;
}

.infoalue ul.pisteet li span.sija {
 display: none;
}

.infoalue ul.pisteet li:hover {
 font-weight: bold; 
}

/* mitalisijojen värit */
.tulossailio .kulta, .infoalue .kulta {
  color: gold;
}

.tulossailio .hopea, .infoalue .hopea {
 color: silver; 
}

.tulossailio .pronssi, .infoalue .pronssi {
  color: #da8a19;  
}

/* -- ALATUNNISTE -- */
.alatunniste {
 width: 96%;
 padding: 2%;
 height: 10px;  
 margin: 0;
 overflow: visible;
 color: #eee;
 font: 10px applesdgothicneo-regular,tahoma,sans-serif;
 background: #153A6E;
 display: none;
}

/* -- KALENTERI -- */
/* alue kalenterille jos ei ole tuloksia */
.ohjelma {
 padding: 2%; 
 width: 96%;
 margin: 0;
 overflow: auto;
 background: #153A6E;
 background: transparent;
}

.kalenteritaulu td {
 padding: 0 5px;
}

.kalenteritaulu td.paivays {
 padding: 0 5px 0 0;
}

.kalenteritaulu td.kisanimi {
 padding: 0 5px; 
}

/* -- KILVET -- */
/* kilven perustyyli */
.kilpi {
 position: absolute;
 top: 0px;
 left: 65px; 
 width: 72px;
 height: 50px;
 z-index: 10;
 background: url("../kuvat/2016kilvet.png") 0 0 transparent;
 text-align: center;
 color: #333;
 font: bold italic 22px avenirnext-demibold,calibri,"trebuchet ms",tahoma,sans-serif;
 line-height: 48px;
 opacity: 0.95;
 display: none;
}

/* kilpien värit luokittain - wcoalle800 = watercrossin harraste, wckalle800 = kiihareiden open */
.ruotsiopen, .scproopen, .scprostock, .enbn, .enhistoric, .smksemipro, .spbn, 
.drstock600, .drstock800, .drprostock, .dropenmodified, .drtopfuel, .drtrailultd,
.wckavoin, .wckalle800, .wckalle600, .wckharraste, .wcknaiset, .wcoavoin, .wcoalle800, .wcoalle600, .wconaiset, .spclassic,
.emprostock, .pmproopen, .pmprostock, .mxca, .mxb, .mx65, .mxatv, .isocpro, .scjunior7-11, .isocplus30 {
 background-position: 0 0;
 color: #333;
}

.scveteraani, .ruotsistock, .norjastock, .enm40, .spm50, .mxv40, .smkensmmasters {
 background-position: 0 -50px;
 color: #fff;
}

.scjunior11-14, .mx2, .mx125, .mxcb, .isoclite, .smkenhistoric, .smkspclassic, .ruotsiungdom1214, .norjaungdom1214 {
 background-position: 0 -100px;
 color: #fff;
}

.sclady, .ruotsilady, .enc1n, .enc2n, .spc, .mxcc, .mxv50, .isocleader, .isoclleader, .smkensemiharraste, .smkspharraste, .norjawomen, .pmwomenprostock {
 background-position: 0 -150px;
 color: #fff;
}

.scjunior14-16, .enap, .spap, .mxj, .smkensmsport600, .smkspsport600, .ruotsiungdom1416, .norjaungdom1416, .pmjunior14-16 {
 background-position: 0 -200px;
 color: #fff;
}

.ennaiset, .spnaiset, .smkensmlady, .smkspladyt {
 background-position: 0 -250px;
 color: #fff;
}

.isocwomen {
 background-position: 0 -250px;
 color: #000;
}

.scharraste {
 background-position: 0 0;
 color: #d00; 
}
   
.scsport, .ruotsisport, .norjasport, .enan, .span, .mx1, .mxsv, .isocsport, .sctrailstoc, .smkensmpro, .smksppro {
 background-position: 0 -300px;
 color: #333;
}

.mxd {
 background-position: 0 -50px;
 color: #ee0;
}

.scsemipro, .enm50, .spm40, .smkenlegendat, .smksplegendat {
 background-position: 0 0;
 color: #00e;
} 

.enbp, .spbp {
 background-position: 0 0;
 color: #080;
}

.enjuniorit, .spjuniorit, .spjuniorc, .smkensmjunior, .smkspc380, .smkspjuniorit {
 background-position: 0 -350px;
 color: #fff;
}

.isocjunior {
 background-position: 0 -400px;
 color: #000;
}

.mmproopen {
 background-position: 0 -450px;
 color: #0a0a0a; 
} 

.mcprostock  {
 background-position: 0 -500px;
 color: #fff; 
}

.mmjohtaja, .mcjohtaja {
 background-position: 0 -550px;
 color: #fff; 
}

/* -- KÄYTTÖLIITTYMÄTEKSTIEN TYYLIT -- */
/* päivitysajankohta */
.paivitys-fi {}
.paivitys-en {display: none;}

/* infoalueen otsikot ja kohdat */
.iaotsikko1, .iaotsikko2, .iaotsikko3, .iaotsikko4, .iaotsikko5 {
 font-weight: bold;
 text-transform: uppercase;
}

.iakohta1, .iakohta2, .iakohta3, .iakohta3-fi .iakohta4, .iakohta5, .iakohta6, .iakohta7, .iakohta7-fi,
.iakohta8, .iakohta9, .iakohta9-fi, .svihje-fi, .erokarkeen, .eroedelliseen, .atkohta-fi {
}

.iakohta3-en, .iakohta7-en, .iakohta9-en, .iakohta10-en, .iakohta14-en, .svihje-en, .atkohta-en {display: none;}

.iakohtaenglanniksi, .kierrosenglanniksi {display: none;}

/* -- LIPUT KANSAINVÄLISIIN TAULUKOIHIN --*/
/* lipun perustyyli */
.lippu {
 position: absolute;
 top: 0;
 left: 195px; 
 width: 82px;
 height: 50px;
 z-index: 0;
 background: url("../kuvat/f1liput.png") 0 0 transparent;
 text-align: center;
 font-size: 0; 
 line-height: 24px;
 opacity: 0.25;
 display: none;
}

/* liput liitoittain */
.sml, .fin {
 background-position: 0 0;
}

.svemo, .swe {
 background-position: 0 -50px;
}

.nmf {
 background-position: 0 -100px;
}

.ama, .usa {
 background-position: 0 -150px;
}

.cma {
 background-position: 0 -200px;
}

.emf {
 background-position: 0 -300px;
}

.mfr, .rus {
 background-position: 0 -250px;
}

.fim, .uem {
 background-position: 0 -350px;
}

.ita, .fmi {
 background-position: 0 -400px;
}

.fra, .ffm {
 background-position: 0 -450px;
}

.den, .dmu {
 background-position: 0 -500px;
}

.msi {
 background-position: 0 -550px;
}

.amfk {
 background-position: 0 -600px;
}

.ger {
 background-position: 0 -650px;
}

.gbr, .acu {
 background-position: 0 -700px;
}

.esp {
 background-position: 0 -750px;
}

.bra {
 background-position: 0 -800px;
}

.aus {
 background-position: 0 -850px;
}

.mex {
 background-position: 0 -900px;
}

.ven {
 background-position: 0 -950px;
}

.ned {
 background-position: 0 -1000px;
}

.sco {
 background-position: 0 -1050px;
}

.bel, .fmb {
 background-position: 0 -1100px;
}

.sui {
 background-position: 0 -1150px;
}

.aut {
 background-position: 0 -1200px;
}

.ind {
 background-position: 0 -1250px;
}

.ina {
 background-position: 0 -1300px;
}

.mon {
 background-position: 0 -1350px;
}

.nzl {
 background-position: 0 -1400px;
}

/* PRINTTITYYLIT */
@media print {
 body {
   background: #fff !important;
 }

 .valikkosailio,
 .sponsorisailio,
 .alatunniste,
 .somealue,
 .toimintoalue,
 .ohjealue,
 .lippu,
 a.mlinkki {
   display: none !important;
 }
 
 .paasailio, .tummasailio {
   background: #fff !important;     
 }

 h1, h2, .ohjelma h2, .ohjelma h3, span.laajuus-fi, span.laajuus-en, .paivitysalue .paivitys {
   color: #000;
 }

 .ohjelma h2, .ohjelma h3 {
   font-weight: bold;
 }

 .otsikko, .ohjelma {
   border-color: #fff;
   background: #fff !important;
   overflow: visible !important;
 }

 .tulossailio {
   border-bottom: 1px solid #333;
   page-break-inside: avoid;
   background: #fff;
 }

 .infoalue {
  background: #fff !important;
  border: 0;
  page-break-inside: avoid;  
 }

 ul.pisteet li, .kulta, .hopea, .pronssi, .svihje {
   background: #fff;
   color: #000 !important;
   text-decoration: none; 
 }

 ul.pisteet li.parillinen {
  background: #f6f6f6 !important;
 }

 .otsikko ul.kisaotsikot {
   top: 175px;
 }

 .tulossailio .sijoitus,
 .tulossailio .kuski,
 .tulossailio .nimi,
 .tulossailio .kerho,
 .tulossailio .loppupisteet,
 .tulossailio .piste-erot li,
 .tulossailio .paikka,
 .tulossailio .aika,
 .infoalue ul.kisaotsikot li .paikka, 
 .infoalue ul.kisaotsikot li .paikka a,
 .infoalue ul.kisaotsikot li .aika,
 .infoalue ul li {
   color: #000 !important;
   background: #fff !important;
   text-decoration: none; 
 }

 .viestialue .viesti, .viestialue .viestien, .viestialue .viesti a, .viestialue .viestien a {
  color: #000 !important;
  background: #fff;
 }

 .kilpi {
   width: 60px;
   height: 40px;
   top: 3px;
   background: #fff;
   border: 2px solid #000;
   border-radius: 10px;
   color: #000;
   line-height: 40px !important;
 }

 .fyffe {
   color: rgba(204,204,204,1);
 }
}

/* RESPONSIIVISET TOUHUT */
@media all and (min-width: 400px) { 
 .tulossailio ul.kuskitiedot li.kerho {display: inline;}
 .lippu {display: block;}
 .tulossailio .loppupisteet {font-size: 30px;line-height: 48px;}
}

@media all and (min-width: 600px) { 
 .kilpi {display: block;}
 .tulossailio ul.kuskitiedot {left: 155px;}
 .lippu {left: 305px;}
}

@media all and (min-width: 1500px) { 
 .paasailio {background-size: contain !important;}
}

/* TYYLISÄÄDÖT KORKEAMPIRESOISILLE NÄYTÖILLE */
/* 2x-näytöt */
@media
 only screen and (-webkit-min-device-pixel-ratio: 2),
 only screen and (min-device-pixel-ratio: 2) {
 .lippu {
   background-image: url("../kuvat/liput-2x.png");
   background-size: 82px auto;
 }

 .kilpi {
  background-image: url("../kuvat/2016kilvet-2x.png");
  background-size: 72px auto;
 }

 .otsikko .kelkkiliipasin {
   background-image: url("../kuvat/2017kelkki-2x.png");
   background-size: 30px auto;
 }  

 .tulossailio .info {
  background-image: url("../kuvat/2016infonappi-2x.png");
  background-size: 48px auto;
 }

 .otsikko .tliipasin {
  background-image: url("../kuvat/2016infonappi-2x.png");
  background-size: 48px auto;
 }

 .otsikko ul.kartat li a {
  background-image: url("../kuvat/2016knappi-2x.png");
  background-size: 25px auto;
 }   

 a.mlinkki, a.mlinkki:hover, a.mlinkki:active, a.mlinkki:visited {
  background-image: url("../kuvat/2016mlinkki-2x.png");
  background-size: 40px auto;
 }

 ul.toiminnot li a.nakyma {
  background-image: url("../kuvat/2016nappulat-2x.png");
  background-size: 50px auto;
 }

 ul.toiminnot li a.pistevaihto {
  background-image: url("../kuvat/2016nappulat-2x.png");
  background-size: 50px auto;
 }

 ul.toiminnot li a.suomeksi {
  background-image: url("../kuvat/2016kliput-2x.png");
  background-size: 50px auto;
 }

 ul.toiminnot li a.englanniksi {
  background-image: url("../kuvat/2016kliput-2x.png");
  background-size: 50px auto;
 }       
}

/* 3x-näytöt */
@media 
 only screen and (-webkit-min-device-pixel-ratio: 3),
 only screen and (min-device-pixel-ratio: 3) {
 .lippu {
   background-image: url("../kuvat/liput-3x.png");
   background-size: 82px auto;
 }
  
 .kilpi {
   background-image: url("../kuvat/2016kilvet-3x.png");
   background-size: 72px auto;
 }

 .otsikko .kelkkiliipasin {
   background-image: url("../kuvat/2017kelkki-3x.png");
   background-size: 30px auto;
 } 

 .tulossailio .info {
  background-image: url("../kuvat/2016infonappi-3x.png");
  background-size: 48px auto;
 }

 .otsikko .tliipasin {
  background-image: url("../kuvat/2016infonappi-3x.png");
  background-size: 48px auto;
 }

 .otsikko ul.kartat li a {
  background-image: url("../kuvat/2016knappi-3x.png");
  background-size: 25px auto;
 }  

 a.mlinkki, a.mlinkki:hover, a.mlinkki:active, a.mlinkki:visited {
  background-image: url("../kuvat/2016mlinkki-3x.png");
  background-size: 40px auto;
 }

 ul.toiminnot li a.nakyma {
  background-image: url("../kuvat/2016nappulat-3x.png");
  background-size: 50px auto;
 }

 ul.toiminnot li a.pistevaihto {
  background-image: url("../kuvat/2016nappulat-3x.png");
  background-size: 50px auto;
 }

 ul.toiminnot li a.suomeksi {
  background-image: url("../kuvat/2016kliput-3x.png");
  background-size: 50px auto;
 }

 ul.toiminnot li a.englanniksi {
  background-image: url("../kuvat/2016kliput-3x.png");
  background-size: 50px auto;
 }    
} 