body, td
{
	vertical-align: top;
	margin: 0;
	padding: 0;
	font-family: "Gill Sans", "Lucida Grande", Verdana, sans-serif;
	font-size: 10pt;
}

body
{
	color: #000;
	background: #ffff;
	min-width: 760px;
}

html, body
{
	margin: 0;
	padding: 0;
	height: 100%;
}

a
{
	color: #248bff;
	text-decoration: underline;
}

img
{
	border: 0;
}

form
{
	display: inline;
}

label
{
	display: inline-block;
}

input, button, select, option, textarea, span.datefield
{
	margin: 0;
	font-family: "Gill Sans", "Lucida Grande", Verdana, sans-serif;
	font-size: 100%;
}

textarea, input[type=text], input[type=password], span.datefield
{
	padding: 0.1em;
	color: #000;
	background: #f7f7f7;
	border: 1px solid #c3c3c5;
}

button, input[type=submit], input[type=reset]
{
	padding: 0em 0.3em 0.15em 0.3em;
	min-height: 15px;
	height: 1.8em;
	color: #434345;
	background: #ddd url(../img_new/grad_btn.png) top left repeat-x;
	border-top: 1px solid #e3e3e5;
	border-left: 1px solid #cdcdcf;
	border-right: 1px solid #cdcdcf;
	border-bottom: 1px solid #c3c3c5;
	font-size: 90%;
	font-weight: bold;
}

input[type=radio], input[type=checkbox]
{
	margin: 0.1em;
	vertical-align: bottom;
}

select
{
	color: #000;
	background: #f7f7f7;
	border: 1px solid #c3c3c5;
}

span.datefield, input.datefield
{
	display: -moz-inline-box; /* Fixes Gecko */
	display: inline-block;
	padding: 0.1em;
	width: 7em;
	height: 1.2em;
	cursor: pointer;
}

span.timefield, input.timefield
{
	width: 10.4em;
}

button.offset
{
	margin-left: 0.4em;
}

.numeric
{
	text-align: right;
}

.negative
{
	color: darkred;
}

.smalltext
{
	font-size: 94%;
}

.badtext
{
	color: darkred;
	font-weight: bold;
	text-decoration: underline;
}

textarea:hover, input[type=text]:hover, input[type=password]:hover, span.datefield:hover, button:hover, input[type=submit]:hover, input[type=reset]:hover, select:hover
{
	border: 1px solid #248bff;
	outline: 1px solid #96dfff;
}

textarea:focus, input[type=text]:focus, input[type=password]:focus, span.datefield:focus, button:focus, input[type=submit]:focus, input[type=reset]:focus, select:focus
{
	border: 1px dashed #248bff;
}

input[type=submit][disabled]:hover, input[type=reset][disabled]:hover, button[disabled], button[disabled]:hover
{
	color: #aaa;
	background: #888;
	border-top: 1px solid #939395;
	border-left: 1px solid #7d7d7f;
	border-right: 1px solid #7d7d7f;
	border-bottom: 1px solid #737375;
	outline: none;
}

.preserve
{
}

.hidden, .noscreen
{
	display: none;
}

.nowrap
{
	white-space: nowrap;
}

.ellipsis
{
/*	width: 100%; */
	display: block;
	overflow: hidden;
	white-space: nowrap;
	-ms-text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	-moz-binding: url('../../xul/bindings.xml#ellipsis');
}

div.ipfield
{
	display: -moz-inline-box;
	display: inline-block;
	float: left;
}

div.prn
{
	display: none;
}

input.phone
{
	background: #f7f7f7 url(../../img/ui_phone.gif) right no-repeat;
}

input.money
{
	background: #f7f7f7 url(../../img/ui_money.gif) right no-repeat;
}

div.tool .tip
{
	opacity: 0.89;
	background: #d3d3d5;
	border: 1px solid #c3c3c5;
	position: relative;
	z-index: 650;
	font-size: 90%;
	-moz-box-shadow: 0px 0.5em 1.3em #444;
	-webkit-box-shadow: 0px 0.5em 1.3em #444;
}

