/*
 * Author:	Petteri Hakala
 *			Sentatel Oy
 *			petteri.hakala@oyk.fi
 */

.LegacyWrapper div#calendardiv, .LegacyWrapper div#content_div
{
	background: #F9F9F9;
}

.LegacyWrapper hr
{
	border: 1px solid lightgrey;
}

.LegacyWrapper input[type="text"], .LegacyWrapper input[type="password"], .LegacyWrapper textarea
{
	border: solid 1px grey;
	padding: 2px;
}

.LegacyWrapper input[type="button"]:not(.v-btn), .LegacyWrapper button:not(.v-btn)
{
	border: outset grey 2px;
	background: #EAEAEF;
}

.LegacyWrapper input[type="button"]:not(.v-btn):disabled, .LegacyWrapper button:not(.v-btn):disabled
{
	color: grey;
}

.LegacyWrapper input[type="text"]:disabled, .LegacyWrapper input[type="password"]:disabled, .LegacyWrapper textarea:disabled
{
	background: lightgrey;
}

.LegacyWrapper input[type="button"]:not(.v-btn):enabled:active, .LegacyWrapper button:not(.v-btn):enabled:active
{
	border: inset grey 2px;
}

.LegacyWrapper a.pic:hover
{
	color: red;
}

.LegacyWrapper div.scrollable
{
	max-height: 400px;
	overflow: auto;
	margin-top: 10px;
	margin-bottom: 10px;
}

.LegacyWrapper tr.itemrow td
{
	cursor: pointer;
}

.LegacyWrapper tr.itemrow:hover td
{
	text-decoration: underline;
}

.LegacyWrapper table.simple_table td
{
	padding-right: 20px;
	padding-bottom: 10px;
}

.LegacyWrapper table.customer_common_table
{
	border-spacing: 0px;
}

.LegacyWrapper table.customer_common_table td
{
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}

div#load_mask
{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 12;
	background-color: white;
	text-align: center;
	cursor: wait;

	filter:alpha(opacity=70);   /* Internet Explorer       */
	-moz-opacity:0.7;           /* Mozilla 1.6 and below   */
	opacity: 0.7;               /* newer Mozilla and CSS-3 */
}

div#load_mask img
{
	vertical-align: middle;
	position:fixed;
	top: 40%;
}

div.content
{
	background: white;
}

span.error
{
	visibility: hidden;
	color: red;
}

.failure
{
	display: none;
	color: red;
}

.red
{
	color: red;
}

.invalid
{
	background-color: #FFB2B2;
}

.hidden
{
	display: none;
}

/* ------- BUTTONS ----------- */
.LegacyWrapper table.worksteps td
{
	padding-left: 10px;
	vertical-align: middle;
}

td.workstep_btn, td.selectedstep
{
	display: block;
	cursor: pointer;
	margin-top: 2px;
	background: #dcdcdc;
	border-style: solid;
	border-width: 1px;
	width: 170px;
	padding: 8px;
	padding-left: 30px;

	-moz-border-radius: 5px;
	border-radius: 5px;
}

td.workstep_btn:hover
{
	color: white;
	border-color: black;
}

td.selectedstep
{
	background: pink;
}

td.filter_btn, td.selectedfilter
{
	text-align: center;
	cursor: pointer;
	background: #dcdcdc;
	border-style: solid;
	border-width: 1px;
	width: 100px;
	padding-left: 10px;
	padding-right: 10px;

	-moz-border-radius: 5px;
	border-radius: 5px;
}

td.filter_btn:hover
{
	color: white;
	border-color: black;
}

td.selectedfilter
{
	background: pink;
}

/* ---------------- PRETEXT ------------------- */

div.pretext_div
{
	position: absolute;
	top: 1px;
	left: 1px;

	display: none;
	background: #FFEFD5;
	overflow: hidden;
	height: auto;
	z-index: 30;
}

.LegacyWrapper tr.selected_pretext
{
	background: orange;
}

/* ----------------- DIALOGS ---------------*/

div.mask
{
	position:fixed;
	width: 100%;
	height: 100%;
	left:0;
	top:0;
	z-index:12;
	background-color:white;
	display:none;
	cursor: pointer;

	filter:alpha(opacity=70);   /* Internet Explorer       */
	-moz-opacity:0.7;           /* Mozilla 1.6 and below   */
	opacity: 0.7;               /* newer Mozilla and CSS-3 */
}

