/*
 *	Kemistikillan sivujen CSS-tyylit
 *	Matti Lehtimäki 2005-2008
 */


body
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	font-family: verdana, arial, sans-serif;
	font-size: 13px;
	/*background-color: #c94242;*/
	background-color: #bc060d;
}

h1
{
	color: #000099; /* #aa0000 */
	font-family: serif;
	font-size: xx-large;
	font-weight: bold;
	background-color: transparent;
	margin: 0px;
	padding: 10px;
	border-width: 0px;
}

h2
{
	color: #000000;
	font-size: 1.2em;
	font-weight: bold;
	background-color: transparent;
}

h3
{
	font-size: 1.1em;
	font-weight: bold;
	background-color: transparent;
}

h4
{
	font-size: 1em;
	font-weight: bold;
	background-color: transparent;
}

p.kentta
{
	padding: 2px;
	background: #ffffff;
	border-style: solid;
	border-width: 1px;
	border-color: #eeeeee;
}

.red
{
	color: #ff2222;
}

.green
{
        color: #22aa22;
}

div
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	text-align: center;
	color: #000000;
	background-color: transparent;
}

div.frame
{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

div.paaotsikko
{	
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	/* #808080 */
	border-color: #d9e2ea;
	border-style: solid;
	height: 80px;
	width: 100%;
	text-align: center;
	color: #000000;
	/* #d9e2ea #b1c3d4 */
	/* background-color: #ffffff; */
	background: #ffffff url(../kuvat/ylaosa_uusi.png) no-repeat;
/*	background: transparent url(../kuvat/ylaosa_uusi.png);*/
}

div.otsikko
{
        margin: 0px;
        padding: 0px;
        border-width: 0px;
        /* #808080 */
        border-color: #d9e2ea;
        border-style: solid;
        height: 80px;
        width: 100%;
        text-align: center;
        color: #000000;
	background-color: #ffffff;
        /* #d9e2ea #b1c3d4 */
/*        background: #ffffff url(../kuvat/ylaosa_uusi.png) no-repeat; */
/*      background: transparent url(../kuvat/ylaosa_uusi.png);*/
}


div.kielipalkki
{
        margin: 0px;
        padding: 0px;
        border-width: 0px;
        border-color: #d9e2ea;
        border-style: solid;
        height: 100%;
        width: 100%;
        text-align: right;
        color: #ffffff;
        background-color: transparent;
}


div.valikko
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	border-color: #d9e2ea;
	border-style: solid;
	text-align: left;
	float: left;
        padding: 40px 10px;
        margin: 0px;
        width: 120px;
	height: 420px;
        vertical-align: top;
        font-weight: bold;
        background: transparent url(../kuvat/sivuosa_uusi.png) no-repeat;
}

div.sivuvalikko
{
        margin: 0px 5% 0px;
        padding: 0px;
        border-width: 0px;
        border-color: #ffffff;
        border-style: solid;
  
        text-align: center;
        color: #000000;
        background-color: #d9e2ea;
}

div.sisalto_full
{
        margin: 0px;
        padding: 20px;
        border-width: 0px;
        height: 100%;
        text-align: left;
        color: #000000;
        background-color: #FFFFFF;
}

div.sisalto
{
	padding: 20px 20px 20px 0px;
	margin:0px 0px 0px 160px;
	border-width: 0px;
	height: auto;
	min-height: 420px;
	text-align: left;
	color: #000000;
	background-color: #FFFFFF;
}

div.alivalikko
{
	margin: 0px 5% 0px;
	padding: 0px;
	border-width: 0px;
	border-bottom-color: #FFFFFF;
	border-bottom-style: solid;
	border-bottom-width: 2px;
	height: 100%;
	width: 20%;
	text-align: center;
	color: #000000;
	background-color: #FFFFFF;
}

div.ylavalikko
{
        margin: 0px;
        padding: 0px;
        border-width: 0px;
        border-bottom-color: #FFFFFF;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        width: 100%;
        text-align: center;
        color: #000000;
        background-color: #FFFFFF;
}


div.sivuvalikkotemp
{
	position: fixed;
	top: 0%; left: 0%;
	float: left;
	width: 10%;
	height: 5%;
	margin: 0px 10px 10px 0px;
	padding: 5px;
	text-align: left;
	color: #000000;
	background-color: transparent;
	border: solid white 1px;
	border-width: 0 2px 2px 0;
}

div.keskusta
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	border-color: #d9e2ea;
	border-style: solid;
	height: 100%;
	width: 100%;
	text-align: left;
	color: #000000;
	background: #ffffff;
	/* background: #FFFFFF url(../kuvat/neontausta7.png) 160px 20px no-repeat; */
}

div.tapahtumat
{
	margin: 0px;
	padding: 0px;
	width: 550px;
	border-width: 0px;
	text-align: left;
	color: #000000;
	background-color: transparent;
}

div.tiedotukset
{
	margin: 0px;
	padding: 0px;
	width: 550px;
	border-width: 0px;
	text-align: left;
	/*line-height: 1.5em;*/ 
	color: #000000;
	background-color: transparent;
}