div.tool .tip .tip-title
{
	display: block;
	margin: 0;
	padding: 0.3em;
	color: #fff;
	background: #434345;
	font-weight: bold;
}

div.tool .tip ul
{
	margin: 0;
	padding: 0.3em;
}

div.tool .tip ul li
{
	margin: 0px 0.4em 0px 2em;
	padding: 0;
}

div#whole
{
	min-height: 100%;
	position: relative;
}

div#header
{
	height: 26px;
	margin: 0px;
	padding: 4px;
	background: #e0e0e0 url(../../img/logo_header.png) 0px 2px no-repeat;
	font-size: 150%;
}

div#subhead
{
	height: 26px;
	margin: 0px;
	padding: 4px;
	background: #f0f0f0;
}

div#footer
{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 2em;
	border-top: 1px solid #c3c3c5;
	background: #d6d6d8;
	overflow: hidden;
}

div#footer div
{
	color: #202020;
	padding: 0.5em 0.6em;
	font-size: 84%;
	white-space: nowrap;
}

div#footer div#right
{
	float: right;
}

div#modulemenu
{
	display: none;
	position: absolute;
	z-index: 50;
	top: 0;
	right: 0;
	padding-top: 4px;
	background: #fff;
	border: 1px solid #c3c3c5;
	opacity: 0.9;
}

div.cbox
{
	display: -moz-inline-box;
	display: inline-block;
	margin-bottom: 4px;
	width: 22.4em;
	border: 1px solid #c3c3c5;
	vertical-align: top;
}

a.iconbutton, div.selector a, div#header a#modselect, div#header .hopt, div#modulemenu a, div#modulemenu div.current, div#subhead .shopt, div.cbox a
{
	display: block;
	height: 16px;
	padding: 4px 4px 4px 32px;
	color: #434345;
	background-color: #fff;
	background-position: top left;
	background-repeat: no-repeat;
	border: 1px solid #c3c3c5;
	font-size: 12px;
	text-decoration: none;
}

div.cbox a
{
	margin: 4px;
}

div.selector, div.selector a, a.iconbutton
{
	display: -moz-inline-box; /* Fixes Gecko */
	display: inline-block;
}

a.iconbutton, div.selector a
{
	cursor: pointer;
}

a.iconbutton:hover, div.selector a:hover, div#header a#modselect:hover, div#header a.hopt:hover, div#subhead a.shopt:hover, div#modulemenu a:hover, div.cbox a:hover
{
	border: 1px solid #248bff;
	outline: 1px solid #96dfff;
}

div.logo
{
	position: fixed;
	top: 10%;
	left: 32%;
	text-decoration:none;
	border: 0 none;
}

div.bigicon
{
	min-height: 32px;
	padding: 2px 2px 2px 47px;
	color: #000;
	background: #fff;
	border: 1px solid #c3c3c5;
	font-size: 10px;
}

div#modulemenu a, div#modulemenu div.current
{
	margin: 0px 4px 4px 4px;
}

div#modulemenu div.current
{
	color: #248bff;
	border: 1px dashed #248bff;
	font-weight: bold;
}

div#header a#modselect, div#header .hopt
{
	float: right;
	margin-left: 4px;
}

div#subhead .shopt
{
	float: left;
	margin-right: 4px;
}

div#mainbar
{
	position: relative;
	margin: 14px 4px 0px 4px;
	padding-bottom: 2.4em;
}

div.message
{
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 850;
	opacity: 0.92;
	padding: 8px 10px 8px 10px;
	background: #fff;
	border: 1px solid #c3c3c5;
}

div.message.progress
{
	padding: 8px 10px 8px 48px;
	min-height: 2.6em;
	background: #fff url(../../img/loading.gif) left no-repeat;
}

div.message.error
{
	padding: 8px 10px 8px 48px;
	color: #ee2;
	background: #900 url(../../img/msg_error.png) 8px 8px no-repeat;
	border: 1px solid #600;
}

div.message div.title
{
	font-size: 110%;
	font-weight: bold;
}

div.message li
{
	font-size: 80%;
}

