@import url('/tornado/css/glyph-font.css');
/*
 * see tornado/tornado_common.css
 *  this just customises the menu for this module
 */

#container {
	min-height:500px;
	padding-bottom:20px;
}

p.site_name {
	font-family: Arial, sans-serif;
	font-size:40px;
	padding:0;
	margin:8px 0 0 0px;
	color: #000;
}

/*
 * pipeline
 */

.plworkedwith {
	clear:both;
	display:block;
	float:left;
}

.plstatus {
	/*width:144px;*/
	width: 140px;
	min-height:200px;
	display:block;
	float:left;
}
.plstatus h2 {
	border:1px solid #CCCCCC;
	font-size:16px;
	margin:0;
	padding:5px;
	background:white;
}
.plplaceholder {
	border:2px dashed green;
	height:50px;
}


.plclientdiv, .tlclientdiv {
	height:59px;
	overflow:hidden;
	border:1px solid #999999;
	padding-top: 0px;
	padding-bottom: 2px;
	background: #ccc;
}

.status_holder {
	background-color: #ccc;
	height: 18px;
	position: relative;
	padding-top: 2px;
}

.status_holder img {
	float: left;
	width: 15px;
	height: 15px;
	display: block;
	margin-left: 4px;
}

.status_holder .total_actions,
.status_holder .is_supplier,
.status_holder .is_buyer {
	float: left;
	padding: 1px 3px;
	font-weight: bold;
	margin-left:4px;
	font-size:11px;
}

.status_holder .total_actions {
	background: #999;
	color: #fff;
}
.is_supplier {
	background: #c63;
	padding:1px 3px;
	color: #fff;
	font-size:11px;
}
.is_buyer {
	background: #663;
	padding:1px 3px;
	color: #fff;
	font-size:11px;
}

a.user_icon {
	width: 15px;
	height: 15px;
	margin: 0;
	padding: 0;
	position: relative;
	display: block;
	float: left;
	margin-left: 4px;
}

a.user_icon img {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
}

/** golden nugget hotlead **/

.golden_nugget {
	border: solid 1px #ffcc33;
	padding-top: 10px;
	position: relative;
}

.hot_lead {
	border: solid 1px #ff0000;
	padding-top: 10px;
	position: relative;
}

img.golden_nugget_icon {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}

img.hot_lead_icon {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
}

.plclientdiv {
	cursor:move;
}
.plclientdiv h3, .tlclientdiv h3 {
	font-size:13px;
	margin:0;
	padding:2px 5px 0px 5px;
	white-space:nowrap;
	text-shadow: -1px -1px 1px #f1f1f1;
    filter: dropshadow(color=#f1f1f1, offx=-1, offy=-1);
}
.plclientdiv h3 A:link.noul    { text-decoration: none }
.plclientdiv h3 A:visited.noul { text-decoration: none }
.plclientdiv h3 A:hover.noul   { text-decoration: underline }
.plclientdiv h3 a, .tlclientdiv h3 a {
	text-decoration: none;
}

#switchmode {
	width:80px;
	display:block;
	float:left;
	margin-left:5px;
}

.tl_value { width:65px; }
.tl_probability { width:66px; }
.tl_job_number { width:78px; }
.tl_month { width:59px; }
.tl_month h2 { text-align:center; }


/*
 * navigation - see tornado/tornado_common.css
 *  this just customises the menu for this module
 */

ul.top-level li {
	margin: 0;
	float:left;
	height:auto;
	background:#555;
	margin-right:7px;
	z-index:99 !important;
}
#navigation a {
	color:white;
	background:#555;
	font-weight:normal;
	padding: 5px 17px 5px 13px;
	font-size:14px;
	display:block;
	text-decoration: none;
	line-height: 1.2em;
}
#navigation a span {
	background:#BD2430!important;
}
#navigation a:hover, #navigation a.current_page, #navigation a.current_page_parent {
	color: #FFF;
	text-decoration:none;
	background:#BD2430!important;
}
#navigation a:hover span, #navigation a.current_page span, #navigation a.current_page_parent span {
	background:#BD2430!important;
}
#navigation a.signout {
	background:#777;
}
#navigation a.newaction {
	background:#BD2430;
}

#navigation a span.total_highlight {
	background: #cff;
	color: #333;
	padding: 2px 3px 2px 3px;
	font-weight: bold;
	float: right;
}


li:hover > div {
	width:528px;
	left:-152px;
	background-color:#777;
}


