body,td,th{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
}
body{
	background-image: url("kuvat/ylapalkki.jpg");
	background-repeat: repeat-x;
	background-color: #f3f3fa;
	color: #000000;
	margin: 0px;
	padding: 0px;
}

p {
	margin: 0px;
	padding: 0px;
	display: block;
}

a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	color: #000000;
	text-decoration: none;
}
a:hover {
	color: #0000FF;
	text-decoration: none;
}

img{
	border-width: 0px;
}

/*** RUNKO ***/
.runko{
	background-image: url("kuvat/pystyviivat.jpg");
	background-repeat: repeat-y;
	width: 884px;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
}
.banneri_osa1{
	background-image: url("kuvat/banneri_osa1.jpg");
	background-repeat: no-repeat;
	height: 71px;
	width: 884px;
}
.banneri_osa2{
	background-image: url("kuvat/banneri_osa2.jpg");
	background-repeat: no-repeat;
	height: 79px;
	width: 884px;
}

.yla_tyhja{
	margin-top: 15px;
}
.ala_tyhja{
	clear: both;
	display: block;
	height: 1px;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	padding-top: 1px;
}
.alapalkki{
	background-image: url("kuvat/alapalkki.png");
	background-repeat: no-repeat;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	height: 33px;
	width: 884px;
}
.copyteksti{
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 20px;
	width: 300px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #000066;
}


/*** VALIKKO ***/
.valikko{
	float: left;
	width: 200px;
	height: 100%;
	padding-left: 20px;
	border-right-style: solid;
	border-left-style: none;
	border-top-style: none;
	border-bottom-style: none;
	border-width: 1px;
	border-color: #9AA6A2;
	font-size: 12px;
}
div.paavalikkolinkki{
	letter-spacing: 0.5px;
	font-weight: bold;
	color: #000000;
	background-color: #84b5ff;
	padding: 6px;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 5px;
	margin-bottom: 0px;
	cursor: pointer;
}
div.paavalikkolinkki:hover{
	letter-spacing: 0.5px;
	font-weight: bold;
	color: #0000FF;
	background-color: #84b5ff;
	padding: 6px;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 5px;
	margin-bottom: 0px;
	cursor: pointer;
}
div.alavalikkolinkki{
	background-repeat: no-repeat;
	padding-left: 15px;
	padding-top: 1px;
	padding-bottom: 3px;
	color: #000000;
	background-color: #84b5ff;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 0px;
	cursor: pointer;
}
div.alavalikkolinkki:hover{
	background-repeat: no-repeat;
	padding-left: 15px;
	padding-top: 1px;
	padding-bottom: 3px;
	color: #0000FF;
	background-color: #84b5ff;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 0px;
	cursor: pointer;
}
.sponsoriteksti{
	text-align: center;
	margin-top: 30px;
	font-size: 14px;
	font-weight: bold;
	font-style: italic;
	color: #0005E1;
}
.sponsori{
	margin-top: 5px;
	text-align: center;
}


/*** SISALTO ***/
.sisalto{
	margin-left: 220px;
}
.sisaltootsikko {
	letter-spacing: 1px;
	font-weight: bold;
	color: #FDFDF5;
	background-color: #0066ff;
	padding-left: 40px;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-left: 20px;
	margin-right: 35px;
	margin-top: 5px;
	margin-bottom: 0px;
}
.sisaltoteksti {
	margin-left: 20px;
	margin-right: 35px;
	padding: 5px 0px 10px 0px;
	text-align: justify;
}
.reunaviiva {
	margin: 0px;
	padding: 0px;
	border-right-style: none;
	border-left-style: solid;
	border-top-style: none;
	border-bottom-style: none;
	border-width: 1px;
	border-color: #9AA6A2;
}
.sisaltokuva_vasen {
	float: left;
	margin: 0px 10px 10px 0px;
	padding: 0px;
}
.sisaltokuva_keski {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	padding-bottom: 20px;
	
}
.sisaltokuva_oikea {
	float: right;
	margin: 0px 0px 10px 10px;
	padding: 0px;
}
.lisaaja_tiedot {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-color: #9AA6A2;
	margin-left: 20px;
	margin-right: 35px;
	padding-bottom: 6px;
	text-align: right;
	font-size: 9px;
}


/*** KALENTERI ***/
table.kalenteri {
	margin-left: 20px;
	margin-right: 35px;
	margin-top: 6px;
	padding-top: 6px;
	padding-left: 20px;
	padding-right: 35px;
	width: 605px;
	background-color: #FFFFFF;
	color: #144989;
	border-collapse: collapse;
	border: 1px solid #BBBBBB;
}

