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


body
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	font-family: tahoma, verdana, arial, sans-serif;
	font-size: 13px;
	background: #e3e5f7 url(http://www.kemistikilta.fi/kondensatio/kuvat/tausta.png) repeat-y;
}

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

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

div.frame
{
	position: relative;
	top: 0;
	right: 0;
	margin: 0 auto;
	width: 800px;
        text-align: center;
}


div.otsikko
{
	margin: 9px 0px 0px 0px;
	padding: 0px;
	border-width: 1px;
	/* #808080 */
	border-color: #2d4597;
	border-style: solid;
	height: 80px;
	width: 800px;
	text-align: center;
	color: #000000;
	background: url(http://www.kemistikilta.fi/kondensatio/kuvat/kondis119.png) 0 0 no-repeat;
}

div.valikko
{
	margin: 0px 0px 0px 5%;
	padding: 0px;
	border-width: 1px;
	border-color: black;
	border-style: solid;
	height: 100%;
	width: 90%;
	text-align: center;
	color: #000000;
	background-color: #FFFFFF;
}

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
{
	margin: 0px;
	padding: 20px;
	border-width: 0px;
	height: 100%;
	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.sivuvalikkotemp
{
	position: fixed;
	top: 0%; left: 0%;
	float: left;
	width: 10%;
	height: 20%;
	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
{
	padding: 0px;
	border-width: 0px 1px 1px 1px;
	border-color: #2d4597;
	border-style: solid;
	height: 100%;
	width: 800px;
	text-align: left;
	color: #000000;
	background: #FFFFFF;
}

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

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

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

div.bottom
{
	vertical-align: bottom;
}

table
{
        margin: 0px;
        padding: 0px;
        border-width: 0px 0px;
        background-color: transparent;
        border-collapse: collapse;
        border-spacing: 0px;
}


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;
	width: 100%;
}

table.avechaku tr td
{
        margin: 0px;
        padding: 0px;
        border-width: 1px 0px;
	border-style: solid;
        text-align: left;
        color: #000000;
	border-color: #aaaaaa;
        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: #d9e2ea;
	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.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(http://kk.tky.fi/kuvat/neontausta7.png) 20px 20px no-repeat;*/
	text-align: left;
	padding: 20px;
	margin: 0px;
	/*width: 100%;*/
	vertical-align: top;
}

td.alivalikko
{
	border-width: 0px 1px 0px 0px;
	border-color: #818ac4;
	border-style: dotted;
	background: url(http://www.kemistikilta.fi/kondensatio/kuvat/valikko.png) no-repeat bottom;
	text-align: left;
	padding: 10px;
	margin: 0px;
	width: 120px;
	vertical-align: top;
	font-weight: bold;
	background-color: white;
}

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

td.2kolumnia
{
        width: 50%;
        text-align: center;
        vertical-align: top;
}


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

.otsikko a:link, .otsikko a:visited, .otsikko a:active {
	color: white;
	text-decoration: none;
	padding: 3px;
	font-size: 10px;
}

.otsikko a:hover {
	color: #daddeb;
}


/* 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, .valikko a:visited{ color: #333399; background-color: transparent; }

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

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

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

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

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

img.padding5
{
        padding: 5px;
}

a img
{
        padding: 0px 10px 5px 10px;
}


img.left{
	float: left;
}

ul.testi li ul
{
	list-style-type: lower-alpha;
}

ul.testi li ul li.input
{
position:relative;
display:block;
float:right;
}


ul.testi
{
	padding: 5px;
	list-style-type: decimal;
	list-style-position: outside;
}

ul.testi li
{
	list-style-position: inside;
}

