

/*********************************************
 *             Point of Sale                 *
 *********************************************/

#posDialog {
	font-size: 12px;
	overflow: hidden;
}

#pos-items-wrapper {
	position: relative;
	height: 100%;
	padding: 0; 
	border-top: 1px #DDD solid;
}

#pos-items, .pos-item-list {
	margin: 10px 0;
	border: 1px #DDD solid;
	background-color: #F5F5F5;
	padding: 5px;
	position: absolute;
	top: 40px;
	left: 10px;
	right: 10px;
	bottom: 0;
	overflow-x: hidden;
	overflow-y: scroll;
}

#pos-items .pos-item, .pos-item-list .pos-item {
	width: 200px;
	height: 48px;
	float: left;
	border: 1px #DDD solid;
	background-color: #FFF;
	margin: 5px;
	padding: 5px;
	cursor: pointer;
	overflow: hidden;
	position: relative;
}

.pos-item-list.mini .pos-item {
	width: 100px;
	height: 24px;
}


#pos-items .pos-item:hover, .pos-item-list .pos-item:hover {
	background-color: #EEE;
}

.pos-item-icon {
	position: absolute;
	right: 10px;
	opacity: 0.3;
	filter: alpha(opacity=30);
	z-index: 0;
	width: 48px;
	height: 48px;
}

.pos-item-list.mini .pos-item-icon {
	width: 16px;
	height: 16px;
	margin-top: -8px;
	top: 50%;
	opacity: 0.6;
	filter: alpha(opacity=60);
}

.pos-item-list.mini .pos-item-name {
	margin-left: 6px;
	margin-top: 3px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	width: 90px;
}

.pos-item-list.mini .pos-item-inner {
	bottom: 0 !important;
}

.pos-item-inner {
	position: absolute; 
	top: 5px; 
	bottom: 5px; 
	left: 5px; 
	right: 5px; 
	z-index: 1;
	overflow: hidden;
}

.pos-item-name {
	float: left;
	width: 140px;
	font-weight: bold;
	font-size: 13px;
}

.pos-item.secondary .pos-item-name {
	font-weight: normal;
	color: #222;
}

.pos-item-price {
	float: right;
	width: 50px;
	text-align: right;
	font-weight: bold;
	font-size: 16px;
}

.pos-item-description {
	color: #444;
	font-size: 11px;
	float: left;
	width: 147px;
}

/* CART ITEMS */

#pos-cart-wrapper, #pos-payments-wrapper {
	position: relative;
	height: 100%;
}

#pos-cart, #pos-payments {
	padding: 5px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 20px;
}

#pos-cart h3, #pos-payments h3 {
	padding: 0;
	margin: 0;
	font-size: 14px;
	padding: 5px;
	text-transform: uppercase;
	background-color: #888;
	color: #FFF;
	line-height: 1em;
}

#pos-cart .cart-empty, #pos-payments .payments-empty {
	padding: 30px;
}

#pos-cart-items, #pos-payment-items {
	position: absolute;
	top: 0;
	bottom: 70px;
	left: 0;
	right: 0;
	overflow-x: hidden;
	overflow-y: scroll;
	
	border: 1px #DDD solid;
	background-color: #F5F5F5;
	border-top: none;
}

#pos-cart-items .item, #pos-payment-items .payment {
	cursor: pointer;
	clear: both;
	border-bottom: 1px #DDD solid;
	background-color: #FFF;
	position: relative;
	overflow: hidden;
	min-height: 48px;
}

#pos-cart-items .item:hover, #pos-payment-items .payment:hover {
	background-color: #EEE;
}