/** tabulation styles **/
.tabulation .tab-button{
	display:block;float:left;margin:0 5px;padding:4px 8px;cursor:pointer;border:1px solid;border-bottom-width:0;
	border-radius:4px 4px 0 0;-o-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-ms-border-radius:4px 4px 0 0;
}
.tabulation .tab-button.selected{cursor:default;background:#cccced;border-color:#cccced;}
.tabulation .tab-block{display:block;clear:both;}

/** bulk status change **/

.company_holder {
	padding-top: 10px;
	clear: both;
}

.company_holder ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 660px;
}

.company_holder li {
	background: #ccc;
	padding: 3px 10px 3px 10px;
	margin-bottom: 1px;
}

.company_holder li.check_all_holder {
	background: #BD2430;
	color: #fff;
	font-weight: bold;
	padding: 5px 10px 5px 10px;
}

.company_holder li input {
	margin-right: 10px;
}

.company_holder li a {
	text-decoration: none;
}

.company_holder li a.user_icon {
	float: none;
	display: inline-block;
}

.company_holder li span {
	float: right;
}

.company_holder li span img {
	padding-left: 3px;
}

.status_select_holder {
	float: left;
	width: 350px;
}

#login_left {
	/*
	float:left;
	*/
	margin:auto;
	width:500px;
	padding:30px;
	margin-bottom:40px;
	border:1px solid #ccc;
}



/** user targets **/

#target_holder {

}

#target_holder ul {
	list-style-type: none;
	width: 300px;
	padding-left: 0;
}

#target_holder li {
	clear: both;
	background: #f1f1f0;
	min-height: 25px;
	margin-top: 2px;
}


#target_holder li input {
	width: 50px;
	float: right;
	border: solid 1px #ccc;
	background: #fff;
	padding-left: 5px;
}

#target_holder label {
	padding: 4px 5px 4px 5px;
	width: 200px;
	display: block;
	float: left;
}


/* Job Filters */
.job_filter {float:right; margin-top:5px; margin-right:0px}
.job_filter a {float:left; width:24px; text-align:center; text-decoration:none; padding:6px 10px; margin-left:4px;}

/* Job Personnel selector */
.multi-checkbox{border:1px solid #CCCCCC;border-width:1px 0;overflow-y:auto;overflow-x:hidden;height:150px;min-width:300px;}
.multi-checkbox .checkbox-wrapper{padding:4px 0;}
.multi-checkbox .checkbox-wrapper label{display:inline-block;padding:1px 0;height:14px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;}
.multi-checkbox.narrow .checkbox-wrapper label{max-width:268px;}
.multi-checkbox.wide .checkbox-wrapper label{max-width:668px;}
.multi-checkbox .checkbox-wrapper{padding:2px 18px;margin:1px}
.multi-checkbox .checkbox-wrapper.moveable.ui-sortable-placeholder{visibility:visible !important;display:block;height:16px;background:orange;opacity:0.4;}
.multi-checkbox .checkbox-wrapper.moveable.ui-sortable-placeholder *{visibility:hidden;}
.multi-checkbox .checkbox-wrapper.moveable:hover{outline:1px solid orange;}
.multi-checkbox .checkbox-wrapper.moveable .handle{display:none;float:left;margin-left:-18px;vertical-align:middle;}
.multi-checkbox .checkbox-wrapper.moveable .remove{display:none;float:right;margin-right:-18px;vertical-align:middle;cursor:pointer;}
.multi-checkbox .checkbox-wrapper.moveable:hover .handle, .multi-checkbox .checkbox-wrapper.moveable:hover .remove, .multi-checkbox .checkbox-wrapper.moveable:hover .edit{display:block;}
.multi-checkbox .checkbox-wrapper.moveable:last-child .move-down{display:none;}
.multi-checkbox.large{height:300px;}
.multi-checkbox label{display:block;position:relative;padding:4px 0;vertical-align:middle;}
.multi-checkbox input[type=checkbox]{box-sizing:content-box;padding:3px;margin:0;border:1px solid #aaa;vertical-align:middle;}

/* CSS for autocomplete */
.ui-autocomplete-loading { background: white url('/egc/gfx/ui-anim_basic_16x16.gif') right center no-repeat!important; }
.options-loading { padding-left:20px;background: white url('/egc/gfx/ui-anim_basic_16x16.gif') left center no-repeat; }

/* Job Engineer select styles */
#headers {
	background:#eee;
	padding-left:18px;
}
span.personnel_name {
	vertical-align: top;
	display: inline-block;
	width:200px;
}
span.personnel_type {
	vertical-align: top;
	display: inline-block;
	width:150px;
}
span.personnel_detail {
	vertical-align: top;
	display: inline-block;
	width:150px;
}

/*Job Lines*/
#job_lines_items {
	max-height:400px;
}
span.job_line_type {
	vertical-align: top;
	display: inline-block;
	width:120px;
}
span.job_line_date {
	vertical-align: top;
	display: inline-block;
	width:80px;
}
span.job_line_name {
	vertical-align: top;
	display: inline-block;
	width:150px;
}
span.job_line_description {
	vertical-align: top;
	display: inline-block;
	width:150px;
}
span.job_line_qty {
	vertical-align: top;
	display: inline-block;
	width:50px;
}
span.job_line_cost {
	vertical-align: top;
	display: inline-block;
	width:50px;
}
span.job_line_sell {
	vertical-align: top;
	display: inline-block;
	width:50px;
}
span.job_line_total_sell {
	vertical-align: top;
	display: inline-block;
	width:80px;
}
span.discount_detail {
	position: relative;
	left: 10px;
	top: 4px;
}
a.add_line {
	display: inline-block;
	/*
	width: 80px;
	*/
	height: 20px;
	padding: 1px 6px;
	background-color: rgb(238, 238, 238);
	border-bottom-color: rgb(221, 221, 221);
	border-bottom-style: outset;
	border-bottom-width: 1px;
	border-collapse: separate;
	border-image-outset: 0px;
	border-image-repeat: stretch;
	border-image-slice: 100%;
	border-image-source: none;
	border-image-width: 1;
	border-left-color: rgb(221, 221, 221);
	border-left-style: outset;
	border-left-width: 1px;
	border-right-color: rgb(221, 221, 221);
	border-right-style: outset;
	border-right-width: 1px;
	border-top-color: rgb(221, 221, 221);
	border-top-style: outset;
	border-top-width: 1px;
	box-sizing: border-box;
	text-align: center;
	margin: 2px;
	color: black;
	cursor: pointer;
	-webkit-transition: background-color 300ms ease-out;
	-moz-transition: background-color 300ms ease-out;
	transition: background-color 300ms ease-out;
}
a.add_line:hover {
	background: darkgray;
}

