body {
  font:                small/1.6em Verdana, Helvetica, Arial, sans-serif;
  background-color:    #fff;
  margin: 0px;
  /*background-image: url(images/tyres.gif);*/
}

a {
text-decoration:    none;
 }

a:link {
  color:               #336699;
 }

a:visited {
  color:               #888888;
 }

a:hover {
  text-decoration: underline;
}

#legal a:link {
  color:               #000;
  text-decoration: underline;
 }

#legal a:visited {
  color:               #000;
  text-decoration: underline;
 }

#secret a:link {
  color:               #000;
  text-decoration: underline;
 }

#secret a:visited {
  color:               #000;
  text-decoration: underline;
 }

#navigationtoo a {
  background-color: #E0EBF7;
  padding: 5px;
  border: solid 1px gray;
 }
 
#navigationtoo a:link {
  color:               #336699;
  text-decoration: none;
 }

#navigationtoo a:hover {
  color: #fff;
  background-color: #336699;
 } 
 
#navigationtoo ul {
  list-style: none;
 }

#navigationtoo li {
  display: inline;              
 }

#navigationtoo {
  clear:both;
  text-align: center;
  background-color: #94b8e9;
  font-size: 85%;
  line-height: 1em;
  padding: 10px;
  
}
 
h1 {
  font-size:           140%;
  color:               #fff;
  background-color: #336699;
  font-weight: normal;
  padding: 8px;
  border: double;
  }
  
h1.alert {
  font-size:           140%;
  color:               #fff;
  background-color: #da2128;
  font-weight: normal;
  padding: 8px;
  border: double;
  }
  

h2 {
  font-size:           130%;
  border-bottom:       1px solid gray;
  color:               #336699;
  font-weight: normal;
  
}

h3 {
  font-size:           120%;
  font-weight: normal;
 }

h4 {
  font-size:           110%;
  color:               #336699;
  font-weight: normal;
 }

h2 img  {

  height:                       40px;
  width:                        40px;
  padding:                      2px;
  border:                       solid 1px;
}

p.finska {

  font-style: italic;
  font-size: 85%;
  line-height: 1.4;
  margin-left: 120px;
  padding: 10px 10px 10px 80px;
  border: solid gray 1px;
  background-image: url(images/huom.gif);
  background-position: 38px 6px;
  background-repeat: no-repeat;
  background-color: #fef886;
}

img.openpic   {

  height:                       100px;
  width:                        523px;
  padding:                      2px;
  border:                       solid 1px #336699;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

img.gallery   {

  width:                        486px;
  padding:                      2px;
  border:                       solid 1px #336699;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

img.thumbnails   {

  width:                        96px;
  padding:                      2px;
  border:                       solid 1px #336699;
  }
.dateposted {color: gray; font-size: 70% }   

#date {
  font-size:  80%;
  font-weight: bold; 
  text-align: left;
  padding: 0px 0px 0px 25px;
  background-color: #336699;
  color:          #fff;
  float: left;
}

#langchoice {
  font-size:  80%;
  text-align: right;
  padding: 0px 25px 0px 0px;
  background-color: #336699;
  color:          #fff;
}

#langchoice a:link {
  color: #fff;
  text-decoration:    underline;
}

#langchoice a:visited {
  color:               #fff;
  text-decoration:    underline;
}

#langchoice a:hover {
  color:               #fff;
  font-weight: bold;       
}

#identity
{
  width:  950px;
  height: 21px;
  background-image: url(images/tiepanorama4.jpg);
  background-repeat: no-repeat;
  background-color: #5a8148;
  font-size:      200%;
  color:          #fff;
  text-align: right;
  padding: 80px 30px 20px 20px;
  /*border-bottom: solid 3px #336699 ;*/
  margin: 0px 0px 0px 0px;
   
}

#identityORIGINAL
{
  width:  750px;
  height: 21px;
  background-image: url(images/tiepanorama3.png);
  background-repeat: no-repeat;
  background-color: #5a8148;
  font-size:      200%;
  color:          #fff;
  text-align: right;
  padding: 80px 30px 20px 20px;
  /*border-bottom: solid 3px #336699 ;*/
  margin: 0px 0px 0px 0px;
}

