body, html {
	margin:0px;
	padding: 0px;
background-color: #5a9ee9;
}

#master {
	
background-color: #5a9ee9;

}

#body_frame {

	background:#ffffff url(images/bg.gif) repeat-x left top;
	width: 100%;
	text-align: center;
	background-color: #ffffff;
}

#wrap {
	margin:0 auto;
	width:900px;
	text-align: left;
	}


#header {
	/*background-image: url(images/main.jpg);*/
	height: 293px;
	position: relative;
	
	}
#header #ikonit {
	border:none;
	behavior: url(iepngfix.htc);
}
#header #ikonit span {
	
	margin-left: 9px;
}
#header #ikonit span .slideping {

	filter: progid:DXImageTransform.Microsoft.Fade(slidestyle='HIDE');
	behavior: url(iepngfix.htc);
	
}

div { behavior: url(iepngfix.htc); }
#terveyslogo { behavior: url(iepngfix.htc); }

#navi {
	position: relative;
	top: 0px;

	text-align: center;
}
#navi a {
	font-family: Trebuchet MS, Verdana, Arial, sans-serif;
	color: #186b24;
	text-decoration: none;
	font-weight: 500;
	margin-right: 42px;
}
#navi a:hover, #navi .aktif { color: #ce1818; }




/* ALIVALIKKO */
#sidebar {
	float: left;
	display: inline;
	width:190px;
	line-height: 21px;
	margin: 0;
	padding: 55px 0 0 35px;
}#sidebar #dbl { margin: 0; padding: 0; position: relative; top: -48px;}
#sidebar .sublink {
	background-image: url(images/sublink.gif);
	width: 155px;
	height: 21px;
	padding: 1px 0 0 10px;
	margin: 3px 0 0 0;
}
#sidebar .sublink:hover, #sidebar .aktif{
	background-image: url(images/sublink_h.gif);
	width: 155px;
	height: 21px;
	padding: 1px 0 0 10px;
	margin: 3px 0 0 0;
	cursor: hand;
}

#sidebar #dbl #float {

width: 155px;
}

#sidebar .sublisa {
	background-image: url(images/sublink_h_v.gif);
	background-repeat: no-repeat;
	background-color: #929292;
	width: 145px;
	height: 21px;
	padding: 1px 0px 0 20px;
	margin: 3px 0 0 0;
}
#sidebar .sublisa:hover, #sidebar .subaktif {
	background-image: url(images/sublink_h_v_a.gif);
	background-repeat: no-repeat;
	background-color: #6c6c6c;
	width: 145px;
	height: 21px;
	padding: 1px 0px 0 20px;
	margin: 3px 0 0 0;
	cursor: hand;
}
#sidebar a {
	font-family: Trebuchet MS, Verdana, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
}
#sidebar a {  }
#sidebar #float a { font-size: 13px; }


#main {
	float:right;
	display: inline;
	width:655px;
	position: relative;
	left: -20px;
}
#main #dbl, #sidebar #dbl {
	margin: 0;
	padding: 0;
}
#main p {
	/*width: 580px; /* YHTEEN Footer kappaleen kanssa */
	
}
#main img {

	border: 1px solid #777777;
	padding: 4px;
	margin: 8px;
}
#main hr {
	background-image: url(images/hr.gif);
	background-repeat: repeat-x;
	height: 3px;
	border-style: none;
	
}


#frap {
	width: 100%;
	height: 300px;
	background-image: url(images/fbg.gif);
	background-repeat: repeat;
}


#footer {
	font-family: Trebuchet MS, Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #ffffff;
	background-image: url(images/fbg.gif);
	height: 300px;
	width: 900px;
	margin: 0 auto;
	padding: 0px;
	position: relative;
	
}
#footer #info {
	behavior: url(iepngfix.htc);

	margin: 12px 0 0 52px;
	float: left;
	display: inline;
	line-height: 14px;
}
#footer #teksti {
	float: right;
	display: inline;
	width: 677px;
	margin-top: 37px;
}
#footer #teksti p {
	margin-top: 5px;
	font-size: 12px;
	color: #ffffff;
	width: 450px;
}
#footer #opm {
	position: absolute;
	top: 20px;
	left: 690px;
}
#footer #opm p { text-align: center; color: #ffffff;  }

#bottom { 
	background-image: url(images/bottom.gif);
	background-color: #5a9ee9;
	background-repeat: repeat;
	background-attachment: fixed;
	background-position: bottom;
	margin-bottom: 0;
	height: 100%;
}





p, li {
	font-family: Trebuchet MS, Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #575757;
	line-height: 18px;
	margin: 20px;
}
li { line-height: 0px; }
h1 {
	font-family: Trebuchet MS, Verdana, Arial, sans-serif; 
	font-size: 18pt;
	color: #186b24;
	font-weight: 100;
	line-height: 24pt;
	margin: 0 0 0 20px;
}
h2 {
	font-family: Trebuchet MS, Verdana, Arial, sans-serif;
	font-size: 14pt;
	color: #186b24;
	line-height: 18pt;
	margin-left: 20px;
}
h3 {}

a { color: green; }

div { behavior: url(iepngfix.htc); }

#clear { clear: both; }



td, th { 
text-align: center;
font-family: Trebuchet MS, Verdana, Arial, sans-serif;
font-size: 12px;
color: #575757;
}
th { font-weight: bold; }
input, textarea, select {
	font-family: Trebuchet MS, Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #575757;
}

#paihdekysely td { text-align: left; margin: 0 0 0 5px; vertical-align: top;}
#paihdekysely .ots { text-align: center; vertical-align: middle; }
