body {
	text-align: center;
	background: url('layout/line.jpg') top left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #000000;
	margin-top: 0px;
	margin-bottom: 10px
}

/* div styles */

#cont {
	margin:0px auto; text-align: left;
	width: 872px;
	height: 100%;
	min-height: 774px;
	background: url('layout/contbg.jpg') no-repeat top left;
}

#left {
	width: 235px;
	height: 100%;
	position: relative;
	float: left;
}

#right{
	width: 625px;
	height: 100%;
	position: relative;
	float: right;
}

#farright{
	width: 534px;
	height: 100%;
}

#box {
	width: 211px;
	height: 100%;
	position: relative;
	float: right;
}

#boxleft {
	width: 80px;
	padding-left: 10px;
	font-weight: bold;
	font-size: 8pt;
	font-color: #333333;
	position: relative;
	float: left;
}

#boxright {
	width: 121px;
	font-weight: bold;
	font-size: 8pt;
	position: relative;
	float: right;
}

#table_left {
	width: 235px;
	height: 100%;
}


#table_right {
	width: 534px;
	height: 100%;
	background: #fdf3d4 url('layout/tbbg.jpg') no-repeat top;
	
}

td#td1 {
	width: 235px;
	height: 100%;
	background: url('layout/td1.jpg') no-repeat top;
	
}

td.upnavi {
	width: 98px;
	height: 143px;
	vertical-align: bottom;	
	padding-left: 5px;
}

td.navi {
	width: 98px;
	height: 19px;
	background-color: #ffcc33;
	vertical-align: bottom;	
	padding-left: 5px;
}

td.naviact {
	width: 98px;
	height: 19px;
	background-color: #ff3366;
	vertical-align: bottom;	
	padding-left: 5px;	
}

#table_tx {
	width: 430px;
}

td#txleft {
	width: 100px;
	vertical-align: top;
}

td#txright {
	width: 330px;
	vertical-align: top;
}

td#txleft2 {
	width: 210px;
	vertical-align: top;
	text-align: left;
}

td#txright2 {
	width: 210px;
	vertical-align: top;
}

td#txleft3 {
	width: 110px;
	vertical-align: top;
	text-align: left;
}

td#txright3 {
	width: 320px;
	vertical-align: top;
}

.pagetitle {
	width: 534px;
	height: 127px;
	vertical-align: bottom;
	padding-left: 20px;
}

#ind {
	background: url('layout/etusivu.jpg') no-repeat top;
}

#yritys {
	background: url('layout/yritys.jpg') no-repeat top;
}

#tarkastus {
	background: url('layout/tarkastus.jpg') no-repeat top;
}

#lasit {
	background: url('layout/lasit.jpg') no-repeat top;
}

#piilo {
	background: url('layout/piilolasit.jpg') no-repeat top;
}

#aurinko {
	background: url('layout/aurinkolasit.jpg') no-repeat top;
}

#ajan {
	background: url('layout/ajankohtaista.jpg') no-repeat top;
}

#text {
	width: 534px;
	height: 100%;
	padding: 20px 40px;
}

#poistetaanko {
	background-color: #ffffff;
	filter: alpha(opacity=50);
	-moz-opacity:.50;
	opacity:.50;
}

#login {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	width: 840px;
	height: 610px;
	background: url('layout/login.jpg') no-repeat top;
}

#logform {
	margin-right: auto;
	margin-left: 345px;
	width: 150px;
	height: 120px;
	text-align: left;
	padding-top: 250px;
}

/* misc styles */

span {
	line-height: 140%;
	text-align: bottom;
}

span a {
	font-weight
}


img {
	border: 0px;
}

h1 {
	font-size: 1.1em;
	font-weight: bold;
	color: #333333;
	margin-bottom: 5px;
}

.pink {
	color:#ff3366;
	font-weight: bold;
	padding-left: 10px;
}

p.center {
	text-align: center;
	font-weight: bold;
	font-size: 8pt;
}

p.right {
	text-align:right;
	padding-right: 10px;
}

p.smallpink{
	margin-top: 5px;
	margin-bottom: 5px;
	color:#ff3366;
	font-weight: bold;
	padding-left: 10px;
}

p.varattu{
	margin-top: 0px;
	margin-bottom: 0px;
	color:#ff3366;
	font-weight: bold;
}

p.loginit {
	font-size: 9pt;
	font-weight: normal;
	line-height: 150%;
}

.news {
	font-size: 9pt;
	padding-left: 10px;
}

p#marginsmall {
	margin-top: -10px;
}

table {
	border: 0px;
}

/* link styles */

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

a.act {
	color: #ff3366;
	font-size: 9pt;
}

a.navia {
	font-weight: normal;
}

a.naviact {
	font-weight: normal;
	color:#ff3366;
}

a.navia:hover {
	font-weight: normal;
	color:#ff3366;
}

a.underline {
	font-weight: normal;
	text-decoration: none;
	color: #000000;	
}

a.underline:hover {
	font-weight: normal;
	text-decoration: underline;
	color: #000000;
}

a#pink {
	color:#ff3366;
}

a#pink:hover {
	color:#333333;
}

/* button styles */

.webbutton {
	font-size: 8pt;
	font-family : Arial, Helvetica, sans-serif;
	background : transparent;
	color : #ff3366;
	font-weight: bold;
	border: 0px;
	cursor: hand;
	cursor: pointer;
}

>html>body .webbutton { 
	cursor: pointer; 
}

.button {
	font-size: 1.0em;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	background : #66cc00;
	color : #ffffff;
	border: 1px solid #66cc00;
}

.buttonpale {
	font-size: 1.0em;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	background : #ffffff;
	color : #000000;
}


th {background-color:transparent;
border-width:0; border-color:#333333; vertical-align:bottom}

td.blue {background-color:#ff3366}
td.red  {background-color:transparent; border-width:0}
td.green {background-color:#ff3366}
td.white {background-color:#FFFFFF}

font.calendarHighlight {color:#ff3366}

td.highlight {border:1px solid #ff3366; background-color:#ff3366; } /* The highlighted cell under the cursor */
.naked { margin: 0; padding: 0; border-width:0} /* Invisible tables used for internal needs */