.pos-cart-head-wrapper {
	position: relative;
	height: 24px;
	border: 1px #DDD solid;
	border-bottom: none;
	
	background-image:-moz-linear-gradient(top,#f3f3f3,#e3e3e3);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f3f3f3),color-stop(1,#e3e3e3));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#f3f3f3,EndColorStr=#e3e3e3);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#f3f3f3,EndColorStr=#e3e3e3);
	
}

.pos-cart-head {
	position: absolute;
	top: 0;
	left: 0;
	right: 20px;
	bottom: 0;
}

.pos-cart-head div.th {
	float: left;
}

.pos-cart-head div.th span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pos-cart-foot {
	position: absolute;
	bottom: 0;
	left: 0; right: 0;
}

.pos-cart-foot .info-key {
	width: 25%;
	text-align: right;
}

.pos-cart-foot .info-value {
	width: 25%;
	text-align: right;
}

.pos-cart-item-field {
	padding: 0 !important;
	float: left;
}

.price-key {
	padding: 0 !important;
	margin: 0;
	width: 40px;
	display: block;
	color: #666;
	font-size: 10px;
	float: left;
	text-align: left !important;
}

.price-value {
	padding: 0 !important;
	float: right;
	display: block;
}

.pos-cart-item-field span {
	padding: 3px 6px;
	display: block;
}

.pos-cart-item-icon, .pos-cart-payment-icon {
	position: absolute;
	left: 10px;
	opacity: 0.2;
	filter: alpha(opacity=20);
	z-index: 5000;
	width: 48px;
	height: 48px;
	top: 50%;
	margin-top: -24px;
	background-repeat: no-repeat;
}

.pos-cart-item-wrapper, .pos-cart-payment-wrapper {
	position: relative;
	z-index: 9999;
}

.pos-cart-item-name {
	width: 48%;
	font-size: 13px;
	font-weight: bold;
}

.pos-cart-item-qty {
	width: 10%;
	text-align: center;
}
.pos-cart-item-price {
	width: 30%;
	text-align: right;
}
.pos-cart-item-actions {
	width: 10%;
	text-align: right;
}

.pos-cart-payment-type {
	width: 60%;
	font-size: 13px;
	font-weight: bold;
}

.pos-cart-payment-amount {
	width: 28%;
	text-align: right;
}

.pos-cart-payment-actions {
	width: 10%;
	text-align: right;
}

.pos-cart-item-info p {
	padding: 0;
	margin: 3px 6px;
	color: #444;
	font-size: 11px;
	font-weight: normal;
}





div.ui-list {
	width: 440px;
	background-color: #222;
	padding: 1px;
	
	background-image:-moz-linear-gradient(top,#111111,#444444);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#111111),color-stop(1,#444444));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#111111,EndColorStr=#444444);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#111111,EndColorStr=#444444);
}

div.itemContainer > p {
	color: #fff;
	margin: 10px 20px;
}

div.ui-list div.itemContainer {
	height: 250px;
	overflow-y: scroll;
	overflow-x: hidden;
	padding-top: 1px;
}

div.ui-list div.item {
	/*
	max-width: 428px;
	min-width: 400px;
	*/
	border: 1px #888 solid;
	background-color: #666;
	color: #fff;
	padding: 5px;
	margin: 0 1px 1px 0;
	cursor: default;
	text-shadow: #4A4A4A -1px -1px 1px;
	
	background-image:-moz-linear-gradient(top,#777777,#555555);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#777777),color-stop(1,#555555));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#777777,EndColorStr=#555555);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#777777,EndColorStr=#555555);
}

div.ui-list div.item.alt1 {
	background-image:-moz-linear-gradient(top,#62d140,#3eaa1d);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#62d140),color-stop(1,#3eaa1d));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#62d140,EndColorStr=#3eaa1d);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#62d140,EndColorStr=#3eaa1d);
	border: 1px #3eaa1d solid;
	text-shadow: #2d8d10 -1px -1px 1px;
	color: #fff;
}

div.ui-list div.item.headers {
	font-weight: bold;
	color: #333;
	background-color: #EEE;
	font-size: 120%;
	margin: 0;
	text-shadow: #fff 1px 1px 1px;
	border-color: #fff;
	
	background-image:-moz-linear-gradient(top,#FAFAFA,#D0D0D0);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#FAFAFA),color-stop(1,#D0D0D0));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#FAFAFA,EndColorStr=#D0D0D0);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#FAFAFA,EndColorStr=#D0D0D0);
}

div.ui-list div.item.headers span.info {
	width: 150px;
}
div.ui-list div.item.headers span.qty {
	width: 75px;
}

.ui-list img.icon32, .itemContainer img.icon32 {
	max-width: 32px;
	max-height: 32px;
	min-width: 32px;
	min-height: 32px;
	width: 32px;
	height: 32px;
	margin: 3px 5px 0 5px;
	display: block;
	float: left;
}

img.icon16, .icon16 {
	width: 16px;
	height: 16px;
	margin: 0;
	display: block;
	float: left;
}

img.icon16.footprint32 {
	margin: 0 21px 0 5px;
}

img.icon24 {
	max-width: 24px;
	max-height: 24px;
	min-width: 24px;
	min-height: 24px;
	width: 24px;
	height: 24px;
	margin: 3px 5px 0 5px;
}

div.ui-list div.item span.info{
	width: 175px;
	display: block;
	float: left;
	margin: 3px 0 0 0;
}

div.ui-list div.item span.qty{
	width: 50px;
	display: block;
	float: left;
	margin: 3px 0 0 0;
}

div.ui-list div.item span.price{
	width: 100px;
	display: block;
	float: left;
	margin: 3px 0 0 0;
}

div.ui-list div.item span.price.editable {
	cursor: pointer;
}

div.ui-list div.item span.action{
	max-width: 60px;
	display: block;
	float: left;
	margin: 3px 0 0 0;
}

div.ui-list div.item span.action a {
	display: block;
	width: 32px;
	height: 32px;
	cursor: pointer;
	float: left;
}

div.ui-list div.item span.action a.img {
	max-width: 32px;
	max-height: 32px;
}

div.ui-list div.item h4 {
	text-align: left;
	font-size: 110%;
	margin: 2px 0;
	padding: 0;
	color: #FFF !important;
	display: block;
}

div.ui-list div.item p {
	text-align: left;
	font-size: 90%;
	margin: 2px 0;
	padding: 0;
	color: #FFF !important;
	display: block;
}



div.ui-list div.item.list-button {
	cursor: pointer;
}

div.ui-list div.item.list-button:hover {
	background-image:-moz-linear-gradient(top,#555555,#333333);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#555555),color-stop(1,#333333));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#555555,EndColorStr=#333333);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#555555,EndColorStr=#333333);
	text-shadow: #4A4A4A -1px -1px 1px;
}

div.ui-list div.item.list-disabled {
	background-image: none;
	background-color: #999;
	color: #333 !important;
	text-shadow: #CCC 1px 1px 1px;
}

div.ui-list div.item.list-disabled h4, div.ui-list div.item.list-disabled p {
	color: #333 !important;
}
















/* ITEM TABS */

#posDialog #items > div {
	padding: 2px;
}

#posDialog div.itemList {
	height: 240px;
	overflow-y: scroll;
	overflow-x: hidden;
}

#posDialog div.itemList div.item {
	width: 85px;
	border: 1px #AAA solid;
	background-color: #FAFAFA;
	color: #000;
	padding: 2px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	float: left;
	text-align: center;
	cursor: pointer;
	margin: 4px;
	
	background-image:-moz-linear-gradient(top,#FEFEFE,#DADADA);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#FEFEFE),color-stop(1,#DADADA));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#FEFEFE,EndColorStr=#DADADA);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#FEFEFE,EndColorStr=#DADADA);
}

#posDialog div.itemList div.item:hover {
	background-color: #EEE;
	background-image:-moz-linear-gradient(top,#FEFEFE,#CCCCCC);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#FEFEFE),color-stop(1,#CCCCCC));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#FEFEFE,EndColorStr=#CCCCCC);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#FEFEFE,EndColorStr=#CCCCCC);
}

#posDialog div.itemList div.item:active {
	background-color: #E5E5E5;
	
	background-image:-moz-linear-gradient(top,#BBBBBB,#CCCCCC);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#BBBBBB),color-stop(1,#CCCCCC));
	filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#BBBBBB,EndColorStr=#CCCCCC);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#BBBBBB,EndColorStr=#CCCCCC);
}

#posDialog div.itemList div.item img.icon32 {
	float: none;
	margin: 0 auto;
}

#posDialog div.itemList div.item span.action{
	max-width: 60px;
	display: block;
	float: left;
	margin: 3px 0 0 0;
}


#posDialog div.itemList div.item h4 {
	text-align: center;
	font-size: 110%;
	margin: 2px 0;
	padding: 0;
}

#posDialog div.itemList div.item p {
	text-align: center;
	font-size: 90%;
	margin: 2px 0;
	padding: 0;
}