div.notebook ul.tabs
{
	display: block;
	margin: 0;
	padding: 0;
	height: 1.75em;
}

div.notebook ul.tabs li
{
	display: block;
	float: left;
	margin: 0px 4px 0px 0px;
	padding: 0;
	height: 1.75em;
	font-size: 80%;
}

div.notebook ul.tabs li a
{
	display: block;
	margin: 0;
	padding: 0.4em 1.1em 0px 1.1em;
	height: 1.8em;
	color: #fff;
	background: #888 url(../../img/grad_nb_normal.png) bottom left repeat-x;
	text-shadow: 0px 0px 4px #000;
	text-decoration: none;
}

div.notebook ul.tabs li a:hover
{
	background: #ababab url(../../img/grad_nb_hover.png) top left repeat-x;
}

div.notebook ul.tabs li.active
{
	position: relative;
	top: 0.1em;
	padding: 4px 12px 0px 12px;
	height: 1.8em;
	background: #ddd url() top left repeat-x;
	border-top: 2px solid #248bff;
	border-left: 1px solid #c3c3c5;
	border-right: 1px solid #c3c3c5;
	cursor: default;
}

div.notebook ul.tabs li.pinned a
{
	position: relative;
	top: 0.1em;
	padding: 4px 12px 0px 12px;
	height: 1.8em;
	color: #000;
	background: #ddd url() top left repeat-x;
	border-top: 2px solid #00b957;
	border-left: 1px solid #c3c3c5;
	border-right: 1px solid #c3c3c5;
	cursor: default;
	text-shadow: none;
}

div.notebook ul.tabs li.disabled
{
	padding: 4px 12px 0px 12px;
	height: 1.8em;
	color: #999;
	background: #434345;
	cursor: default;
}

div.notebook div.content
{
	padding: 0.3em;
	background: #ddd;
	border: 1px solid #c3c3c5;
}

div.bglayer, div.clayer
{
	position: absolute;
	left: 0px;
	z-index: 500;
}

div.bglayer
{
	top: 0px;
	width: 100%;
	background: #333;
	opacity: 0.8;
}

div.wizard, div.window
{
	position: fixed;
	margin: 0;
	padding: 0;
	min-width: 54em;
	min-height: 32em;
	background: #fff;
	border: 1px solid #c3c3c5;
	z-index: 10;
	-moz-box-shadow: 0px 0.9em 2.1em #444;
	-webkit-box-shadow: 0px 0.9em 2.1em #444;
}

div.clayer div.wizard, div.clayer div.window
{
}

div.dialog
{
	min-width: 10em;
	min-height: 5em;
	-moz-box-shadow: 0px 0.9em 2.1em #444;
	-webkit-box-shadow: 0px 0.9em 2.1em #444;
}

div.wizard div.sidebar
{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 15;
	width: 14em;
	padding: 3.4em 0.4em 0.4em 0.4em;
	background: #eee;
	border-right: 1px solid #c3c3c5;
}

div.dataform, div.errorbox
{
	border: 1px solid #c3c3c5;
}

div.dataform h1, div.wizard h1, div.window h1, div.cbox h1, div.errorbox h1, div.treeview h1
{
	display: block;
	margin: 0;
	padding: 0.5em 0.8em;
	/*color: #fff;
	background: #434345;*/
	background: #ddd url() top left repeat-x;
	border-top: 1px solid #d3d3d5;
	border-bottom: 1px solid #d3d3d5;
	font-size: 110%;
	cursor: default;
}

div.dataform h2
{
	display: block;
	margin: 0;
	padding: 0.5em 0.8em;
	background: #eee;
	font-size: 100%;
	cursor: default;
}

div.dataform h3
{
	display: block;
	margin: 0;
	padding: 0.5em 0.8em;
	color: #fff;
	background: #ff0000;
	border-top: 1px solid #d3d3d5;
	border-bottom: 1px solid #d3d3d5;
	font-size: 115%;
	cursor: default;
}

div.dataform h31
{
	font-style: italic;
	font-size: 95%;
}


