/*
 * Author:	Petteri Hakala
 *			Sentatel Oy
 *			petteri.hakala@oyk.fi
 */
 
/* ---------------- ITEM POSITIONING -----------------*/
div#buttonsleft_div
{
	position: absolute;
	top: 250px;
	left: 10px;
}

div#worklist_div
{
	width: 100%x;
}

/* ------------------- STATUS CELLS -------------- */
td.incomplete, td.ordered, td.finished, span.incomplete, span.ordered, span.finished
{
	color: black;
	font-weight: bold;
	padding: 6px;
	white-space: nowrap;
}

td.incomplete, span.incomplete
{
	background-color: red;
	
}

td.ordered, span.ordered
{
	background-color: yellow;
}

td.finished, span.finished
{
	background-color: lightgreen;
}

/* ------------------- BUTTONS ------------------- */

td.leftbutton
{
	background-color: lightgrey;
	width: 150px;
	height: 35px;
	cursor: pointer;
	border-style: solid;
	border-color: grey;
	border-width: 1;
	padding: 5;
}

/*------------ WORKSTEP TABLE ------------------- */

table.workstep_tbl
{
	border-spacing: 0px;
	background: #F9F9F9;
}

table.workstep_tbl td
{
	padding-left: 2px;
	padding-bottom: 2px;
}

table.workstep_tbl tr.expanded > td
{
	border-top: solid grey 2px;
	padding-top: 10px;
	background: #F9F9F9;
}
table.workstep_tbl tr.expanded > td:first-child
{
	border-left: solid grey 2px;
}
table.workstep_tbl tr.expanded > td:last-child
{
	border-right: solid grey 2px;
	padding-right: 10px;
}

tr.level3_row > td
{
	border-bottom: solid grey 2px;
	border-right: solid grey 2px;
	border-left: solid grey 2px;
}

table.worksteps_3_tbl
{	
	margin-left: 20px;
	border-spacing: 0px 3px;
}

tr.workstep_header td
{
	background: #EAEAEA;
	padding-right: 5px;
}

td.first_cell
{
	color: #5E6656;
}

table.workstep_tbl td.workstep
{
	padding-right: 5px;
	vertical-align: top;
}

table.workstep_tbl td.eq_workstep
{
	padding-right: 5px;
	padding-top: 5px;
	vertical-align: top;
}


table.workstep_tbl th
{
	vertical-align: bottom;
}

td.step_substeps
{	
	background: #F9F9F9;
	margin-bottom: 10px;
}

td.name_step td
{
	padding-left: 10px;
}

table.worksteps_3_tbl td.workstep, td.eq_workstep
{
	border-bottom: none;
	border-top: solid lightgrey 1px;
	border-left: none;
	border-right: none;
}

table.workstep_tbl th
{
	vertical-align: bottom;
}

.top_workstep_row td
{
	border-color: lightgrey;
	border-bottom-style: solid;
	border-top-style: solid;
	border-bottom-width: 1px;
	border-top-width: 1px;
}
/* ------- MULTIJOB --------------- */

span.unavailable
{
	text-decoration: line-through;
}

tr.multi_job_equipment td
{
	color: #B20000;
	font-style: italic;
}

table.multijob_head2_tbl
{
	border-spacing: 0px;
	background: #F9F9F9;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 100px;
	padding-right: 100px;
	width: 100%;
}

table.multijob_head2_tbl td
{
	width: 20%;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

table.multijob_head2_tbl tr:last-child td
{
	border-bottom-style: none;
}

/*------- PROJECT NAVIGATION ------------ */

.project_nav_div
{
	width: 100%;
	height: 20px;
	background: #85B585;
	margin-top: 10px;
}

.project_nav_tbl
{
	margin-top: -8px;
}

.project_nav_tbl td
{
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 4px;
	padding-bottom: 4px;
	border: solid 1px;
	cursor: pointer;
	white-space: nowrap;
	
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.project_nav
{	
	background: #A3C8A3;	
}

.project_nav:hover
{
	background: #66A366;
}

.project_nav_selected
{
	background: #66A366;
}

/*--------------- journal -------------*/

table.journal_tbl
{
	border-spacing: 0px;
}

table.journal_tbl th
{
	font-weight: normal;
	border-top: solid 1px;
	border-bottom: solid 1px lightgrey;
}

table.journal_tbl img
{
	max-width: 600px;
}

/* ------------------- OTHER --------------------- */

span.insert
{
	color: red;
	font-weight: bold;
	cursor: pointer;
}

span.selectedaddstep
{
	cursor: pointer;
	font-weight: bold;
	color: red;
}

i.information
{
	color: #737373;
}

iframe#file_frame
{
	overflow: hidden;
	width: 100%;
	height: 300px;
	background: #F9F9F9;
}

.step_uneditable
{
	border: none;
    background: transparent;
	color: black;
}

.eqofferitem
{
	color: #FF6666;
	font-style: italic;
}

.step_linethrough li.offerheadlink ul, .step_none li.offerheadlink ul
{
	display: none;
}

.multieq_none
{
	display: none;
}

.equipments_table td
{
	white-space: nowrap;
}

.visibility_used
{
	visibility: hidden;
}

div.stepfiles_div
{
	width: 400px;
	max-height: 200px;
	overflow: auto;
	margin-top: 10px;
	margin-bottom: 10px;
}

table.stepfiles_tbl
{
	border-spacing: 7px 0px;
}

/* ------------- PROJECT PLANS ------------------- */
table.plans_table
{
	border-spacing: 0;
}

tr.plans_header th
{
	background: #E6E6E6;
	border-top: solid grey 1px;
	border-bottom: solid grey 1px;
}

td.folders_td
{
	border-right: solid #FFCC99 1px;
	border-left: solid #FFCC99 1px;
	padding-left: 3px;
	background: #FFF5EB;
}

/* ---------------- COVERAGE -------------------------- */
div.step_coverage
{
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
}

div.step_coverage_active
{	
	text-align: left;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 10px;	
	padding-bottom: 10px;	
	background: #F9F9F9;
	border: solid grey 1px;
}

div.step_coverage_active > table.coverage_title_table
{	
	margin-top: 5px;
	background: #E7E7E7;
}

div.step_coverage div.step_coverage
{
	display: none;
}

div.step_coverage table.coverage_content_table
{
	display: none;
}

table.coverage_content_table
{
	margin-top: 10px;
}

table.coverage_content_table, table.coverage_content_table  table
{
	border-spacing: 0px;
	width: 100%;
}

div.step_coverage tr:hover
{
	background: #EAEAEA;
}


.mj_level_1_step td
{
	font-weight: bold;
	font-size: 14px;
	text-decoration: underline;
	white-space: nowrap;
}


.feedbackTable {
	display:none;
}
.feedbackLink {
	cursor:pointer;
}