/* TOTAL/SUBTOTAL */
#posDialog div.smallTotal {
	font-size: 120%;
	margin: 2px 0;
	padding: 0;
	line-height: 1em;
	font-weight: bold;
}

#posDialog div.bigTotal {
	font-size: 160%;
	margin: 2px 0;
	padding: 0;
	line-height: 1em;
	font-weight: bold;
}

#posDialog div.totals {
	cursor: default;
	border: 3px #999 double;
	padding: 10px;
	background-color: #FAFAFA;
	text-shadow: #fff 1px 1px 1px;
	overflow-x: hidden;
	overflow-y: auto;
	height: 65px;
}

#posDialog div.totals .key, #posDialog div.totals .value {
	float: left;
	display: block;
}

#posDialog div.totals .key {
	width: 150px;
}

#posDialog div.totals .value {
	width: 150px;
}

button.addPayment, button.userSearch, button#pos-activity-button {
	padding: 0 15px;
	margin: 0 10px 0 0;
}


div.touchScreen-list-clickable {
	padding: 8px 0;
	border-bottom: 1px #CCC solid;
	cursor: pointer;
}

div.touchScreen-list-clickable:hover {
	background-color: #FAFAFA;
}

div.touchScreen-list-clickable a.icon_button {
	margin: 0 6px 0 0;
}
