@charset "UTF-8";
/* CSS Document */

/* ------------------------------------------------------------------ PERUSASETUKSET */

body {
	background-color: #FFFFFF;
	background-image: url(../images/taustakuva.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-attachment: fixed;
	margin: 0px;
	padding: 0px;
}

div, td, p, li, input {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #666666;
	line-height: 1.5em;
	font-size: 12px;
}

table, table td {
	border-collapse: collapse;
}

img {
	border: none;
}

a:link, a:visited {
	color: #5b7b00;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	color: #719114;
}

input {
	line-height: 1em;
	color: #3e6e02;
	padding: 0;
	margin-right: 5px;
}

input.button, button {
	background-color: #7e1884;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 1px;
	padding-bottom: 1px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #FFFFFF;
	text-transform: uppercase;
	border: 1px outset #ffffff;
	letter-spacing: 2px;
	
	
}

th {
	text-align: left;
}


/* ------------------------------------------------------------------ ASETTELU */

#vaakapalkki {
	position: absolute;
	width: 100%;
	top: 26px;
	left: 0px;
	height: 212px;
	background-image:url(../images/vaakapalkki_tausta.png);
	background-repeat: repeat-x;
	z-index: 1;
}

#wrapper {
	position: absolute;
	width: 100%;
	z-index: 2;
}


#valikkorivi {
	width: 950px;
	height: 205px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 29px;
}

#logo {
	padding-top: 30px;
	padding-left: 20px;
	float: left;
	width: 155px;
}

#valikko {
	float: right;
	width: 700px;
	text-align: right;
}

#sisaltorivi {
	width: 950px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1px;
}

#sisalto {
	width: 670px;
	float: left;
	background-image: url(../images/sisalto_tausta.png);
	background-repeat: repeat-y;
	padding: 0px;
}

#sisaltofooter {
	background-image: url(../images/sisalto_alareuna.png);
	background-repeat: no-repeat;
	height: 28px;
	width: 670px;
	float: left;
	margin-bottom: 20px;
}

#limelight {
	position: absolute;
	z-index: 3;
	width: 589px;
	height: 147px;
	top: 0;
	left: -100px;
	margin-left: 50%;
}

#kirjaudu {
	position: absolute;
	z-index: 3;
	width: 188px;
	height: 19px;
	top: 4px;
	left: -450px;
	margin-left: 50%;
	background-image: url(../images/kirjaudu_tausta.png);
	text-align: center;
	padding-top: 5px;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 1em;
	letter-spacing: 2px;
}

#haku {
	position: absolute;
	left: 245px;
	margin-left: 50%;
	top: 235px;
	background-image: url(../images/haku_tausta.png);
	width: 231px;
	height: 25px;
	text-align: center;
	padding-top: 2px;
}

#oikea {
	float: right;
	width: 231px;
	margin-top: 40px;
}

/* ------------------------------------------------------------------ PÄÄVALIKKO */

#valikko ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#valikko ul li {
	display: block;
	height: 205px;
	float: left;
	list-style: none;
	
	background-image: url(../images/valikko_vali.png);
	background-position: right;
	background-repeat: no-repeat;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 16px;
	
}

#valikko ul li.active {
	background-image: url(../images/valikko_valittu.jpg);
	background-position: right;
	background-repeat: no-repeat;
}

#valikko ul li.active a:link, #valikko ul li.active a:visited {
	color: #7e1085;
}

#valikko ul li a:link, #valikko ul li a:visited {
	display: block;
	height: 63px;
	padding-top: 142px;
	padding-left: 10px;
	padding-right: 10px;
	text-decoration: none;
	color: #666666;
	float: left;
}

#valikko ul li a:hover {
	background-image: url(../images/valikko_hover.png);
	background-position: right;
	background-repeat: no-repeat;
}


/* ------------------------------------------------------------------ MODUULIT */

#kirjaudu a:link, #kirjaudu a:visited {
	color: #FFFFFF;
}

#kirjaudu a:hover {
	text-decoration: none;
	color: #f5f8a6;
}

#oikea div {
	background-image: url(../images/moduuli_tausta_ylareuna.png);
	background-repeat: no-repeat;
	background-position: top;
	padding-top: 2px;
	line-height: 1em;
}

#oikea div div {
	background: none;
	padding-top: 0px;
}

#oikea div div div {
	
	
	background-image: url(../images/moduuli_tausta_alareuna.png);
	background-repeat: no-repeat;
	background-position: bottom;
	padding-top: 0px;
	padding-bottom: 1px;
	margin-bottom: 10px;
	
}

#oikea div div div div {
	background-image:url(../images/moduuli_tausta.png);
	background-repeat: repeat-y;
	padding-top: 0px;
	
	margin-bottom: 16px;
	padding-left: 10px;
	padding-right: 10px;

}

#oikea div div div div div {
	background: none;
	padding-top: 0px;
	margin-bottom: 5px;

}

#oikea h3 {
	color: #9c4a9b;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	font-weight: normal;
	text-transform: uppercase;
	line-height: 1em;
}
	


/* ------------------------------------------------------------------ SISÄLTÖ */

.componentheading, .contentheading {
	background-image: url(../images/sisalto_otsikko_tausta.png);
	width: 630px;
	padding: 20px;
	color: #9c4a9b;
	font-family: Georgia, "Times New Roman", Times, serif;
	line-height: 1em;
	font-size: 20px;
	letter-spacing: 3px;
}

.contentpaneopen td {
	padding: 20px;
}

