* {
	margin: 0;
	padding: 0;
}
body {
	font-family: Verdana, sans-serif;
	font-size: small;
	text-align: center;
	background-color: #f9f9f9;
	color: #404040;
}
div, p, img, a, td, ul, ol {
	font-size: 1em;
}
h1, h2, h3, h4 {
	font-family: Verdana, sans-serif;
	font-weight: bold;
	margin: 0.0em 0 0.5em 0;
	letter-spacing: 0.07em;
	color: #404040;
}
h1 { font-size: 160% }
h2 { font-size: 160%; }
h3 { font-size: 145%; }
h4 { font-size: 118%; letter-spacing: .15em }

p {
	padding: 0 0 1em 0;
	line-height: 1.2em; 
}

a, a:link { 
	text-decoration: none;
	color: #0068b2;
}
a:visited { color: #0068b2; }
a:hover   { color: #0068b2; text-decoration: underline; }
a:active  { color: #0068b2; }


a img, img {
	border: none;
}

ul {
	margin: 0 0 20px 1.3em;
	list-style-type: disc;
}
ul ul {
	margin-bottom: 0;
}
li {
	margin-bottom: 3px;
}

#shadowleft,
#shadowright {
	width: 1007px;
	margin: 0 auto;
	text-align: center;
}
#shadowleft { background: url('images/shadow_left_middle.jpg') repeat-y top left; }
#shadowright { background: url('images/shadow_right_middle.jpg') repeat-y top right; position: relative; }

#page {
	width: 971px;
	margin: 0 auto;
	text-align: left;
	background-color: white;
	position: relative;
}

#shadow_lt,
#shadow_lb,
#shadow_rt,
#shadow_rb { position: absolute; width: 18px; height: 220px; }

#shadow_lt { top:    0; left:  0; background: url('images/shadow_left_top.jpg') no-repeat top left; }
#shadow_lb { bottom: 0; left:  0; background: url('images/shadow_left_bottom.jpg') no-repeat top left; }
#shadow_rt { top:    0; right: 0; background: url('images/shadow_right_top.jpg') no-repeat top left; }
#shadow_rb { bottom: 0; right: 0; background: url('images/shadow_right_bottom.jpg') no-repeat top left; }

#header {
	position: relative;
	height: 110px;
}
h1 {
	margin: 0.0em 0 0.4em 0.0em;
}
h1 a, h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {
	color: #76973c;
	letter-spacing: 0;
	text-decoration: none;
}
#header h1 {
	margin: 38px 0 0 0;
	padding: 0;
}
#header h1 a {
	display: block;
	background-image: url('images/logo.jpg');
	width: 231px;
	height: 72px;
	text-indent: -9000px;
	overflow: hidden;
}

#headmenu {
	position: absolute;
	top: 20px;
	right: 20px;
	height: 22px;
}
#headmenu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#headmenu ul li {
	float: left;
	padding-left: 30px;
}
* html #headmenu ul li {
	width: 1px;
}
#headmenu ul li a {
	display: block;
	color: #76973c;
}
#headmenu ul li a:hover {
	color: #c7e177;
}

#searchbox {
	position: absolute;
	top: 0;
	right: 0;
}
#searchbox form {
	position: relative;
}
#searchbox #ajaxSearch_input {
	position: absolute;
	top: 2px;
	right: 36px;
	border: 1px solid #b5cd6c;
	background-color: #c7e177;
	color: #617c31;
	padding-left: 4px;
}
#searchbox #ajaxSearch_submit {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 30px;
	height: 18px;
	font-size: 90%;
	border: 1px solid #c7e177;
	background-color: #b5cd6c;
	color: #617c31;
}

#middle {
	/*border-left: 1px solid #999;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	background: url('images/faux.jpg') repeat-y 211px top;*/
}

#sidebar {
	float: left;
	width: 231px;
	padding-top: 35px;
	padding-bottom: 20px;
}
* html #sidebar {
	width: 228px;
}

#sidebar h2 {
	margin: 8px 0 0 0;
	padding: 4px 5px;
	font-size: 115%;
	text-align: left;
}
* html #sidebar h2 {
	margin-right: 5px;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	width: 231px;
	list-style: none;
	border-right: 1px solid #9dbbd1;
}
#sidebar ul ul {
	margin: 0;
	border: none;
}
#sidebar ul li {
	margin: 0;
	padding: 0;
}
#sidebar ul li a {
	padding: 3px 0 3px 10px;
	width: 211px;
	display: block;
}
#sidebar ul li a,
#sidebar ul li a:link {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: normal;
	color: #0068b2;
}
#sidebar ul li a:hover,
#sidebar ul li a:active {
	color: #0068b2;
	text-decoration: underline;
}
#sidebar ul ul li a {
	padding: 3px 0 3px 24px;
	width: 211px;
}
#sidebar ul ul ul li a {
	padding: 3px 0 3px 36px;
	width: 195px;
}

#content {
	text-align: left;
	width: 337px;
	line-height: 1.5em;
	margin-left: 232px;
	padding: 10px;
	min-height: 450px;
}
* html #content {
	height: 450px;
	margin-left: 232px;
}
.B_currentCrumb {
	color: #65abc4;
}

.clear, .gapfix {
	height: 0;
}
* html .clear, * html .gapfix {
	overflow: hidden;
}
.clear {
	clear: both;
}

#footer {
	position: relative;
	clear: both;
	height: 95px;
	/*height: 134px;*/
	font-size: 80%;
}
#footer a,
#footer a:link {
	color: #eee;
}
#footer p {
	padding: 4px 0 0 14px;
	text-align: center;
}
#footer .a1link {
	position: absolute;
	top: -72px;
	right: -36px;
}

hr { display: none; }


.error, .message {
	padding: 12px;
	background-color: red;
	color: #fff;
}
.message {
	background-color: green;
}

p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	text-align: center;
	display: block;
	margin: 0 auto;
}
img.alignright {
	float: right;
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	float: left;
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.QE_Link {
	margin-top: -17px;
}

table#henkilokunta {
	width: 700px;
	border: 0;
	text-align: center;
}

table#henkilokunta td.pic {
	width: 175px;
	height: 200px;
}


table#henkilokunta td.text {
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 20px;
	font-size: 85%;
	line-height: 1.1em;
}

