@charset "UTF-8";

body {
	font-size: 16px; /* Tällä yliajetaan selaimen asetuksissa määritelty oletuskirjasinkoko eli nyt 1em = 16px */
	margin: 0; /* Tällä määritellään bodyn margin ja padding nolliin koska eri selaimissa on näissä eroavaisuuksia. */
	padding: 0;
	text-align: center; /* Tämä keskittää main_container:in IE 5* selaimissa. Jäljempänä #main_container -selektorissa teksti tasataan vasemmalle. */
	color: #000000;
	background-position: left top;
	background-image: url(../images/gui/background_aluminum.png);
	background-color: silver;
}

/* Globaali fonttimääritys */
body, p, th, td, h1, h2, h3, h4 { 
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-top: 0px;
}

body, p, td {
	font-size: 11px;
}

/* Globaali väri näille tekstityyleille */
h1, h3, h4, a, th {	
	color: #007587;
} 
h1 {
	font-size: 14px;
}

/* Ingressityyli */
h2  { 
	font-size: 11px;
	color: #000000;
}

/* Tällä ja ylempänä olevalla margin-asetuksilla saadaan aikaiseksi väliotsikot jotka ovat kiinni seuraavassa kappaleessa. */
h3, th {
	font-size: 11px;
	margin-bottom: 0px;
}

/* Väliotsikkotyyli yhteystietosivuille, "dotted-line" viivoilla tehdään hieman jaottelua. */
h4 {
	font-size: 11px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: dotted;
	border-bottom-style: dotted;
	padding: 5px;
	margin-bottom: 10px;
}

/* Tällä "sup" ja alemana olevalla "sub" -säädöillä saadaan ylä- ja alaindeksit esitettyä siten että eivät vaikuta rivivälistukseen. */
sup {
    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:#CC0000;
}

#main_container {
	width: 950px;
	text-align: left; /* tämä yliajaa "text-align: center" deklaraation "body"-selektorissa. */
	background-image: url(../images/gui/background_main.jpg);
	background-repeat: no-repeat;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	margin-bottom: 0px;
}

#header {
	display: block;
	float: left;
	width: 900px;
	position: relative;
	margin-top: 15px;
	margin-right: 25px;
	margin-left: 25px;
	margin-bottom: 25px;
}

#logo {
	display: block;
	float: left;
	width: 215px;
	height: 57px;
	position: relative;
}

#banneri {
	display: block;
	float: left;
	width: 515px;
	margin-right: 25px;
	margin-left: 25px;
	height: 57px;
	position: relative;
}

#kielivalinta {
	display: block;
	float: right;
	width: 120px;
	padding-top: 45px;
	position: relative;
}
 
#print-logo {
	display: none;
}

#MainMenuBar {
	background-image: url(../images/gui/background_bar_10x23px.png);
	background-repeat: repeat-x;
	display: block;
	float: left;
	position: relative;
	margin-bottom: 20px;
	width: 900px;
	z-index: 100;
	margin-right: 25px;
	margin-left: 25px;
}
#page_container {
	display: block;
	float: left;
	position: relative;
}
#sidebar {
	width: 170px;
	min-height: 350px;
	padding-right: 15px;
	display: block;
	margin-bottom: 25px;
	border-right-width: 1px;
	border-right-style: dotted;
	border-right-color: #008FA5;
	float: left;
	padding-left: 25px;
}
#sidebar a {
	text-decoration: none;
}
/* Tällä saadaan sidebar:in sisältä listamuotoisen navikon pollat pois ja listan margin sekä padding nolliin. */
#sidebar ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
/* Tällä "highlight"-systeemillä määritellään miltä navi näyttää kun olet ko. sivulla. */  
#sidebar .current{
	list-style-image: url(../images/gui/kolmio.png);
	font-weight: bold;
}
#sidebar #news_box {
	padding: 10px;
	background-image: url(../images/gui/background_aluminum.png);
}
#juhlalogo {
	float: left;
	display: block;
	background-image: url(../images/gui/purso_juhlalogo.png);
	background-repeat: no-repeat;
	width: 149px;
	height: 85px;
	margin-top: 60px;
}
#page_content {
	width: 691px;
	padding-left: 24px;
	display: block;
	float: left;
	margin-bottom: 25px;
}

/* Tällä ul- ja allaolevalla li -säädöillä vaikutetaan siihen miltä "unordered list" näyttää #page_content:in sisällä. */
#page_content ul {
	margin: 0px;
	padding-left: 15px;
	list-style-position: outside;
	padding-bottom: 18px;
}

#page_content ul li {
	padding-top: 2px;
	list-style-type: none;
	list-style-image: url(../images/gui/ul_bullet.png);
}

#kuva_oikealle {
	display: block;
	float: right;
	margin-bottom: 15px;
	margin-left: 15px;
}
 
#footer  {
	text-align: center;
	height: 19px;
	padding-top: 4px;
	background-color: #008FA5;
	color: #FFFFFF;
	display: block;
	float: left;
	width: 950px;
	background-image: url(../images/gui/background_bar_10x23px.png);
	background-repeat: repeat-x;
}

#info_main_container {
	width: 625px;
	text-align: left;
	background-color: #FFFFFF;
	height: 400px;
}

#info_page_content {
	background-color: #FFFFFF;
	text-align: left;
	padding-top: 25px;
	padding-right: 50px;
	padding-bottom: 25px;
	padding-left: 25px;
	height: 210px;
}

#info_footer {
	text-align: left;
	background-color: #FFFFFF;
	padding-left: 25px;
	padding-right: 50px;
}

.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;
}

.image_brd {
	border: 4px solid silver;
}

.image_brd_left_margin {
	border: 4px solid silver;
	margin-left: 15px;
}

.image_brd_bottom_margin {
	border: 4px solid silver;
	margin-bottom: 15px;
}

.image_brd_left_bottom_margin {
	border: 4px solid silver;
	margin-bottom: 15px;
	margin-left: 15px;
}

.image_brd_right_bottom_margin {
	border: 4px solid silver;
	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;
}

#designby {
	width: 950px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: auto;
	margin-left: auto;
}
#designby p {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 8px;
	font-style: italic;
	color: #999;
	text-align: right;
}
#designby a {
	color: #999;
	text-decoration: none;
}
#designby a:hover {
	color: #999;
}