div.pikalinkit
{
        position: absolute;
	margin-top: 20px;
	padding: 20px;
	top: 100px;
	right: 5%;
	text-align: left;
	width: 280px;
	border-color: #bc060d;
	border-style: dashed;
	border-width: 1px 0px 1px 1px;
	background-color: #ffffff;
}

div.pikalinkit li
{
	font-size: smaller;
	
}

div.pikalinkit li a
{
        font-size: 13px;
}


div.alareuna
{
	margin: 0px;
	padding: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-width: 0px 5px 0px 0px;
	border-color: #bc060d;
	/*#444444;*/
	border-style: solid;
	border-top-width: 0px;
	height: 100%;
	width: 100%;
	text-align: center;
	font-size: smaller;
	color: #000000;
	background-color: #ffffff;
}

div.floatleft
{
	position: relative;
	float:left;
	padding-right: 20px;
	text-align: left;
}

div.floatright
{
        position: absolute;
	top: 100px;
	right: 5%;
/*        float:right;*/
	text-align: left;
	width: 120px;
}


table
{
	margin: 0px;
	padding: 0px;
	border-width: 0px 0px;
	text-align: left;
	color: #000000;
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 0px;
	vertical-align: top;
}

table.keskusta
{
	margin: 0px;
	padding: 0px;
        border-width: 0px;
        border-color: #d9e2ea;
        border-style: solid;
	text-align: center;
	color: #000000;
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 0px;
	height: 500px;
	/*width: 90%;*/
}

table.valikko
{
	margin: 0px;
	padding: 0px;
	border-width: 1px;
	border-color: #d9e2ea;
	text-align: center;
	background-color: #ffffff;
	color: #000000;
	width: 100%;
	font-family: arial,verdana,helvetica,sans-serif;
	font-size: small;
	border-collapse: collapse;
	border-spacing: 0px;
}

table.sivuvalikko
{
        margin: 0px;
        padding: 0px;
        border-width: 0px;
        border-color: #d9e2ea;
        text-align: center;
        background-color: #ffffff;
        /*color: #000000;*/
        width: 100%;
        /*font-family: verdana,arial,helvetica,sans-serif;*/
        /*font-size: small;*/
        border-collapse: collapse;
        border-spacing: 0px;
}

td
{
        background: transparent;
        text-align: center;
        vertical-align: top;
}


td.sivuvalikko
{
	border-width: 2px;
	border-color: #d9e2ea;
	border-style: solid;
	background: #ffffff;
	text-align: left;
	padding: 2px;
	margin: 0px;
	/*width: ;*/
	vertical-align: top;
}


td.sisalto
{
	border-width: 0px;
	border-color: #808080;
	border-style: solid;
	background: transparent;
	/*background: #FFFFFF url(../kuvat/neontausta7.png) 20px 20px no-repeat;*/
	text-align: left;
	padding: 0px 20px;
	margin: 0px;
	/*width: 100%;*/
	vertical-align: top;
}

td.alivalikko
{
	border-width: 0px;
	border-color: #d9e2ea;
	border-style: solid;
	/*background: #BAB2B2;*/
	text-align: left;
	padding: 40px 10px;
	margin: 0px;
	width: 120px;
	vertical-align: top;
	font-weight: bold;
	background: transparent url(../kuvat/sivuosa_uusi.png) no-repeat;
	/*background: #b1c3d4 url(../kuvat/kklogopieni1.gif) 0 0 no-repeat;*/
}

td.phuksit
{
	width: 50%;
        text-align: left;
        vertical-align: top;
}


table.raati
{
	text-align: center;
	width: 100%;
	margin: 0 auto;
	
}

table.left tr td
{
        padding-right: 20px;
	text-align: left;

}

/* luokka, jolla minkä tahansa elementin saa keskitettyä */

.keskitetty
{
	text-align: center;
}

.vasen
{
	text-align: left;
}

.oikea
{
	text-align: right;
}

.valikko a:link, .valikko a:visited, .valikko a:active, .valikko a:hover {
	text-decoration: none;
	padding: 3px;
}
/* link #993333 active #996666 */
.valikko a:link{ color: #993333; background-color: transparent; }

.valikko a:active, .valikko a:visited, .valikko a:hover{ color: #996666; background-color: transparent; }

/*  #690c10 */
ul { margin-left: 15px; padding-left: 0px; color: #000000; list-style-type: square;}

li.valikko { margin: 0px; padding: 0px; }
li.alivalikko { margin-left: 10px; padding: 0px; }

a.alivalikko { margin-left: 10px; }

a.alivalikko, a.valikko
{
	background-color: transparent;
}
/* #992222 */
a { color: #772222; text-decoration: none; font-size: 1.0em; background-color:transparent;}

/* #662222 */
a:hover, a:visited { color: #552222; text-decoration: underline; background-color:transparent;}

a:visited { color: #882233; text-decoration: none; background-color:transparent;}

kielipalkki.a{ color: #ffffff; text-decoration: none; font-size: 1.0em; background-color:transparent;}

img
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
}

img.left{
	float: left;
}

img.right{
        float: right;
}

