body { 
 background-color: #ffffff; 
 color: #000000; 
 margin: 0px; 
 padding: 0px;
 font-family: arial,verdana,sans-serif; 
 background-image: url('images/bg1.gif');
 background-repeat: repeat-y;
 width: 100%;
 height: 100%;

}  

h1 { color: #3B583B; font-size: 100%; }
h2 { color: #000000; font-size: 90%; }
h3 { color: #000000; font-size: 75%; font-weight: normal; }

.s75 { color: #000000; font-size: 75%; font-weight: normal; }

p,ol,ul,label { font-size: 80%; }
ul ul {font-size: 100%; }
ol ul {font-size: 100%; }

pre { color: #000000; font-size: 75%; margin-left: 0px; background-color: #ffffff; }

span.sm { font-size: 80%; }
h4 { background-color: #F7DEB1; color: #000000; font-size: 75%; font-weight: bold; }
h5 { margin-bottom: 0px; } 

hr { color: #3B583B; background-color: #ffffff; height: 1px; }
 
b { font-weight: bold; } 
a { text-decoration: none; }
p.small { font-size: 70%; }

a:link { color: #3E6A49;  background-color: #ffffff; }
a:visited { color: #3E6A49; background-color: #ffffff; }
a:active { color: #3E6A49; background-color: #ffffff; }
a:hover { color: #528E62; background-color: #ffffff; }

#esittely { background-color: #ffffff; font-size: 75%; } 

#maintable { width: 830px; }

.italic { font-style: italic; }

table { border-collapse: collapse; margin: 0px; padding: 0px; empty-cells: show; }
td { margin: 0px; padding: 0px; }

td.content { padding: 15px; }

table.profiili { margin-bottom: 10px; }
table.profiili td { padding-right: 10px; vertical-align: top; }

#logo { background-color: #F7DEB1; text-align: center; border: none;}
#logohref { border: none; background: transparent;}
#logoimg { border: none; padding: 0px; margin: 0px;}
  
#linktable { table-layout: auto; width: 100%; 
	     border: solid 1px #000000; border-left: none; border-collapse: collapse; }
#linktable .spacer {background-color: #F6F6F6; height: 4px; border: none;}
#linktable .edge { width: 9%; border-left: none;}
#linktable td { background-color: #FFFFC9; 
            padding: 0px 2px 0 1px;
	    border-top: solid 1px #000000;
	    border-bottom: solid 1px #000000;
            border-right:  solid 1px #E4DCA7; 
            text-align: center; 
	    font-size: 0.7em; font-family: Arial; height: 30px; }

#links { table-layout: fixed; width: 100%; padding: 0; margin: 0; border-collapse: collapse; }
#links td { border: none; border-right: solid 1px #E4DCA7; text-align: center; height: 28px; 
            padding: 0px; margin: 0px; }
#links #last {border-right: none; }

#linktable a:link { color: #000000; background-color: #FFFFC9;}
#linktable a:visited { color: #000000; background-color: #FFFFC9;}
#linktable a:hover { color: #5CA06E; background-color: #FFFFC9;}
#linktable a:active { color: #5CA06E; background-color: #FFFFC9;}

.tp_table { width: 90%; border-collapse: collapse; }
.tp_table td { border: 1px solid black; padding: 2px; 
               font-size: 80% }

.laji_table td { padding: 5px; font-size: 80%; vertical-align: top; }
.faq_table td { padding: 5px; vertical-align: top; }

.voittosarake { text-align: center; background-color: #F7DEB1; }
.voittorivi { background-color: #F7DEB1; font-weight: bold ! important; }
.eka { font-weight: bold ! important; }

#header { font-weight: bold; } /* turha? */
#smaller td { font-size: 0.8em; } /* turha? */
#kalenteri td,#seurat td { vertical-align: top; } /* turha? */
#kaaviocell { padding-right: 20px; vertical-align: top; } /* turha? */

.smaller td { font-size: 0.8em; }
.kaaviocell { padding-right: 20px; vertical-align: top; }
.kalenteri td,#seurat td { vertical-align: top; }
.header { font-weight: bold; }

#tulokset td { font-family: arial,verdana,sans-serif; text-align: center;} /* turha? */
#left { text-align: left ! important; } /* turha? */
#right { text-align: right ! important; width: 8%;} /* turha? */
#tilastot td { border: none ! important; padding-bottom: 1em; }

.tulokset td { font-family: arial,verdana,sans-serif; text-align: center;}
.left { text-align: left ! important; }
.right { text-align: right ! important; width: 8%;}
.center { text-align: center ! important; }

td.nopad { padding: 0; margin: 0; width: 80px; 
 background-color: #6EAA7E;  /* tp-miehen */
 background-color: #C9DCCE;  /* jaskan */
}

.rankdirection { vertical-align: middle }
.rankingheader { width: 90% }

/* kielivalinta! */
div.lang
{
  position: absolute;
  top: 50px;
  left: 780px;
}

/* Lohkokaaviotyylit */

.noranking .nimi { width: 9em; }

div.tabpane table {
  width: 100%; 
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 1px 0;
}

div.tabpane td.empty {
  width: 65%;
}

div.tabpane td.tab {
  width: 14%;
  text-align: center; 
  border-style: solid;
  border-width: 1px;
  border-color: black;
  border-bottom: none;
  background-color: #ccc;  
}

div.tabpane td.selected {
  background-color: #fff;
}

div.tabpane td.tab a, div.tabpane td.tab a:hover {
  display: block;
  white-space: nowrap;
  font-size: 80%;
  font-style: italic;
  background-color: #ccc;  
  width: 100%;
  color: black;
  border: 0px;
  padding: 0px;
  margin: 0px;
}

div.tabpane td.selected a, div.tabpane td.selected a:hover {
  background-color: #fff;
  font-style: normal;
  font-weight: bold;
}

table.hidden {
  display: none;
}

table.rankingtable {
  width: 100%; 
  border-collapse: collapse;
}


table.rankingtable td {
  border: 1px solid black; 
  padding: 2px; 
  font-size: 70%;
  font-family: arial,verdana,sans-serif; 
  text-align: center;
}

table.rankingtable td.sija {
  white-space: nowrap;
  width: 32px;
}

table.rankingtable td.nimi {
  width: 75px;
}

table.rankingtable td.kisanimi {
 
}

table.rankingtable td.yhteensa {
  width: 45px;
}