div.window a.closebtn
{
	position: absolute;
	top: 4px;
	right: 4px;
	display: block;
	padding: 0.1em 0.4em 0.1em 0.4em;
	color: #434345;
	background: #ddd url(../../img/grad_btn.png) top left repeat-x;
	border-top: 1px solid #e3e3e5;
	border-left: 1px solid #cdcdcf;
	border-right: 1px solid #cdcdcf;
	border-bottom: 1px solid #c3c3c5;
	font-size: 90%;
	font-weight: bold;
	text-decoration: none;
}

div.window a.closebtn:hover
{
	border: 1px solid #744444;
	outline: 1px solid #d68888;
}

div.window div.inner
{
	position: absolute;
	padding: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-x: hidden;
	overflow-y: scroll;
}

div.dialog div.inner
{
	padding: 2em;
	overflow: hidden;
	font-size: 110%;
}

div.dataform div.footer, div.wizard div.btnbar, div.dialog div.btnbar
{
	margin: 0;
	padding: 0;
	color: #000;
	background: #ddd;
	border-top: 1px solid #d3d3d5;
	text-align: right;
	overflow: hidden;
}

div.wizard h1, div.wizard div.btnbar, div.dialog div.btnbar
{
	z-index: 20;
}

div.wizard h1
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

div.wizard div.btnbar, div.dialog div.btnbar
{
	position: absolute;
	bottom: 0;
	width: 100%;
	min-height: 26px;
}

div.dialog div.btnbar
{
}

div.dialog div.btnbar a.iconbutton
{
	margin: 2px 2px 2px 0px;
}

div.wizard div.contents
{
	margin: 2.9em 0 0 14.8em;
}

div.dataform div.footer button, div.wizard div.btnbar button
{
	margin: 3px 3px 2px 0px;
}

div.wizard div.btnbar button
{
	width: 7em;
}

div.dataform div.footer div.sbar, div.wizard div.sbar
{
	float: left;
	padding: 0.4em 0em 0.4em 2em;
}

div.dataform div.footer div.msg_info, div.wizard div.msg_info
{
	background: transparent url(../../img/sbar_info.png) left no-repeat;
}

div.dataform div.footer div.msg_warning, div.wizard div.msg_warning
{
	background: transparent url(../../img/sbar_warning.png) left no-repeat;
}

div.dataform div.footer div.msg_error, div.wizard div.msg_error
{
	background: transparent url(../../img/sbar_error.png) left no-repeat;
}

div.dataform div.elem, div.wizard div.elem, div.errorbox div
{
	position: relative;
	padding: 0.3em;
	background: #fcfcfc;
	overflow-y: visible;
}

div.dataform div.empty, div.wizard div.empty
{
	color: #939395;
}

div.dataform div.ro
{
	padding: 0.4em;
}

div.dataform div.elem div.ipfield, div.wizard div.elem div.ipfield
{
	float: none;
}

div.dataform div.elem img.vflag, div.wizard div.elem img.vflag
{
	float: right;
}

div.wizard div.elem img.vflag
{
	position: absolute;
	right: 2px;
	z-index: 15;
}

div.dataform div.elem input.text, div.wizard div.elem input.text
{
	min-width: 3em;
	max-width: 32em;
	resize: horizontal;
}

div.dataform div.elem textarea, div.wizard div.elem textarea
{
	width: 24em;
	height: 5em;
	min-width: 16em;
	max-width: 32em;
	min-height: 5em;
	max-height: 32em;
	resize: both;
}

div.dataform div.alt, div.wizard div.alt
{
	background: #f3f3f3;
}

div.dataform label.chklabel
{
	padding-left: 0.75em;
}

div.dataform div.xrtext, div.wizard div.xrtext
{
	padding-left: 2em;
	color: #636365;
}

div.dataform div.elem div.subcont, div.wizard div.elem div.subcont
{
	display: -moz-inline-box;
	display: inline-block;
	vertical-align: top;
}

div.dataform div.elem div.econt, div.wizard div.elem div.econt
{
	display: -moz-inline-box;
	display: inline-block;
	padding: 0.2em 0.2em 0.2em 0;
}

