body {
	background: #ebebeb;
	margin: 0;
	padding:0;
	color: rgb(68, 68, 68);
	body: 100%;
}
body,table,select,input,pre {
   font: normal .8em/1.5em Helvetica, sans-serif;
   font-size:12px;
}
select, input, textarea, button {
	outline:none;
	padding: 2px;
}
a:target, a:visited, a:active, a:link {
	color: rgb(68, 68, 68);
	text-decoration: none; 
}
a:hover {
	text-decoration:underline;
}
h1 {
	margin-left: 30px;
	font-size:18px;
	font-weight:bold;
	color: #444;
	letter-spacing: 2px;
}
img {
	border: 0px none;
}
.disabled {
	color: #D1D1D1 !important;
}
img.disabled {
	filter:alpha(opacity=30);
	-moz-opacity:0.3;
	-khtml-opacity: 0.3;
	opacity: 0.3;
}
img.icon {
	width: 20px;
	vertical-align: middle;
}
img.iconSmall {
	width: 12px;
	vertical-align: middle;
}
.button {
	cursor: pointer;
}

/**** From info tooltip icon ****/
img#form_info {
	vertical-align:top;
}
img.form_info {
	cursor: pointer;
}

/**** Tooltip list ****/
ul.tooltip_list {
	margin: 0px 0px 0px -30px;
	/*list-style: none;*/
	/*list-style-type: none;*/
	white-space: nowrap;
}
ul.tooltip_list > li {
	padding: 2px;
}
ul.tooltip_list > li:hover {
	text-decoration:underline;
}

/**** Font Awesome ****/
.fa-my {
	font-size: 1.5em;
}

/**** Form Input fields ****/
textarea, input, select  {
	border-radius: 3px;
	padding: 2px 3px 2px 4px;
	border:1px solid #a9a9a9;
	margin: 1px;
	color: rgb(68, 68, 68);
	background-color: #fff;
	vertical-align: middle;
}
textarea[disabled=""], input[disabled=""], select[disabled=""] {
	color:red;
}
input  {
	height: 16px; /* Firefox needs this */
    line-height: 16px;
}
select{
	line-height: 16px;
}
/**** Form button ****/
input[type="submit"], input[type="button"] {
	line-height: 16px;
	height: 24px;
	background-color: #C4C4C4;
	color: #fff;
	font-weight: bold;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
	border: 1px solid #A0A0A0;
	
    -moz-box-shadow:inset 0px 0px 10px #A9A9A9;
    -webkit-box-shadow:inset 0px 0px 10px #A9A9A9;
    box-shadow:inset 0px 0px 10px #A9A9A9;
}
input[type="submit"]:hover, input[type="button"]:hover {
	background-color: #D1D1D1;
}
/**** Form button light ****/
input[type="submit"].light, input[type="button"].light {
	line-height: 16px;
	height: 24px;
	cursor: pointer;
	background-color: #f1f1f1;
	color: #7c7e7d;
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	font-weight: normal;
	
	border:1px solid #9C9C9C;
	
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
	
	background-image: -webkit-gradient(
		linear,
		right bottom,
		right top,
		color-stop(0, #DDDDDD),
		color-stop(1, #F8F8F8)
	);
	background-image: -o-linear-gradient(top, #DDDDDD 0%, #F8F8F8 100%);
	background-image: -moz-linear-gradient(top, #DDDDDD 0%, #F8F8F8 100%);
	background-image: -webkit-linear-gradient(top, #DDDDDD 0%, #F8F8F8 100%);
	background-image: -ms-linear-gradient(top, #DDDDDD 0%, #F8F8F8 100%);
	background-image: linear-gradient(to top, #DDDDDD 0%, #F8F8F8 100%);
	line-height: 16px;
}
input[type="submit"].light:hover, input[type="button"].light:hover {
	background-image: none;
}

textarea:focus, input:focus, select:focus {
	box-shadow: 0px 0px 4px #A9A9A9;
	border:1px solid #7F7F7F;
}

/* DIV button*/
input[type="button"] {
	cursor: pointer;
	font-size: 12px;
}

select {
	/*-webkit-appearance: button;*/
	-webkit-padding-end: 20px;
	-webkit-padding-start: 2px;
	-webkit-user-select: none;
	font-size: inherit;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/***** Disabled ******/
input[disabled='disabled'], select[disabled='disabled'], textarea[disabled='disabled'], textarea[disabled=""], input[disabled=""], select[disabled=""]  {
	color: rgba(124,126,125, 0.8);
}

/**** CSS frames ****/
#top.cssframe {
	position:absolute;
	top:0;
	left:0;
    right:0;
	height:34px;
}
#scroll.cssframe {
	overflow:auto;
	position:absolute;
	/*float:left;*/
	top:32px;
	bottom: 21px;
	left:100px;
	right: 0;
	
}
#left.cssframe {
	overflow:hidden;
	position:absolute;
	left: 0;
	top:32px;
	width: 100px;
}
#footer.cssframe {
	position: fixed;
	bottom: 0;
	right: 0;
	left:100px;
	height: 21px;
}
#scroll {
	background-color: rgb(224, 224, 213); /* Default background color*/
	border-width: 1px;
	border-style: solid;
	border-color: rgb(255, 255, 255) #9c9c9c #9c9c9c rgb(255, 255, 255);
}

.box {
	/*position:absolute;*/
	
	background-color: rgb(242, 242, 230);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(rgb(242, 242, 230))); /* Chrome, Safari 4+ */
	background-image:      -o-linear-gradient(top, #a9a9a9, rgb(242, 242, 230)); /* Opera 11.10-12.00 */
	
	background-image: -moz-linear-gradient(left bottom, #a9a9a9, rgb(242, 242, 230)); /* Firefox 3.6-15 */
	background-image: -webkit-linear-gradient(left bottom right, #a9a9a9, rgb(242, 242, 230)); /* Chrome 10-25, iOS 5+, Safari 5.1+ */
	background-image: linear-gradient(to top left, #a9a9a9, #F2F2E6); /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
	filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#f2f2e6', EndColorStr='#a9a9a9', GradientType=1);

	border-width: 1px;
	border-style: solid;
	border-color: rgb(255, 255, 255) #9c9c9c #9c9c9c rgb(255, 255, 255);
}

.top{
	top: 0;
	left:0;
	right:0;
	height:14px;
	padding: 8px;
}

.center{
	top: 0;
	left:0;
	right:0;
	bottom: 0;
	padding: 0px 8px 8px 8px;*/
	-moz-border-radius-bottomleft:0px;
	-moz-border-radius-bottomright:0px;
	-webkit-border-bottom-left-radius:0px;
	-webkit-border-bottom-right-radius:0px;
	border-bottom-left-radius:0px;
	border-bottom-right-radius:0px;
}
.bottom {
	height: 21px;
	top: 0;
	left:0;
	right:0;
	bottom: 0;
	padding-right:2px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright:0px;
	-webkit-border-top-left-radius:0px;
	-webkit-border-top-right-radius:0px;
	border-top: 0px none;
	border-top-left-radius:0px;
	border-top-right-radius:0px;

}
.bottom > table > tbody > tr > td {
	padding:0;
}
/**** User Property section ****/
#user_property_img {
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: #444;

	vertical-align:middle;
	text-align: center;
	margin-top:-5px !important;
	width:20px;
}
#user_property {
	display:none;
	position:absolute;
	top:0;
	right:0;
	height:15px;
	width: 20px;
	padding: 8px;
}
#user_property:hover, #user_property.current {
	display:inline;
	background: rgb(242, 242, 230); /* for non-css3 browsers */
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	border-left: 1px solid #9c9c9c;
}
#header_user {
	position:absolute;
	right:45px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	font-weight:bold;
	color: #ffffff;
	letter-spacing: 2px;
	font-size:12px;
}

#user_property li {
	padding: 2px;
}

/* Show property menu */
#user_property:hover #user_propert_manu, #user_property_img:hover #user_propert_manu, #user_propert_manu:hover{
	padding: 6px;
	display: block;
	position: absolute;
	z-index: 100;
	top: 20px;
	right: 0px;
	list-style: none;
	background: rgb(242, 242, 230);
	border-radius: 0px 0px 5px 5px;
}
/* Hide property menu */
#user_propert_manu {
	display:none;
}

