@charset "UTF-8";

body  {
	margin: 0; /* Margin ja padding täytyy olla varmuuden vuoksi nolla koska eri selaimissa on erilaisia oletusarvoja näille.*/
	padding: 0;
	text-align: center; /* Tämä keskittää container:in IE 5 -selaimille. Tekstit on määritelty vasemmalle tasattavaksi #container selektorissa, ks. alempana*/
	color: #000000;
	background-position: left top;
	background-image: url(../media/ui_images/taustapatterni.jpg);
	background-color: #E1E1E1;
	background-repeat: repeat-x;
}
body, p, th, td, h1, h2, h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-top: 0px;
}	
body, p, td {
	font-size: 11px;
}
h1 {
	font-size: 14px;
}
h2  {
	font-size: 11px;
}
h3, th {
	font-size: 11px;
	margin-bottom: 0px;
}
h4 {
	font-size: 11px;
	margin-bottom: 5px;
}
h5 {
	font-size: 11px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: dotted;
	border-bottom-style: dotted;
	padding: 5px;
	margin-bottom: 15px;
	margin-top: 15px;
}
sup {						/*Tällä "sup" ja alemana olevalla "sub" -säädöillä saadaan ylä- ja alaindeksit esitettyä siten että eivät vaikuta rivivälistukseen.*/
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: 0.33em;
}
sub {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: -0.25em;
}
a:hover {
	color:#FF0000;
}
#mainContent ul { /*Tällä ul- ja allaolevalla li -säädöillä vaikutetaan siihen miltä "unordered list" näyttää mainContent:in sisällä. */
	margin: 0px;
	padding-top: 2px;
	padding-left: 15px;
	list-style-position: outside;	
}
#mainContent ul li {
	padding-top: 2px;
}	
#container {
	width: 950px;
	text-align: left; /* Tämä yliajaa ylempänä body:ssä olevan "text-align: center" -asetuksen. Muuten kaikki teksti olisi keskitettyä. */
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	background-color: #E1E1E1;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-right-color: #999;
	border-left-color: #999;
} 
#print-logo {
	display: none;
}
#sidebar {
	width: 170px;
	padding-right: 15px;
	padding-left: 25px; 
	float: left;
}
#sidebar a {
	text-decoration: none;
}
#sidebar ul { /*Tällä saadaan sidebar:in sisältä listamuotoisen navikon pollat pois ja listan margin sekä padding nolliin. */
	list-style-type: none;
	margin: 0;
	padding: 0px;
}
#mainContent {
	margin-left: 210px;
	padding-right: 24px;
	padding-left: 24px;
	border-left-width: 1px;
	border-left-style: dotted;
	border-left-color: #999;
} 
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.caption {
	font-style: italic;
	padding-top: 5px;
}
.text_center {
	text-align: center;
}
.image_brd {
	border: 1px solid #666;
}
.image_brd_left_margin {
	border: 1px solid #666;
	margin-left: 15px;
}
.image_brd_bottom_margin {
	border: 1px solid #666;
	margin-bottom: 15px;
}
.image_brd_left_bottom_margin {
	border: 1px solid #666;
	margin-bottom: 15px;
	margin-left: 15px;
}
.image_brd_right_bottom_margin {
	border: 1px solid #666;
	margin-right: 15px;
	margin-bottom: 15px;
}
.image_left_margin {
	margin-left: 15px;
}
.image_left_bottom_margin {
	margin-bottom: 15px;
	margin-left: 15px;
}
.image_right_margin {
	margin-right: 15px;
}
.image_right_bottom_margin {
	margin-right: 15px;
	margin-bottom: 15px;
}
.image_bottom_margin {
	margin-bottom: 15px;
}
.red_notes_txt {
	color: #C00;
	font-style: italic;
}
