html, body, table#maintable { height:100%; } /* tämä täytyy olla, jotta strict-doctypellä saa tablen 100% korkeaksi */

body {margin:0px; padding:0px; background:#f0f0f0;}

p, td, th, div, a, textarea {font-family:arial, Helvetica, sans-serif; color:#000000; font-size:12px;}
a, a:active, a:visited {text-decoration:underline; color:#013478;}
a:visited {color:#114488;}
a:hover {text-decoration:none;}

/* h1 {color:#a9a792; margin:0px; padding:0px; font-weight:normal; font-size:23px;} */
h1 {color:#ff9600; margin:15px 0px; padding:2px 0px; font-size:14px; text-transform:uppercase; border-bottom:dashed 1px #ff9600;}
h1 img {float:left; margin-top:-10px; margin-right:4px;}
h2 {color:#a9a792; margin:0px; padding:0px; font-weight:normal; font-size:18px;}
h3 {color:#a9a792; font-size:13px;}
h4 {color:#7b7b6e;}

img {border:none;}

#sijaintipolku, #sijaintipolku a, #sijaintipolku a:visited {color:#aaaaaa; font-size:11px; text-decoration:none;}
#sijaintipolku {margin:0px 0px 10px 0px;}
#sijaintipolku a:hover {color:#ff9600;}

table#maintable {width:100%;}
td.lefttd {width:33%; background:#f5f5f5; vertical-align:top;}
td#centertd {width:960px; background:#ffffff url('../XXimg/topbar.jpg') no-repeat; vertical-align:top;}
td.righttd {width:33%; background:#f5f5f5; vertical-align:top;}
.navi a, .navi a:visited {display:block; color:#ffffff; text-decoration:none; text-transform:uppercase; font-weight:bold; font-size:13px; padding:3px 8px;}
a#aktiivi {border-bottom:solid 2px #78b126; border-top:solid 3px #61a029; text-decoration:underline;}

#mainlinkstd {width:214px; height:305px; background:#f8f8f6 url('../img/bg_alanavi2.jpg') repeat-y;}
a.mainlink, a.mainlink:visited {text-decoration:none; text-align:center; display:block; margin:0px; padding:3px 0px; color:#7b7b6e; border:solid 1px #e1e2df; border-bottom:none; background:#ffffff url('../img/bg_mainlink.jpg') repeat-x;}
a.mainlink:hover {background:#f8f8f7;}
/* a.mainlink:active, a.mainlink:focus {font-weight:bold;} */

#alanavit {margin:0px; padding:0px; background:#f9faf7 url('../img/bg_alanavi.jpg') repeat-y; border-right:solid 0px #f2f2eb;}
#alanavit a, #alanavit a:visited {display:block; color:#626157; margin:0px; padding:4px 12px; font-size:11px; font-weight:normal; text-transform:uppercase; border-top:solid 1px #fefefe; border-bottom:solid 2px #f2f2eb; text-decoration:none;}
#alanavit a:hover {color:#626157; text-decoration:underline;}


#bottombar {color:#eeeeee; font-size:11px; text-align:left; height:45px; padding:0px 25px; background:#bab9a3;}
#bottombar a, #bottombar a:visited {color:#eeeeee; font-size:11px; text-decoration:none;}

.thumbnail {margin:2px; opacity:0.8; filter:alpha(opacity=80);}
.thumbnail:hover {opacity: 1; filter: alpha(opacity=100);}
input, textarea, select {border:solid 1px #b9b7a2;}
button, input.button {border:solid 2px #ff9600; -moz-border-radius:7px; -webkit-border-radius:7px; color:#888899; font-size:0.9em; padding:1px 5px; font-weight:bold; text-transform:uppercase; font-size:10px;}

.tipkuvateksti {padding:0px 0px 5px 0px; color:#777777; font-size:11px; line-height:12px;}

.palkkitaulu { -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; color:#555544; border:solid 1px #b9b7a2; min-height:80px; background:#edebda url(/oulu/img/kirjbg.jpg) repeat-x 0px 25px; }

@media print {
	body {background:#ffffff;}
	table#maintable {width:100%; height:100%;}
	td#lefttd {display:none; width:0%; background:#ffffff; background-image:none; vertical-align:top;}
	td#centertd {width:100%; background:#ffffff; background-image:none; vertical-align:top;}
	td#righttd {display:none; width:0%; background:#ffffff; background-image:none; vertical-align:top;}
	div.navi {display:none;}
}