/* Wrapper for mouse */
#user_property_wrapper {
	position: absolute;
	top: 0;
	right: 0;
	background: transparent;
	padding: 20px;
}

.menu {
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: rgb(68, 68, 68);
	text-decoration: none;
	font-weight: bold;
	margin-bottom: 20px;
	letter-spacing: 1px;
	outside: none;
	white-space: nowrap;
}

#header_title {
	text-decoration: none;
	margin-left:6px;
	margin-top: -2px;
	float:left;
	display: block;
	font-weight:bold;
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: rgb(68, 68, 68);
	letter-spacing: 2px;
	font-size:16px;
	font-weight:bold;
}

/*** Header bar notification ***/
#header_bar {
	position: relative;
	left: -50%;
}
.bar_img {
	display: block;
	position: absolute;
	left: 4px;
	margin-top:-1px;
	width: 20px;
	vertical-align: middle;
	padding: 3px;
	-moz-border-radius-topleft: 75px;
	-moz-border-radius-topright:75px;
	-moz-border-radius-bottomleft:75px;
	-moz-border-radius-bottomright:75px;
	-webkit-border-top-left-radius:75px;
	-webkit-border-top-right-radius:75px;
	-webkit-border-bottom-left-radius:75px;
	-webkit-border-bottom-right-radius:75px;
	border-top-left-radius:75px;
	border-top-right-radius:75px;
	border-bottom-left-radius:75px;
	border-bottom-right-radius:75px;
}
.notify_bar {
	margin-top: -5px;
	display: inline-block;
	height: 24px;
	line-height: 24px;
	vertical-align: middle;
}
.bar_msg_success, .bar_msg_warn, .bar_msg_error {
	display: block;
	padding-left: 30px;
	padding-right: 10px;
	height: 24px;
	border-top-left-radius:15px;
	border-top-right-radius:15px;
	border-bottom-left-radius:15px;
	border-bottom-right-radius:15px;
}
.bar_msg_success {
	color: #274002;
	background-color: #ADF484;
	box-shadow: 0px 0px 40px #ADF484;
	font-weight: bold;
}
.bar_msg_warn, .qtip_message_warn {
	color: #403C2D;
	background-color: #F4F484; /*FEEFB3*/
	box-shadow: 0px 0px 40px #F4F484;
	font-weight: bold;
}
.qtip_message_warn {
	border-color: #D8D452;
	font-weight: normal;
}
.qtip_message_warn a:target,
.qtip_message_warn a:visited,
.qtip_message_warn a:active,
.qtip_message_warn a:link {
	color: #403C2D;
}

