html, body {margin: 0; padding: 0; border: 0;}
* {margin:0;padding:0}

p,h1,h2,h3,h4{margin:0 0 0.5em 0}

/* commented backslash hack v2 \*/ 
html, body{height:100%;} 
/* end hack */ 

body {
  color: #000000;
  background: #FFFFFF;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 90%; 
  font-weight: normal;
  text-align: center;
  margin: 0;
}

#outer{
	height:100%;
	min-height:100%;
	min-width:700px;
	margin-left:10px;
	margin-right:200px;
	background-color: #FFFFFF;
	border-right: 1px solid #000;
	margin-bottom:-52px;
	color: #000000;
}
 
html>body #outer{height:auto;} /*for mozilla as IE treats height as min-height anyway*/

#header {
  background-color: #5D9386;
  color: #FFFFFF;
  border-bottom:1px solid #000000;
  border-left: 1px solid #000;
  text-align: left;
  position:relative;
  padding: 0 0 0.3em 0.5em;
  margin-left: 0px;
}

#header-left {
  position: relative;
  float: left;
  width: 50%;
}

#header-right {
  position: relative;
  marginal-left: 50%;
  padding: 0.5em 1em 0 0;
}

#header-right p { margin:0; text-align: right; font-weight: bold; font-size: 80%;}


/* mac hide \*/
* html #header{height:10px;he\ight:1px}/* height needed for ie to force layout*/
/* end hide*/

#header span {
  font-size: small;
  font-weight: bold;
  color: #FFFFFF;
  white-space:nowrap;
}

h2 {
  font-size: 90%;
  color: #FFFFFF;
  background-color: #66AA99;
  font-weight: bold;
  text-align: right;
  padding-right: 1em;
}

#right {
  position:relative;
  width:200px;
  float:right;
  margin-right:-199px;
  color: #000000;
  margin-left:-1px;
  left:2px
}
* html #right{margin-left:-3px;	left:4px;
}
#right p{padding:0 2px 0}

#footer {
  width:100%;
  clear:both;
  height:50px;
  border-top:1px solid #000;
  border-bottom:1px solid #000;
  background-color: #B044B0;
  color: #FFFFFF;
  text-align:center;
  position:relative;
}
* html #footer {/*only ie gets this style*/
	\height:52px;/* for ie5 */
	he\ight:50px;/* for ie6 */
}
#clearfooter{clear:both;height:40px;}/*needed to make room for footer*/
* > html #clearfooter {float:left;width:100%;}/* ie mac styles */

* html #centrecontent {height:1%;}/* combat IE's 3 pixel jog */
html>body #minHeight{float:left;width:0px;height:100%;margin-bottom:-52px;} /*safari wrapper */
#right ul {
	list-style:none;
}

#right img {margin-left:3px;}

div.corner {
  position:absolute;
  left:0;
  top:0;
  width:150px;
  height:150px;
}

#centrecontent {position:relative;width:100%;float:left;}/*stacking context for image*/


.greenbox {
  background-color: #AECBBC;
  color: #000000;
  padding: 0.3em;
  margin: 0.3em;
  font-size: 90%;
}

#linkit {
  text-align: left;
  margin: 2.5em 1em 0 1em;
  font-size: 90%;
}

#linkit h4 {
  background-color: #66AA99;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 100%;
  line-height: 1.5em;
  margin: 0;
  padding-left: 0.5em;
}

#linkit ul {
  list-style-position: outside;
  list-style-type: circle;
  padding-left: 0.5em;
  margin-top: 0.1em;
  margin-left: 1em;
  margin-bottom: 0.5em;
}

#linkit a { font-weight: normal; text-decoration: none; }
#linkit a:link {color: #6666AA;}
#linkit a:visited {color: #6666AA;}
#linkit a:hover {color: #FFFFFF; background-color: #6666aa;}

#valikkoa_muokattu { text-align: right; font-size: 90%;}

.sponsorit { text-align: right; margin-top: 1em; padding-right: 0.5em;}

.sponsorit img {border: none;}

.sponsorit ul {
  list-style-position: outside;
  list-style-type: none;
}

.sponsorit li { margin-bottom: 0.5em; }

h3 {
  margin-top: 1em;
  text-align: left;
  font-weight: bold;
  font-size: 120%;
}

.ingressi {
  border-top: dashed 1px black;
  border-bottom: dashed 1px black;
  text-align: left;
  font-style: italic;
  padding: 1em 0 1em 0;
  margin: 0 0 1em 0;
}

.esittely {
  text-align: left;
  padding: 2em 0 1em 0;
  margin: 1em 0% 1em 180px;
}

.artikkeli {
  margin-left: 5%;
  margin-right: 5%; 
  padding-bottom: 2em;
  text-align: left;
  font-weight: normal;
}

.artikkeli p:first-letter { font-size: 100%; font-weight: bold;}

.artikkeli hr {
  border: none 0; 
  border-top: 5px double #1B797F;
  width: 30%;
  height: 5px;
  margin: 1em auto 1em auto;
  text-align: center;
}

.artikkeli img {
  position: relative;
  float: left;
}

.artikkeli .allekirjoitus { text-align: center; margin-bottom: 1em;}

.artikkeli ul {
  list-style-position: outside;
  padding-left: 0.5em;
  margin-top: 0.1em;
  margin-left: 1em;
  margin-bottom: 0.5em;
}

.artikkeli ol {
  list-style-position: outside;
  padding-left: 0.5em;
  margin-top: 0.1em;
  margin-left: 1em;
  margin-bottom: 0.5em;
}


.pohdinta {
  background-color: #FFFEE2;
  color: #000;
  padding: 0.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.kommentti {
  background-color: #E3FFE2;
  color: #000;
  padding: 0.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.sininen {
  background-color: #CBE5F8;
  color: #000;
  padding: 0.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}


.kuvat {
  position: relative;
  text-align: center;
  margin: 0 1em 1em 1em;
  padding: 1em 0 1em 0;
}

.kuvat img {float: none;}

.oikea { text-align: right; margin: 1em 0em 1em 0;}

.oikea p:first-letter { font-size: 100%; font-weight: normal;}

.uutiset  {
  position: relative;
  text-align: left;
  font-size: 90%;
  margin: 0 0 0 0;
}

.uutiset h3 {
  margin-top: 1em;
  text-align: left;
  font-weight: bold;
  font-size: 120%;
}

.uutiset span { font-size: 80%; }

.uutiset a:link {font-weight: bold; color: #6666aa; text-decoration: none;}
.uutiset a:visited {font-weight: bold; color: #6666aa; text-decoration: none; }
.uutiset a:hover {background: #AAD; color: #338;}
.uutiset hr { width: 100%;}


.oikeatasaus { text-align: right; font-weight: normal; margin:0;}
