body {
	font-family: Helvetica, Arial, sans-serif;
	color:#515254;
	font-size:12px;
	background-image:url('bodybg.png');
	background-repeat:repeat-x;
	background-color:#e8e8e8;
	margin-top:0px;
	padding-top:0px;

}


#wrapper
	{
	width:960px;
	margin-left:auto;
	margin-right:auto;
}


.center{
	width:50%;
	background-color:#eee;
	margin-left:25%;
	border:1px #333 solid;
}

#logoutbar
{
	color:#aaa;
	width:960px;
	height:28px;
}

#logoutbar a
{
	color:#eee;
}

#logoutbarm
{
	color:#aaa;
	width:100%;
	height:28px;
}

#logoutbarm a
{
	color:#eee;
}

#navibar
{
	margin-top:25px;
	width:960px;
        height:47px;
	
}
#navibarm
{
	margin-top:25px;
	width:100%;
        height:47px;
	
}

.yrityskuvaus
{
	float:left;
	font-size:11px;
	color:#eee;
	margin-top:12px;
	margin-left:15px;
}





#navibar li a
{
        font-weight:bold;
		font-size:10px;
	    color:#ccc;
        display:inline-block;
        width:148px;
        line-height:16px;
        text-align:center;
        margin:0px 0px 0px 0px;
        float:left;
}


ul
{
        margin:0px 0px 0px 0px;
        padding:0px 0px 0px 0px;
        list-style-type:none;
}

img
{
border:none;
}

#navibar li
{
        float:left;
        padding-top:0px;
}

#navibar a{
        text-decoration:none;
}

#navibar li a:HOVER
{
	color:#fff;
}


.footer
{
	margin-top:40px;
	font-size:10px;
	letter-spacing:1px;
	background-color:#444;
	text-align:center;
	color:#fff;
}


a{
	color:#515254;
}

