body {
	font-family: verdana, sans-serif;
	background-color: #242424;
	background-image: url(../images/tausta.png);
	margin: 0px;
	padding: 0px;
	width: 100%;
}




/* RUNKODIV */

#body {
	position: relative;
	width: 850px;
	margin-left: auto;
	margin-right: auto;
	top: 0px;
	margin-top: 0px;
}



/* OTSIKKOPALKKI */

#titlebanner {
	position: absolute;
	height: 70px;
	top: 23px;
	left: 0px;
	z-index: 21;
}

#ylaviivat {
	background-color: #242424;
	position: absolute;
	height: 79px;
	width: 100%;
	left: 0px;
	top: 0px;
	z-index: 8;
}

#banner {
	position: absolute;
	height: 162px;
	width: 100%;
	left: 0px;
	top: 79px;
	z-index: 20;
}

#lakki {
	position: absolute;
	height: 113px;
	width: 176px;
	left: 55px;
	top: 140px;
	z-index: 21;
}




/* LINKIT */

a, .pseudolink {
	color: #f27316;
	text-decoration: none;
	cursor: pointer;
}
.pseudolink {
	cursor: pointer;
}

a.lisatietolinkki {
	letter-spacing: 1px;
}

a:HOVER, .pseudolink:HOVER {
	text-decoration: underline;
}

a:VISITED {
	color: #f27316;
}

a img {
	border-style: none;
}




/* PÄÄVALIKKO */

#paavalikko {
	position: absolute;
	right: 0px;
/*	top: 52px;
	height: 20px; */
	top: 51px;
	height: 19px;
	color: #ffffff;
	font-size: 12px;
	text-align: right;
	z-index: 30;
}

#paavalikko div.paavalinta {
	position: relative;
	float: left;
	margin: 5px;
}

#paavalikko div.valittu {
	border: solid 1px #5a5a5a;
/*	border-bottom: none; */
	background-color: #313131;
}
#paavalikko div.valittu img.alavalikkonuoli {
	position: absolute;
	bottom: -17px;
	left: 50%;
	margin-left: -16px;
}

#paavalikko span {
	height: 13px;
}

#paavalikko div.paavalinta span {
	display: block;
	margin: 0px;
	padding: 3px 4px 4px 4px;
	border: solid 1px #313131; 
	border-bottom: none;
}

#paavalikko div.valittu span {
	padding: 3px;
	padding-bottom: 5px;
	background-image: url(../images/valikkoviivat.png);
	background-repeat: repeat-x;
}

#paavalikko div.empty span {
	padding-bottom: 4px;
}

#paavalikko div.valittu span a, #paavalikko div.valittu span a:VISITED {
	color: #ffffff;
}




/* ALAVALIKKO */

div.alavalikko {
	position: absolute;
	height: 18px;
	top: 16px;

	font-family: verdana, sans-serif;
	background-color: #313131;
	font-size: 12px;
	border: solid 1px #5a5a5a;
}

div.hidden {
	display: none;
}

div.alavalikko span {
	display: block;
	float: left;
	margin: 1px 8px 2px 8px;
}

div.alavalikko span.valittu {
	font-weight: bold;
	color: #ffffff;
}

div.alavalikko a, div.alavalikko a:VISITED {
	text-decoration: none;
}

div.alavalikko span.valittu a {
	color: #ffffff;
}

div.alavalikko span a:HOVER {
	text-decoration: underline;
}

/* MURUPOLKU */

#murupolku, #murupolku_tausta {
	position: absolute;
	height: 17px;
	width: 850px;
	left: 0px;
	top: 79px;
	z-index: 22;
	color: #404040;
}

#murupolku_tausta {
	z-index: 20;
	background-color: #d0d0d0;
	opacity: 0.39;
	padding: 0px;
}

#murupolku div.murupolku {
	position: absolute;
	height: 20px;
	top: 0px;
	left: 0px;
	padding-top: 4px;
	padding-left: 10px;
	font-family: arial, sans-serif;
	font-size: 9px;
	font-style: italic;
}

#murupolku div.murupolku a, #murupolku div.murupolku a:VISITED {
	color: #404040;
	text-decoration: none;
}

#murupolku div.murupolku a:HOVER {
	text-decoration: underline;
}






