body, p, h1, h2, h3, h4, ul, li, table {
	margin: 0;
	padding: 0;
	text-align: left;
}
h1 img {
	display: block;
}
h1 {
  text-align: left;
  font: 16px arial, sans-serif;
  color: #6d6d6d;
  border-bottom: 1px solid #c8c8c8;
  padding-bottom: 3px;
  margin-bottom: 1em;
}
h2 {
  text-align: left;
  font: 16px arial, sans-serif;
  color: #6d6d6d;
  border-bottom: 1px solid #c8c8c8;
  padding-bottom: 3px;
  margin-bottom: 1em;
}
h3 {
  text-align: left;
  font: 13px arial, sans-serif;
  color: #6d6d6d;
  padding-bottom: 3px;
}
img {
	border: 0;
}
a {
	color: #208329;
	text-decoration: none;
}
a:hover {
	color: #000000;
}
.left {
	float: left;
}
.right {
	float: right;
}
.more {
	text-align: right;
}
.clear {
	clear: both;
}
p, table, div { text-align: left; color: #404040; margin: 0; padding: 0; line-height: 1.4;}
body {
	background-position: top center;
	text-align: center;
	font: 12px arial, verdana, sans-serif;
	color: #404040;
	margin: 0;
	padding-bottom: 10px;
	padding-top: 31px;
	line-height: 1.4;
}

/** layout **/
#wrapper {
	text-align: left;
	margin: auto;
	width: 778px;
  position: relative;
  background: #7B8151 url(http://www.ylasavonrasti.net/images/site_bg_repy.jpg) repeat-y;
}

#header {
  background: url(http://www.ylasavonrasti.net/images/header2_mask.jpg) no-repeat;
  position: absolute;
  top: 0;
  left: 243px;
  width: 535px;
  height: 279px; 
}
#left {
  float: left;
  width: 243px;
}
#logo {
  width: 244px;
  height: 152px;
  background: url(http://www.ylasavonrasti.net/images/header_1.jpg) no-repeat;
  text-align: center;
  color: #595959;
}

#navi {
  background: #c8c8c8 bottom right url(http://www.ylasavonrasti.net/images/navi_bottom.gif) no-repeat;
  padding-bottom: 21px;
}
#navi ul {
  margin-left: 0px;
  padding-left: 10px;
  background: url(http://www.ylasavonrasti.net/images/navi_bg.jpg) repeat-y;
}
#navi li {
  list-style: none;
  font: 10px verdana, sans-serif;
  border-top: 1px solid #d5d5d5;
  padding: 7px 0 0 20px;
}
#navi a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 4px 0 9px 0px;
}
#navi a:hover {
  text-decoration: none;
  color: #404040;
}
#navi .normal {
  background: url(http://www.ylasavonrasti.net/images/navi_1_middle.gif) repeat-y;
}

#navi .normal a:hover {
  text-decoration: none;
  color: #404040;
}

#navi .sel {
  background: 0% 0% url(http://www.ylasavonrasti.net/images/navi_selected_top.gif) repeat-y;
}
#navi .sel a {
  color: #FFFFFF;
}

#navi .subnormal {
  background: url(http://www.ylasavonrasti.net/images/navi_3.gif) repeat-y;
}
#navi .subnormal a {
  color: #FFFFFF;
}

#navi .subsel {
  background: url(http://www.ylasavonrasti.net/images/navi_2_middle.gif) repeat-y;
}
#navi .subsel a {
  color: #FFFFFF;
}

#imageLinks {
  background: url(http://www.ylasavonrasti.net/images/navi_bg.jpg) repeat-y;
  padding: 20px 22px 30px 26px;
  vertical-align: top;
  height: 100%;
}

#ajankohtaista {
  padding: 20px 22px 30px 30px;
  vertical-align: top;
  height: 100%;
  border-bottom: 1px solid #c8c8c8;
}
#haku
{
background: url(http://www.ylasavonrasti.net/images/navi_bg.jpg) repeat-y;
	padding: 10px 0 10px 20px;
}
#content {
  float: left;
  width: 470px;
  padding-top: 300px;
  padding-bottom: 30px;
  padding-left: 30px;
  padding-right: 20px;
  height: auto;
  line-height: 1.4;
  vertical-align: top;
}

