@media all{

	body {  text-align: center;}
	
	img {  border: 0px;}
	
	img.otsikko {  
		margin-top: 16px;   
		margin-bottom: 8px;   
		margin-left: 16px;   
		margin-right: 16px;   
		border: 0px;
	}
	
	table {  
		border: 0px;  
		font-family: Arial, "lucida console", sans-serif;    
		color: black;  
		border-style: solid;  
		/* border-width: 1px;   */
		border-color: #CCCCCC;  
		padding: 0px;  
		margin: 0px;
	}
	
	td {
	  padding: 5px;
	  padding-top: 0px;
	  padding-bottom: 0px;
	  font-family: Arial, "lucida console", sans-serif;  
	  color: black;
	  /* background-color: #F5F5F5; */
	}
	
	td.otsikkovasen {
	  border-style: none;
	  border-width: 0px;
	  padding: 0px;
	  margin: 0px;
	  text-align: left;
	  background-color: transparent;
	  background-image: url(title_m.png);
	  background-repeat: repeat-x;
	}
	
	td.yhteistyossa {
	  vertical-align: top;
	}
	
	td.tulokset_kilpailijat {
		width: auto;
	}
	
	td.tulokset_joukkue {
		width: 30%;
	}
	
	td.tulokset_osakilpailut {
		width: 10px;
		font-weight: bold;
	}
	
	td.otsikkooikea {
	  border-style: none;
	  border-width: 0px;
	  padding: 0px;
	  margin: 0px;
	  text-align: right;
	  background-color: transparent;
	  background-image: url(title_m.png);
	  background-repeat: repeat-x;
	}
	
	span.paivamaara { 
	  font-family: Arial, "lucida console", sans-serif;  
	  font-size: 12px; 
	  color: rgb(200,200,200); 
	  float: right;
	  margin-right: 2px;
	  font-style: italic;
	}
	
	div.ilm_rivi { 
	  /* width: 60%; */
	  vertical-align: baseline;
	}
	
	td.ilm_kuvaus { 
	  vertical-align: top;
	  text-align: right;
	  width: 40%;
	  padding-top: 5px;
	  padding-bottom: 5px;
	  background-color: #F5F5F5;
	}
	
	td.ilm_tieto { 
	  /* width: 50%; */
	  vertical-align: top;
	  padding-left: 5px;
	  text-align: left;
	  padding-top: 5px;
	  padding-bottom: 5px;
		background-color: #F5F5F5;
	}

	table.ilmoit { 
	  width: 100%;
	}

	div.galleria_isokuva { 
	  text-align: center;
	}

	div.galleria_isokuva_otsikko { 	
	  font-family: Arial, "lucida console", sans-serif;	
	  text-align: left;	
	  color: black; 	
	  padding-bottom: 15px;  
	}

	div.galleria { 	
	  margin-bottom: 12px; 	
	  margin-top: 4px; 	
	  margin-left: 16px; 	
	  margin-right: 16px; 	
	  text-align: center;	
	}

	div.galleria_linkit { 
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 14px; 	
	  color: black; 	
	  font-weight: normal;	
	  padding-bottom: 14px;	
	  width: auto;	
	  text-align: center;	
	}

	a.galleria { 	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 14px; 	
	  color: blue; 
		font-weight: normal;	
	  padding-bottom: 14px;	
	  width: auto;	
	  text-align: center;	
	}

	a.tulokset_linkki {	
	  font-family: Arial, "lucida console", sans-serif;  
	  font-size: 12px; 	
	  color: blue; 	
	  font-weight: normal;	
	  text-decoration: none;	
	}

	a.tulokset_linkki:hover {
	  color: blue;	
	  text-decoration: underline;	
	}
	
	a.tulokset_linkki:visited {	
	  color: #000066;	
	}
	
	a.galleria:hover { 
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 14px; 
	  color: black; 	
	  font-weight: normal;	
	  padding-bottom: 14px;	
	  width: auto;	
	  text-align: center;	
	}
	
	a.valittugalleria { 	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 14px; 	
	  color: red; 
	  font-weight: normal;	
	  padding-bottom: 14px;	
	  width: auto;
	  text-align: center;
	}
	
	a.galleria:visited { 	
	  color: #000066;
	}

	img.galleria { 	
	  border: 1px;
	  border-style: dashed;	
	  border-color: blue;
	  padding: 2px;	
	}

	span.galleria_kuva { 	
	  padding: 11px;	
	}

	pre {	
	  margin-bottom: 12px; 	
	  margin-top: 4px; 	
	  margin-left: 0px; 	
	  margin-right: 0px; 	
	  font-size: 12px; 	
	  color: black; 	
	  font-weight: normal;	
	}

	span.himmennys {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: gray; 	
	  font-weight: normal;	
	  text-decoration: none;	
	}

	a.linkki {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: red; 	
	  font-weight: normal;	
	  text-decoration: none;
	}

	a.linkki:visited {	
	  color: red;    font-style: italic;
	}

	a.linkki:active {	
	  color: red;
	}
	
	span.linkki {	
	  color: red;
	}

	a.linkki:hover {
	  color: red;
	  text-decoration: underline;
	}

	a.copyright {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 11px; 	
	  color: gray;	
	  font-weight: normal;	
	  text-decoration: none;		
	}

	span.valittunavi {	
	  margin-left: 8px;	
	  margin-right: 0px;	
	  margin-top: 0px;	
	  margin-bottom: 0px; 
	  color: black;
	  padding-top: 0px;	
	  padding-bottom: 0px;	
	  line-height: 23px;		
	  height: 23px;	
	  float: left;
	  background-image: url(nappi2.gif);	
	  background-repeat: repeat;	
	}

	span.navi {	
	  margin-left: 8px;	
	  margin-right: 0px;	
	  margin-top: 0px;	
	  margin-bottom: 0px; 	
	  color: black;	
	  padding-top: 0px;	
	  padding-bottom: 0px;	
	  line-height: 23px;	
	  height: 23px;	
	  float: left;
	  background-image: url(nappi1.gif);
	  background-repeat: repeat;
	}
	
	span.murupolku {
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: white; 	
	  font-weight: normal;	
	  text-decoration: none;	
	  height: 22px;
	  min-height: 22px;	
	  margin-left: 8px;	
	  position: relative;	
	  top: 2px;
	}
	
	div.kokoteksti {	
	  border-style: solid;	
	  border-top-style: none;
	  border-color: blue;	
	  border-width: 1px;	
	  width: auto;	
	  margin-bottom: 0px; 	
	  margin-top: 0px;
	  text-align: left;	
	}	
	
	div.tekstialue{	
	  margin-top: 24px;	
	}
	
	img.vasemmalla {	
	  border-style: none;	
	  float: left;	
	}	
	
	img.oikealla {	
	  border-style: none;	
	  float: right;	
	}
	
	em {	
	  background-color: #33CCFF;	
	  font-weight: bold;	
	  color: white;	
	}
		
	blockquote {	
	  color: #999999;	
	  font-style: italic;	
	  font-weight: bolder;	
	}
		
	a.navi {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  font-weight: normal;	
	  text-decoration: none;	
	  color: black;	
	  height: 23px;  	
	  background-image: none;	
	}	
	
	a.valittunavi {
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  font-weight: normal;	
	  text-decoration: none;	
	  color: white;
	  height: 23px;  	
	  background-image: none;	
	}	
	
	a.navi:hover {
		color: blue;	
	}
		
	a.the_very_god_damn_selected_cellogs_rise_crispies_path {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: black;	
	  font-weight: bold;	
	  text-decoration: none;	
	  border-style: solid;	
	  border-width: 1px;
	  border-color: white;
	  background-color: white;
	  height: 22px;	
	  margin-left: 8px;	
	  padding-left: 3px;	
	  padding-right: 3px;
	  padding-top: 3px;	
	  padding-bottom: 6px;
	  /* position: relative;	
	  top: 2px;	*/
	}
		
	a.aktiivinenpolku {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: white; 	
	  font-weight: bold;	
	  text-decoration: none;	
	  height: 22px;	
	  margin-left: 8px;	
	  /* position: relative;
	  top: 2px; */
	}
		
	a.murupolku {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: white; 	
	  font-weight: normal;	
	  text-decoration: none;
	  height: 22px;	
	  margin-left: 8px;
    line-height: 22px;	
	}
	
	a.aktiivinenpolku:hover {
	  color: rgb(200,255,255); 	
	}
	
	a.murupolku:hover {	
	  color: rgb(200,255,255); 	
	}
		
	img.eireunoja {
	  margin: 0px;	
	  vertical-align: bottom;	
	}
	
	span.otsikkovasen {	
	  margin: 0px;	
	  padding: 0px;
	  text-align: left;	
	  float: none;
	}
}

