html {
    color: #000000;
    background:#fff url(img/bg_body.png) repeat 0 0;
}

body {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 97%;
    text-align: center;
    font-size: 0.9em;
    font-family: Tahoma, Geneva, sans-serif;
    color: #000000;
    background-color: #eee;
    border-left: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
}

body.cal {
    width: 18em;
}


table, tr, td, th {
    vertical-align: top;
    text-align: left;
    border: 0;
    border-collapse: collapse;
}
tr, td, th {
    padding: 0.3em;
}
th {
    color: #46464b;
    text-align: left;
    font-weight: bold;
    font-size: 0.8em;
}



table.dashboard {
    border-collapse: separate;
}
td.dash {
    padding: 0.6em;
    background-color: #f2f1f1;
    border: 1px dotted #cccbcb;
}

table#list {
    border-collapse: separate;
}
table#list th {
    text-align: left;
}

fieldset {
    width: 95%;
    margin: 0;
    padding: 0;
    border: 0;
}
fieldset fieldset {
    width: 95%;
    margin-top: 0.5em;
    padding-bottom: 0.3em;
    border: 0;
    color: #000000;
    background-color: #f2f1f1;
    border: 1px dotted #cccbcb;
}
legend {
    margin-left: 1em;
    font-weight: bold;
    color: #46464b;
}

fieldset.dual fieldset {
    width: 90%;
}

h1 {
    font-size: 1.3em;
}
h2 {
    font-size: 1.2em;
}
h3 {
    font-size: 0.9em;
    margin : 1px 5px;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align:middle;
}

.error {
    color: #cc0000;
}

div.logo {
    margin-top: 0;
    margin-bottom: 0.2em;
    margin-left: auto;
    margin-right: auto;
    height: 65px;
    background:#fff;
}

div.content {
    position: relative;
    text-align: left;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    background-color: #eee;
}

div.contact {
    width: 20em;
}

div#navibar {
	height: 1.8em;
	width: 100%;
    font-size: 0.9em;
    font-weight: bold;
	border-top: hidden #000000 1px;
	border-bottom: dotted #666666 1px;
	background-color: #cccccc;
}
div#navibar ul {
	margin: 0px;
	padding: 0px;
	color: #ffffff;
	line-height: 2em;
	white-space: nowrap;
    list-style-type: none;
}
div#navibar li {	
	display: inline;
}

div#secnavibar {
    margin-top: 2px;
	height: 1.6em;
	width: 100%;
    font-size: 0.8em;
    font-weight: bold;
	border-top: hidden #000000 1px;
	border-bottom: dotted #666666 1px;
	background-color: #cccccc;
}
div#secnavibar ul {
	margin: 0px;
	padding: 0px;
	color: #ffffff;
	line-height: 1.8em;
	white-space: nowrap;
    list-style-type: decimal;
}
div#secnavibar li {
	display: inline;
}

div#bottombar {
	height: 1.6em;
	width: 100%;
    font-size: 0.8em;
	border-top: dotted #666666 1px;
	border-bottom: hidden #000000 1px;
	background-color: #cccccc;
}
div#bottombar ul {
	margin: 0px;
	padding: 0px;
	color: #000;
	line-height: 1.6em;
	white-space: nowrap;
}
div#bottombar li {
	list-style-type: none;
	display: inline;
}

div.searchres {
    position: relative;
	display: none;
    z-index: 9999;
}

.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.label {
    background-color: #cccccc;
	text-align: center;
}

.pages {
	padding: 0px 6px 0px 6px;
	text-align: center;
}
/*-- Pienten painikkeiden reunat --*/
.no_hover {
	border: 1px solid #c0c0c0;
}
.hover {
	border: 1px solid #ffffff;
}

/*-- Sivunumeropainikkeiden tyyli --*/
.page_number {
	line-height: 22px;
	font-size: 1.2em;
	font-weight: bold;
	color: #c0c0c0;
}
.page_number a {
	display: block;
	position: relative;
	padding: 0px 6px 0px 6px;
	text-decoration: none;
	color: #808080;
}
.page_number span {
	display: block;
	position: relative;
	padding: 0px 6px 0px 6px;
}

.stat_yellow {
    background: url(img/button_yellow.png) no-repeat;
}
.stat_green {
    background: url(img/button_green.png) no-repeat;
}
.stat_blue {
    background: url(img/button_blue.png) no-repeat;
}
.stat_orange {
    background: url(img/button_orange.png) no-repeat;
}
.stat_red {
    background: url(img/button_red.png) no-repeat;
}
.stat_white {
    background-color: #ffffff;
}

.row1 {
    background-color: #f2f1f1; 
}
.row2 {
    background-color: #ffffff; 
}

.ftiniest {
    width: 2em;
}
.ftiny {
    width: 4em;
}
.fdate {
    width: 6em;
}
.fshort {
    width: 8em;
}
.fmedium {
    width: 12em;
}
.flong {
    width: 16em;
}
.fmlong {
    width: 20em;
}
.fxlong {
    width: 24em;
}
.fxxlong {
    width: 36em;
}

a.navi {
	text-decoration: none;    
	padding: 0 1em;
	color: #000;
}
a.current {
    color: #666;
    text-decoration : underline;
}
a.navi:hover {
    color: #666;
}

a {
	text-decoration: none;
	color: #000;
}
a:hover {
    color: #666;
    text-decoration : underline;
}

a.plain {
    text-decoration : none;
}
a.plain:hover {
    font-weight: bold;
    text-decoration : underline;
}

.tinyactionlink {
    color: #000; 
    background-color: #ccc;
    border-style: solid;
    border-width : 1px 2px 2px 1px;
    text-decoration : none;
    padding : 2px 5px 2px 5px;
    border-color : #FFF #000 #000 #FFF;
    font-weight: normal;
    font-size: 0.7em;
}
.tinyactionlink:hover {
    color: #333; 
    background-color: #ccc;
    border-width : 2px 1px 1px 2px;
    border-color : #000 #FFF #FFF #000;
}