/* OIKEA PALSTA */

#oikeapalsta {
	position: relative;
	width: 288px;
	float: right;
	right: 2px;
	padding: 0px;
	padding-top: 195px;
	margin: 0px;
	margin-bottom: 40px;
	z-index: 21;
	font-size: 11px;
}
#oikeapalsta .laatikko-container {
	width: 288px;
}
#oikeapalsta .laatikko-container > div {
	width: 286px;
}




/* VASEN PALSTA */

#vasenpalsta {
	position: relative;
	float: left;
	width: 100%;
	padding: 0px;
	padding-top: 216px;
	margin: 0px;
	margin-bottom: 20px;
	z-index: 19;
	font-size: 12px;
}

#vasenpalsta.double {
	width: 555px;
}
#vasenpalsta.double .laatikko-container {
	width: 555px;
}
#vasenpalsta.double .laatikko-container > div {
	width: 553px;
}
#vasenpalsta.double .laatikko-otsikko {
	text-align: right;
}

#vasenpalsta.single {
	width: 848px;
}
#vasenpalsta.single .laatikko-container {
	width: 848px;
}
#vasenpalsta.single .laatikko-container > div {
	width: 846px;
}
#vasenpalsta.single .laatikko-otsikko {
	text-align: left;
}
#vasenpalsta.single .laatikko-container:FIRST-CHILD .laatikko-otsikko {
	padding-left: 202px;
}

#lisapalsta {
        position: relative;
        float: left;
        width: 100%;
        margin: 0px;
		margin-top: -20px;
        margin-bottom: 20px;
        z-index: 19;
        font-size: 12px;
        width: 848px;
}
#lisapalsta .laatikko-container {
        width: 848px;
}
#lisapalsta .laatikko-container > div {
        width: 846px;
}
#lisapalsta .laatikko-otsikko {
        text-align: left;
}


#vasenpalsta .reunaton {
	border: 0;
}
#vasenpalsta .reunaton td {
	border: 0;
}


/* KALENTERI */


.kalenteri {
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	border-collapse: collapse;
}
.kalenteri .kalenteriYlaViikko {
	background-color: #838383;
	color: #000;
	border: 1px solid #000;
	width: 5%;
}
.kalenteri .kalenteriYla {
	background-color: #838383;
	color: #000;
	border: 1px solid #000;
}
.kalenteri .kalenteriViikko {
	vertical-align: top;
	background-color: #838383;
	color: #000;
	border: 1px solid #000;
	width: 5%;
}
.kalenteri .kalenteriPaiva {
	height: 30px;
	vertical-align: top;
	border: 1px solid #000;
}


/* YHTEYSTIEDOT */

#yhteystiedot {
	width: 100%;
	text-align: center;
	font-size: 9px;
	color: #606060;
}

#yhteystiedot p {
	padding: 5px;
	margin: 0px;
}




/* LEIPÄTEKSTI */

.leipateksti {
	color: #d0d0d0;
	font-size: 100%;
}
.leipateksti > * {
	padding-left: 3%;
	padding-right: 3%;
}
.leipateksti img.leipakuva {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}
/*.leipateksti:first-child p:first-letter {
	font-size: 125%;
	font-weight: bold;
}*/
.leipateksti p.leipakuvateksti {
	text-align: center;
	margin-top: 2px;
	margin-bottom: 20px;
	font-style: italic;
}
/*.leipateksti p.leipakuvateksti:first-letter {
	font-weight: normal;
	font-size: 100%;
}*/


.leipateksti div.vasen, leipateksti div.oikea {
	width: 40%;
	height: 200px;
	position: absolute;
	top: 0px;
	left: 0px;
}

.leipateksti div.oikea {
	left: 50px;
}


/* LISTAT */

ul {
	margin-left: 6%;
	padding: 0px;
}
ol {
	margin-left: 10%;
	padding: 0px;
}
li {
	padding-bottom: 1%;
	padding-top: 1%
}

ul.tapahtumat span {
	color: #ffffff;
	font-size: 12px;
}

ol.ilmoittautuneet li.varasija {
	color: #656565;
}


/* TAULUKOT */

