html {
  	height: 100%;
	background-color: transparent;
	padding: 0;
	margin: 0;
}

body {
  height: 100%;
  background-color: #0077D7;
  background-image: url(../images/bg2.gif);
  background-repeat: repeat-x;
  background-position: top;
  font: 0.9em Trebuchet MS, Arial, Verdana, Helvetica, sans-serif;
  line-height: 1.5;
  color: #333333;
}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -6em;
}

.footer, .push {
	height: 6em;
	bottom: 0px;
	left: 0;
	width: 100%;
}

#extra {
	clear: both;
	height: 50px;
}

.content {
  margin-left: 31%;
  margin-right: 7%;
  padding-top: 17%;
}

.content_kynnys {
	overflow: hidden;
	position: relative;
	text-align: center;
	width: 100%;
	border: 0px;
	margin-left: 0;
	padding: 30 0 0 0em;
	margin: 0 0 0 0em;
}

.content p {
  text-align: left;
	background-color: transparent;
}

.content ul, li {
  text-align: left;
	background-color: transparent;
}

h1 {
  font-size: 1.4em;
  anti-alias: smooth;
  font-weight: normal;
  color: #333333;
  margin-bottom: 0;
  padding-top: 0; 
  padding-bottom: 0.25em; 
  border-bottom: none;
  text-align: left;
}

h2 {
  font-size: 1.4em;
}

h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1.1em;
	font-weight: normal;
	font-style: italic;
}

.title {
  font-size: 0.85em;
  font-weight: normal;
  font-style: italic;
  color: #333333;
  text-align: left;
}

table {
  max-width: 100%;
  border-collapse: collapse;
}

#table2 {
	overflow: hidden;
	position: relative;
	width: 100%;
	bottom: 2px;
	border: 0px;
	padding: 0 0 0 0em;
	margin: 0 0 0 0em;
}

#table3 {
	width: 650px;
	border: 0px;
	  margin-left: 1%;
  margin-right: 1%;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
}

td ul, td ul li {
  padding: 0;
	margin-left: 0.5em;
}

.navi_tausta {
	background: 		#0358AF;
	width:				17.5em;
	height:				2.5em;
	padding: 			0 0 0 0;
	margin-top: 		0 0 0 0;
}

.navi_tausta_on {
	background: 		#FFCE38;
	width:				17.5em;
	height:				2.5em;
	padding: 			0 0 0 0;
	margin-top: 		0 0 0 0;
}

