
body
{
	font-size: 12px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	background-color: rgb(250,250,250);
}

input, textarea
{
	display: block;
}

a
{
	color: rgb(0,0,230);
	text-decoration: none;
	font-weight: bold;
}

p
{
	margin-left: 20px;
}

.linkki
{
	color: rgb(0,0,230);
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
}

div.virhe
{
	color: red;
}

#paanakyma
{
	position: absolute;
	top: 8em;
	left: 0;
	bottom: 0;
	padding-right: 160px;
}

#viikko h3
{
	text-align: center;
	cursor: pointer;
	font-size: 16px;
	padding: 0;
	margin: 0;
	height: 35px;
	vertical-align: middle;
}

#viikko div.paiva
{
	position: relative;
	top: 0;
	height: 100%;
	float: left;
	width: 14%;
	padding: 0;
	overflow: hidden;
}

#viikko div.valittu h3
{
	font-size: 20px;
}

#viikko div.nykyinen h3
{
	text-decoration: underline;
}

#viikko div.merkinta
{
	background-color: rgb(220,220,255);
	margin: 0 0 3px 3px;
	padding: 3px;
	width: 100%;
	overflow: hidden;
	cursor: pointer;
}

#viikko div.aika
{
	font-weight: bold;
	white-space: nowrap;
}

#viikko div.lisaa
{
	background-color: rgb(160,255,160);
	margin: 0 0 3px 3px;
	padding: 3px;
	width: 100%;
	cursor: pointer;
	font-weight: bold;
	color: rgb(0,0,230);
}

#merkintaikkuna
{
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
}

#merkintaikkuna div.ikkuna
{
	background-color: rgb(250,250,250);
	border: 1px solid black;
	position: absolute;
	top: 10em;
	left: 6em;
	width: 500px;
	padding: 10px;
}

#merkintaikkuna h2
{
	margin: 0 0 10px 0;
	font-size: 20px;
	width: 450px;
	overflow: hidden;
}

#merkintaikkuna div.sulje
{
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	font-weight: bold;
	color: rgb(0,0,230);
}

#kuukausi
{
	position: absolute;
	top: 8em;
	right: 5px;
}

#kuukausi th
{
	white-space: nowrap;
}

#kuukausi td
{
	width: 18px;
	padding: 1px;
	text-align: center;
	cursor: pointer;
}

#kuukausi td.valittu
{
	border: 1px solid black;
	padding: 0;
}

#kuukausi td.sisaltaa_merkinnan
{
	font-weight: bold;
	width: 18px;
	background-color: rgb(220,220,255);
}

#kuukausi td.nykyinen
{
	text-decoration: underline;
}

#kuukausi span
{
	cursor: pointer;
}

#perustiedot
{
	background-color: rgb(255,255,255);
	width: 100%;
	height: 7em;
	border-bottom: 2px dashed rgb(55,55,55);
}

#perustiedot h1
{
	padding: 20px 0 0 20px;
	margin: 0;
}

#perustiedot h1.etusivu
{
	font-size: 35px;
}

#perustiedot span
{
	font-size: 15px;
}

#perustiedot div
{
	padding: 0 0 0 20px;
	margin: 0;
}

.lomakesivu
{
	padding: 20px;
}

.lomakesivu p
{
	margin-left: 0;
}

.lomakesivu form.kayttajat input
{
	display: inline;
}

