html {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	font-family: verdana,arial,sans-serif;
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: #29363d;
	height: 100%;
}

#header {
	border-top: solid #175c8f 4px;
	padding-left: 0.5em;
	background-color: #f2f1f1;
	padding-top: 10px;
}

h1 {
	color: #175c8f;
	font-weight: normal;
}

h2 {
	color: #175c8f;
	font-weight: normal;
}

input.kentta, textarea.kentta {
	border: solid 1px #cbc9c9;
}

input.nappi {
	color: white;
	font-weight: bold;
	background: url(template/nappitausta.gif);
	height: 20px;
	border: solid 1px grey;
	margin: 2px;
}

#navibar {
	margin-top: 10px;
	border-bottom: solid #ddd 1px;
	background-color: #f2f1f1;
}

#navibar a {
	color: #717271;
	font-weight: bold;
	text-decoration: none;
}

#navibar .valilehtilinkki {
	position: relative;
	display:inline;
	background-image: url("template/kesk.gif");
	background-repeat: repeat-x;
	color: white;
	font-weight: bold;
	padding-top: 3px;
	padding-bottom: 4px;
	top: -7px; 
}

#navibar .valilehtilinkki2 {
	background-image: url("template/kesk.gif");
	background-repeat: repeat-x;
}

#navibar .valilehtilinkki2 a {
	color: white;
	font-weight: bold;
}

#navibar img {
	display: inline;
	margin: 0;
	padding: 0;
	border: none;
}

#navibar .seperator {
	color: #88c3a3;
}

#wrapper {
	width: 950px;
}

#fullwrap {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0px 0px -4em 0px;
	padding: 0px;
}

#sidebar {
	float:left;
	margin: 10px 10px 10px 10px;
	width: 190px;
	display: block;
}
#sidebar ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
#sidebar li.link a:link, #sidebar li.link a:visited {
	font-size: 90%;
	display: block;
	padding: 0.4em 0 0.4em 0.5em;
	color: #175c8f;
	text-decoration: none;
	border-bottom: 1px solid #c9c3c5;
	font-weight: bold;
}
#sidebar ul li.linkactive a:link, #sidebar ul li.linkactive a:visited {
	font-size: 90%;
	display: block;
	padding: 0.4em 0 0.4em 0.5em;
	color: #175c8f;
	text-decoration: none;
	border-bottom: 1px solid #c9c3c5;
	font-weight: bold;
	background-color: #e7e6e6;
}
#sidebar li a:hover {
	color: #175c8f;
}
#sidebar ul ul li.link a:link, #sidebar ul ul li.link a:visited, #sidebar ul ul li.linkactive a:link, #sidebar ul ul li.linkactive a:visited {
	color: #175c8f;
	font-weight: normal;
	text-transform: none;
	/*background-color: white; tama pois niin ei ole kaikki kun valitsee paakategorian*/
}

#sidebar ul ul li.linkactive a:link, #sidebar ul ul li.linkactive a:visited {
	color: #175c8f;
	font-weight: normal;
	text-transform: none;
	background-color: #e7e6e6;
}

#sidebar ul ul a:hover {
	color: #175c8f;
}

#content {
	width: 730px;
	float:right;
	margin-bottom: 1em;
	margin-top: 8px;
	display: block;
}

#footer {
	clear: both;
	padding-left: 3em;
	background-color: #175c8f;
	border-bottom: solid 1em #175c8f;
	border-top: solid 1em #175c8f;
	color: white;
	font-size: 7.5pt;
	display: block;
	height: 3em;
}

#push {
	height: 3em;
}

A:link, A:visited {
	color: #005095;
	text-decoration: none;
}

A:hover {
	color: #005095;
	text-decoration: underline;
}

img {
	border: none;
}

.pyorealaatikko {
	width: 700px;
	background: #ebebeb url(template/l.gif) repeat-y left top;
}
.pyorealaatikko .top {
	width: 100%;
	height: 6px;
	background: url(template/rt.gif) no-repeat right top;
}
.pyorealaatikko .top span {
	display: block;
	position: relative;
	height: 6px;
	background: url(template/lt.gif) no-repeat left top;
}
.pyorealaatikko .sisalto {
	position: relative;
	background: url(template/r.gif) repeat-y right top;
	padding: 6px 6px 1px 10px;
	min-height: 110px;
	margin: -1px 0 -1px 0;
}
.pyorealaatikko .bottom {
	clear: both;
	height: 6px;
	background: url(template/rb.gif) no-repeat right bottom;
}
.pyorealaatikko .bottom span {
	display: block;
	position: relative;
	height: 6px;
	background: url(template/lb.gif) no-repeat left bottom;
}

table.ilmoitusinfo {
	border-collapse: collapse;
	margin-top: 1em;
	margin-left: 10px;
}
table.ilmoitusinfo td {
	border: none;
	padding: 5px 0px 5px 0px;
}

.huomautukset {
	color: #175c8f;
}

.infobox {
	width: 50%;
	margin-left: auto;
	margin-right:auto;
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 1em;
	border: solid 1px #555;
	background-color: #efefef;
	text-align: center;
	font-weight: bold;
}

.perussininen {
	color: #175c8f;
}
  
.pakollisetkentat {
	float: right;
	line-height: 5em;
	margin-right: 6em;
}

.yllapitolaatikko {
	border: solid 1px #999;
	padding: 2px 5px 2px 5px;
	margin: 1em 0em 0em 0em;
}

table.listataulu {
	width: 100%;
}

.tauluotsikko, .tauluotsikko a {
	font-weight: bold;
 	background-color: #175c8f;
	color: white;
}

td.otsikko {
	width: 300px;
}

td.ilmoitettu {
	width: 80px;
}

td.kategoria {
	width: 360px;
}

.tauluotsikko td {
	padding: 0em 2em 0em 2em;
	text-align: center;
}

tr.odd {
	background-color: #eee;
}