.bar_msg_error, .qtip_message_error {
	color:#401512;
	background-color: #F78B83;
	box-shadow: 0px 0px 40px #F78B83;
	font-weight: bold;
	
}
.qtip_message_error {
	border-color: #D95252;
	font-weight: normal;
}
.qtip_message_error a:target,
.qtip_message_error a:visited,
.qtip_message_error a:active,
.qtip_message_error a:link {
	color: #401512;
}
.qtip_message_error, .qtip_message_warn {
	font-size: 13px;
    line-height: 13px;
    max-width: 500px;
}

.qtip-close {
	right: -12px;
	top: -12px;
	
}
.qtip-close > .ui-icon-close {
	width: 15px;
	height: 15px;
	line-height: 12px
}

.qtip {
	max-width: inherit;
}

/*** element notification ***/
.element_warn {
    -moz-box-shadow: 0px 0px 40x #F4F484;
    -webkit-box-shadow: 0px 0px 40px #F4F484;
    box-shadow: 0px 0px 6px #F4F484;
}
.element_error {
    -moz-box-shadow: 0px 0px 40x #FE5449;
    -webkit-box-shadow: 0px 0px 40px #FE5449;
    box-shadow: 0px 0px 6px #FE5449;
}
.notify_element_warn, .notify_element_error,
.notify_entry_error{
	position: relative;
	color: #5E5942;
	display:table;
	margin:2px;
	padding:4px 6px 4px 6px;
	margin-bottom: -2px;
	top: 2px;
    border:none 0px #000000;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright:5px;
    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:5px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}
.notify_entry_error {
	display: table;
	margin-bottom: 2px;
	float: right;
}

.notify_element_warn {
	color: #5E5942;
	background-color: #F4F484;
	border-bottom-color: #F4F484;
    -moz-box-shadow: 0px 0px 40x #F4F484;
    -webkit-box-shadow: 0px 0px 40px #F4F484;
    box-shadow: 0px 0px 6px #F4F484;
}
.notify_element_error, .notify_entry_error {
	color: #401512;
	background-color: #F78B83;
	border-bottom-color: #F78B83;
    -moz-box-shadow: 0px 0px 40x #F78B83;
    -webkit-box-shadow: 0px 0px 40px #F78B83;
    box-shadow: 0px 0px 6px #F78B83;
}
/* arrow */
.notify_element_warn:after, .notify_element_error:after,
.notify_entry_error:after {
	bottom: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.notify_element_warn:after, .notify_element_error:after,
.notify_entry_error:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: inherit !important;
	border-width: 8px;
	left: 17px;
	margin-left: -8px;
}

.notify_entry_error:after {
	left: auto;
	right: 17px;
}
	
/**** Form Inputs ****/
input.tiny {
	width: 30px;
}
input.smaller {
	width: 45px;
}
input.small {
	width: 60px;
}
input.normal, textarea.normal {
	width: 80px;
}
input.medium, textarea.medium {
	width: 150px;
}
input.large, textarea.large {
	width: 300px;
}
img.input_button {
	position: absolute;
	width: 16px;
	vertical-align: middle;
	margin: 4px 0px 0px -24px;
	padding: 2px;
	cursor: pointer;
	border: none;
}
/**** Form table ****/
form.submit {
	margin-bottom: 125px;	
}
table.form {
	margin: 0 auto;
	border-spacing:0;
}
table.form > tbody > tr > td.subhead {
	/*padding:10px 10px 10px 15px;*/
	border-top: 10px transparent;
	padding:6px 15px 6px 15px;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
	font-weight: bold;
	/*color: rgb(231, 229, 229);*/
	color: #fff;
	letter-spacing: 2px;
	font-size: 14px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright:6px;
	-moz-border-radius-bottomleft:6px;
	-moz-border-radius-bottomright:6px;
	-webkit-border-top-left-radius:6px;
	-webkit-border-top-right-radius:6px;
	-webkit-border-bottom-left-radius:6px;
	-webkit-border-bottom-right-radius:6px;
	border-top-left-radius:6px;
	border-top-right-radius:6px;
	border-bottom-left-radius:6px;
	border-bottom-right-radius:6px;
	background: #a9a9a9;
}
	
table.form > tbody > tr >  td {
	padding: 4px;
}
table.form > tbody > tr >  td.label{
	width: 0;
	padding-left: 15px;
	padding-top:8px;
	white-space: nowrap;
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: rgb(68, 68, 68);
	vertical-align:top;
	height: 22px;
}
table.form > tbody > tr >  td.field {
	padding-right: 25px;
}
table.form > tbody > tr >  th.table {
	/*padding: 10px 10px 10px 15px;*/
	padding:6px 15px 6px 15px;
	text-align: left;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
	font-weight: bold;
	font-size: 16px;
	/*color: rgb(231, 229, 229);*/
	color: #fff;
	letter-spacing: 1px;
	background: none repeat scroll 0% 0% rgb(169, 169, 169);
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright:6px;
	-moz-border-radius-bottomleft:0px;
	-moz-border-radius-bottomright:0px;
	-webkit-border-top-left-radius:6px;
	-webkit-border-top-right-radius:6px;
	-webkit-border-bottom-left-radius:0px;
	-webkit-border-bottom-right-radius:0px;
	border-top-left-radius:6px;
	border-top-right-radius:6px;
	border-bottom-left-radius:0px;
	border-bottom-right-radius:0px;
}
table.form > tbody > tr >  td.table {
	border-left: 1px solid rgb(169, 169, 169);
	border-bottom: 1px solid rgb(169, 169, 169);
	padding: 4px 8px 4px 8px;
	color: rgb(68, 68, 68);
	background-color:#fff;
}
table.form > tbody > tr >  td.table:last-child {
	border-right: 1px solid rgb(169, 169, 169);
}
table.form > tbody > tr >  td.table_footer {
	color: rgb(68, 68, 68);
	border-radius: 0px 0px 11px 11px;
	padding: 2px;
	padding-right: 4px;
	border-left: 1px solid rgb(169, 169, 169);
	font-size: 11px;
	background-color:#fff;
	text-align: right;
}
table.form > tbody > tr >  td.table_footer:last-child {
	border-right: 1px solid rgb(169, 169, 169);
}

