img.help
{
	cursor: pointer;
}

table.box
{
	margin: 7px;
	border: 2px solid #191919;
}

tr.heading
{
	background-color: #2649d4;
	color: #ffffff;
	font-weight: bold;
}

tr.heading td, tr.heading th
{
	padding: 4px;
}

tr.heading2
{
	background-color: #474952;
	color: #cbcbff;
	font-weight: bold;
	font-size: 0.8em;
}
tr.heading2 td, tr.heading2 th
{
	padding: 2px 4px 2px 4px;
}
tr.heading3
{
	background-color: #a8d5ff;
	color: #000000;
	font-weight: bold;
	font-size: 0.8em;
}

tr.heading4
{
	background-color: #dde8f1;
	font-style: italic;
	font-size: 0.65em;
}
tr.heading4 td
{
	padding: 1px 1px 1px 8px;
}

tr.separator td
{
	border-bottom: 1px solid #000000;
}

table.table-striped tbody tr.item:nth-child(even):not(.racked):not(.sold)
{
	background-color: #dfdfdf;
}



.legend
{
	display: inline-block;
	border: 1px solid #000000;
	width: 10px;
	height: 10px;
}

.racked
{
	background-color: #f1d7cc;
}
.racked span.fa-trash
{
	color: #9b0000;
}

.sold
{
	background-color: #b8b8b8;
}

input.error, select.error, textarea.error
{
	background-color: #ee7777;
	border: 1px solid #ff0000;
}

input[readonly]
{
	background-color: #dfdfdf;
}

a
{
	color: #113ded;
}
a:visited
{
	color: #113ded;
}
a:hover
{
	color: #113ded;
}

div.notice
{
	border: 1px solid #191919;
	border-radius: 10px;
	margin: 4px;
	padding: 4px;
}
div.notice h3
{
	margin: 0px;
	padding: 3px;
	background-color: #2649d4;
	font-weight: bold;
	color: #ffffff;
	border-top-left-radius: 9px;
	border-top-right-radius: 9px;
}

tbody.alternate > tr:nth-child(2n){
	background-color: #ededed;
}

i.fa {
	margin-right: 5px;
}

select.max-width
{
	max-width: 300px; 
	min-width: 200px;
}

/*********************************
* Index
**********************************/
#content .container{
	max-width: none;
}
#content .row>*{
	padding: 0;
}
#calendarId{
	padding-top: 4px;
}


/*********************************
* Job Orders
**********************************/
table tbody tr td {
	vertical-align: top;
}

div.date-group
{
	/*
	border: 1px solid #000000;
	padding: 1px;
	border-radius: 0.5em;
	display: inline-block;
	margin: 0px 2px;
	line-height: 0.8em;
	*/
	display: inline-block;
	margin: 0px 2px;
	font-size: 0.8em;
	color: #000000;
}

div.date-group span.item-date
{
	display: none;
}

span.item-date
{
	margin: 0px 2px;
	font-size: 0.8em;
	color: #947c2a;
}

.ui-autocomplete {
	max-height: 150px;
	overflow-y: auto;
	overflow-x: hidden;
}

* html .ui-autocomplete {
	height: 150px;
}
.ui-autocomplete-category {
	font-weight: bold;
	padding: .2em .4em;
	margin: .4em 0 .2em;
	line-height: 1.5;
	text-decoration: underline;
}

.tblAccord .subitem {
	display: none;
	border: 2px solid;
	background-color: #eef1ff;
}
/*
		0 => array('id'=> 'rental', 'name' => 'Rentals', 'keepinv' => false),
		1 => array('id'=> 'prepaid','name' => 'Pre-Paid Inventory', 'keepinv' => true), 
		2 => array('id'=> 'purchase', 'name' => 'Sales', 'keepinv' => false),
		3 => array('id'=> 'longterm', 'name' => 'Long-Term Rental', 'keepinv' => true),
		4 => array('id'=> 'bladder', 'name' => 'Bladder Usage Charge', 'keepinv' => true),
		5 => array('id'=> 'warranty', 'name' => 'Warranty', 'keepinv' => true),
		6 => array('id'=> 'nocharge', 'name' => 'No Charge', 'keepinv' => true),
		7 => array('id'=> 'inspection', 'name' => 'Inspection', 'keepinv' => true),
*/
.joi-rental{
	background-color: #bebebe;
}

