
A:hover {color: #006699}
A:visited {color: #006699}
A:link {color: #006699}
A:active {color: #006699}

body {

	background-color: #CDD9DE;
	margin : 0px;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
	color: #1E2427;
	line-height: 130%;
}

td {
	font-size: 100%;
}

.koodilaatikko{
	padding: 8px;
	width: 150px;
	background-color: White;
	font-family: Arial;
	font-weight: 800;
	font-size: 125%;
	color: #404040;
	border: 1px solid #999999;
	text-align: center;
}

p.koodi {
padding: 8px;
width: 150px;
background-color: #EBEBEB;
font-family: Arial;
font-weight: 800;
font-size: 125%;
color: #404040;
border: 1px solid #999999;
}

h2{
	background-color: White;
	padding: 3px;
	color: #CF6A93;
	font-size: larger;
	font-weight: bold;
	border: 1px solid #BBBBBB;
	margin-top: 10px;
}

a:link, a:visited{
	color: #1B4C61;
}

h2 a:link, h2 a:visited{
   color: #CF6A93;
   text-decoration: none;
}

div.ylapalkki {
	width : 100%;
	background-color: #BF5381;
}

div.ylapalkki img{
	border: 0px solid White;      
}


div.ylapalkki_ad {
	width : 100%;
	background-color: #BF5381;
	padding: 0px;
}

div.ylapalkki_ad img{
	border: 0px solid White;
	margin: 0px;      
}

div.yla_ad{
	position: absolute;
	right: 8px;
	top: 8px;
}

div.yla_ad object, div.yla_ad div, div.yla_ad form{
	margin: 0px;
}

div.yla_ad img{
	border: 1px solid #C96D94;
}

img.oheiskuva{
	border: 1px solid #AAAAAA;
}

img.tolppa{
	border: 1px solid #AAAAAA;
	margin: 1px;	
}

p.jpoiminta{
	margin-top: 0px;
	margin-bottom: 2px;
}

p.tulos{
	font-size: 175%;
	color: #CF6A93;
}



div.tulos h2{
	  margin-top: 0px;
}

table.tulostaulu{
	width: 100%;
}

table.tulostaulu tr td{
	border: 1px solid #AAAAAA;
	background-color: #EFEFEF;	
	padding: 8px;
	/*width: 100%;*/
	vertical-align: top;
	text-align: left;
}

div.kaikkitestit{
	max-width: 950px;
	width:expression(document.body.clientWidth > 950? "950px": "auto" );
	margin-left: 8px;
	margin-right: 8px;	
	margin-bottom: 10px;
	padding: 16px;
	background-color: #EAE3E5; 
	border: 1px solid #A79FA1;
}


div.parshipesittely{
	font-weight: bold;
	color: #FFFFFF;
	max-width: 950px;
	width:expression(document.body.clientWidth > 950? "950px": "auto" );
	margin-left: 8px;
	margin-right: 8px;	
	margin-bottom: 0px;
	padding-left: 16px;
	padding-right: 16px;
	padding-top: 6px;
	padding-bottom: 6px;
	background-color: #FF9933; 
	border: 1px solid #A79FA1;
}

/* deprecated */
div.tickleesittely{
	font-weight: bold;
	color: #FFFFFF;
	max-width: 950px;
	width:expression(document.body.clientWidth > 950? "950px": "auto" );
	margin-left: 8px;
	margin-right: 8px;	
	margin-bottom: 0px;
	padding-left: 16px;
	padding-right: 16px;
	padding-top: 6px;
	padding-bottom: 6px;
	background-color: #4096E1; 
	border: 1px solid #A79FA1;
}

div.copyright{
	font-size: 85%;
	margin-bottom: 20px;
}

div.yp{
	margin: 40px;
	border: 1px solid #AAAAAA;	
	background-color : #FFFFFF;
	padding: 6px;
}

div.yp table tr td{
       border: 1px solid #AAAAAA;
       padding: 4px;
}

div.media{
	border: 1px solid #AAAAAA;
	background-color : #FFFFFF;
	margin-left: 8px;
	margin-right: 8px;
	max-width: 800px;
	padding: 8px;
	margin-top: 40px;
	margin-bottom: 40px;	
}

div.verkauf{
	border: 1px solid #AAAAAA;
	background-color : #FFFFFF;
	margin-left: 8px;
	margin-right: 8px;
	max-width: 800px;
	padding: 8px;
	margin-top: 40px;
	margin-bottom: 40px;	
	text-align: left;
}

div.kaikkitestit table{

}

div.kaikkitestit table tr td{
	background-color: #FFFFFF;	
	padding: 8px;
	margin-top: 40px;
	border: 1px solid #AAAAAA;
	text-align: left;
}

div.kaikkitestit table tr td.kuva{
	border-right: 0px solid White;	 
}

div.kaikkitestit table tr td.kuvaus{
	border-left: 0px solid White;	 
}
div.kaikkitestit table tr td.kuva img{
	border: 0px solid #CCCCCC;		
}

div.kaikkitestit table tr td.valisolu{
	border: 0px solid #AAAAAA;	
	background-color: #EAE3E5; 
	height: 10px;
}

div.kaikkitestit table tr td a{
	font-size: medium;
	font-weight: bold;
}

div.kaikkitestit table tr td a.naytakuvaus{
	font-size: 100%;
}

div.spvalitsin{
	background-color : #EAE3E5;
	width: 300px;
	padding: 8px;
	margin-bottom: 40px;
	margin-top: 10%;
	border: 1px solid #AAAAAA;	
}

div.spvalitsin table tr td img{
	border: 1px solid #AAAAAA;
}

div.spvalitsin table tr td{
	font-size: medium;
}

div.infopalkki{
	padding: 4px;
	border-top: 2px solid #AAAAAA;
	background-color: #EEEEEE;
	border-bottom: 1px solid #AAAAAA;
}


p.k{
	font-size: 105%;
	margin-bottom: 5px;
}

p.ve{
	margin-top: 0px;
	margin-bottom: 0px;
}
img.testisymboli{
	border: 1px solid #AAAAAA;
	margin: 2px;
}	


.testiko{

}

div.tulos{
	border: 1px solid #;border: 1px solid #A79FA1;
	background-color : #EAE3E5;
	margin-left: 180px;
	margin-right: 20px;
	/*width: 728px;*/
	max-width: 850px;
	width:expression(document.body.clientWidth > 1075? "850px": "auto" );
	padding: 8px;
	margin-bottom: 20px;
	
}

div.isotestiotsikko{
	text-align: left;
	margin-left: 180px;
	margin-right: 20px;
	margin-top: 20px;
	background-color : White;
	height: 100px;
	border-top: 1px solid #A79FA1;	
	border-left: 1px solid #A79FA1;	
	border-right: 1px solid #A79FA1;	
	padding: 8px;
	/*width: 760px; */	
	max-width: 850px;
	width:expression(document.body.clientWidth > 1075? "850px": "auto" );
}

div.kysymyssarja {	
	background-color : #EAE3E5;
	text-align: left;
	margin-left: 180px;
	margin-right: 20px;
	/*width: 728px;*/	
	max-width: 850px;
	width:expression(document.body.clientWidth > 1075? "850px": "auto" );
	padding: 8px;
	margin-bottom: 20px;
	border: 1px solid #A79FA1;
}

div.testisivumainos{
	position: absolute;
	top: 123px;
	left: 10px;
	width: 160px;
}

div.leveamainos{
	margin-left: 30px;
	margin-bottom: 10px;
}


div.mainostestiotsikko{
	text-align: left;
	margin-left: 8px;
	margin-right: 8px;
	margin-top: 20px;
	width: 728px;
	background-color : White;
	height: 100px;
	border-top: 1px solid #A79FA1;	
	border-left: 1px solid #A79FA1;	
	border-right: 1px solid #A79FA1;	
	padding: 8px;
}

div.mainostila{
	background-color : #FFFFFF;
	text-align: center;
	margin-left: 8px;
	margin-right: 8px;
	width: 728px;
	padding: 8px;
	margin-bottom: 20px;
	border: 1px solid #A79FA1;
}

div.laskenta{
	padding: 6px;
	background-color: #EAE3E5;
	border: 1px solid #A79FA1;
	width: 400px;
	margin-bottom: 10px;
	height: 52px;
	text-align: left;
}

div.mainosinfo{
	padding: 6px;
	background-color: ##EFEFEF;
	border: 1px solid #A79FA1;
	width: 400px;
	margin-top: 10px;
}



.alareunaan{
	width : 100%;
	background-color : #FFCCCC;
	text-align : right;
	margin-top : 40px;
	padding-top: 3px;
	padding-bottom: 3px;
	background-image : url(/drops5.jpg);
}

.virhe {
       color: Red;
}


table.indextaulukko{

}

div.index{
	background-color : #CDD9DE;
	margin-top: 20px;
	margin-left: 8px;
	margin-right: 8px;
	max-width: 1050px;
	width:expression(document.body.clientWidth > 1050? "1050px": "auto" );
	margin-bottom: 20px;
	border: 0px solid #C4B5B9;	
}

table.indextaulukko tr td{
	background-color: #EFEFEF;
	border: 1px solid #AAAAAA;	
	width: 46%;
	padding-left: 8px;
	padding-right: 8px;
	vertical-align: top;
	text-align: left;
}

.indexkeskisolu{
	width: 20px;
}

img.testisymboli{
	float: left;
	border: 1px solid #AAAAAA;
	margin-right: 8px;	
	margin-bottom: 4px;
}

img.countdown{
	border: 1px solid #AAAAAA;
	margin-right: 8px;
	vertical-align: middle;
}

table.top9table{
	margin: 6px;
	width: 97%; */
}

table.top9table tr td{
	border: 0px solid White;
	padding: 3px;
	font-weight: bold;
}

table.top9table tr td.lukumaarat{
	text-align: center;
	font-size: 125%;	
}

.top9nimi{
	font-size: 125%;
}

table.testendmainos{
	background-color: #FFFFFF;
	border-collapse: collapse;
	border: 1px solid #AAAAAA;
}

table.testendmainos tr td{
	padding: 6px;
	border-bottom: 1px solid #AAAAAA;
}