/**** Table table ****/
table.table {
	width: 100%;
	border-spacing:0;
	margin-bottom: 24px;
}
table.table > tbody > tr >  th{
	border-top:1px solid rgb(169, 169, 169);
	border-left: 1px solid rgb(242, 242, 230);
	border-right: 1px solid rgb(169, 169, 169);
	border-bottom: 1px solid rgb(169, 169, 169);
	padding: 5px 6px 5px 6px;
	text-align: left;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
	font-weight: bold;
	/*color: rgb(231, 229, 229);*/
	color: #fff;
	letter-spacing: 1px;
	background: none repeat scroll 0% 0% rgb(169, 169, 169);
}
table.table > tbody > tr.th > th:first-child {
	border-top-left-radius: 6px;
	border-left:1px solid rgb(169, 169, 169);
}
table.table > tbody > tr.th > th:last-child {
	border-top-right-radius: 6px;
	border-right:1px solid rgb(169, 169, 169);
}
table.table > tbody > tr >  td {
	border-left: 1px solid rgb(169, 169, 169);
	border-bottom: 1px solid rgb(169, 169, 169);
	padding: 4px 6px 4px 6px;
	color: rgb(68, 68, 68);
}
table.table > tbody > tr.entry_edit > td {
	padding: 4px 4px 4px 4px;
}
table.table > tbody > tr >  td:last-child {
	border-right: 1px solid rgb(169, 169, 169);
}
table.table > tbody > tr.th:hover, table.table > tbody > tr.th, table.table > tbody > tr.submenu, table.table > tbody > tr.submenu:hover {
	background-color: transparent;
}
table.table > tbody > tr:hover {
	background-color:rgb(242, 242, 230);
}
table.table > tbody > tr {
	background-color:#fff;
}
table.table > tbody > tr.alt {
	background-color: rgb(231, 229, 229);
}

/* subhead */
table.table > tbody > tr.subhead > td {
	border-top:1px solid rgb(169, 169, 169);
	border-left: 1px solid rgb(242, 242, 230);
	border-right: 1px solid rgb(169, 169, 169);
	border-bottom: 1px solid rgb(169, 169, 169);
	padding: 5px 6px 5px 6px;
	text-align: left;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
	font-weight: bold;
	/*color: rgb(231, 229, 229);*/
	color: #fff;
	letter-spacing: 1px;
	background-color: rgb(169, 169, 169);
	/*background: none repeat scroll 0% 0% #DFDFDF;*/
}
table.table > tbody > tr.subhead > td:first-child {
	border-bottom-left-radius: 6px;
	border-left:1px solid rgb(169, 169, 169);
}
table.table > tbody > tr.subhead > td:last-child {
	border-bottom-right-radius: 6px;
	border-right:1px solid rgb(169, 169, 169);
}
table.table > tbody > tr.subhead:hover, table.table > tbody > tr.subhead {
	background-color: transparent;
}


p.table_empty {
	text-align: center;
	color: #444;
}

table.table > tbody > tr.submenu > td{
	padding: 6px 8px 6px 8px;
	background: #a9a9a9;
	color: #fff;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
}
table.table > tbody > tr.submenu > td:last-child {
	border-bottom-right-radius: 6px;
}
table.table > tbody > tr.submenu > td:first-child{
	border-bottom-left-radius: 6px;
}


/******** Custom VAT ********/
span.CustomVATPercent_onRight {
	display: inline-block;
	margin-left: -7px;
	font-size: 85%;
	line-height: 16px;
	padding: 2px 4px 2px 6px;
	background-color: #fff;
	border: 1px solid rgb(169, 169, 169);
	-moz-border-radius-topleft:0px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomleft:0px;
	-moz-border-radius-bottomright:3px;
	-webkit-border-top-left-radius:0px;
	-webkit-border-top-right-radius:3px;
	-webkit-border-bottom-left-radius:0px;
	-webkit-border-bottom-right-radius:3px;
	border-top-left-radius:0px;
	border-top-right-radius:3px;
	border-bottom-left-radius:0px;
	border-bottom-right-radius:3px;
}
span.CustomVATPercent_onLeft {
	display: inline-block;
	margin-right: -6px;
	font-size: 85%;
	line-height: 16px;
	padding: 2px 3px 2px 4px;
	background-color: #fff;
	border: 1px solid rgb(169, 169, 169);
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:0px;
	-webkit-border-top-left-radius:3px;
	-webkit-border-top-right-radius:0px;
	-webkit-border-bottom-left-radius:3px;
	-webkit-border-bottom-right-radius:0px;
	border-top-left-radius:3px;
	border-top-right-radius:0px;
	border-bottom-left-radius:3px;
	border-bottom-right-radius:0px;
}
table#entry_table input.CustomVATPercent_val {
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-bottomleft:0px;
	-webkit-border-top-left-radius:0px;
	-webkit-border-bottom-left-radius:0px;
	border-top-left-radius:0px;
	border-bottom-left-radius:0px;
}