table.kalenteri th {
	border: 1px solid #BBBBBB;
	background: #E6E8ED;
	color: #191919;
	font-weight: bold;
	padding: 0.2em 1em;
	text-align:center;
	vertical-align:middle;
	white-space: nowrap;
	text-transform: none;
}

table.kalenteri th a {
	color: #191919;
	font-weight: bold;
	text-decoration: none;
}

table.kalenteri td {
	border: 1px solid #BBBBBB;
	background-color: #FBFBFB;
	color: #144989;
	text-align: right;
	vertical-align: top;
}

table.kalenteri th.viikko {
	background-color: #F1F1F1;
	color: #191919;
	padding: 0.2em 0.5em;
	text-align: center;
	vertical-align: top;
	white-space:normal;
	font-weight: normal;
	font-size: 10px;
}

table.kalenteri th.tanaan {
	background-color: #F1F1F1;
	color: #191919;
	padding: 0.2em 0.5em;
	text-align: center;
	vertical-align: top;
	white-space:normal;
	font-weight: normal;
	font-size: 10px;
	border-collapse: collapse;
	border: 2px solid #ffa500;
}

table.kalenteri th.viikko_paiva {
	background-color: #FFFFF;
	color: #191919;
	padding: 0.2em 0.5em;
	text-align: center;
	vertical-align: top;
	white-space:normal;
	font-weight: normal;
	font-size: 10px;
	text-align:left;
}

table.kalenteri td.paiva {
	font-size: 10px;
	border-top: 1px solid #999999;
	background-color: transparent;
	padding: 0.2em;
	height: 5em;
}

table.kalenteri td.tanaan {
	font-size: 10px;
	border-collapse: collapse;
	border: 2px solid #ffa500;
	background-color: transparent;
	padding: 0.2em;
}

table.kalenteri .viikko a, a.linkki {
	color: #144989;
	font-weight: normal;
	text-decoration: none;
}

.tapahtuma {
	margin-top: 2px;
    background: #E6E8ED;
	font-weight: normal;
	padding:0.4em 0.8em;
	text-align:left;
}

div .tapahtuma a {
	color: #144989;
	font-weight: normal;
	text-decoration: none;
}

.nakymat {
    background-color: #E6E8ED;
    border-collapse: collapse;
    line-height: normal;
    list-style: none;
    text-align: left;
    color: #191919;
    font-size: 90%;
    border: none;
	margin-left: 20px;
	margin-right: 35px;
	margin-top: 20px;
	margin-bottom: 0px;
	padding-left: 10px;
	padding-bottom: opx;
}

fieldset {
	margin-left: 20px;
	margin-right: 35px;
	margin-top: 6px;

    border: 1px solid #CBD1D8;
    padding: 0em 1em 1em 1em;
    line-height: 1.5em;
    width: auto;
}

table.tapahtumanakyma td, table.tapahtumanakyma th {
    padding: 0.1em 1em 0.1em 0.2em;
    text-align: left;
    vertical-align: top;
}

table.tapahtumanakyma th {
    white-space: nowrap;
}

table.tapahtumanakyma .viivalla td, table.tapahtumanakyma .viivalla th {
    border-top: 1px solid #CBD1D8;
}


/*** KUVAGALLERIA ***/
table.kuvagalleria {
	margin-left: 20px;
	margin-right: 35px;
	margin-top: 6px;
	padding-top: 6px;
	padding-left: 20px;
	padding-right: 35px;
	width: 605px;
	border-collapse: collapse;
	border: 1px solid #BBBBBB;
}

table.kuvagalleria th {
	border: 1px solid #BBBBBB;
	background: #E6E8ED;
	color: #191919;
	font-weight: bold;
	padding: 0.2em 1em;
	text-align: center;
}

table.kuvagalleria td {
	border: 1px solid #BBBBBB;
	background-color: #F1F1F1;
	color: #191919;
	padding: 0.2em 0.5em;
}

.kuvagalleria_polku{
    background-color: #E6E8ED;
    border-collapse: collapse;
    line-height: normal;
    list-style: none;
    text-align: left;
    border: none;
	margin-left: 20px;
	margin-right: 35px;
	margin-top: 20px;
	margin-bottom: 0px;
	padding-left: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-weight: bold;
}