/*
 * newsletter_batch
 */

.emsortable_area {
	border:1px solid #CCC;
	margin-bottom:20px;
	min-height:100px;
	height:auto !important;
	height:100px;
}
.emsortable_area h3 {
	font-size:12px;
	margin:0 5px 5px 0;
	padding:5px;
	background:white;
	float:left;
}

.onetag {
	cursor:pointer;
	float:left;
	font-size:11px;
	margin:0 5px 5px 0;
	padding:5px;
	display:block;
	border:1px solid #CCC;
	border-width:0 1px 1px 0;
}

/* sortable stuff
 */

.sortable{border:1px solid #CCCCCC;border-width:1px 0;overflow-y:auto;overflow-x:hidden;min-height:150px;max-height:600px;min-width:300px;position:relative;}
.sortable ul{margin:0;padding:0 0 0 18px;list-style-type:none;}
.sortable>ul{padding-left:0;min-height:150px;}
.sortable li,.ui-draggable-dragging{margin:1px;padding:0;list-style-type:none;}
.sortable label,.ui-draggable-dragging label{position:relative;display:block;padding:2px 18px;height:14px;vertical-align:middle;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:move;}
.sortable.carousel-order label{height:25px;}
.sortable label:hover,.ui-draggable-dragging label:hover{outline:1px solid orange;}
.sortable .ui-sortable-placeholder{visibility:visible !important;display:block;margin-left:18px;height:18px;background:orange;opacity:0.4;}
.sortable.carousel-order .ui-sortable-placeholder{height:40px;}
.sortable .ui-sortable-placeholder *{visibility:hidden;}
.sortable label img,.ui-draggable-dragging label img{vertical-align:middle;max-height:30px;}
.sortable label .handle,.ui-draggable-dragging label .handle{display:none;position:absolute;top:1px;left:1px;vertical-align:middle;}
.sortable label .remove,.ui-draggable-dragging label .remove{display:none;position:absolute;top:1px;right:1px;vertical-align:middle;cursor:pointer;}
.sortable label:hover .handle, .sortable label:hover .remove,.ui-draggable-dragging label .handle{display:block;}

/* Invoice search box */
.search_wrapper {
	width:100%;
	background: #FFF;
	float:left;
	margin-bottom:20px;
}
.search_wrapper .search_type_in {
	float:left; color:#83bbfc; font-size:60px; border:2px solid #83bbfc; padding:0px 10px;
}
.search_wrapper .search_type_out {
	float:left; color:#43d843; font-size:60px; border:2px solid #43d843; padding:0px 10px;
}
.search_wrapper .search_box {
	float:left;
	padding:10px 0px 0px 20px;
	width:400px;
	background: #FFF
}
.search_wrapper .search_box span {
	font-size:12px;
	color:#666;
}
.search_wrapper .search_options {
	float:right;
	width:300px;
	text-align: right
}
/* End invoice search box */




/* Autocomplete Cart */
#auto_form .template_row > td {
	border-bottom:1px solid #AAA;
	/*padding: 10px 0px;*/
}