/******** Media Print ********/
@media print {
	table.table {
		width: 100%;
		border-spacing:0;
		margin-bottom: 16px;
	}
	table.table > tbody > tr >  th {
		border-top:1px solid rgb(169, 169, 169);
		border-left: 1px solid rgb(169, 169, 169);
		border-bottom: 1px solid rgb(169, 169, 169);
		border-right:none;
		padding: 6px 8px 6px 8px;
		text-align: left;
		text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
		font-weight: bold;
		font-size: 13px;
		/*color: rgb(231, 229, 229);*/
		color: #fff;
		letter-spacing: 1px;
	}
	table.table > tbody > tr.th > th:first-child {
		/*border-top-left-radius: 8px;*/
		/*border-left:1px solid rgb(169, 169, 169);*/
	}
	table.table > tbody > tr.th > th:last-child {
		/*border-top-right-radius: 8px;*/
		border-right:1px solid rgb(169, 169, 169);
	}
	table.table > tbody > tr >  td {
		border-left: 1px solid rgb(169, 169, 169);
		border-bottom: 1px solid rgb(169, 169, 169);
		padding: 4px 6px 4px 6px;
		color: rgb(68, 68, 68);
	}
	table.table > tbody > tr >  td:last-child {
		border-right: 1px solid rgb(169, 169, 169);
	}
	
	table.table > tbody > tr.submenu > td {
		padding: 6px 8px 6px 8px;
		background: #a9a9a9;
		color: #fff;
		text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
	}
	table.table > tbody > tr.submenu > td:last-child {
		border-bottom-right-radius: 8px;
	}
	table.table > tbody > tr.submenu > td:first-child{
		border-bottom-left-radius: 8px;
	}
}

/******** Print table ********/
table.print_table {
	width: 100%;
	border-spacing:0;
}
table.print_table > tbody > tr >  th {
	border-top:1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 2px 4px 2px 4px;
	text-align: left;
	color: #000;
	font-size: 70%;
}
table.print_table > tbody > tr.th > th:last-child {
	/*border-top-right-radius: 8px !important;*/
	border-right:1px solid #000;
}
table.print_table > tbody > tr.th > th:first-child {
	/*border-top-left-radius: 8px !important;*/
}
table.print_table > tbody > tr >  td {
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 1px 4px 1px 4px;
	color: #000;
	font-size: 70%;
}
table.print_table > tbody > tr >  td:last-child {
	border-right: 1px solid #000;
}

.print_root {
	margin: 0px 5px 0px 5px;
}


/******* Sub menu *******/
#submenu_padding {
	width: 100%;
	height: 46px;
}
#submenu_bar {
	position: relative;
	background-color: rgb(224, 224, 213);
	/*padding: 8px 8px 0px 8px;*/
	margin-bottom: 8px;
	margin-top: 8px;
	height: auto;
}
#submenu_bar > table {
	width: 100%;
	margin: 0px;
	padding: 0px;
}
ul.submenu {
	margin: 0px 0px 0px -41px;
	list-style: none;
	list-style-type: none;
	white-space: nowrap;
}
ul.submenu a{
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: rgb(68, 68, 68);
	text-decoration: none;
	font-weight: bold;
	letter-spacing: 1px;
	outside: none;
	padding: 0px 10px 5px 10px;
	margin-right: -4px;
}
ul.submenu a:hover, ul.submenu a.current{
	position: relative;
	border-bottom-width:  3px;
	border-bottom-style: solid;
	border-bottom-color: #fff;
}

ul.submenu li {
	margin: 0;
	padding: 0;
	display:inline;
}