div.dataform div.elem div.econt label, div.wizard div.elem div.econt label
{
	display: block;
	font-size: 80%;
}

div.dataform div.elem hr, div.wizard div.elem hr
{
	clear: both;
	margin: 0;
	padding: 0;
	height: 1px;
	color: #fff;
	background: #fff;
	border: 0;
}

div.dataform div.elem label.field, div.wizard div.elem label.field
{
	display: -moz-inline-box;
	display: inline-block;
	width: 12em;
	padding-top: 0.2em;
	padding-right: 0.3em;
	font-weight: bold;
	vertical-align: top;
}

div.dataform div.ro label.field
{
	padding-top: 0.1em;
}

div.dataform div.elem div.ibar, div.wizard div.elem div.ibar
{
	float: right;
	height: 20px;
	text-align: right;
}

div.dataform div.elem div.ibar a.ibtn, div.wizard div.elem div.ibar a.ibtn
{
	display: -moz-inline-box;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 2px;
}

div.dataform div.elem a.ibtn img, div.wizard div.elem a.ibtn img
{
	display: block;
}

div.fullpage div.elem label.field
{
	width: 26em;
}

div.leftcol, div.rightcol
{
	position: absolute;
}

div.leftcol
{
	left: 0;
	width: 45%;
}

div.rightcol
{
	right: 0;
	width: 55%;
}

div.leftcol div.vblock, div.rightcol div.vblock
{
	padding-bottom: 1.1em;
}

div.leftcol div.vblock
{
	margin-right: 0.4em;
}

div.rightcol div.vblock
{
	margin-left: 0.4em;
}

img.icon
{
	display: -moz-inline-box;
	display: inline-block;
	margin: 0px 1px 0px 0px;
	width: 20px;
	height: 20px;
	border: 0;
}

img.xicon
{
	display: inline;
	margin: 0px 1px 0px 0px;
	width: 20px;
	height: 20px;
	border: 0;
	vertical-align: middle;
}
a img
{
	position: fixed;
	top: 10%;
	left: 32%;
	margin-bottom: -7px;
}

a.mact
{
	display: -moz-inline-box;
	display: inline-block;
	/*margin: 0px 1px 0px 0px;*/
	margin-left: 1px;
	padding: 0;
	width: 20px;
	height: 20px;
}

a.mact:first-child
{
	margin-left: 0;
}

a.mact:hover
{
	outline: 1px solid #96dfff;
}

a.mact img
{
	display: block;
	border: 0;
	width: 20px;
	height: 20px;
}

a.mact:hover img
{
	outline: 1px solid #248bff;
}

div.treeview, div.treeview div.treerow
{
	margin: 0;
	padding: 0;
}

div.treeview
{
	float: left;
	border: 1px solid #d3d3d5;
	background: #fff;
}

div.treeview div.treerow
{
	position: relative;
	z-index: 1;
	min-height: 24px;
}

div.treeview div.treerow div.spacer, div.treeview div.treerow a.treenode
{
	position: absolute;
	display: block;
	width: 24px;
	min-height: 24px;
}

div.treeview div.treerow div.spacer
{
}

div.treeview div.treerow a.treenode
{
	z-index: 2;
}

div.treeview div.treerow a.treeitem, div.treeview div.treerow div.treeitem
{
	margin: 0;
	color: #000;
}

div.treeview div.treerow a.treeitem
{
	display: block;
	min-height: 18px;
	padding: 3px 0.7em 3px 0.1em;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0px 0px 4px #fff;
}

div.treeview div.treerow.selected
{
	background: #248bff;
}

div.treeview div.treerow.selected .treeitem
{
	color: #fff;
	text-shadow: 0px 0px 4px #13447b;
}

table.dtable
{
	border: 1px solid #d3d3d5;
	background: #d3d3d5;
}

table.dtable th, table.dtable td
{
	padding: 0.2em;
	font-size: 84%;
}

table.dtable th
{
	background: #ddd url() top left repeat-x;
}

table.dtable td
{
	background: #ddd;
}