table.kuvagalleria th.sivutus {
	font-weight: normal;
	text-align: right;
}



/*** FOORUMI ***/
table.foorumi {
	margin: 6px 35px 0px 20px;
	padding: 6px 35px 0px 20px;
	width: 605px;
	border-collapse: collapse;
	border: 1px solid #BBBBBB;
}

table.foorumi td {
	border: 1px solid #BBBBBB;
	padding: 3px;
}

table.foorumi th {
	border: 1px solid #BBBBBB;
	font-weight: normal;
}

table.foorumi .yla_palkki {
	border: 1px solid #BBBBBB;
	background: #E6E8ED;
	font-weight: bold;
	padding: 0.2em 1em;
}

table.foorumi .ala_palkki {
	border: 1px solid #BBBBBB;
	background: #E6E8ED;
	padding: 0.2em 1em;
	text-align: right;
	padding: 5px;
}

table.foorumi .aihe {
	border: 1px solid #BBBBBB;
	font-weight: normal;
	padding: 0.2em 1em;
}

table.foorumi .viesti {
	vertical-align: top;
	padding: 5px;
	padding-bottom: 10px;
	letter-spacing: 0.7px;
}

table.foorumi .viesti_lisaaja {
	background: #F2F3FF;
	vertical-align: top;
	padding-top: 3px;
	text-align: center;
	width: 94px;
	padding: 3px;
}

table.foorumi .viesti_tiedot {
	font-size: 10px;
	background: #E2E4FA;
	height: 20px;
}

table.foorumi .viesti_lainaus {
	border: 1px solid #BBBBBB;
	padding: 5px;
	margin-bottom: 5px;
	background: #FFFFFF;
	color: #666666;
}

table.foorumi .viesti_lainattu {
	margin: -5px;
	margin-bottom: 3px;
	padding: 3px;
	background: #E6E8ED;
	border-bottom:  1px solid #BBBBBB;
	font-size: 10px;
	font-weight: bold;
	color: #000000;
}

table.foorumi .kayttajat{
	width: 121px;
	text-align: center;
	vertical-align: top;
}

table.foorumi .kayttajat img{
	border: 1px solid #cccccc;
}

table.foorumi .viesti_lainaus img {
	filter:alpha(opacity=40);
	-moz-opacity:.40;
	opacity:.40;
}

table.foorumi .hymiot img{
	padding: 2px;
}

table.foorumi .lisaa_aihe{
	padding: 8px;
}

table.foorumi .nappi {
	border: solid 1px #cccccc;
	background: #E9ECEF;
	color: #666666;
	font-weight: bold;
	font-size: 10px;
	padding: 4px;
	margin: 2px;
}

table.foorumi .kayttaja_tiedot {
	width: 300px;
	vertical-align: top;
	font-size: 13px;
}

table.foorumi .kayttaja_kuva {
	text-align: center;
	padding: 5px;
}

table.foorumi .kayttaja_mina {
	padding: 5px;
}



/*** VARUSTEPORSSI **/
table.varusteporssi {
	margin: 20px 20px;
	width: 608px;
	border-collapse: collapse;
	border: 1px solid #BBBBBB;
}

table.varusteporssi th {
	border: 1px solid #BBBBBB;
	background: #E6E8ED;
	color: #191919;
	padding: 0.2em 1em;
	text-align: left;
}

table.varusteporssi .nappi {
	float: left;
	border: solid 1px #cccccc;
	background: #E9ECEF;
	color: #666666;
	font-weight: bold;
	font-size: 10px;
	padding: 4px;
	margin: 2px;
}

table.varusteporssi .kiinnostunut:hover {
	float: left;
	border: solid 1px #cccccc;
	background: #CFCFCF;
	color: #666666;
	font-weight: bold;
	font-size: 10px;
	padding: 4px;
	margin: 2px;
}

table.varusteporssi .tiedot {
	padding-top: 5px;
	float: right;
	font-size: 10px;
	font-weight: bold;
}

table.varusteporssi th.alapalkki {
	font-weight: normal;
}

table.varusteporssi td {
	border: 1px solid #BBBBBB;
	background: #F1F1F1;
	color: #191919;
	padding: 0.2em 0.5em;
}



/*** SEKALAISIA ***/
table.linkit{
	margin-left: 20px;
	margin-right: 35px;
	margin-top: 6px;
	width: 600px;
}

table.linkit td{
	width: 300px;
	height: 45px;
}

.kartta_nappi {
	border: solid 0px;
	background: none;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px; 
}