.warn {
	margin-top: 100px;
	color: #000;
	background-color: #FEEFB3;
}
.CenterBox {
	display:table;
	margin-left:auto; 
    margin-right:auto;

	background-image: -moz-linear-gradient(bottom right, #a9a9a9, rgb(242, 242, 230)); /* Firefox 3.6-15 */
	background-image: -webkit-linear-gradient(bottom right, #a9a9a9, rgb(242, 242, 230)); /* Chrome 10-25, iOS 5+, Safari 5.1+ */
	background-image: linear-gradient(to top left, #a9a9a9, rgb(242, 242, 230)); /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
	padding: 10px;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(255, 255, 255) #9c9c9c #9c9c9c rgb(255, 255, 255);
	
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-moz-border-radius-bottomleft:8px;
	-moz-border-radius-bottomright:8px;
	-webkit-border-top-left-radius:8px;
	-webkit-border-top-right-radius:8px;
	-webkit-border-bottom-left-radius:8px;
	-webkit-border-bottom-right-radius:8px;
	border-top-left-radius:8px;
	border-top-right-radius:8px;
	border-bottom-left-radius:8px;
	border-bottom-right-radius:8px;
}

/******* Question Box *******/
.QuestionBox_back {
	position: relative;
}
.QuestionBox_back > div {
	position:fixed;
	z-index: 100;
	
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	
	filter:alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;

}

.QuestionBox_wrapper {
	/* fixed position a zero-height full width container */
	position: fixed;
	z-index: 101;
    left       : 10%;
    right      : 10%;
    top     : 150px;
    max-height : 50%;
}
table.QuestionBox {
	margin:0 auto;
	border-spacing:0;
	table-layout: fixed;
	
    -moz-box-shadow: 0px 0px 500px #FFFFFF;
    -webkit-box-shadow: 0px 0px 500px #FFFFFF;
    box-shadow: 0px 0px 500px #FFFFFF;

	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright:8px;
	-moz-border-radius-bottomleft:8px;
	-moz-border-radius-bottomright:8px;
	-webkit-border-top-left-radius:8px;
	-webkit-border-top-right-radius:8px;
	-webkit-border-bottom-left-radius:8px;
	-webkit-border-bottom-right-radius:8px;
	border-top-left-radius:8px;
	border-top-right-radius:8px;
	border-bottom-left-radius:8px;
	border-bottom-right-radius:8px;
}
table.QuestionBox th {
	padding: 15px;
	text-align: left;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
	font-weight: bold;
	font-size: 16px;
	color: rgb(231, 229, 229);
	letter-spacing: 1px;
	background: none repeat scroll 0% 0% rgb(169, 169, 169);
	border-radius: 8px 8px 0px 0px;
}
table.QuestionBox td.msg {
	border-left: 1px solid rgb(169, 169, 169);
	border-right: 1px solid rgb(169, 169, 169);
	border-bottom: 1px solid rgb(169, 169, 169);
	padding:25px;
	color: rgb(68, 68, 68);
	background-color:#fff;
	font-size: 14px;
}
table.QuestionBox td.submenu {
	padding:15px;
	background: #a9a9a9;
}
table.QuestionBox td.submenu:last-child {
	border-radius: 0px 0px 8px 0px;
}
table.QuestionBox td.submenu:first-child {
	border-radius: 0px 0px 0px 8px;
}

/******* submenu elements *******/
.submenu_hr, .hr{
	margin: 0px;
	border: 0;
	height: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.submenu_hr {
	margin-top: 3px;
	padding: 0px;
}
hr {
	border: 0;
	height: 1px;
	background-image: -webkit-linear-gradient(left, rgba(0,0,0,0.2), rgba(0,0,0,0));
	background-image: -moz-linear-gradient(left, rgba(0,0,0,0.2), rgba(0,0,0,0));
	background-image: -ms-linear-gradient(left, rgba(0,0,0,0.2), rgba(0,0,0,0));
	background-image: -o-linear-gradient(left, rgba(0,0,0,0.2), rgba(0,0,0,0));
}
h1 {
	letter-spacing: 1px;
	font-size: 2em;
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: rgb(96, 96, 96);
	margin: 10px 0px 10px 0px;
}

h2 {
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: rgb(96, 96, 96);
	margin: 10px 0px 5px 0px;
}

.stick_to_right {
	width: 100%;
	position: relative;
	white-space: nowrap;
	display: inline-block;
}

h3 {
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: rgb(96, 96, 96);
	margin: 10px 0px 5px 0px;
}
/******* submenu elements *******/
#treemenu{
	margin: 10px 10px 0px 7px;
	vertical-align: top;
	border-right: 1px solid rgba(0, 0, 0, 0.2);
	padding: 6px 6px 6px 0px;
}
#treemenu > ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	list-style-type: none;
	white-space: nowrap;
}
#treemenu > ul > li {
	padding: 4px;
}
#treemenu > ul > li > a {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 13px;
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	text-align: left;
}
#treemenu > ul > li.current {
	font-weight: bold;
}

/******* Search input elements *******/
/*#search_form{
	white-space:nowrap;
}*/
#search_btn {
	line-height: 16px;
	height: 26px;
	margin-top: 1px;
	margin-left: -4px;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}
#search {
	width: 300px;
	height: 16px;
	padding: 4px 26px 4px 30px;
	margin: 0;
	margin-right: 0px;
	/*border: 1px solid rgba(0, 0, 0, 0.2);*/
	border: 1px solid #A0A0A0;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2) inset;
	border-radius: 0px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}
#search_selection  ul {
	display: table;
	margin: 0px;
	padding: 0px;
	list-style: none;
	list-style-type: none;
	white-space: nowrap;
}
#search_selection  ul > li > input {
	vertical-align: middle;
}


#search_selection > ul {
	float: left;
}
#search_selection > ul > li {
	/*font-size: 10px;*/
	padding: 2px 3px 0px 2px;
}
#search_selection {
	display: none;
	position: absolute;
	/*background: rgb(224, 224, 213);*/
	/*background: rgb(242, 242, 230);*/
	background: #fff;
	margin-left: 0px;
	padding: 2px;
	z-index: 10;

    -moz-box-shadow: 1px 1px 4px #000000;
    -webkit-box-shadow: 1px 1px 4px #000000;
    box-shadow: 1px 1px 4px #000000;
	
	border: 1px solid rgb(169, 169, 169);
}
#search_selection:before {
	content: "";
	position: absolute;
	display: block;
	width: 27px;
	height: 27px;
	margin-top: -30px;
	margin-left: -3px;
	/*border-radius: 4px 4px 0px 0px;*/
	border-top-left-radius: 3px;
	/*background: rgb(242, 242, 230);*/
	background: #fff;
	
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	border-left: 1px solid rgba(0, 0, 0, 0.2);
	border-right: 1px solid rgba(0, 0, 0, 0.2);
}
img#search_show {
	position: absolute;
	width: 16px;
	vertical-align: middle;
	margin: 2px 0px 0px 3px;
	padding: 4px;
	cursor: pointer;
	z-index: 11;
}
img#search_clear {
	position: absolute;
	width: 16px;
	vertical-align: middle;
	margin: 4px 0px 0px -24px;
	padding: 2px;
	cursor: pointer;
}

