/*---------------- inventory-picker autocomplete ----------------*/ 
#inventory-picker						{ margin-top:10px; margin-bottom:20px; }
.inventory-select.ui-autocomplete		{ font-family:helvetica,arial,sans-serif; font-size:0.9em; max-height:170px;
	.ui-menu-item						{ 
		.col							{ float:left; }
		.thumb							{ width:50px; height:50px; margin-right:10px; background-position:center center; background-repeat:no-repeat; }
		.code							{ width:150px; }
		.title							{ font-size:1.2em; }
		.variant, .collection-sku		{ font-size:.9em; color:#888; margin-top:0.2em; }
	}
}

/*-------------- inventory-tip ------------*/ 
.inventory-tip							{ 
	.img								{ width:100%; border:1px solid #c1c1c1; }
	.img-date							{ font-size:10px; margin:0.5em 0; }
	.SKU								{ font-weight:bold; font-size:1.2em; margin:0.5em 0; }
	.title								{ font-weight:bold; font-size:1.5em; margin:0.5em 0; }
	.variant							{ }
	.collection							{ margin:0.5em 0; }
	.description						{ margin:1em 0; color:#888; height:7em; overflow:scroll; padding:5px; border:1px solid #c1c1c1; }
	.right-col							{ border-left:1px solid #c1c1c1; }
}

/*-------------- inventory-key ------------*/ 
.inventory-key							{ box-sizing:border-box; border:1px solid #c1c1c1; padding:5px; border-radius:5px; font-size:10px; line-height:1.4em; 
	.title								{ font-weight:bold; margin-bottom:2px; }
	img									{ margin:2px 2px 0; }
	.tag								{ display:inline-block; width:50px; }
	.cols								{ column-count:2; }
}

/*-------------- inventory-histogram ------------*/ 
.inventory-histogram-box				{ position:relative; box-sizing:border-box; height:100px; }
.inventory-histogram					{ position:relative; top:100px; 
	.bar								{ box-sizing:border-box; position:relative; float:left; height:2px; background-color:#E1E5F2; border-left:3px solid #fff; }
	.bar.first:before					{ content:''; position:absolute; height:100px; bottom:0; border-left:1px solid #bbb; margin-left:-3px; }
	.bar.sun:before						{ content:''; position:absolute; height:100px; bottom:0; border-left:1px solid #F2A9A9; margin-left:-2px; }
	.bar-stack							{ display:block; position:absolute; left:0; right:0; bottom:0; z-index:6; 
		&.oh							{ background-color:#C2CCF2; }
		&.pre							{ background-color:#E1E5F2; }
		&.alc							{ background-color:#C2CCF2; }
		&.tip:hover .tip-wrapper		{ visibility:visible; }
		.tip-wrapper					{ visibility:hidden; position:absolute; z-index:10; top:0px; }
		.tip							{ position:absolute; width:130px; bottom:0; right:0; border:2px solid #777; border-radius:10px 10px 0 10px; padding:10px; margin-top:3px; margin-right:3px; background-color:#fff; color:#444; 
			.date						{ border-bottom:1px solid #bbb; padding-bottom:5px; margin-bottom:5px; }
			div							{ margin-bottom:2px; }
			b							{ float:right; }
			label						{ display:inline-block; width:80px; }
		}
	}
	.avg								{ position:absolute; left:0; right:0; bottom:0; border-top:1px solid #bbb; border-style:dotted; z-index:4; }
}
.module-inventory {
    .selected-img-title {
        width: calc(100% - 80px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .selected-img {
        position: absolute;
        top: 20px;
        right: 20px;
        & img{
            max-width: 80px;
            max-height: 80px;
            border-radius: 10px;
        }
    }
}

