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

}


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


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

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

#logoutbar a
{
	color:#eee;
}

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

#logoutbarm a
{
	color:#eee;
}

#navibar
{
	margin-top:10px;
	width:1260px;
        height:42px;
	
}
#navibarm
{
	margin-top:25px;
	width:100%;
        height:42px;
	
}

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





#navibar li a
{
        font-weight:bold;
	font-size:10px;
	border-right:1px #eee solid;
        color:white;	/*	#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:#00ff00;
	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:1260px;
/*	background-color:#d4dae4;*/
	background-color:#e8e8e8;
	margin-top:10px;
}

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

tr{
}

tr.ekarivi{
}

tr.uusi,tr.kesken,tr.valmis,tr.laskutettu,tr.poistettu,tr.luonnos,tr.blanko{
	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,tr.luonnos a,tr.blanko 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,tr.luonnos td,tr.blanko td{
	border-top:1px solid #c4c4c4;
	border-bottom:1px solid #a1a1a1;
	border-right:1px solid #cdcdcd;
	text-align:center;
	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:red; /*#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:yellow; /*#a19900;*/
	width:5px;
	border-right:1px #c3c3c3 solid;
}



tr.laskutettu td.eka{
	background-color:green; /*#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.luonnos td.eka{
	background-color:#faa;
	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,tr.luonnos 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:5px;
	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:270px;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	color:#545454;
}

tr.otsikko1 input
{
	width: 20px;
	padding: 0px;
	margin: 0px;
}

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 a, tr.kesken td a, tr.valmis td a, tr.laskutettu td a, tr.poistettu td a, tr.luonnos td a, tr.blanko td a
{
	font-weight:bold;
	font-size:10px;
	display:block; 
	padding-top:14px;
	padding-bottom:14px;
	width:100%;
}

input{
	font-size:12px;
}

input[type="submit"]{
	background-color: #0F0;
}

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, input.datetime
{
	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, input.string
{
	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;

}

textarea.levea, textarea.text
{
	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;
}

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.listaus li
{
	padding-top:5px;
	margin-left:0px;
	margin-right:0px;
	padding-left:0px;
	padding-right:0px;	
	border:none;
}

#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:1260px;
 	background-color:#f7f7f7;
        border:1px #c4c4c4 solid;

}

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

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

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:300px;
}

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

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



/*********** web2py specific ***********/
div.flash {
    font-weight:bold;
    display:none;
    position:fixed;
    padding:10px;
    top:48px;
    right:250px;
    min-width:280px;
    opacity:0.95;
    margin:0px 0px 10px 10px;
    vertical-align:middle;
    cursor:pointer;
    color:#fff;
    background-color:#000;
    border:2px solid #fff;
    border-radius:8px;
    -o-border-radius: 8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    background-image: -webkit-linear-gradient(top,#222,#000);
    background-image: -o-linear-gradient(top,#222,#000);
    background-image: -moz-linear-gradient(90deg, #222, #000);
    background-image: linear-gradient(top,#222,#000);
    background-repeat: repeat-x;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    z-index:2000;
}

div.flash #closeflash{color:inherit; float:right; margin-left:15px;}
.ie-lte7  div.flash #closeflash
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}

div.flash:hover { opacity:0.25; }

div.error_wrapper {display:block}
div.error {
    width: 298px;
    background:red;
    border: 2px solid #d00;
    color:white;
    padding:5px;
    display:inline-block;
    background-image: -webkit-linear-gradient(left,#f00,#fdd);
    background-image: -o-linear-gradient(left,#f00,#fdd);
    background-image: -moz-linear-gradient(0deg, #f00, #fdd);
    background-image: linear-gradient(left,#f00,#fdd);
    background-repeat: repeat-y;
}

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

div.job_basics input.levea, input.string
{
	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;

}

div.job_basics levea.text, textarea.text
{
	color:#545454;
	font-size:12px;
	width:610px;
	padding:0px;
	margin-top:7px;
	margin-left:-6px;
	margin-bottom:15px;
	border:1px #d4d4d4 solid;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

div.job_basics input
{
  font-size: 12px;
}

div.job_item

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