/******* Sorting arrows *******/
.OrderBy > .DescArrow, .OrderBy > .AscArrow{
	display: inline-block;
	width: 12px;
	height: 11px;
	background-size: 12px 11px;
	background-repeat: no-repeat;
	margin: 0px 0px -2px 5px;
}

.OrderBy > .DescArrow{
	background-image: url("img/desc_arrow.png");
}

.OrderBy > .AscArrow{
	background-image: url("img/asc_arrow.png");
}

/******* qTip2 table **********/
.qtip-table {
	z-index: 10 !important;
	max-width: 800px !important;
	max-height: 100px !important;
	border-color: transparent !important;
	background-color: transparent !important;
}
.qtip-table > .qtip-content {
	padding: 0;
	background-color: transparent !important;
	border-radius: 8px !important;

	-moz-box-shadow:1px 1px 4px #000 !important;
    -webkit-box-shadow:1px 1px 4px #000 !important;
    box-shadow:4px 4px 8px #000 !important;
}
.qtip-table > .qtip-tip {
	background-color: rgb(169, 169, 169) !important;
}
.qtip-table > .qtip-content > table.table { 
	margin-top: -1px;
	margin-bottom: 0;
	background-color: transparent !important;
	font-size: 10px  !important;
}
.qtip-table > .qtip-content > table.table > tbody> tr > th {
	font-size: 11px !important;
}
.qtip-table .serial_list_handover {
	font-size: 9px !important;
}

/******* Dialog ***********/
.ui-widget-content {
	background: #ebebeb;
	overflow: hidden;
	font-size: inherit;
	font-family: inherit;
}
.ui-widget input {
	font-size: inherit;
	font-family: inherit;
}
.ui-dialog-titlebar {
	border-bottom-right-radius:0;
	border-bottom-left-radius:0;
}
.ui-dialog {
	padding:0;
	box-shadow: 4px 4px 15px #000000;
}
.dialog_content {
	position: absolute;
	overflow: auto;
	padding: 8px;
	top:0;
	left: 0;
	right: 0;
	bottom: 22px;
	background-color: rgb(224, 224, 213); /* Default background color*/
	border-width: 1px;
	border-style: solid;
	border-color: rgb(255, 255, 255) #9c9c9c #9c9c9c rgb(255, 255, 255);
}
.dialog_footer {
	position: absolute;
	overflow: hidden;
	bottom: 0;
	left: 0;
	right: 0;
}

.loading_process {
	text-align: center;
	
	position: absolute;
	z-index: 100;
	display: block;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: none repeat scroll 0% 0% #000;
	opacity: 0.5;
}

.loading_process > img {
	margin-top: 50px;
	width: 50px;
}

/******* autocomplete ********/
.ui-autocomplete {
	padding: 0;
	border-radius: 0;
	background: #fff;
	border: 1px solid rgb(169, 169, 169);
	border-radius: 0 !important;
	
	moz-box-shadow: 1px 1px 5px #000000;
	-webkit-box-shadow: 1px 1px 5px #000000;
	box-shadow: 1px 1px 5px #000000;
	
	/* auto-scrollbar */
	max-height: 200px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	
	/* Fix scrollbar issue */
   padding-bottom: 1px !important;
}
.ui-autocomplete .ui-menu-item .ui-state-focus {
	
	background: rgb(242, 242, 230);
	
	border-radius: 0;
	color: rgb(68, 68, 68);
}
.ui-autocomplete .ui-menu-item .ui-corner-all {
	color: rgb(68, 68, 68);
}

.dropdownmenu_arrow {
	position: absolute;
	margin:9px 0px 0px -20px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid rgb(169, 169, 169);
}

/******* Other elements *******/
.aButton {
	text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
	color: rgb(68, 68, 68);
	text-decoration: none;
	font-weight: bold;
	letter-spacing: 1px;
	white-space: nowrap;
}
.aButton:hover {
	text-decoration: none;
}
.arrow_down {
   position: relative;
   z-index:10;
   display:inline-block;
   width:0;
   border-left:4px solid transparent;
   border-right:4px solid transparent;
   border-top:8px solid rgb(68, 68, 68);
   margin: 0 4px 0 4px;
}
.arrow_up {
   position: relative;
   z-index:10;
   display:inline-block;
   width:0;
   border-left:4px solid transparent;
   border-right:4px solid transparent;
   border-bottom:8px solid rgb(68, 68, 68);
   margin: 0 4px 0 4px;
}

.XButton {
	padding: 0px 0px 2px 1px;
	font-size: 15px;
	border: 1px solid #000;
	border-radius: 50px;
	line-height: 8px;
	height: 9px;
	display: inline-block;
}