#vasenpalsta table, #oikeapalsta table {
	border-collapse: collapse;
	empty-cells: hide;
	margin-left: 4%;
	margin-right: 3%;
	margin-bottom: 4%;
}
#vasenpalsta table caption, #oikeapalsta table caption {
	padding: 1%;
	font-style: italic;
}
#vasenpalsta table td, #vasenpalsta table th, #oikeapalsta table td, #oikeapalsta table th {
	border: solid 1px #a0a0a0;
	padding: 1%;
}
#vasenpalsta table th, #oikeapalsta table th {
	color: #ffffff;
}


#vasenpalsta table.randompics, #oikeapalsta table.randompics {
	margin-left: 10px;
}

#vasenpalsta table.randompics td, #oikeapalsta table.randompics td {
	border-style: none;
	padding: 0px 4px 2px 0px;
	margin: 0px;
}

#vasenpalsta table.tapahtuma {
	margin-left: 10px;
}
#vasenpalsta table.tapahtuma td {
	border-style: none;
	width: 80%;
	padding-left: 0px;
	padding-right: 10px;
	vertical-align: top;
}
#vasenpalsta table.tapahtuma td:FIRST-CHILD {
	width: 10%;
	font-weight: bold;
	text-align: right;
}

#vasenpalsta table.palaute td:FIRST-CHILD {
	padding-top: 4px;
}

#vasenpalsta table.tapahtumat {
	width: 90%;
}
#vasenpalsta table.tapahtumat th, #vasenpalsta table.tapahtumat td {
	border-style: none;
}
#vasenpalsta table.tapahtumat th {
	text-align: left;
	vertical-align: top;
	color: #d0d0d0;
}
#vasenpalsta table.tapahtumat th:FIRST-CHILD {
	width: 20%;
}
#vasenpalsta table.tapahtumat td {
	padding: 0px 0px 25px 25px;
}


/* LOMAKKEET */
fieldset {
	margin: 3%;
	border: solid 1px #a0a0a0;
}




/* VAAKAVIIVA */
hr {
	margin: 3%;
	border: none;
	border-bottom: solid 1px #a0a0a0;
}



/* OTSIKOT */

h1,h2,h3,h4 {
	color: #ffffff;
}
h1 {
	font-size: 130%;
}
h2 {
	font-size: 120%;
}
h3 {
	font-size: 110%;
}
h4 {
	font-size: 100%;
	margin-top: 30px;
}

#oikeapalsta h1 {
	font-size: 110%;
}
#oikeapalsta h2 {
	font-size: 105%;
}
#oikeapalsta h3, #oikeapalsta h4 {
	font-size: 100%;
}

#kahmy ul {
	font-size: 11px;
	color: #ffffff;
	padding-left: 12px;
	margin-left: 0px;
	list-style-type: none;
}
#kahmy ul li {
	margin: 0px;
	padding: 0px;
}
#kahmy ul li ul {
	display: none;
}
#kahmy table {
	margin: 0px;
}



/* LAATIKOT */

.laatikko-container {
	border: solid 1px #3a3a3a;
	background-color: #313131;
	padding: 0px;
	margin: 0px;
	margin-bottom: 3px;
}

.laatikko-container > div {
	border: solid 1px #313131;
	background-color: #313131;
	background-image: url(../images/pikkuviivat.png);
	background-repeat: repeat-x;
	margin: 0px;
	padding: 0px;
	padding-bottom: 5px;
	min-height: 50px;
}

.laatikko-otsikko {
	margin: 10px;
	margin-top: 2px;
	padding: 0px;
	padding-left: 1px;
	border-bottom: solid 1px #838383;
}
.laatikko-otsikko img {
	position: relative;
	bottom: -2px;
}


#body table.henkilotiedot {
	width: 100%;
	margin: 0px;
	padding: 0px;
	font-size: 10px;
}

#body table.henkilotiedot td {
	width: 50%;
	border-style: none;
	margin: 0px;
	vertical-align: top;
	padding: 10px;
	padding-right: 0px;
}

#body table.henkilotiedot td img {
	float: left;
	margin-right: 5px;
}

#body table.ansiomerkit td,#body table.ansiomerkit th {
	border-style: none;
	padding-top: 1px;
	padding-bottom: 0px;
}
#body table.ansiomerkit th {
	padding-bottom: 5px;
}
#body table.ansiomerkit caption {
	padding-bottom: 20px;
}