div.dialog
{
	display: none;
	position: fixed;
	top: 20%;
	left: 35%;
	z-index: 21;

	vertical-align: middle;
	text-align: center;
	border-style: solid;
	border-width: 1;
	border-color: lightblue;
	padding: 10px;
	background-color: white;
}

#confirm_dlg
{
	z-index: 100;
}

div.dlg_header
{
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 30;
	width: 100%;
	height: 20px;
	background-color: lightblue;
}

div.header_div
{
	background: #F9F9F9;
	padding: 10px;
}

.LegacyWrapper table.header_tbl
{
	background: #F9F9F9;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 100px;
	padding-right: 100px;
	width: 100%;
}

.LegacyWrapper table.header_tbl th
{
	width: 60%;
	text-align: left;
}

span#close
{
	position: absolute;
	top: 1px;
	right: 8px;
	font-weight: bold;
	z-index: 31;
}

div#email_div
{
	position: fixed;
	top: 3%;
	left: 20%;
}

/* ------------------ DATE PICKER ---------------------- */
/* located in demo.css and creates a little calendar icon
 * instead of a text link for "Choose date"
 */
a.dp-choose-date
{
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	/* background: url(calendar.png) no-repeat; */
}

a.dp-choose-date.dp-disabled
{
	background-position: 0 -20px;
	cursor: default;
}
/* makes the .LegacyWrapper input field shorter once the date picker code
 * has run (to allow space for the calendar icon
 */

/* --------- IMAGES ------------- */
img.timeline_visible, img.timeline_hidden
{
	vertical-align: middle;
	cursor: pointer;
}

img.timeline_hidden
{
	filter:alpha(opacity=20);   /* Internet Explorer       */
	-moz-opacity:0.2;           /* Mozilla 1.6 and below   */
	opacity: 0.2;               /* newer Mozilla and CSS-3 */
}

img.print
{
	cursor: pointer;
	filter:alpha(opacity=20);   /* Internet Explorer       */
	-moz-opacity:0.2;           /* Mozilla 1.6 and below   */
	opacity: 0.2;               /* newer Mozilla and CSS-3 */
}

img.print:hover
{
	filter:alpha(opacity=100);  /* Internet Explorer       */
	-moz-opacity:1;           	/* Mozilla 1.6 and below   */
	opacity: 1;               	/* newer Mozilla and CSS-3 */
}

img.email
{
	width: 15%;
	cursor: pointer;
}

/* ------------- OTHER ------------ */

.LegacyWrapper tr.border_bottom td:first
{
	border-bottom: solid 1px grey;
}

.LegacyWrapper tr.border_top td:first
{
	border-top: solid 1px grey;
}

.border_bottom
{
	border-bottom: solid 1px grey;
}

.border_top
{
	border-top: solid 1px grey;
}

.border_right
{
	border-right: solid 1px grey;
}

.border_left
{
	border-left: solid 1px grey;
}

.middle
{
	vertical-align: middle;
}

span.small_header
{
	font-size: 10px;
	line-height: 8px;
}

.LegacyWrapper table.sheet_like_table td
{
	color: lightgrey;
	border-right: solid 1px;
	border-bottom: solid 1px;
}

.LegacyWrapper table.sheet_like_table .LegacyWrapper input
{
	width: 100%;
	border: none;
	background: transparent;
}

.LegacyWrapper table.sheet_like_table b
{
	color: grey;
	margin-right: 5px;
}

.LegacyWrapper table.sheet_like_table span
{
	color: grey;
	margin-right: 5px;
}

.LegacyWrapper .left_div
{
	display: inline-block;
	text-align: left;
	min-width: 0px;
}

.LegacyWrapper .clickable_pic
{
	cursor: pointer;
	filter:alpha(opacity=20);   /* Internet Explorer       */
	-moz-opacity:0.2;           /* Mozilla 1.6 and below   */
	opacity: 0.2;               /* newer Mozilla and CSS-3 */
}

.LegacyWrapper .clickable_pic:hover
{
	filter:alpha(opacity=100);  /* Internet Explorer       */
	-moz-opacity:1;           	/* Mozilla 1.6 and below   */
	opacity: 1;               	/* newer Mozilla and CSS-3 */
}