#allcontent {
width:              1000px;
margin-left:       auto;
margin-right:      auto;
border: solid 3px #336699 ;

}

#maincontent {
background-image: url(images/rightshadow.jpg);
background-repeat: repeat-y;
float:             right;
width:             730px;
padding:            20px;
background-color:   #fff;
clear: both;
}

#maincontent-wide {
background-image: url(images/rightshadow.jpg);
background-repeat: repeat-y;
float:             right;
width:             760px;
padding:            20px;
background-color:   #fff;
clear: both;
}

#navigation {
float:             left;
width:             230px;
background-color:    #ffffff;
border-top: 1px solid gray;
}

#navigation ul { 
margin-top: 20px;
margin-left: 15px;
padding:            0;
list-style-type:    none;
font-size:           130%;
}

#mainNav a {
display:            block;
width:              200px;
height:             39px;
line-height:        39px;
color:              #000;
text-decoration:    none;
background:         /*#94b8e9;*/ url(images/pixy-rollover.gif) no-repeat left bottom;
text-indent:        50px;

}

#navigation li.first a {
height: 40px;
line-height: 40px;
 }
 
#mainNav a:hover, .selected a {
background-position: right bottom;
color:               #fff;
 }
 
#navigation li {
display:   inline; /* poistaa suuret välit IE6 Win:ssä */
 }

#etusivu #mainNav .etusivu a,
#uutiset #mainNav .uutiset a,
#kartta #mainNav .kartta a,
#hoitokunta #mainNav .hoitokunta a, 
#yhteystiedot #mainNav .yhteystiedot a,
#saannot #mainNav .saannot a,
#asiakirjat #mainNav .asiakirjat a, 
#kuvagalleria #mainNav .kuvagalleria a, 
#linkit #mainNav .linkit a {
background-position: right bottom;
color:               #fff;
cursor:              default;
 }
 
#navigationtoo li {
display:   inline; /* poistaa suuret välit IE6 Win:ssä */
 }

#etusivu #mainNav .etusivu a,
#uutiset #mainNav .uutiset a,
#kartta #mainNav .kartta a,
#hoitokunta #mainNav .hoitokunta a, 
#yhteystiedot #mainNav .yhteystiedot a,
#saannot #mainNav .saannot a,
#asiakirjat #mainNav .asiakirjat a, 
#kuvagalleria #mainNav .kuvagalleria a, 
#linkit #mainNav .linkit a {
background-position: right bottom;
color:               #fff;
cursor:              default;
 } 
  
#legal {
  clear:both;
  text-align: center;
  background-color: #94b8e9;
  font-size: 80%;
  line-height: 1em;
  font-style: italic;
  padding: 10px;
  
}

#secret {
  clear:both;
  text-align: center;
  background-color: #94b8e9;
  font-size: 80%;
  line-height: 1em;
  font-style: italic;
  padding: 10px;
  
}

p.hoitokunta {
  text-align: center;
}

img.hoitokunta {
  vertical-align: middle;
  height: 120px;
  }
.nimi {
  font-weight:  bold;
}

.tehtava {
  font-style: italic;
}

#hoitokunta li {
  list-style: none;
}

#maincontent a:hover.anchor {
 text-decoration: none;
}

img.pikkukartta {
  padding:                      2px;
  border:                       solid 1px #336699;
  margin: 0px 30px 20px 0px;
  float: left;
}

#tiekunta-table {
  margin: auto;
  background-color: #ebf5fc;
  border: gray solid 1px;
  width: 100%;
  padding: 10px;
}

#tiekunta-table th {
  padding: 8px 8px 0px 8px;
  text-align: right;
}

#tiekunta-table th.tiekunta-table-otsikko {
  padding: 8px 8px 8px 8px;
  text-align: center;
  border-bottom: gray solid 1px;
}

#tiekunta-table td {
  text-align: left;
   padding: 8px 8px 0px 8px;
}

#hoitokunta-table {
  border-collapse: collapse;
  border: gray solid 1px;
  margin: auto;
  background-color: #ebf5fc;
  width: 100%;
  }

#hoitokunta-table th {
  padding: 8px;
  text-align: left;
  border-bottom: gray solid 1px;
 }