.maarays a{
	text-decoration:none;
	font-size:11px;
	padding:4px 4px 4px 4px;
	background-color:#f0f0f0;
	border: 1px #ccc solid;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

.maarays a:HOVER
{
	background-color:#555;
	color:#fff;
	border: 1px #333 solid;
}

a.nappi{
	text-decoration:none;
	font-size:11px;
	padding:4px 4px 4px 4px;
	background-color:#f0f0f0;
	border: 1px #ccc solid;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

a.nappi:HOVER
{
	background-color:#555;
	color:#fff;
	border: 1px #333 solid;
}

.maarays a.kuva
{
	background:transparent;
	border: none;
	padding:0px 0px 0px 0px;
}


h1{
	font-size:16px;
	color:#484848;
	padding-bottom:0px;
	margin-bottom:0px;
	margin-top:13px;
}
td h1
{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
}
h2{
	text-transform:uppercase;
	font-size:10px;
	color:#666;
	margin-top:20px;
}

table{
	font-size:12px;
	margin-right:15px;
	margin-top:15px;
	margin-bottom:20px;
	border-spacing:0px;
}

table.iso{
	border:0;
	cellspacing:0;
	width:960px;
/*	background-color:#d4dae4;*/
	background-color:#e8e8e8;
	margin-top:10px;
}

td {
	padding-left:10px;
	padding-right:10px;
	padding-top:10px;
	padding-bottom:10px;
}

tr{
}
tr.ekarivi{
}

tr.uusi,tr.kesken,tr.valmis,tr.laskutettu,tr.poistettu{
	font-weight:bold;
	background-position:top;
	background:url('rivitausta.png');
	background-repeat:repeat-x;
	background-color:#f6f6f6;
}
tr.uusi a,tr.kesken a,tr.valmis a,tr.laskutettu a,tr.poistettu a{
	text-decoration:none;
}

tr.separator td
	{
	border-top:1px #d7d7d7 solid;
	background:transparent;
	height:3px;
	padding:0px 0px 0px 0px;
	}

tr.separator2 td
	{
	background:transparent;
	height:5px;
	padding:0px 0px 0px 0px;
	}

tr.uusi td,tr.kesken td,tr.valmis td,tr.laskutettu td,tr.poistettu td{
	border-top:1px solid #c4c4c4;
	border-bottom:1px solid #a1a1a1;
	border-right:1px solid #cdcdcd;
	text-align:center;
	height: 74px;
	padding-left:4px;
	padding-right:4px;
	padding-top:0px;
	padding-bottom:0px;
}
td.eka{
	text-align:center;
	border-left:1px solid #c3c3c3;
	width:5px;
}

tr.uusi td.eka a{text-decoration:none; 
}

tr.uusi td.eka{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	background:url('listaus_uusi.png');
	background-repeat:no-repeat;
	background-color:#a15000;
	width:5px;
	border-right:1px #c3c3c3 solid;
}


tr.kesken td.eka{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	background:url('listaus_kesken.png');
	background-repeat:no-repeat;
	background-color:#a19900;
	width:5px;
	border-right:1px #c3c3c3 solid;
}



tr.laskutettu td.eka{
	background-color:#669;
	width:5px;
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	border-right:1px #c3c3c3 solid;
}
tr.poistettu td.eka{
	background-color:#222;
	width:5px;
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	border-right:1px #c3c3c3 solid;
}

tr.valmis td.eka{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	background:url('listaus_valmis.png');
	background-repeat:no-repeat;
	background-color:#6f9809;
	width:5px;
	border-right:1px #c3c3c3 solid;
}

tr.poistettu a{color:#aaa;}


tr.even
{
}

tr.tuotelisays
{
	background-color:#e4e4e4;
}

tr.otsikko
{
	background-color:#e8e8e8;
	text-align:center;
	color:#ddd;
	font-weight:bold;
	font-size:11px;
}

tr.otsikko2
{
	color:#545454;
	font-weight:bold;
	font-size:11px;
}

tr.otsikko5
{
	color:#545454;
	font-weight:bold;
	font-size:11px;
}

tr.otsikko2 td
{
	text-align:left;
	padding-top:22px;
	padding-left:29px;
	padding-bottom:0px;
	margin-bottom:0px;
}

tr.otsikko5 td
{
	text-align:left;
}


tr.otsikko2 input
{
	padding:6px 6px 6px 6px;
	margin-top:7px;
	margin-left:-7px;
	border:1px #d4d4d4 solid;
	height:20px;
	width:170px;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	color:#545454;
}

tr.otsikko3
{
	background:url('otsikko3.png');
	background-repeat:repeat-x;
	height:29px;
	line-height:29px;
}

tr.otsikko3 td
{
	padding-top:0px;
	padding-bottom:0px;
	padding-left:10px;
	padding-right:10px;
	font-size:10px;
	color:#444444;
}

tr.otsikko3 a{
	font-size:10px;
	font-weight:bold;
	color:#444;
	text-decoration:none;
}

tr.otsikko a
{
	text-decoration:none;
	color:#ddd;
	font-weight:bold;
}

tr.uusi td:not(:last-child) a, tr.kesken td:not(:last-child) a, tr.valmis td:not(:last-child) a, tr.laskutettu td:not(:last-child) a
{
	font-weight:bold;
	font-size:10px;
	display:flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width:100%;
	height:100%;
}

input{
	font-size:12px;
}

textarea
{
	color:#545454;
	width:95%;
	font-size:12px;
	padding:10px 10px 10px 10px;
	border:1px #d4d4d4 solid;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

input.teksti
{
	color:#545454;
	font-size:12px;
	padding:10px 10px 10px 10px;
	border:1px #d4d4d4 solid;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;

}

input.teksti2
{
	margin-top:0px;
	background:url('hakutausta.png');
	background-repeat:no-repeat;
	border:none;
	float:left;
	padding-left:5px;
	width:135px;
	color:#fff;
	font-size:12px;
	height:32px;
}

input.teksti2:focus{
	outline: none;
}


input.hae
{
	background:url('hakunappi.png');
	background-repeat:none;
	height:32px;
	width:32px;
	color:#fff;
	border:none;
	padding-top:2px;
	padding-bottom:2px;
	font-size:12px;
}

input.hae:active
{
	margin-left:0px;
	background:url('hakunappi.png');
	background-repeat:none;
	background-position:bottom;
	height:32px;
	width:32px;
	color:#fff;
	border:none;
}

input.levea
{
	color:#545454;
	font-size:12px;
	width:600px;
	padding:10px 10px 10px 10px;
	margin-top:7px;
	margin-left:15px;
	margin-bottom:15px;
	border:1px #d4d4d4 solid;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;

}

input.kapea
{
	color:#545454;
	font-size:12px;
	width:184px;
	padding:10px 10px 10px 10px;
	margin-top:7px;
	margin-left:15px;
	margin-bottom:15px;
	border:1px #d4d4d4 solid;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;

}

textarea.levea
{
	color:#545454;
	font-size:12px;
	width:600px;
	height:134px;
	padding:10px 10px 10px 10px;
	margin-top:7px;
	margin-left:15px;
	margin-bottom:60px;
	border:1px #d4d4d4 solid;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

td.toka{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
}


.isopvm
{
	font-size:18px;
}

.pienipvm
{
	font-size:9px;
}

#navibar ul.listaus
{	
	float:left;
	margin-left:40px;
}

#navibar ul.kalenteri
{	
	float:left;
	margin-left:40px;
}

#navibar ul.listaus li
{
	padding-top:5px;
	margin-left:0px;
	margin-right:0px;
	padding-left:0px;
	padding-right:0px;	
	border:none;
}

#navibar ul.kalenteri li
{
	padding-top:5px;
	margin-left:0px;
	margin-right:0px;
	padding-left:0px;
	padding-right:0px;	
	border:none;
}

#navibar ul.kalenteri li a
{
	font-weight:normal;
	width:auto;
	margin-left:0px;
	margin-right:0px;
	padding-left:12px;
	padding-right:12px;
	padding-top:0px;
	padding-bottom:0px;
	display:inline-block;
	height:21px;
	line-height:21px;
	background-image: url('lifirst.jpg'), url('lilast.jpg');
	background-repeat:no-repeat, no-repeat;
	background-position:left, right;	
}

#navibar ul.kalenteri li a.selected
{
	font-weight:normal;
	width:auto;
	margin-left:0px;
	margin-right:0px;
	padding-left:12px;
	padding-right:12px;
	padding-top:0px;
	padding-bottom:0px;
	display:inline-block;
	height:21px;
	line-height:21px;
	background-image: url('lifirst_down.jpg'), url('lilast_down.jpg');
	background-repeat:no-repeat, no-repeat;
	background-position:left, right;
}

#navibar ul.listaus li a
{
	font-weight:normal;
	border-right:1px #20252b solid;
	width:auto;
	margin-left:0px;
	margin-right:0px;
	padding-left:12px;
	padding-right:12px;
	padding-top:0px;
	padding-bottom:0px;
	display:inline-block;
	height:21px;
	line-height:21px;
	background:url('li.jpg');
	background-repeat:repeat-x;
	
}


#navibar ul.listaus li:first-child a
{
	background:url('lifirst.jpg');
	background-repeat:no-repeat;
}

#navibar ul.listaus li:last-child a
{
	background:url('lilast.jpg');
	background-repeat:no-repeat;
	background-position:top right;
	border-right:none;
}

#navibar ul.listaus li a.selected
{
	background:url('li_down.jpg');
}

#navibar ul.listaus li:first-child a.selected
{
	background:url('lifirst_down.jpg');
	background-repeat:no-repeat;
}

#navibar ul.listaus li:last-child a.selected
{
	background:url('lilast_down.jpg');
	background-repeat:no-repeat;
	background-position:top right;
}

ul.mobilistaus
{
	padding-top:5px;
	padding-bottom:5px;
	float:left;
}

ul.mobilistaus li
{
	background-color:#ccc;
	float:left;
}

ul.mobilistaus li a
{
	text-decoration:none;
	display:inline-block;
	padding:6px;
	padding-top:10px;
	padding-bottom:10px;
}

ul.mobilistaus li a.selected
{
	background-color:#555;
	color:#fff;
}

.asetus
{
	margin:15px 15px 15px 15px;
	padding:10px 10px 10px 10px;
	background-color:#ccc;
	width:920px;
	font-size:12px;
}

.maarays
{
	font-size:12px;
	width:960px;
 	background-color:#f7f7f7;
        border:1px #c4c4c4 solid;

}

.maarays table
{
	font-size:12px;
	
}

.maarays h1
{
	padding-left:10px;
	color:#aaa;
}

.vaihevaihe td {
	border-top:1px #c1c1c1 dashed;
}

select{
	font-size:12px;
}

span.otsikot
	{
	margin-left:20px;
	text-transform:uppercase;
	font-weight:bold;
	font-size:10px;
	color:#555;
}

span.small
	{
	font-size:10px;
	color:#777;
	}

.vaiheotsikko
	{
	margin-left:20px;
	text-transform:uppercase;
	font-weight:bold;
	font-size:10px;
	color:#646464;
}

.vaiheotsikko td
	{
	border-bottom:1px #e4e4e4 solid;
	border-right:1px #e4e4e4 solid;
	padding:20px 20px 20px 20px;

}


a.nostyle, a.nostyle:HOVER
{
	background:none;
	border:0px;
	padding-left:10px;
	padding-top:0px;
	margin:0px 0px 0px 0px;
	line-height:15px;
	display:inline;
}



.mobiili
{
	width:100%;
	display:block;
	float:left;
	height:160px;
	background:url('mobbg.png');
	background-repeat:repeat-x;
}

.mobilink
{
	margin:10px 10px 10px 10px;
	position:absolute; 
	width:100%;
	z-index: 1;
	background-image: url('empty.gif');
}


pre.leveys
{
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
	max-width:200px;
}

pre.printleveys
{
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
	max-width:670px;
	margin-left:30px;
}
