@media screen{
body 
{
background:#ccc url(image/ppbgempty.jpg)  left top repeat-x;
margin:0px;
padding-top:2em;
height:100%
}
#ylaosoite
{

color:#eee;
text-align:left;
padding:0;
margin:0;
margin-left:670px;
height:160px;
padding-top:10px;
}
#ylaosoite ul
{
  list-style-type:circle;
  text-transform:capitalize;
  font-weight:bold;
  letter-spacing:0.5em;
  font-family:sans-serif;
  font-size:8pt;
  margin:0;
  padding:0;
}
#kehys 
{
width:800px;
/*background-image:url(pics/miilux_logo_vaaka.gif);
background-repeat:no-repeat;
background-position:top left;*/
background-color:#fff;
text-align:left;
margin: auto;
border-top: 0px solid #000;
border-left: 1px solid #000;
border-right: 4px solid #000;
border-bottom: 4px solid #000;
clear:both;
}

#ylaosa {
width:800px;
height:200px;
background:#990000 url(image/pptoppg4.jpg) repeat-x;
margin-left:auto;
margin-right:auto;
clear:both;
overflow:visible;
text-align:right;
border-bottom: 0px solid #000;
border-top: 1px solid #000;
border-left: 1px solid #000;
border-right: 4px solid #000;

}
#viiva
{
  height:8px;
  background:#222222;
  position:absolute;
  top:200px;
  left:0;
  width:100%;
  border-top:#eee outset 4px;
  border-bottom:#eee outset 4px;
  z-index:-10;
}
#paalinkit{
width:800px;
position:relative;
z-index:10;
margin-left:auto;
margin-right:auto;
clear:both;
/* overflow:visible; */
text-align:center;
color:#fff;
background:#000;
display:block;
height:30px;
}
#paalinkit a:link, #paalinkit a:visited
{
  color:#fff;
  font-family: Arial, sans-serif;
  font-size:12px;
  text-decoration:none;
  font-weight:bold;
}
#paalinkit a:hover, #paalinkit a:active
{
  color:#fff;
  font-family: Arial, sans-serif;
  font-size:12px;
  text-decoration:underline;
  font-weight:bold;
  
}
#paalinkit ul
{
  list-style-type:none;
  margin:auto;
  padding:0;
  background:#000;
  display:block;
  width:800px;
  clear:both;
/*   overflow:visible; */
  
}
#paalinkit li
{
  display:inline;
/*   float:left; */
/*   background:#fff ; */
line-height:30px;
  margin-left:10px;
  margin-right:10px;
/*   margin-top:8px; */
}
/*#paalinkit span{background:url(image/ppnappiv.jpg) no-repeat top left;display:block;padding-left:10px;}
#paalinkit a strong{background:url(image/ppnappio.jpg) no-repeat top right;display:block;padding-right:10px;}*/
#maintable
{
width:790px;
margin-left:auto;
margin-right:auto;
clear:both;
background-color:transparent;
text-align:left;


}
#varsinainen {
clear:both;
font-size:12px;
font-family: Arial, sans-serif;
background-color:transparent;
border: 0px solid #AEB97B;
margin-right:0px;
text-align:left;
min-height:400px;
padding:1em;
}


p {
font-family: Arial, sans-serif;
text-align:left;
line-height:1.4em;
}


#linkit {
width:165px;
padding-left:0.5em;
padding-right:1em;
background-color:transparent;
text-align:left;

padding-bottom:96px;
padding-top:10px;

}

.link
{
margin:0;
margin-left:20px; 
padding:0;
color:#d93a23;
list-style-type:square
}
.admin_link
{
margin:0;
margin-left:30px; 
padding:0;
color:#0000ff;
list-style-type:square

}
li.linklist
{
margin-bottom:4px;
font-family: sans-serif;
font-style:normal;
font-size:80%;
}
a.sublink:link, a.sublink:visited
{
font-family: sans-serif;
font-style:normal;
text-decoration:none;
color: #000;
}
a.luettelolinkit:link, a.luettelolinkit:visited
{
font-family: sans-serif;
font-style:normal;
text-decoration:none;
color: #000
}
a.sublink:hover, a.luettelolinkit:active, a.luettelolinkit:hover, a.sublink:active
{
color:#666;
}
#active_link
{

color:#666;

}
#alaosa
{
text-align:center;
font-family: Arial, sans-serif;
font-size:80%;
color:#666;

}
#paaotsikko
{
text-align:left;
padding-right:50px;

background-color:#eee;
}
#sivunotsikko
{
font-family: Arial, sans-serif;
margin-right:20px;
margin-top:10px;
line-height:50px;
color: #FFEFDB;
font-size:25px;

}
#alaosa address
{
font-family: Arial, sans-serif;
font-style:normal;
}
#lang
{
margin-right:20px;

}
#lang span, #lang a:link,  #lang a:visited,  #lang a:active,  #lang a:hover
{
margin-left:1px;
margin-right:1px;
border-bottom:0px solid #666;
border-right:0px solid #666;
font-family: Arial, sans-serif;
font-style:normal;
font-size:80%;
color:#000;
text-decoration:none
}
.error{color:red;font-weight:bold}
.info{color:green;font-weight:bold}
.ohje{text-decoration:none; border:0px solid green;font-weight:bold;color:green;margin-left:0.5em;margin-right:0.5em}
#asetukset td{white-space:nowrap}
ul.ajank{font-size:10pt;font-family: Arial, sans-serif;list-style-type:none;border:0px solid #ccc;width:150px;padding:1em 10px 0em 10px;margin:0;}
#ajankohtaista{width:150px;font-size:10pt;font-family: Arial, sans-serif;text-align:center;margin:0em 0em 0em 0em;width:90%;border-bottom:1px solid #ccc;padding-top:0.5em;padding-bottom:0.5em;padding-left:10px;padding-right:10px}
#akframe{border:1px solid #ccc;margin:2em 0em 0em 0em;}
ul.ajank li{margin-bottom:1em}
#sort_table{border:1px solid #000;}
#sort_table th{border-bottom:1px solid #000;padding:5px;background:#eee}
#sort_table td{padding-left:5px;padding-right:5px}
#sort_table td.oikea{text-align:right}
#sort_table td input{text-align:center}
#tapahtumat
{
  list-style-type:none;
  padding-top:0;
}
#tapahtumat li
{
  border-bottom:1px dotted #000;
}
.cal_vk{font-weight:bold;padding-top:0.5em;}
.cal_kk{font-weight:bold;padding-top:1.5em;font-size:120%
}
#navi{list-style-type:none;margin:0;padding:0;}
#navi li{display:inline;border:0;}
#navi a{text-decoration:none}
}
@media print{
#lang, #link, #admin_link, li.linklist, #active_link, #alaosa
{display:none}
#ylaosa{border: 2px solid #fff; font-family: Arial, sans-serif;border-bottom: 2px solid #d93a23;}
#varsinainen{border: 2px solid #fff;font-family: Arial, sans-serif;}
#sivunotsikko
{

color: #d93a23;


}
}