body {
  background-color: #c6b5a5;
}

/* piilotetaan ie:n linkkikuville antamat kehykset */

a > img {
  border: 0px;
}

div.uloin {
  width: 970px;
/*  border-collapse: collapse;*/
  margin-left: auto;
  margin-right: auto;
  padding: 10px 0px;
  background-color: #F7F9E6;
  background: transparent url("img/tausta_repeat.jpg") top left repeat-y;
}

div.uloin > div {
/*  background: transparent url("img/tausta_top.jpg") top left no-repeat;*/
}

div.uloin > div > div {
/*  background: transparent url("img/tausta_bottom.jpg") bottom left no-repeat;*/
}

div.uloin > div > div > div {
  width: 970px;
  padding: 5px;
}


div.ylapalkki {
    width: 960px;
    height: 106px;
    vertical-align: middle;
    padding-left: 20px;
/*    background-color: #1009D5;*/
    background-image: url("img/ylapalkki.jpg");
    background-repeat: no-repeat;   
    font-weight: bold;
    font-size: 40px;
}


a {
	font-weight: bold;
	font-size: 16px;
	color: #444444;
	text-decoration: underline;
	}
a:hover {
	text-decoration: none;
	}
a:visited {
	font-size: 16px;
	color: #444444;
	}
a:active {
	text-decoration: none;
	}
div.sivupalkki a {
font-family: sans-serif;
font-weight: bold;
font-size: 16px;
color: #000000;
text-decoration: none;
}

div.sivupalkki a:hover {
font-weight: bold;
font-size: 16px;
color: #444444;
text-decoration: none;
}

div.sivupalkki a:visited {
font-weight: bold;
font-size: 16px;
color: #000000;
text-decoration: none;
}

div.sivupalkki {
    width: 178px;
    vertical-align: top;
    /*    background-color: #64FFFF;*/
/*    padding-top: 15px;
    padding-left: 5px;
    padding-right: 0px;
    line-height: 20px;*/
    position: relative;
    top: 10px;
    left: 0px;
    float: left;
}

div.logo {
  width: 102px;
  margin-left: auto;
  margin-right: auto;
  background: none;
}

div.valikko-otsikko {
  color: #e64a58;
  font-weight: bold;
  font-size: 18px;
  height: 55px;
  background: none;
  padding-left: 8px;
  padding-top: 8px;
}

div.valikkoitem, div.valikkoitem_sisennetty {
  border: 1px solid #B0A184;
  background-color: #ECEDDD;
  padding: 3px 5px;
  margin: 4px;
}

div.valikkoitem_sisennetty {
  margin-left: 20px;
}

.sivulinkki{
  color: red;

}
/*
.sivupalkki {
    height: 557px;
    width: 199px;
    vertical-align: top;
	background-image: url("images/layout2/sivupalkki.jpg");
    background-color: #64FFFF;
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 0px;
    line-height: 20px;
}*/

div.punainenteksti {
    color: #e64a58;
    font-weight: bold;
    font-size: 18px;
    height: 40px;
    background: none;
}


.teksti {
    width: 773px;
    background-color: #EAEFF3;
    vertical-align: top;
    padding-top: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
}

.sisalto {
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	overflow: auto;
	width: 735px;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
	left: 10px;
	top: 10px;
	min-height: 850px;
	font-family: "Verdana", sans-serif;
	font-size: 90%;
}

.sisalto > h1 {
  font-size: 150%;
}

.sisalto > h2 {
  font-size: 120%;
}

.sisalto > p {
  text-align: justify;
}

a.linkki {
  font-weight: bold;
  font-size: 120%;
  margin-left: 20px;
}

p.linkkiteksti {
  margin-left: 40px;
  margin-right: 40px;
}

.palaute {
	font-weight: bold;
}

ul.omaishoitotuki > li {
  list-style-type: square;
}

div.bold {
  font-weight: bold;
}

p.alert {
  font-weight: bold;
  font-size: 130%;
}

table.jasenkirje {
  margin-left: auto;
  margin-right: auto;
}

table.jasenkirje tr > td {
  vertical-align: top;
  text-align: center;
  padding: 10px;
}

table.jasenkirje tr > td > a > img {
  border: 1px solid blue;
}

div.runonurkka > h1 {
  font-style: italic;
  font-size: 120%;
}

div.runonurkka > p {
  font-style: italic;
}

div.kuntalista {
  padding-top: 4px;
  padding-bottom: 4px;
}

div.kuntalista > a {
  padding: 0px 3px;
}

div.events {
  background-color: #F7F9E6;
}

td.event_type {
  font-style: italic;
  font-weight: bold;
  padding-right: 20px;
}

td.event_text > p:first-child {
  margin: 0px;
  padding: 0px;
}

td.event_text > ul > li {
  margin-left: 0px;
  list-style-type: square;
}

.bold {
  font-weight: bold;
}

div.message {
  font-weight: bold;
  font-size: 120%;
  border: 2px solid red;
  padding: 5px;
}

