a:link, a:visited  {
	text-decoration: none;
}


div.top {
  background: #b1c2e5 url('filmstrip4_20_80px.jpg') center no-repeat;
  color: blue;
  color: #186ad0;
  margin-top: 5px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 24pt;
  font-weight: bold;
  line-height: 2.4;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  padding-top: 0px;
  width: auto;
  min-width: 650px;
  z-index: 100;
  
}


#banner {
  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 5px;
  font-size: 85%;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
  position: fixed;
  top: 85px;
  left: 0px;
  bottom: 0px;
  width: 135px;
  
  height: auto;
  background: #6198dd;
  border: thin solid white;
  float: left;
}

#banner p {
  margin: 0px; 
  padding: 1.3em 0.4em;
  font-family: Arial, sans-serif;
  background: #6198dd;
  /*border: thin outset #900;*/
  border: thin solid #6198dd;
  color: white;
}

#banner img.alin {
  position: absolute;
  bottom: 10px;
  left: 25px;
}

#banner img.alin-1 {
  position: absolute;
  bottom: 50px;
  left: 25px;
}


#banner a, #banner em { display: block; margin: 0 0.5em }
/*div.banner a, div.banner em { border-top: 2px groove #900  }*/
#banner a, #banner em { margin-top: 12px}
#banner a:first-child { margin-top: none }
#banner em { color: #CFC }

#banner a:link { text-decoration: none; color: white }
#banner a:visited { text-decoration: none; color: #dddddd }
#banner a:hover { background: #aaaaaa; color: white; border: none }
#banner a:active { background: #888888; color: white; border: none }

body {
  margin-top: 0px;
  margin-left: 0px;
  background: url('sky2.jpg') repeat;
  
  padding-left: 0em;
  padding-top: 0em;
  /*height: 100%;*/
  /*height: 297mm;*/
  /*overflow: scroll;*/
  z-index: 50;

}

#sisalto {
  font-family: Arial, sans-serif;
  line-height: 1.3;
  position: absolute;
  top: 85px;
  bottom: 6%;
  right: 10px;
  left: 160px;
  width: auto;
  /*margin-left: 170px;*/
  margin-top: 10px;
  margin-right: 0px;
  margin-bottom: 10px;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0em;
  padding-bottom: 2em;
  overflow: hidden;
 
  /*background-position: 220px 110px;*/
  /*border: thin solid white;*/
  overflow: auto;
}

#sisalto h3,h2,h1,h4,h5 {
  padding-top: 1.4em;
  text-align: left;
}
#sisalto h1, h2, h3:first-child { padding-top: 0em }

#sisalto li {
  line-height: 1.6;
}

.clear_vasen {
  clear: left;
}

div.clear_vasen h1, h2, h3, h4, h5{
  text-align: left;
}

.clear_oikea {
  clear: right;
}

img.vasen {
  float: left;
  margin-top: 0.2em;
  margin-right: 1em;
  margin-bottom: 1.0em;
  border: 3px groove black;
  /*border-style: groove;
  border-width: 2px;*/
}

img.oikea {
  float: right;
  margin-top: 0.2em;
  margin-left: 1em;
  margin-bottom: 0.5em;
  border: 3px groove black;
  /*border-style: groove;
  border-width: 2px;*/
}

/* ----  yhden kuvan nÃ¤yttÃ¤miseski sivulla keskitetysti ---- */
div.kuva_keski {
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  text-align: center;
}

/* ----  ja keskitetyn kuvan reunaksi kahden pikselin musta viiva ---- */
div.kuva_keski img {
  border: 2px solid black;
}

div.footer {
  font-family: Arial, sans-serif;
  background: #6198dd;
  border: thin solid white;
  position: fixed;
  bottom: 0px;
  left: 160px;
  right: 10px;
  color: #CCC;
  text-align: center;
  line-height: 2.9;
  height: 5%;
  margin-bottom: 5px;
  margin-right: 0px;
  margin-top: 200%;
  font-size: 75%;
}

div.footer img {
  float: right;
  margin-left: 0.7em;
  margin-top: 0.6em;
  margin-right: 1em;
}

.vasen {
  text-align: left;
}

.keski {
  text-align: center;
}

.sininen_laatikko {
  background: url("sky2_vaalea2.jpg");
  border: thin solid black;
  padding: 0.5em;
  padding-top: 0.1em;
  padding-bottom: 0.0em;
  margin-top: 0.2em;
  margin-bottom: 0.8em;
}
.sininen_laatikko h1, h2, h3:first-child { padding-top: 0em; margin-top: 0.2em; }

.sininen_laatikko ul {
	padding-top: 0;
	margin-top: 0.3em;
	font-size: 95%;
}

.sininen_laatikko h5 {
	padding-top: 0;
	margin-bottom: 0.1em;
	margin-top: 0.6em;
	font-size: 95%;
	font-weight: bold;
}

.uutisnumero {
  clear: both;
  font-size: 70%;
  float: right;
  margin-top: 1.0em;
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 0.0em;
  padding-bottom: 0em;
  line-height: 30%;
}

.uutisotsikko {
  font-size: 120%;
  font-weight: bold;
  padding-top: 0em;
  margin-top: 0.2em;
}

p.uutislomake {
	margin-bottom: 0;
	padding-bottom: 0;
}

.tehoste {
	color: #e00000;
}

div.ohje {
  background: url('sky2.jpg') repeat;
  font-family: Arial, sans-serif;
  background: #F0FFF0;
  width: 60%;
  margin: auto;
  margin-top: 5em;
  margin-bottom: 5em;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 5em;
  padding-right: 5em;
  border: thin solid black;
}

div.ohje h1 {
  text-align: center;
  padding-bottom: 1.0em;
  padding-top: 0.5em;
}


div.ohje h2,h3,h4,h5 {
  padding-top: 1.4em;
  text-align: center;
  text-align: left;
}

.muutokset h3{
	margin-top: 0.2em;
	margin-bottom: 0.3em;
}

/* ------- lisäty 3.6.2009 ja käytetty kevätkisa 2009 tulostaulukkossa -------*/
.tulostaulukko {
	border: none;
}

/* --- 1.5em tyhjää tilaa vasemmalle, ---*/
.tulostaulukko td, th{
	padding-left: 1.5em;
}

/* --- paitsi ekalle ---*/
.tulostaulukko td:first-child, th:first-child{
	padding-left: 0em;
}

/* ----------- kuvan ja kuvatekstin muotuilut ----------- */
img.kuva{
    border: black double 3px;	
}

.kuvateksti {
	margin-top: 0.8em;
	margin-bottom: 1.5em;
	font-weight: bold;
}

#login label {
	width: 10em;
	float: left;
}
#login div {
	margin-bottom: 0.5em;
}
#login {
	text-align: left;
	margin-top: 4em;
}
#login fieldset {
	display: inline;
	text-align: left;
	border: 1px solid #c0c0c0;
	background-color: #f0f0f0;
	padding: 2em;
}