#auto_form h3 {
	display:inline;
	padding-right:30px;
	line-height:20px;
	color:#212121;
	font-size:13px;
}

#auto_form .form_heading {
	font-size:12px;
	font-weight:bold;
	color:#333;
}

#auto_form .form_value {
	font-size:13px;
}

#auto_form .form_sym{
	font-size:13px;
}

#auto_form .prev_show {
	border-top:1px solid #AAA;
}
#auto_form .row_deduction td {
border-top:1px solid #DDD;
}

#auto_form .remove_loader {
	margin-left:4px; 
	margin-top:4px; 
	display:none;
	border:1px solid #FFF;
}

#auto_form .template_row:last-child td {
	border-bottom:1px solid #BBBBBB;
	padding-bottom:20px;
}

#auto_form .select_metal td, .item_description td {
	padding-top:10px;
}

#auto_form .complete_purchase td {
	padding-top:20px;
}

#auto_form .remove_button, #auto_form .remove_deduction, #auto_form .list_button {
	float:left;
	padding:0px;
	border:none;
	background:transparent;
	margin-right:4px;
	text-decoration: none;
}

#auto_form .remove_deduction span {
	color: black;
}

#auto_form .row_deduction td {
	color:red;
}

#auto_form .remove_button:hover, #auto_form .remove_deduction:hover, #auto_form .list_button:hover{
	cursor: pointer;
	border:none;
	opacity:0.8;
}

#auto_form .remove_button img {
	border:none;
	padding:0px;
	margin:0px;
	width:20px;
}

#auto_form .remove_button, #auto_form .remove_deduction, #auto_form .list_button, #auto_form .copy_button {
	margin-right: 6px;
}

#auto_form .remove_button span, #auto_form .remove_deduction span, #auto_form .list_button span, #auto_form .copy_button span {
	font-size: 18px;
}

#auto_form .ui-menu-item {
	width:400px!important;
}

#auto_form .num_field {
	width:98%;
	margin:0px;
	margin-right:2%;
}

#auto_form #metal_search, #auto_form #vehicle_search, #auto_form #stock_location_search {
	margin-right:20px;
	border:2px solid orange;
	padding:4px 4px;
}

#auto_form .weighbridge_active_bg {
	background:#FFF!important;
	cursor:pointer;
}

#auto_form .template_row {
	cursor:pointer;
	background:#eff5fc;
}

#auto_form input[type="text"][disabled] {
   background: #FFF;
   color:#666;
}

#auto_form .prev_tran_detail {
	float:right;
	position: relative;
	background:#69a5ea; 
	color:#FFF; 
	padding:4px 10px; 
	font-style:italic;
}
#auto_form .prev_tran_detail:after {
	content: ""; position:absolute; left:20px; top:-5px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;	border-bottom: 5px solid #69a5ea;
}

/** weighbridge invoice styles **/

#add_desc {
	/*padding:6px 10px;
	background: #EEE;
	border:1px solid #CCC;
	text-decoration: none;
	font-size: 14px;*/
}

#open_invoice_holder {
	padding-bottom: 40px;
}

.open_invoice {
	width: 25%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
	padding: 0px;
	float: left;
	position: relative;
}

.invoice_detail {
	margin: 10px;
	min-height: 154px;
	background: #c9e8fb url('gfx/car_bg.png') no-repeat center 47px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	position: relative;
	-webkit-box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.2);
	box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.2);
}

.invoice_detail.lorry_invoice {
	background: #c9e8fb url('gfx/lorry_bg.png') no-repeat center 47px;
} 