#corp, #indu {
  float: left;
  width: 49%;
}
#corp {
  margin-right: 1%;
}
#corp-img, #indu-img {
  background: url(http://www.ylasavonrasti.net/images/pic_2.jpg) no-repeat;
  width: 112px;
  height: 23px;
  float: left;
  margin-right: 18px;
  text-align: center;
  padding-top: 90px;
  font-size: 9px;
  font-weight: bold;
}
#indu-img {
  background: url(http://www.ylasavonrasti.net/images/pic_3.jpg) no-repeat;
}

#footer {
  background: url(http://www.ylasavonrasti.net/images/body_bg.gif) repeat-y;
}
#bottomcontent {
  text-align: left;
  background-color: #c8c8c8;
  margin: 0px 9px 20px 9px;
  padding: 10px 0px 10px 30px;
  font-size: 9px;
  color: #FFFFFF;
  font-weight: bold;
}
#bottomcontent a {
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
}
#footerline{
	background: url(http://www.ylasavonrasti.net/images/footerline.gif) no-repeat;
	height:10px;
	margin-top:0px;
	display:block;
	font-size:1px;
}

.henkilosto
{
	float: left;
	font-size: 10px;
	padding-bottom: 10px;
	width: 117px;
	text-align: center;
}
.muuhenkilosto
{
	float: left;
	font-size: 10px;
	padding-bottom: 10px;
	width: 155px;
	text-align: center;
}
.imghenkilosto
{
	border: 1px solid #999999;
	margin-bottom: 7px;
}
.tuotteetF
{
	float: left;
	width: 465px;
	padding-top: 0px;
	padding-bottom: 8px;
	background: url(http://www.ylasavonrasti.net/images/product_separator.gif) no-repeat;
	background-position: 100% 100%;
}
.tuotteet
{
	float: left;
	width: 465px;
	padding-top: 10px;
	padding-bottom: 8px;
	background: url(http://www.ylasavonrasti.net/images/product_separator.gif) no-repeat;
	background-position: 100% 100%;
}
.tuotteetHidden
{
	float: left;
	width: 465px;
	padding-top: 10px;
	padding-bottom: 8px;
	background: url(http://www.ylasavonrasti.net/images/product_separator.gif) no-repeat;
	background-position: 100% 100%;
	filter:alpha(opacity=50);
	-moz-opacity:.50;
	opacity:.50;	
}
.tuotekuvaus
{
	float: left;
	width: 240px;
	padding-bottom: 10px;
}
.tuotekuva
{
	float: left;
	padding-left: 8px;
	padding-right: 5px;
}
.tuotehinta
{
	float: right;
	font-size: 22px;
	padding-bottom: 10px;
}
.tarjoustuotteet
{
	float: left;
	width: 210px;
	padding-right: 20px;
	padding-bottom: 8px;
}
.tarjoushinta
{
	font-weight: bold;
	font-size: 16px;
	color: #BF3100;
}
.imgtarjoustuote
{
	padding-top: 7px;
	padding-bottom: 7px;
}
label
{
	float: left;
	padding-top: 5px;
	width: 100px;	
}
div.input
{
	float: left;
	padding-top: 5px;	
}
.palauteform
{
	width: 425px;
}
.info
{
	color: #BF3100;
	padding-left: 5px;
}
.green
{
	color: #4AA147;	
}
.adminLink
{
	color: red;
}
.adminLink:hover
{
	color: green;
}
.vieraskirjaKirjoittaja
{
	width: 70%;
}
.vieraskirjaPvm
{
	text-align: right;
}
.vieraskirjaViesti
{
	padding: 5px 0 0 0;
}
.vieraskirjaSeparator
{
	height: 1px;
	border-bottom: 1px solid #c8c8c8;
	margin:  15px 0 15px 0;
}
.sivumuokkaus {
  float: left;
  height: 50px;
  width: 100%;
  vertical-align: top;
}