h2 { font-size: 150%; font-weight: bold; margin: 0; }
h3 { font-size: 125%; font-weight: bold; margin: 0.5ex 0; }
h4 { font-size: 115%; font-weight: bold; margin: 0.5ex 0; }
th { text-align: left; vertical-align: top; }
a { color: black; }
body { margin: 0; padding: 0; font-family: arial, helvetica, sans serif; font-size: small; }

@media print
{
	.navi, .leftie, .login { display: none; }
}

tbody .CompanyItemRow:hover
{
	background: #e0e0e4;
}

thead .CompanyItemRow th
{
	border-bottom: solid 1px #404040;
}

.CompanyItemRow td,.CompanyItemRow th
{
	padding: 1px 1em;
}

.CIR2
{
	background-color: #f0f0f0;
}

.CompanyInfo td
{
	padding: 0 1ex;
	vertical-align: top;
}









.pi a:hover { background-color: #e0f0ff; text-decoration: none; }
.navi { background: #808088; color: #FFDDBB; }
.navi td { border-top: 1px solid white; border-bottom: 1px solid white; }
.navi a { color: #FFEEDD; }

.maini { }
.login { font-size: 8pt; }
.login input { font-size: 8pt; width: 12ex; }
.curron { background: #B5B7DB; }
.linkbutton { font-size: x-small; top: 0; margin: 2px; padding: 2px 4px; border: 1px solid black; font-weight: bold; text-align: center; }
.linkbutton a { color: #333366; }

@media print
{
.navi2 { display: none; }
.navi { display: none; }
.login { display: none; }
}

td { padding:0; margin:0; }
.navi { padding: 0ex 1ex 2ex 4ex; color: #0180AB; height: 30ex; vertical-align:top; }
.valiteksti p { margin: 1ex 1ex 2ex 1ex; color: #202020; }
.alateksti p { margin: 1ex 1ex 2ex 1ex; color: #e0e0e0; }
.alateksti p a { margin: 1ex 1ex 2ex 1ex; color: #e0e0e0; }
img { border: 0 }
.topnavi { background: #F1F1F1;height:2em; }
.topnavi a { font-weight: bold; text-decoration: none; padding: 1ex; }

@media screen
{
#leipa
{
	margin: 1ex;
	background-color: White;
	padding: 0;
}

#navitop
{
	overflow: hidden;
}

#navitop h1{ display: inline; vertical-align:middle; line-height:29px; margin:0; padding:0;font-weight: normal; color: White; text-decoration: none; font-weight: normal; font-size: 20px; }
#navitop h1 a{ font-weight: normal; color: White; text-decoration: none; font-weight: normal; margin-left:1ex;}

#navitop ul
{
	margin: 0 0 0 10em;
	padding: 0;
	list-style: none;
	font-size: 100%;
	vertical-align:text-bottom;
	line-height: 29px;
}

#navitop li
{
	display: inline;
	float: left;
	font-weight: bold;
	padding:0 1.5ex 0 0;
}

#navitop a
{
	float: left;
	margin:0;
	text-decoration:none;
	color:white;
	cursor: pointer;
	white-space:nowrap;
}

#footer
{
	margin: 1ex 0 0 0;
	padding: 12px 0 0 1ex;
	text-align: left;
	background-image:url(/img/bot3.gif);
	background-repeat:repeat-x;
	background-position:left top;
	background-color: #CD0000;
	height: 20px;
	color: White;
}
#footer a { text-decoration: none; color:White; }
#footer a:hover { text-decoration: underline }
}

.addtable th
{
	padding: 0.25ex 1em;
}

@media handheld
{
.visual
{
	display:none;
}
}

ul.menu li { display: inline; margin: 0 1ex 0 0; font-weight: bold; }
ul.menu li a { text-decoration: underline; }

.autocompleter
{
	background-color: White;
	border: solid 1px black;
	z-index: 10;
}

.autocompleter ul
{
	list-style-type: none;
	margin: 0.5ex 1ex;
	padding: 0;
}

.autocompleter .selected
{
	background-color: #fff0c0;
}

.searchtable
{
	border: solid 1px #708090;
	margin-bottom: 0.25ex;
	padding:0;
}

.searchtable td
{
	padding: 0 0 0.5ex 0;
	margin:0;
}

.searchtable th
{
	padding: 0 1ex 0.5ex 0;
	text-align: right;
	margin:0;
}

.mappi
{
	border: solid 1px #404580;
}

#Map1_resultlist li:hover
{
	background-color: #f9f3f0;
	border: solid 1px #404040;
}

#Map1_resultlist li
{
	border: solid 1px white;
	margin: 0 0 0.25ex 0;
}

#Map1_resultlist ul
{
	list-style-type: decimal;
}

#Map1_infodiv h3
{
	margin:0;
	font-size: 110%;
	font-weight:bold;
	color: Black;
}

#Map1_infodiv h3 a
{
	color: Black;
	text-decoration: underline;
}

#Map1_infodiv p
{
	margin:0 0 1ex 0;
}

address
{
	font-style:normal;
}

.error
{
	color: Red;
}