#hoitokunta-table td {
  padding: 8px;
  text-align: left;
}
.hoitokunta-table-henkilonimi {
  font-weight: bold; 
  }
  
.vuosilinkki a {
  font-size: 130%;
  background-color: #E0EBF7;
  padding: 5px;
  border: solid 1px gray;
 }
 
.vuosilinkki a:hover {
  color: #fff;
  background-color: #336699;
 }
 
.isovuosi
{
  font-size: 300%;
 }
 
.explanation
{
  font-size: 85%;
  padding-left: 25px;
 }
 
.valiviiva
{
  color: gray;
 }

 .topagetop
{
 text-align: right;
 clear: both;
 }

 .backlink
{
 text-align: right;
 clear: both;
 }
 
 p.topagetop a:visited
{
 color:  #336699;
 } 

.w3c {
text-align: right;  
}

.painotettu {
  font-weight: bold;
}

.tipshrink {
  height: 30px;
  width: 0px;
  overflow: hidden;
  float: right;
  border: solid 1px gray;
  font-style: italic;
  font-size: 85%;
  line-height: 1.4;
  padding: 0px 0px 0px 30px;
  background-image: url(images/tip.gif);
  background-position: 5px 5px;
  background-repeat: no-repeat;
  background-color: #eaf3da;
  margin-bottom: 10px;
  
 }

.tipshrink:hover {
  height: auto;
  width: auto;
}

.tipshrink-follow {
  clear: left;
}

.tipfull {
  border: solid 1px gray;
  font-style: italic;
  font-size: 85%;
  line-height: 1.4;
  padding: 0px 0px 0px 30px;
  background-image: url(images/tip.gif);
  background-position: 5px 5px;
  background-repeat: no-repeat;
  background-color: #eaf3da;
  margin-bottom: 10px;
 }
 
.applicationtip {
  padding:  10px 20px;
  border: solid 1px gray;
  margin-right: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #e0edc5;
}

.clearboth {
  clear: both;
}

#maincontent ul li {
list-style-image: url(images/listbullet.gif);
}

.kuvaryhma
{
 padding: 5px;
 margin-bottom: 10px;
}

#downshadow {
  background-image: url(images/downshadow.jpg);
  height: 12px;
  width:             1000px;
}

a[href^="http:"] {
  background: url(images/externalLink.gif) no-repeat right top;
  padding-right: 10px;
}

a[href^="mailto:"] {
  background: url(images/email.png) no-repeat left top;
  padding-left: 17px;
}

.isokartta img {
  width: 754px;
  padding:                      2px;
  border:                       solid 1px #336699;
}

#search {
margin-left: 15px;
margin-right: 15px;
}

#clock {
  text-align: left;
  float: left;
}

#twitterembed {
  text-align: right;
  float: right;
}

.pointer { 
   cursor:pointer; 
}

.pointer:hover { 
   color: #336699;
   cursor:pointer;
   text-decoration: underline;
}

.uutiset-button {
  color: #336699;
  background-color :#e0ebf7;
  cursor:pointer; 
}

.uutiset-button:hover {
  color: #fff;
  background-color :#336699;
  text-decoration: underline;
  cursor:pointer; 
}

.description {
  font-size: 90%;
  vertical-align: top;
  padding: 0px 5px 5px 0px;
}

#uutisboxi {
  background-color: #eaf3da;
  clear: both;
}

#uutisikkunaotsikko {
  color: #336699;
  font-size: 130%;
}

#uutisikkunalinkki {
  text-align: right;
  padding-right: 20px;
  
}

#welcome{
  margin: 0px 20px 20px 0px;
}

#twittersivuteksti{
  margin: 0px 280px 0px 0px;
}

#frontpage-image {
  text-align: center;
}

#uutisikkuna {

width:             469px;
margin:            10px;
background-color:   #fff;

}

#uutisikkuna img {
display: none;
}

#uutisikkuna .not-in-uutisikkuna  {
display: none;
}

#uutisikkunabody {
  background-color: #fff;
}

#search2 {
 
 float:right;
 padding-right: 25px;
 padding-top: 10px;
  
}

img.joulu {
  width: 400px;
}

.huom {
  color: green;
  font-size: 150%;
  font-weight: 200;
  text-align: center;
  }
  
p.italic {
    font-style: italic;
}