#overlay {
	position: fixed;
	z-index: 999;
	display: none;
}

#overlay.infocard {
	height: 300px;
	width: 500px;
	left: 50%;
	top: 50%;
	margin-left: -250px;
	margin-top: -150px;
}

#overlay_close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 1000;
}

#overlay.infocard table {
	margin: 0px;
	padding: 0px 0px 0px 2px;
	font-size: 12px;
}

#overlay.infocard table td {
	vertical-align: top;
	padding: 0px 0px 0px 6px;
	font-size: 11px;
}

#mask {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	height: 100%;
	width: 100%;
	z-index: 998;
	background-image: url(../images/mask.png);
}

#body div.yhteystiedot span {
	font-weight: bold;
}
#body div.yhteystiedot p span {
	font-weight: normal;
}
#body div.yhteystiedot p {
	margin-left: 20px;
}
/*#body div.yhteystiedot p:first-letter {
	font-size: 100%;
	font-weight: normal;
}*/

#body p.kolehti span {
	display: inline-block;
	text-align: center;
	margin-right: 10px;
	margin-bottom: 15px;
}

#body p.kolehti a:HOVER {
	text-decoration: none;
	color: #ffffff;
}

#body div.kysely span.tarkenne {
	display: block;
	margin: 0px;
	margin-bottom: 10px;
	padding: 0px;
	font-size: 10px;
}

#body div.kysely h3 {
	margin-top: 30px;
	margin-bottom: 5px;
}

#body div.kysely table {
	margin-left: 0px;
}

#body div.kysely table td {
	border: none;
	padding: 5px;
}

#body div.kysely table td:FIRST-CHILD {
	text-align: right;
}

#body div.chart {
	width: 550px;
	height: 225px;
	margin-bottom: 50px;
}

#body li.kirjahylly ul li {
	font-size: 11px;
	padding: 1px 0px 2px 0px;
}

#body table.oikotiet {
	border-collapse: collapse;
}
#body table.oikotiet td {
	border: none;
}
#body table.oikotiet a.oikotie {
	display: block;
	position: relative;
	background-repeat: no-repeat;
	background-color: #414141;
	background-position: 3px 3px;
	text-align: right;
	border: none;
	width: 129px;
	margin-bottom: 3px;
	margin-right: 6px;
	height: 30px;
	font-size: 11px;
	letter-spacing: 1px;
	font-weight: normal;
	font-family: arial, sans-serif;
	color: #ffffff;
}
#body table.oikotiet a.oikotie:HOVER {
	color: #f27316;
}
#body table.oikotiet a.oikotie span {
	position: absolute;
	bottom: 9px;
	right: 3px;
}
#body table.oikotiet td.kolehtikuva {
	background-color: transparent;
	margin: 0px;
	padding: 0px;
}

#body table.nomargin {
	margin: 0px;
}
#body table.nopadding {
	padding: 0px;
}
#body table.nopadding td, #body table.nopadding th {
	padding: 0px;
}
#body table.noborder td, #body table.noborder th {
	border: none;
}
#body table.noborder img {
	border: none;
}
#body table.th-on-right th {
	text-align: right;
}
#body table.th-on-left th {
	text-align: left;
}
#body table.cellspacing td {
	padding-left: 8px;
	padding-top: 8px;
}
#body table.cellspacing tr:FIRST-CHILD td {
	padding-top: 0px;
}
#body table.cellspacing td:FIRST-CHILD {
	padding-left: 0px;
}

/* TOOLTIPSOR */
div.tooltip {
	position: absolute;
	z-index: 999999;
	margin: 0px;
	padding: 0px;
}
div.tooltip p {
	margin: 10px 10px 10px 6px;
	background-color: #242424;
	color: #d0d0d0;
	font-size: 12px;
	border: solid 1px #656565;
	padding: 7px;
	white-space: pre-line;
	z-index: 2;
	max-width: 400px;
}
div.tooltip img.tooltipNuoli {
	position: absolute;
	top: 50%;
	margin-top: -6px;
	z-index: 3;
}


div.indent-border {
	border-left: 2px solid #FFFFFF;
	border-bottom: 2px solid #FFFFFF;
	margin-left: 16px;
}

b {
	color: #FFFFFF;
}