.LegacyWrapper .clickable
{
	cursor: pointer;
	color: #4A4AF0;
}

.LegacyWrapper span.disabled
{
	color: lightgrey;
}

.LegacyWrapper a.exit
{
	position: absolute;
	top: 5px;
	right: 9px;
}

.LegacyWrapper .clickable:hover, .active
{
	color: red;
}

.LegacyWrapper .celltext
{
	border: none;
    background: transparent;
	background-color: Lavender;
}

.LegacyWrapper input.datefield
{
	background-color: lightblue;
}

.LegacyWrapper table.common_list_table
{
	border-spacing: 0px;
	width: 100%;
}

.LegacyWrapper table.common_list_table td, .LegacyWrapper table.common_list_table th
{
	padding-right: 5px;
}

.LegacyWrapper td.price, .LegacyWrapper th.price, .LegacyWrapper .nowrap
{
	white-space: nowrap;
}

.LegacyWrapper iframe#printerframe
{
	width: 0px;
	height: 0px;
	overflow: hidden;
	border: white;
}

.LegacyWrapper .removebutton
{
	position: relative;
	top: 0px;
	left: 100px;
}

.legacyWrapper.action_img
{
	cursor: pointer;
	filter:alpha(opacity=20);   /* Internet Explorer       */
	-moz-opacity:0.2;           /* Mozilla 1.6 and below   */
	opacity: 0.2;               /* newer Mozilla and CSS-3 */
}

.legacyWrapper.action_img:hover
{
	filter:alpha(opacity=100);  /* Internet Explorer       */
	-moz-opacity: 1;         	/* Mozilla 1.6 and below   */
	opacity: 1;             	/* newer Mozilla and CSS-3 */
}

.LegacyWrapper .action_img img
{
	max-height: 9px;
}

.LegacyWrapper #connect_to_call_form
{
	width: 90%;
}

.LegacyWrapper #connect_to_call_form td
{
	vertical-align: bottom;
}

.LegacyWrapper div.header_1
{
	padding-left: 30px;
	padding-top: 2px;
	padding-bottom: 2px;
	background: #DCDCDC;
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: bold;
}

.LegacyWrapper .bold
{
	font-weight: bold;
}

/* SCROLLABLE TABLE */
.LegacyWrapper .scrolling_thead tr
 {
	display: block;
	position: relative;
}

.LegacyWrapper .scrolling_tbody
{
	width: 100%;
	display: block;
	overflow: auto;
	max-height: 400px;
	background: #F8F8F8;
	border: solid grey 1px;
}

.LegacyWrapper .underline
{
	text-decoration: underline;
}

.LegacyWrapper .edit_action
{
	white-space: nowrap;
	cursor: pointer;
}

.LegacyWrapper .edit_action img
{
	max-height: 9px;
}

/* ------- CUSTOMERS ----------- */
.LegacyWrapper #customerform input[type=text], .LegacyWrapper #customerform textarea {
	width:280px;
}

/* ---------- stylish list table --------- */
.LegacyWrapper div.stylish_list
{
	margin-left: 50px;
	margin-right: 50px;
	padding: 10px;
	background: #F8F8F8;
	border: solid 1px lightgrey;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.LegacyWrapper table.stylish_list
{
	width: 90%;
}

.LegacyWrapper table.stylish_list td
{
	vertical-align: top;
}

.LegacyWrapper table.stylish_list tr:first-child th
{
	text-decoration: underline;
}

.LegacyWrapper tr.stylish_list:hover td
{
	text-decoration: underline;
	cursor: pointer;
}

.LegacyWrapper tr.stylish_list:hover td, .LegacyWrapper tr.stylish_list:hover th
{
	background: #E6E6E6;
}

/* INFORMATIVE LIST */

.LegacyWrapper table.informative_list
{
	border-spacing: 0px;
	color: grey;
}

.LegacyWrapper table.informative_list tr:hover td
{
	background: #DCDCDC;
}

.LegacyWrapper table.informative_list td
{
	background: #F9F9F9;
	color: #4D4D4D;
}

.LegacyWrapper table.informative_list th
{
	color: black;
}

.LegacyWrapper [readonly="readonly"]
{
	color: grey;
	background-color: #F0F0F0;
}
