/*
 *	Kemistikillan sivujen CSS-tyylit
 *	Matti Lehtimäki 2005-2010
 */
html
{
	height: 100%;
}

body
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	height: 100%;
	font-family: arial, sans-serif;
	font-size: 12px;
	/*background-color: #2a1f58;
	background: #8e8c8a;*/
	background: url(../kuvat/bg2.png) center repeat-y;
}

h1
{
	color: #000099;
	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;
}

div.container
{
        width: 1000px;
	/*min-height: 100%;*/
	margin: 0px 5%;
	min-width: 909px;
	max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
	background-color: #f2f2f2;
}


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

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


div.navigation
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	border-color: #ff0000;
	border-style: solid;
	height: 30px;
	width: 100%;
	font-size: 1.2em;
	text-align: center;
	color: #000000;
	background-color: #eae9e8;
}

div.main
{
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	border-color: #d9e2ea;
	border-style: solid;
	width: 100%;
	text-align: left;
	color: #000000;
	background: #f2f2f2;
}

div.content
{
	float: left;
	margin: 0px;
	padding: 30px;
	width: 700px;
	border-width: 0px; 
	text-align: left;
	color: #000000;
	background-color: transparent;
}

div.widecontent
{
        float: left;
        margin: 0px;
        padding: 30px;
        width: 940px;
        border-width: 0px;
        text-align: left;
        color: #000000;
        background-color: transparent;
}


div.sidebar
{
	float: right;
	margin: 0px 30px 30px 0px;
}

div.sidebar-content
{
	clear:both;
	padding: 10px;
	margin-top: 30px;
	float:right;
	text-align: left;
	font-size:110%;
	width: 190px;
	background-color: #e6e6e6;
}

div.sidebar-content-header
{
	margin: -10px -10px 5px -10px;
	padding: 3px 10px;
	text-align: center;
	width: 190px;
	color: #f2f2f2;
	font-size: 110%;
	/*background-color: #2e3192;*/
	background-color: #0f1b32;
}

div.vasen
{
	text-align: left;
}

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

div.footer
{
	clear:both;
	margin: 0px;
	padding: 0px;
	border-width: 0px;
	border-color: #d9e2ea;
	/*#444444;*/
	border-style: solid;
	border-top-width: 0px;
	width: 100%;
	height: 20px;
	text-align: center;
	font-size: smaller;
	color: #000000;
	background-color: #cccccc;
}

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

div.floatright
{
        position: relative;
        float:right;
	text-align: left;
}


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


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

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

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

}

table.events tr td.td1
{
        width: 38px;
}

table.events tr td.td2
{
        width: 152px;
}


table.events tr td
{
	padding: 2px 1px 3px 1px;
	text-align: left;
}

div.calendar
{
	text-align: center;
}

div.calendar h2
{
        margin-top: 0px;
}


table.calendar tr th
{
        border-style: solid;
        border-width: 1px;
        border-color: #aaaaaa;
        width: 100px;
	text-align: center;
        background: #ccccfc;
}


table.calendar tr td
{
	border-style: solid;
	border-width: 1px;
	border-color: #aaaaaa;
	width: 127px;
	height: 70px;
	background: #fcfcfc;
	text-align: left;
	padding: 0px 2px;
}

table.calendar tr td div
{
        width: 127px;
        height: 1em;
        background: #ddddfc;
	text-align: left;
	padding: 0px 2px 2px 2px;
	margin: 0px -2px;
}


table.calendar tr .week
{
	width: 15px;
	vertical-align:middle;
	background: #ccccfc;
}

table.calendar tr .tablefooter
{
        height: 1em;
        vertical-align:middle;
        background: #ccccfc;
}

tr.odd
{
	background: #cccccc;
}

tr.even
{
	background: transparent;
}

span.red
{
	color: #CC4444;
	font-size: 1.2em;
}

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

.keskitetty
{
	text-align: center;
}

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

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

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

/*882288*/
a:visited { color: #882288; text-decoration: none; background-color:transparent;}

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

img.left{
	float: left;
}

img.right{
        float: right;
}

ul.events { color: #000000; margin-left: 0px; padding-left: 0px; color: #2d2dc8; list-style-type: none; }

ul.events li { color: #000000; }

/* uusi valikko */

.navigation ul
{
	margin: 0px;
}

.menu
{
	line-height:30px;
	text-align: center;
}

.menu li
{
	color: #000000;
	float: left;
	position: relative;
	cursor: default;
	padding: 0px;
	background-color: transparent;
	width: 98px;
	list-style-type:none;
	border-right-width: 1px;
	border-color: #142642;
	border-right-style: solid;
}

.menu li a
{
	padding: 0px 2px;
	color: #000000;
	display: block;
}

.menu li a:hover, li a:focus
{
	background: #142642;
	color: #f2f2f2;
	text-decoration: none;
}

.menu li a:hover, li a:focus
{
	color: #f2f2f2;
	text-decoration: none;
}

.menu li ul
{ 
	position: absolute;
	top: 100%;
	left: 0px; 
	display: none;
	text-align: center;
	cursor: default; 
	margin-left: 0px;
	width: 140px; 
	background-color: #eae9e8;
}

.menu li:hover ul li, li:focus ul li
{
	color: #000000;
}

.menu li:hover ul, li:focus ul
{ 
	display: block;
	z-index: 20;
}

.submenu
{
        text-align: center;
}


.submenu li
{
	margin-left: -1px;
	text-align: center;
	border-width: 1px 0px 0px 1px;
	border-color: #142642;
	border-style:solid;
	width: 140px;
	z-index: 20;
}

.submenu li a:hover, li a:focus
{
	background: #142642;
	color: #f2f2f2;
	text-decoration: none;
}

.submenu li a
{
	color: #000000;
	display: block;
	padding: 0px 5px;
}

/* sidebar linkkien tyylit, jperala 06092010 */


.sidebar-content a
{
color: #254276;
text-decoration: none;
font-size: 1.0em;
background-color:transparent;
}

.sidebar-content-header a
{
color: #f2f2f2; 
text-decoration: none; 
background-color:transparent;
}

.sidebar-content a:hover
{
text-decoration: underline;
font-size: 1.0em;
background-color:transparent;
}
