/* Basic elements */

html {
	margin: 0;
	padding: 0;
}

body {
	background: #cccccc url('back.gif') repeat-x; 
	margin: 0;
}

div {
    font: normal 9pt Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
	line-height: 16pt;
	margin: 0;
	overflow: hidden;
}

p {
	margin: 0;
	padding-bottom:10px;
}

a {
	color: #71AADC;
  font-weight: bold;
	text-decoration: none;
	border-style: none;
}

a img { border: 0px; }
a img:hover { border: 0px; }

a.sel { 
	color: #ff4c05; 
}

a.white { 
	color: #ffffff; 
}

a:hover {
	color: #f68924;
	text-decoration: none;
}

a.sel:hover { 
	color: #f68924;
}

a.white:hover { 
	color: #f68924;
}

.c {
text-align: center;
}

.l {
text-align: left;
}

.r {
text-align: right;
}

.fl {
  float: left;
  margin: 10px 10px 10px 0;
}

/* Table and list elements */

.small { font-size: 8pt; }

.red { color: #c22035; font-weight: bold; }

form {
	padding: 0;
	margin: 0;
}

input { font-size: 8pt }

ul {
  padding: 0px 0px 10px 20px;
  margin: 0;
  text-align: left;
}

ol {
  padding: 10px 0px 10px 20px;
  margin: 0;
  text-align: left;
}

ul li {
	padding-bottom: 5px;
}

ol li {
	padding-bottom: 5px;
}

.contactleft {
	float: left;
	width: 130px;
	padding: 10px 10px 0px 0px;
}

.contactright {
	float: left;
	width: 230px;
	padding: 10px 0px 0px 0px;
}

/* Headings */

h1 {
	font: normal 14pt Verdana, Arial, Helvetica, sans-serif;
	color: #434343;
	margin: 0;
	padding: 5px 0px 20px 0px;
}

h2 {
	font: bold 12pt Verdana, arial, Helvetica, sans-serif;
	color: #434343;
	margin: 0;
	padding: 10px 0px 10px 0px;
}

h3 {
	font: italic 11pt Arial, Helvetica, sans-serif;
	color: #000000;
	margin: 0;
	padding-bottom: 10px;
}

h4 {
	font: bold 11pt Arial, Helvetica, sans-serif;
	color: #434343;
	margin: 0;
	padding: 5px 0px 10px 0px;
}

h4.thin {
	font-weight: normal;	
}
	
/* Structure elements */

#body {
	width: 900px;
	height: 700px;
    margin: 0 auto;
    padding: 0px 20px 0px 20px;
  	background: url('taustakuva.gif') no-repeat;
}

#header {
	width: 900px;
	height: 78px;
}

#footer {
	width: 900px;
	border-top: 1px solid white;
	text-align: center;	
	font: normal 9pt Verdana, Arial, Helvetica, sans-serif;
	color: #ffffff;

}

.box {
	margin-top: 20px;
}

/* Left column elements*/

#leftbar {
	float: left;
	width: 200px;
}

#lefttop {
	float: none;
	width: 200px;
	height: 15px;
	background: url('gfx/left_top.gif') top left;
}

#leftbottom {
	float: none;
	width: 200px;
	height: 15px;
	background: url('gfx/left_bottom.gif') top left;
}

#lefttext {
	text-align: center;
	width: 160px;
    height: 160px;
	padding: 5px 20px 5px 20px;
	background: #ffffff;
}

#leftnews {
	text-align: left;
	width: 160px;
    height: 160px;
	padding: 5px 20px 5px 20px;
	background: #ffffff;
}

#leftnews a {
	display: block;
    font: bold 10pt Verdana, Arial, Helvetica, sans-serif; 
	padding-bottom: 10px;
}
	
/* Main column elements*/

#midbar {
	float: left;
	width: 410px;
	padding: 20px;
}

#widetop {
	width: 410px;
	height: 15px;
	background: url('gfx/wide_top.gif') top left;
}

#widebottom {
	width: 410px;
	height: 15px;
	background: url('gfx/wide_bottom.gif') top left;
}

.mainhalf {
	float: left;
	width: 165px;
	padding: 0px 10px 0px 10px;
}

.asiakas {
	float: left;
	text-align: center;
	padding: 10px 0px 10px 0px;
	width: 162px;
  height: 55px;
}

p.ref {
	margin: 0;
  line-height: 12px;
	padding-bottom:13px;
}

/*
a img {
	border: 1px solid #FFFFFF;
}

a:hover img {
	border: 1px solid #f68924;
}*/

#maintext {
	padding: 5px 20px 5px 20px;
	width: 370px;
	height: 430px;
    background: #ffffff;
}

#newsbar {
	text-align: right;
	padding: 5px 20px 0px 20px;
	width: 370px;
	height: 20px;
    background: #ffffff;	
}

#newsmaintext {
	padding: 5px 20px 5px 20px;
	width: 370px;
	height: 405px;
    background: #ffffff;
}

#newsbar a {
	float: right;
	padding-left: 30px;
    font: bold 10pt Verdana, Arial, Helvetica, sans-serif; 
}

/* Right column elements*/

#rightbar {
	float: left;
	width: 250px;
}
	
#righttop {
	width: 250px;
	height: 15px;
	background: url('gfx/right_top.gif') top left;
}

#rightbottom {
	width: 250px;
	height: 15px;
	background: url('gfx/right_bottom.gif') top left;
}

#righttext {
	width: 210px;
	height: 160px;
	padding: 5px 20px 5px 20px;
	background: #ffffff url('gfx/palikka.jpg') no-repeat bottom right;
}

#imagebox {
	width:250px;
	height: 250px;
	margin-top: 20px;
}

a.asiantuntija {
	width: 250px;
	height: 45px;
	background: url('gfx/asiantuntijatieto.gif') top left;
	margin-bottom: 10px;
	cursor: pointer;
	display: block;
}

a.asiantuntija:hover {
	background: url('gfx/asiantuntijatietoh.gif') top left;
}

a.interventio {
	width: 250px;
	height: 60px;
	background: url('gfx/interventio.gif') top left;
	cursor: pointer;
	display: block;
}

a.interventio:hover {
	background: url('gfx/interventioh.gif') top left;
}

a.seuranta {
	width: 250px;
	height: 45px;
	background: url('gfx/jatkuva.gif') top left;
	cursor: pointer;
	margin-top: 10px;
	display: block;
}

a.seuranta:hover {
	background: url('gfx/jatkuvah.gif') top left;
}

/* Navigation elements */

#navi {
	width: 900px;
	height: 21px;
}

#navi a {
	padding-right: 30px;
    font: bold 10pt Verdana, Arial, Helvetica, sans-serif;
}

#navi2 {
	width: 200px;
	height: 155px;
	padding: 25px 0px 20px 0px;
}

#navi2 a {
	display: block;
	padding-top: 15px;
    font: bold 10pt Verdana, Arial, Helvetica, sans-serif; 
}

#navi3 {
	width: 200px;
	height: 70px;
}

#navi3 a {
	display: block;
	padding-top: 15px;
    font: bold 10pt Verdana, Arial, Helvetica, sans-serif; 
}