.joi-purchase, .joi-bladder{
	background-color: #a9ccec;
}

.joi-prepaid,.joi-inspection{
	background-color: #a2e68d;
}

.joi-longterm{
	background-color: #e0e68d;
}

.joi-warranty, .joi-nocharge{
	background-color: #f19898;
}

/*********************************
* Tool Builder
**********************************/
/* #divBuilderActions{
	display: flex;
	justify-content: space-between;
} */

/* #divBuilderActions > #btnUpdateItem {
	display: none;
}

#divBuilderActions.update > #btnUpdateItem {
	display: block;
}

#divBuilderActions.update > #btnCreateItem {
	display: none;
} */
#divItemSelect > table {
    position: sticky;
    top: 10px;
}

#tblNewTool th {
	text-align: right;
}

#btnClearList {
	float: right;
}

.item-content {
	/* display: flex;
	flex-direction: row;
	justify-content: space-between; */
	width: 100%;
    margin: auto !important;
	font-size: 11pt;
	font-weight: bold;
	min-height: 42px;
}

.tool-builder{
	display: grid;
	grid-template-columns: 2fr 3fr;
	grid-column-gap: 15px;
}

.child-items {
	padding-left: 5px;
}

.child-item {
	border-top: 1px solid black;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
	border-top-left-radius: 5px;
	padding: 5px 0 5px 5px;
	list-style: none;
	background-color: #d8d8d8;
	color: #000000;
}

.child-item:hover {
	background-color: #f1f1f1;
	cursor: grab;
}

.child-item:active {
	cursor: grabbing;
}

.child-items > .child-item .item-content .item-details, 
.child-items > .child-item .item-content .item-details2, 
.child-items > .child-item .item-content .item-details3{
	font-size: .8rem;
}

.item-actions{
	text-align: right;
	/* display: grid;
	grid-template-columns: auto;
	justify-content: end;
	align-content: baseline;
	grid-gap: 5px;
	grid-auto-flow: column; */
}

.item-actions a{
	min-width: 20px;
	cursor: pointer;
}

input.large
{
    width: 80%;
}

#select-item-list, #tool-item-list
{
	padding-bottom: 50px;
}

.item-list
{
	/* min-height: 50px; */
	background-color: #dfefff;
	border-top: 1px dashed green;
	border-left: 1px dashed green;
	border-bottom: 1px dashed green;
	padding-bottom: 25px;
	padding-left: 0;
	list-style-type: none;
}

li.child-item > .item-content  .unlock-item{
	display: none;
}

li.child-item.locked
{
	background-color: #e2e2e2;
}

li.child-item.locked:hover
{
	background-color: #f1f1f1;
}

li.locked > .item-content  .unlock-item
{
	display: inline;
}

li.locked > .item-content  .lock-item {
	display: none;
}

/* child-list*/

ul.select-item-list > li.child-item{
	display: block;
}

ul.child-items > li.child-item {
	display: none;
}

li.show-childlist > ul.child-items > li.child-item {
	display: block;
}

.ui-sortable-disabled{
	padding-bottom: 0;
	border: none;
}

.new-tool 
{
	padding: 5px;
    border: 1px solid black;
    margin-top: 5px;
	border-radius: 7px;
	background-color: #d8d8d8;
}

.item-details
{
	min-width: 160px;
	text-align: left;
	float: left;
}

.item-name,
.item-sn,
.item-pn,
.item-qty,
.item-qtyInAssembly
{
	font-weight: normal;
}

.fullwidth{
	width:100%;
}

.tb-heading{
	width: 100px;
}

.tb-sm{
 	width: 175px;
}
.tb-md{
	
	width: 300px;
}
.tb-lg{
	
	width: 500px;
}
.tb-full{
	width: 100%;
}
.child-items > .child-item{
	background-color: #eef1ff !important;
}

/* .child-items > .child-item .item-actions{
	display: none;
} */

.item-details2, 
.item-details3 {
	text-align: right;
	padding-right: 5px;
}

/** INVENTORY */

.file-row
{
	display: flex;
	justify-content: space-between;
}