@media print,screen{

	div.navi {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: black; 	
	  font-weight: normal;	
	  text-decoration: none;
	  background-image: url(nappi1.gif);
	  background-repeat: repeat;	
	  margin-left: 0px;	
	  margin-right: 0px;
	  margin-top: 0px;	
	  margin-bottom: 0px;	
	  height: auto;	
	  min-height: 23px;	
	  width: 100%;	
	  line-height: 23px;	
	}
	
	div.murupolku {	
	  background-image: url(muro1.gif);	
	  background-repeat: repeat;	
	  margin-left: 0px;	
	  margin-right: 0px;	
	  margin-top: 0px;
	  margin-bottom: 0px;	
	  height: 22px;	
	  color: white;	
	  width: 100%;
	  float: right;
	}

	p {	
	  margin-bottom: 12px; 	
	  margin-top: 4px; 
	  margin-left: 0px; 	
	  margin-right: 0px; 	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: black; 	
	  font-weight: normal;	
	}

	h1 {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 18px; 	
	  color: black; 	
	  font-weight: bold; 	
	  font-style: italic;	
	  margin-top: 16px; 	
	  margin-bottom: 8px; 	
	  margin-left: 16px; 	
	  margin-right: 16px; 	
	  border-bottom-style: dashed;	
	  border-bottom-width: 1px;
		text-align: left;
	}

	h2 {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 13px; 	
	  color: rgb(70,70,70); 	
	  font-weight: bold;	
	  font-style: italic;	
	  margin-top: 10px; 
	  margin-bottom: 4px; 	
	  margin-left: 0px; 	
	  margin-right: 0px; 	
	  background-color: rgb(240,240,240);
	}

	h3 {
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 16px; 	
	  color: black;	
	  font-weight: bold; 	
	  margin-top: 10px; 	
	  margin-bottom: 10px; 
	  margin-left: 0px; 	
	  margin-right: 0px;	
	  padding-top: 8px;	
	  padding-bottom: 8px;	
	  text-align: center; 
	  background-color: white;	
	}

	div.view { 
	  margin-bottom: 12px;   
		margin-top: 4px;   
		margin-left: 16px;   
		margin-right: 16px;   
		font-family: Arial, "lucida console", sans-serif;    
		font-size: 12px;   
		color: black;   
		font-weight: normal;  
		min-height: 448px;  
		padding: 0px;
	}

	div.sisalto {	
	  margin-bottom: 12px; 	
	  margin-top: 4px; 	
	  margin-left: 16px; 	
	  margin-right: 16px; 	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: black; 	
	  font-weight: normal; 
		text-align: left;
	}

	/* span.otsikkokeski{	
	  margin: 0px;
	  padding: 0px;	
	  text-align: right;	
	} 
	
	span.otsikkooikea {	
	  margin: 0px;
	  padding: 0px;	
	  text-align: right;	
	}*/

	span.copyright {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 10px; 	
	  color: gray;	
	  font-weight: normal;	
	  text-decoration: none;	
	  width: 100%;	
		text-align: right;
	}

	div.otsikko {	
	  margin-bottom: 0px; 
	  margin-top: 0px; 	
	  text-align: left;	
	  width: 100%;	
	  height: 75px;	
	  background-image: url(title_m.png);	
	}
}

