/* Main Sections 
------------------------------------------------------------------------- */
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-size: 10pt;
	text-align: center;
	color: #666666;
	background: #111111;
}

div, p, img, a, td, ul, ol {
	font-size: 1em; 
}

p {
	margin-bottom: 1em;
}

ul, ol {
	list-style-position: outside;
	margin-left: 1.5em;
}

h1, h2, h3, h4 {
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-weight: bold;
	margin-top: 1em;
}

h1 {
	font-size: 140%;
}

h2 {
	font-size: 120%;
}

h3 {
	font-size: 110%;
}

h4 {
	font-size: 100%;
}

a, a:link { 
	text-decoration: none;
	color: #6699cc;
	border-bottom: 1px dotted #6699cc; 
}

a:visited {
	color: #6699cc;
	border-color: #6699cc;
}

a:hover {
	color: #ff6633;
	border-color: #ff6633;
	border-bottom: 1px solid #ff6633;
	text-decoration: none;
}

a:active {
	color: #cc3333;
	border-color: #cc3333;
}

a img, img {
	border: none;
}

.clear {
	clear: both;
	height: 1px;
	margin: -1px 0 0;
	font-size: 1px;
}

img.tc-logo {
	padding: 0 0 40px 0;
	margin-top: 20px;
}

a.imagenoborder {
	border: none;
}

#page {
	width: 790px;
	margin: 0 auto;
	text-align: left;
}

#contentwrapper {
	border: 0;
}

#content {
	text-align: left;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
}

.center {
	text-align: center;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

hr {
	display: none;
}

table {
	color: #333333;
}

tr td {
	text-align: center;
	padding: 0.5em 2em;
	background: #dddddd;
	font-size: 125%;
}

tr td:first-child {
	text-align: left;
	padding-left: 0.5em;
	font-size: 100%;
}

th {
	text-align: center;
	padding: 0.5em 0.5em;
	background: #aaaaaa;
}

table.saatavuus tr td {
	background: #90EE90;
	color: #006400;
}

table.saatavuus tr td:first-child {
	background: #dddddd;
	color: #333333;
	}

table.saatavuus tr td.saatavana-ei {
	background: #FFB6C1;
	color: #8B0000;
}

.address, .url, .email {
	padding: 0 0 0 30px;
	margin: 0 0 0.25em 1em;
}

.address {
	background: url('/assets/images/tc-address.png') 0px 2px no-repeat;
}

.url {
	background: url('/assets/images/tc-link.png') 0px 2px no-repeat;
}

.email {
	background: url('/assets/images/tc-email.png') 0px 2px no-repeat;
}

.viitteet li {
	padding-bottom: 1em;
}

.viitteet li a {
	font-size: 80%;
}

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

.message {
	background-color: green;
}

/* Header 
------------------------------------------------------------------------- */

#header { 
	background: #111111;
	border: 2px solid #111111;
	margin: 0 0 0 190px;
	padding: 45px 45px 45px 30px;
	text-align: right;
}

p.header1, p.header2 {
	color: #ffffff;
	margin: 0;
}

p.header1 {
	font-size: 200%;
	font-weight: bold;
}

p.header2 {
	font-weight: normal;
	font-size: 125%;
}

/* Post (main content entries)
------------------------------------------------------------------------- */

#postwrapper {
	background: url('/assets/images/tc-side.png') top right repeat-y;
}

#post {
	width: 500px;
	min-height: 500px;
	background: #eeeeee;
	border: 2px solid #666666;
	margin: 0 0 0 190px;
	padding: 20px 30px 40px 30px;
}

#post h1, #post h2, #post h3, #post h4 {
	color: #ff6633;
	padding: 10px 0;
}

#post h1:first-child {
	margin-top: 0;
}

/* Sidebar 
------------------------------------------------------------------------- */

#sidebar {
	width: 150px;
	float: left;
	margin: 0;
	padding: 10px;
	font-size: 11pt;
	font-weight: bold;
}

#sidebar h3 {
	font-weight: 500;
	padding: 0;
	color: #cccccc;
}

#languages {
	font-size: 0.7em;
}

#wayfinder {
	padding-bottom: 2em;
}

#wayfinder ul {
	padding: 2px 0 3px 0;
	margin-left: 0;
}

#wayfinder ul ul {
	margin-left: 1.5em;
}

#wayfinder ul li {
	list-style: none;
	padding-bottom: 5px;
}

#wayfinder ul li ul li {
	padding-bottom: 0;
	font-size: 10pt;
}

#wayfinder a {
	display: block;
	background: url('/assets/images/snowflake-12px.png') 0px 4px no-repeat;
	padding-left: 18px;
	border: none;
}

#wayfinder .current a {
	background: url('/assets/images/flame-12px.png') 0px 4px no-repeat;
	color: #ff6633;
}

#wayfinder a:hover, #wayfinder ul li ul li a:hover, #wayfinder .current ul li a:hover {
	background: url('/assets/images/flame-12px.png') 0px 4px no-repeat;
}

#wayfinder .current ul li a {
	background: url('/assets/images/snowflake-12px.png') 0px 4px no-repeat;
	color: #6699cc;
}

#wayfinder .current ul li a:hover {
	color: #ff6633;
}

#wayfinder .current ul li a:active {
	color: #cc3333;
}

.current {
	list-style: none;
	color: #ff6633;
}

.current li {
	color: #666666;
}

.last {
	margin-bottom: 5px;
}

/* Footer 
------------------------------------------------------------------------- */
#footer {
	margin: 0 0 0 190px;
	padding: 0 32px 10px 32px;
	font-size: 85%;
	color: #dddddd;
	height: 100%;
	background: #222222;
}

#footer a {
	border-bottom: none;
}

#footer-image {
	display: block;
	float: left;
	padding: 10px;
	margin-right: 20px;
}

#footer-text {
	display: block;
	float: left;
	padding: 10px 0;
}

#footer-technical {
	display: none;
}

.spacer {
	clear: both;
}

/* Special handling for images & alignment 
------------------------------------------------------------------------------- */

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

img.centered {
	display: block;
	margin: 0 auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

/* Fixes for RichText widgets
------------------------------------------------------------------------------- */
.MODX_RichTextWidget {
	float: left;
}

.MODX_RichTextWidget a {
	border: 0px;
}