a.naviotsikko:link		{font-family: Trebuchet MS, Arial; font-size: 1.1em; color: #FFFFFF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 1em; margin: 0 1em 0 1em; background-color: transparent;}
a.naviotsikko:visited	{font-family: Trebuchet MS, Arial; font-size: 1.1em; color: #FFFFFF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 1em; margin: 0 1em 0 1em; background-color: transparent;}
a.naviotsikko:active	{font-family: Trebuchet MS, Arial; font-size: 1.1em; color: #FFFFFF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 1em; margin: 0 1em 0 1em; background-color: transparent;}
a.naviotsikko:hover		{font-family: Trebuchet MS, Arial; font-size: 1.1em; color: #FFFFFF; font-weight: bold; anti-alias: smooth; text-decoration: underline; padding: 0 0 0 1em; margin: 0 1em 0 1em; background-color: transparent;}

a.naviotsikko2:link		{font-family: Trebuchet MS, Arial; font-size: 1.1em; color: #FFFFFF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 0.4em; margin: 0 1em 0 3em; background-color: transparent;}
a.naviotsikko2:visited	{font-family: Trebuchet MS, Arial; font-size: 1.1em; color: #FFFFFF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 0.4em; margin: 0 1em 0 3em; background-color: transparent;}
a.naviotsikko2:active	{font-family: Trebuchet MS, Arial; font-size: 1.1em; color: #FFFFFF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 0.4em; margin: 0 1em 0 3em; background-color: transparent;}
a.naviotsikko2:hover	{font-family: Trebuchet MS, Arial; font-size: 1.1em; color: #FFFFFF; font-weight: bold; anti-alias: smooth; text-decoration: underline; padding: 0 0 0 0.4em; margin: 0 1em 0 3em; background-color: transparent;}

a.linkki:link		{font-family: Trebuchet MS, Arial; font-size: 0.9em; color: #0358AF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 0; margin: 0 0 0 0; background-color: transparent;}
a.linkki:visited	{font-family: Trebuchet MS, Arial; font-size: 0.9em; color: #0358AF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 0; margin: 0 0 0 0; background-color: transparent;}
a.linkki:active	{font-family: Trebuchet MS, Arial; font-size: 0.9em; color: #0358AF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 0; margin: 0 0 0 0; background-color: transparent;}
a.linkki:hover	{font-family: Trebuchet MS, Arial; font-size: 0.9em; color: #0358AF; font-weight: bold; anti-alias: smooth; text-decoration: none; padding: 0 0 0 0; margin: 0 0 0 0; background-color: transparent;}

p.otsikko {
font-weight: bold;
font-size: 0.8em;
padding: 0.8em 0em 0em 0em; 
margin: 0 0 0 0;
}

.logoshow {
overflow: hidden;
  position: absolute;
  width: 283px;
  height: 174px;
	left: 65%;
  top: 5%;  
	padding: 0;
	margin: 0;
}

.sidenavbar {
  overflow: hidden;
  position: absolute;
  width: 20%;
	left: 8%;
  top: 0%;  
	padding: 0;
	margin: 0;
	margin-top: 0;
	font-size: 0.9em;
	line-height: 1.5;
}

.sidenavbar ul {
	padding: 0;
	margin: 0;
	padding-top: 0.5em;
	font-size: 0.9em;
  list-style-type: none;
}

.sidenavbar ul li {
	padding: 0;
	padding-top: 0.5em;
	margin: 0;
  font-size: 0.9em;
  margin-top: 0.5em;
}


p.center {
  width: 100%;
	text-align: center;
}

p.kuva, p.kuvateksti {
  text-align: center;
}

p.kuvateksti {
  font-size: 0.8em;
}

.right {
  float: right;
  clear: right;
}

.bottomnavbar {
  margin-left: 18%;
  width: 70%;
}

.bottomnavbar p {
  float: left;
  width: 49%;
  text-align: center;
}

.endnote {
  border-top: 1px dotted #000000;
  	margin-bottom: 0%;
	line-height: 0.5;
}

#endnote2 {
  font-size: 1em;
  anti-alias: smooth;
    text-align: center;
  font-weight: bold;
  color: #FFFFFF;
  line-height: 0.5;
  margin-top: 0.5em;
  margin-left: 10em;
    padding: 0.5em;
}

#endnote3 {
  font-size: 0.7em;
  anti-alias: smooth;
    text-align: center;
  font-weight: normal;
  color: #FFFFFF;
  line-height: 0.5;
    margin-left: 10em;
    padding: 0.5em;
}

td {
  border: 1px solid black;
  padding: 0.5em;
}

#td2 {
  border: 0px;
	padding: 0.1em 0.5em 0.1em 0.5em;
	margin: 0em 0em 0em 0em;
}

#td2b {
  border: 0px;
  font-size: 0.2em;
  line-height: 0.2;
	padding: 0.1em 0.5em 0.1em 0.5em;
	margin: 0em 0em 0em 0em;
}

.td2 {
  border: 0px;
	padding: 0.1em 0.5em 0.1em 0.5em;
	margin: 0em 0em 0em 0em;
}

.td2b {
  border: 0px;
  font-size: 0.2em;
  line-height: 0.2;
	padding: 0.1em 0.5em 0.1em 0.5em;
	margin: 0em 0em 0em 0em;
}

th {
  border-bottom: 1px solid black;
  border-right: 1px solid black;  
}

a:link, a:visited {
  color: #FFCE38;
	background-color: transparent;
	text-decoration: underline;
}

a:hover {
  color: #FFCE38;
	background-color: transparent;
	text-decoration: underline;
}

.taulukko {
  padding-right: 1em;
  border-top: 1px dotted blue;
  border-left: 1px dotted blue;
  border-bottom: 2px dotted blue;
  border-right: 2px dotted blue;
}

.taulukko h4 {
  margin-left: 1em;
  font-size: 1.1em;
	font-weight: bolder;
	font-style: normal;  
}

#kriteerit td {
  text-align: left;
}

#kriteerit td.ohje {
  text-align: left;
}
hr{
	display:block;
	background:none;
	border:solid 1px #ddd;
	height:1px;
	border-width:1px 0 0 0;
}

#alatunniste {
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 100%;
}