.toRight {
	float: right;
}
.toRightA {
	position: absolute;
	right: 0px;
}
.toLeft {
	float: left;
}
.vTop {
	vertical-align: top;
}
.vBottom {
	vertical-align: bottom;	
}
.vMiddle {
	vertical-align: middle;
}
.hCenter {
	display:table;
	margin-left:auto; 
    margin-right:auto;
}
.Button, .XButton {
	cursor:pointer;
	margin-right: 5px;
	letter-spacing:1px;
	/*vertical-align:middle;*/
}

input[disabled='disabled'].Button, input[disabled='disabled'].Button:hover {
	color: #D4D4D4;
	text-shadow: none;
	background-color: #C4C4C4;
}

.Pointer {
	cursor:pointer;
}
.Hover:hover {
	text-decoration: underline;
}
.nowrap {
	white-space: nowrap;
}
.shrinkWidth {
	width: 1%;
}
.hide{
	display: none
}
.AskConfirm {
	cursor:pointer;
	font-weight: bold;
}

.txtRight {
	text-align: right !important;
}
.txtLeft {
	text-align: left !important;
}
.txtCenter {
	text-align: center !important;
}
/******* Datepicker elements *******/
#ui-datepicker-div {
    font-size: 85%;
	background-color: #fff;
}
img.ui-datepicker-trigger {
	cursor: pointer;
	width: 20px;
	vertical-align: middle;
}

/******* Stock elements *******/
ul.serial_list, ul.serial_list_handover {
	margin: -2px 0px 0px 1px;
	font-size: 10px;
	list-style: none;
	list-style-type: none;
	white-space: nowrap;
}
ul.serial_list {
	position: absolute;
	display: block;
	background: #fff;
	border: 1px solid #A9A9A9;
	border-radius: 0px 0px 3px 3px;

	
	padding: 2px;
	z-index: 10;
}
ul.serial_list > li, ul.serial_list_handover > li {
	line-height: 12px;
}
ul.serial_list_handover > li {
	margin-left: -40px;
}
ul.serial_list > li:hover {
	background: rgb(242, 242, 230);	
}
div.product_autocomplete_list {
	font-size: 80%;
}
div.product_autocomplete_list > span {
	margin: 0xp;
	padding: 1px 1px 0px 1px;
}
span.serial_counter {
	cursor: pointer;
	display: inline;
	position: absolute;
	vertical-align: middle;
	
	top: 1px;
	right: 0px;
	line-height: 20px;
	padding: 0px 4px 0px 4px;
	
	color: #FFF;
	font-weight: bold;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
	background-color: #C4C4C4;
	border: 1px solid #A0A0A0;
	border-radius: 0px 3px 3px 0px;
	box-shadow: 0px 0px 10px #A9A9A9 inset;
}
span.serial_counter:hover {
	background-color: #D1D1D1;
}
input.serial_add {
	padding-right: 20px;
}
ul.serial_list {
	display: none;
}


/* ----------- Main Menu ---------*/
#nav {
	margin: 0px;
	padding: 7px 0px 0;
	line-height: 100%;

	background-color: rgb(224, 224, 213);
	border-width: 1px;
	border-style: solid;
	border-color: rgb(255, 255, 255) #9c9c9c #9c9c9c rgb(255, 255, 255);

	text-align: center;
	letter-spacing: 2px;
	/*font-size:12px;*/
}
#nav li {
	margin: 0 6px 0 6px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
}
/* main level link */
#nav a {

	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	padding:  8px 8px;
	margin: 0;
	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	/*text-shadow: 0 1px 1px rgba(0, 0, 0, .3);*/
	width:70px;
	text-shadow: 0px 2px 2px rgba(255, 255, 255, 0.8);
	color: rgb(68, 68, 68);
}
/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: #a1a1a1; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#a1a1a1'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#a1a1a1)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  rgb(242, 242, 230),  #a1a1a1); /* for firefox 3.6+ */
	background: linear-gradient(to bottom,  rgb(242, 242, 230),  #a1a1a1);

	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	/*text-shadow: 0 1px 0 rgba(255, 255, 255, .8);*/
text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
color: #444;
color: #ffffff;

-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomright:3px;
-webkit-border-top-left-radius:3px;
-webkit-border-top-right-radius:3px;
-webkit-border-bottom-left-radius:3px;
-webkit-border-bottom-right-radius:3px;
border-top-left-radius:3px;
border-top-right-radius:3px;
border-bottom-left-radius:3px;
border-bottom-right-radius:3px;	

width:70px;
}
#nav img {
	filter:alpha(opacity=72);
	-moz-opacity:0.72;
	-khtml-opacity: 0.72;
	opacity: 0.72;
}
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
}
/* ----------- Action Bar ---------*/
#search_form {
	margin: 4px 0px 6px 0px;
}
div#action_bar {
	display: block;
	width: 100%;
	height: 30px;
	white-space: nowrap;
}

div#action_bar > a.toRightA {
	right: 14px;
	margin-top: 3px;
}
/* ----------- Filters ---------*/
div#filter_wrapper {
	margin-bottom: 2px;
}
/* ----------- TABs ---------*/
ul.tab_bar {
	line-height: 22px;
}
.tab_content_wrapper {
	margin-top: 10px;
}

/* --- cell highlights --- */
.cell_blue {
	background-color: #DBE3FF;
	color: #3E53AE !important;
}

.cell_green {
	background-color: #DDFFDB;
	color: #258D20 !important;
}

.cell_yellow {
	background-color: #FEFFE6;
	color: #7B7E06 !important;
}
.cell_red {
	background-color: #FFE6E6;
	color: #7E0E06 !important;
}
