* {
	margin: 0px;
	padding: 0px;
}

body {
	background: #333 url("../kuvat/bg.gif") repeat;
	text-align: center;
	color: #333;
	margin-top: 40px;
	font-family: Arial;
	font-size: 0.8em;
}

a {
	color: #666;
	text-decoration: none;
}

a:hover {
	color: #ccc;
}

#logo {
	background: #000 url("../kuvat/toplogo.png") no-repeat;
	height: 65px;
	width: 744px; margin-left: auto; margin-right: auto;
}	

#header {
	width: 724px;
	height: 192px;
	background: #000 url("../kuvat/topkuva02.jpg") no-repeat;
	background-position: top right;
}

#header1 {
	width: 724px;
	height: 192px;
	background: #000 url("../kuvat/topkuva01.jpg") no-repeat;
	background-position: top right;
}

#header2 {
	width: 724px;
	height: 192px;
	background: #000 url("../kuvat/topkuva03.jpg") no-repeat;
	background-position: top right;
}

#header3 {
	width: 724px;
	height: 192px;
	background: #000 url("../kuvat/topkuva04.jpg") no-repeat;
	background-position: top right;
}

#header4 {
	width: 724px;
	height: 192px;
	background: #000 url("../kuvat/topkuva05.jpg") no-repeat;
	background-position: top right;
}

#wrapper {
	width: 724px;
	background-color: #FFD800;
	border: 10px solid #FFD800;
	margin: 0 auto;
	text-align: left;
	z-index: 1;
}

#side {
	width: 190px;
	background-color: #000;
	margin: 1px 1px 1px 0;
	float: left;

	color: #fff;
}

#clear {
	clear: both;
}

#sivukartta ul {
	padding-left: 30px;
}

#sivukartta a.sub1 {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}

#sivukartta a.sub1:hover {
	color: #000000;
	text-decoration: underline;
}

#sivukartta a.sub2 {
	color: #000000;
	text-decoration: none;
}

#sivukartta a.sub2:hover {
	color: #000000;
	text-decoration: underline;
}

h1 {
	width: 180px;
	background-color: #333;
	margin: 0px 0px 0px 0px;
	float: left;
	color: #fff;
	cursor: default;
	border-bottom: 1px solid #FFD800;
	font-family: Arial;
	font-size: 1.2em;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 10px;
}

h1:first-letter {
	color: #f00;
	text-decoration: underline;
}

h2 {
	width: 523px;
	background-color: #333;
	float: left;
	padding-left: 10px;
	color: #fff;
	margin-top: 1px;
	font-family: Arial;
	font-size: 1.2em;
	padding-top: 2px;
	padding-bottom: 2px;
}

h3 {
	color: #C56B29;
	font-weight: bold;
	font-size: 1.4em;

	padding-bottom: 2px;
	margin-top: 4px;
}

h4 {
	font-weight: bold;
	font-size: 1em;
	
	border-bottom: 1px dashed black;
	margin-top: 2px;
	margin-bottom: 2px;
}


#nav {
	list-style: none;
	z-index: 2;
	border-right: 1px solid #FFD800;
	height: 192px;
	width: 190px;
}

#nav li a {
	color: #fff;
	display: block;
	width: 180px;
	background-color: #000;
	border-bottom: 1px solid #FFD800;
	padding-left: 10px;
	text-decoration: none;
	padding-top: 2px;
	padding-bottom: 2px;
}

#nav li a:hover {
	background-color: #ff0000;
}

#sidemenu {
	padding: 10px;
}

#sidemenu ul {
	list-style: none;
}

#sidemenu a.main {
	color: #999;
	font-weight: bold;
}

#sidemenu a.main:hover {
	color: #666;
	font-weight: bold;
}

#sidemenu a.logout {
	color: #ff0000;
	font-weight: bold;
}

#sidemenu a.logout:hover {
	color: #666;
	font-weight: bold;
}

ul.sidesub {
	padding-left: 15px;
}

#sidemenu a.sub {
	color: #999;
}

#sidemenu a.sub:hover {
	color: #666;
}

img {
	border: none;
}

img.left {
	float: left;
	padding-right: 10px;
}

img.right {
	float: right;
	padding-left: 10px;
}

a:hover img {
	border-color: #f00;
}

#content {
	float: left;
	width: 500px;
	margin: 10px 0 0 10px;
	z-index: 1;
}

p {

	padding: 2px 4px 4px 0px;
	margin: 2px;
}

p.kuvateksti {
	font-size: 0.8em;
}

#footer {
	clear: both;
	width: 400px;
	margin-left: 163px;
}

#sidemenu {
	clear: left;
}

#poll {
	padding-left: 4px;
}

#haku {
	padding-left: 4px;
}

.small {
	font-size: 0.85em;
}

td.viiva {
	border-bottom: 1px dashed black; 
}

td.bold {
	font-weight: bold;
	width: 20%;
}

td.bold2 {
	font-weight: bold;
	width: 25%;
}

img.tuotethumb {
	border: 2px solid black;
}

img.tuotethumb:hover {
	border: 2px solid red;
}

img.kartta {
	margin-left: 30px;
}

table.tekntiedot {
	width: 100%;
	clear: right;
}

table.tekntiedot2 {
	width: 60%;
	clear: right;
}

table.ajoneuvot {
	width: 100%;
	text-align: center;
	clear: both;
}

.tekntiedot td { padding: 1px; }
.tekntiedot2 td { padding: 1px; }

.info { width: 100%; }
.info td { padding: 1px; }
.info td.t1 { text-align: right; }
.info td.t2 { text-align: right; }

a.norm {
	color: #9F0002;
	font-weight: bold;
}

a.norm:hover {
	color: #9F0002;
	font-weight: bold;
	text-decoration: underline;
}

ul.norm {
	padding-left: 30px;
	padding-top: 4px;
	padding-bottom: 4px;
}

ol {
	padding-left: 30px;
	padding-top: 4px;
	padding-bottom: 4px;
}

table.kisa {
	width: 100%;
	margin-left: 6px;
}

td.head {
	border-bottom: 1px solid black;
	font-weight: bold;
}

td.center {
	text-align: center;
}

td.right {
	text-align: right;
}

.new {
	color: #ff0000;
	font-weight: bold;
}

p.error {

	color: #ff0000;
	font-weight: bold;
}