.invoice_detail.boat_invoice {
	background: #c9e8fb url('gfx/boat_bg.png') no-repeat center 47px;
} 

.invoice_detail p {
	margin: 0;
	height: 34px;
	border-top: ;
	font-size: 12px;
	font-weight: bold;
	padding: 0 10px 0 10px;
	line-height: 17px;
	border-top: solid 1px #eaf6fd;
	overflow: hidden;
	color: #333;
	background: #dceffb;
}

.invoice_detail p span {
	font-weight: normal;
	font-style: italic;
	display: block;
	font-size: 11px;
}

.invoice_detail span.oi_state {
	text-align: left;
	display: inline-block;
	background: #fff;
	float: left;
	border: solid 2px #08aafb;
	color: #08aafb;
	padding: 5px;
	font-weight: bold;
	/*margin-left: 10px;
	margin-right: 10px;*/
	position: absolute;
	top: 10px;
	left: 10px;
}

.invoice_detail span.oi_state_out {
	text-align: left;
	display: inline-block;
	background: #fff;
	float: left;
	border: solid 2px #43d843;
	color: #43d843;
	padding: 5px 2px 5px 2px;
	font-weight: bold;
	/*margin-left: 10px;
	margin-right: 10px;*/
	position: absolute;
	top: 10px;
	left: 5px;
}

.invoice_detail a {
	text-decoration: none;
	display: inline-block;
	display: block;
	width: 100%;
	min-height: 100px;
	color: #333;
	font-size: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

span.oi_reg {
	line-height: 26px;
	font-size: 16px;
	font-weight:800;
	width: 130px;
	display: block;
	border: solid 2px #333;
	background: #ffff00;
	text-align: center;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 1px 1px 1px 0px rgba(0,0,0,0.4);
	box-shadow: inset 1px 1px 1px 0px rgba(0,0,0,0.4);
	text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
	margin-left: auto;
	margin-right: auto;
}

span.oi_div_colour {
	width: 26px;
	height: 26px;
	display: block;
	position: absolute;
	right: 10px;
	top: 10px;
	border: solid 2px #fff;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.invoice_detail:hover, .open_invoice.active_link .invoice_detail {
	-webkit-box-shadow: none;
	box-shadow: none;
	opacity: 0.8;
	filter:alpha(opacity=80);
}

.invoice_detail:hover span.oi_reg, .open_invoice.active_link span.oi_reg {
	background: #1a1a1a;
	color: #fff;
	border: solid 2px #fff;
	text-shadow: 1px 1px 2px rgba(0,0,0,1);
}

.invoice_inventory {
	display: none;
	position: absolute;
	left: 210px;
	background: #333;
	top: 50px;
	z-index: 200;
	width: 350px;
	padding: 10px 0 10px 0;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

.inventory_left .invoice_inventory {
	left: auto;
	right: 210px;
}

.invoice_inventory table {
	color: #fff;
	width: 350px;
}

.invoice_inventory th {
	background: #333;
}

.invoice_inventory td, .invoice_inventory th {
	padding: 3px 10px 3px 10px;
	text-align: left;
	font-size: 13px;
	border-bottom: solid 1px #ccc;
	vertical-align: top;
}
.invoice_inventory tfoot td {
	font-weight: bold;
	border-bottom: none;
	color: #f0f8fd;
}

td.foot_total {
	text-align: right;
}

.invoice_inventory h4 {
	font-weight: bold;
	font-size: 16px;
	margin: 0;
	padding: 0 0 5px 10px;
}

.visual_cue_wrapper {
	text-align: right;
	display: inline-block;
	float: right;
	font-weight: bold;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
}

.visual_cue_wrapper.glyph-ok {
	color: #00CC00;
}

.visual_cue_wrapper.glyph-remove {
	color: red;
}

#checkbox_button_wrapper {
    background:red;
    border-radius:4px;
    overflow:auto;
	/*margin-left:350px;*/
    color: white!important;
    margin-top: 20px;
    margin-bottom: -15px;
    /*position: absolute;
    left: 368px;
	bottom: 30px;*/
	width: 200px;
}

#checkbox_button_wrapper label {
    float:left;
    width: 100%;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#checkbox_button_wrapper label span {
    text-align:center;
    padding:5px;
    display:block;
}

#checkbox_button_wrapper label input {
    display: none;
}

#checkbox_button_wrapper input:checked + span {
    background-color:#00CC00;
}

/** weighbridge invoice styles end **/