@media screen {
	div.kokosivu {	
	  width: 80%;	
	  text-align: left;	
	  margin-left: auto;	
	  margin-right: auto;	
	  min-width: 620px;	
	}
	
	table.otsikkorivi {	
	  border-style: none;	
	  border-width: 0px;	
	  padding: 0px;	
	  margin: 0px;	
	  width: 100%;	
	  background-color: transparent;
	}
}



@media print {

	div.kokosivu {
	  width: 100%;
	  text-align: left;
	  margin-left: auto;
	  margin-right: auto;
	  min-width: 620px;
	}

	table.otsikkorivi {
	  border-style: none;
	  border-width: 0px;
	  padding: 0px;
	  margin: 0px;
	  width: auto;
	  background-color: transparent;
	}
}



@media handheld{

	div.navi {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: black; 	
	  font-weight: normal;	
	  text-decoration: none;
	  background-color: blue;	
	  margin-left: 0px;	
	  margin-right: 0px;
	  margin-top: 0px;	
	  margin-bottom: 0px;	
	  height: auto;	
	  min-height: 23px;	
	  width: 100%;	
	  line-height: 23px;	
	}
	
	div.murupolku {	
	  background-color: white;	
	  margin-left: 0px;	
	  margin-right: 0px;	
	  margin-top: 0px;
	  margin-bottom: 0px;	
	  height: 22px;	
	  color: white;	
	  width: 100%;
	  float: right;
	}

	p {	
	  margin: 0px;	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: black; 	
	  font-weight: normal;	
	}

	h1 {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 18px; 	
	  color: black;
	  font-weight: bold;	
	  font-style: italic;
	  margin: 0px;
	  /* border-bottom-style: dashed;
	  border-bottom-width: 1px; */
	  text-align: left;
	}

	h2 {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 13px; 	
	  /* color: #464646; */
	  font-weight: bold;	
	  font-style: italic;	
	  margin: 0px;
	  /* background-color: #F0F0F0; */
	  text-align: left;
	}

	h3 {
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 16px; 	
	  color: black;	
	  font-weight: bold; 	
	  margin: 0px;
	  padding-top: 8px;	
	  padding-bottom: 8px;	
	  text-align: center; 
	  background-color: white;
		text-align: left;	
	}

	div.view { 
	  margin: 0px;   
		font-family: Arial, "lucida console", sans-serif;    
		font-size: 12px;   
		color: black;   
		font-weight: normal;  
		min-height: 448px;  
		padding: 0px;
		text-align: left;
	}

	div.sisalto {	
	  margin: 0px;	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 12px; 	
	  color: black; 	
	  font-weight: normal; 
		text-align: left;
	}

	/*span.otsikkooikea {	
	  margin: 0px;	
	  padding: 0px;
	  text-align: right;	
	  visibility: hidden;	
	  overflow: hidden;	
	  width: 1px;	
	  height: 1px;	
	} */

	span.copyright {	
	  font-family: Arial, "lucida console", sans-serif;  	
	  font-size: 10px; 
	  color: gray;	
	  font-weight: normal;	
	  text-decoration: none;	
	  width: 100%;	
	}

	div.otsikko {	
	  margin-bottom: 0px; 	
	  margin-top: 0px; 	
	  text-align: left;	
	  width: 100%;	
	  height: 75px;	
	  background-image: url(title_m.png);	
	}
	
	div.kokosivu {
	  width: 100%;
	  text-align: left;
	  margin-left: auto;
	  margin-right: auto;
	}
}
