

/* POS Modifications */

.tc-layout-single.pos-sale-document-type-quotation .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_QUOTATION"].tc-input-checked {
	background-color: #fce3fc;
}

.tc-layout-single.pos-sale-document-type-order .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_ORDER"].tc-input-checked {
	background-color: #e3e3fc;
}

.tc-layout-single.pos-sale-document-type-packing-slip .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_PACKING_SLIP"].tc-input-checked {
	background-color: #e3fcfc;
}

.tc-layout-single.pos-sale-document-type-invoice .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_INVOICE"].tc-input-checked {
	background-color: #e3fce3;
}

.tc-layout-single.pos-sale-document-type-invoice-receipt .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_INVOICE_RECEIPT"].tc-input-checked {
	background-color: #fcfce3;
}

.tc-layout-single.pos-sale-document-type-receipt .tc-main-title-inner,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="document_type"] .tc-input-switch[data-slug="POS_SALE_DOCUMENT_TYPE_RECEIPT"].tc-input-checked {
	background-color: #fce3e3;
}


.tc-field[data-item-type="tc_pos_sale_creator"][data-field="customer"] .tc-control-value {
	background: #d2d2d2 !important;
	border-color: #d2d2d2 !important;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="customer"].club-member-customer .tc-control-value{
	background: #cbe5a4 !important;
	border-color: #d2d2d2 !important;
}

.tc-club-member-table-row {
	background: #cbe5a4;
}

/*.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"],*/
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"],
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"],
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] {
	font-size: 26px;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-caption-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-caption-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-caption-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-caption-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-control-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-control-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-control-wrapper,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-control-wrapper {
	width: 50%;
}

/*.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-caption,*/
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-caption,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-caption,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-caption {
	line-height: 28px;
}

/*.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-input.tc-input-text,*/
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-input.tc-input-text,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-input.tc-input-text,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-input.tc-input-text {
	height: 38px;
	text-align: left;
	border: none;
}

/*.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price"] .tc-control-extra-action .tc-button .tc-icon,*/
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_price_vat"] .tc-control-extra-action .tc-button .tc-icon,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="total_payments"] .tc-control-extra-action .tc-button .tc-icon,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_remainder"] .tc-control-extra-action .tc-button .tc-icon {
	margin-top: 5px;
}


.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] .tc-input.tc-input-thumbnail {
	width: 80px;
	height: 62px;
	display: table-cell;
	vertical-align: middle;
	color: white;
	background: #1886ed;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] .tc-input.tc-input-thumbnail .tc-input-thumbnail-caption {
	white-space: normal;
	height: auto;
}


@media screen and (min-width: 768px) {

	.tc-root-rtl .tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-controls.tc-main-actions-bottom {
		text-align: right;
	}

	.tc-root-ltr .tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-controls.tc-main-actions-bottom {
		text-align: left;
	}


	.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] {
		position: fixed;
		bottom: 20px;
		padding: 3px 4px 3px 3px;
		z-index: 100;
	}

	.tc-root-rtl .tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] {
		left: 20px;
	}

	.tc-root-rtl .tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"].receipt-payment-type {
		left: 105px !important;
	}

	.tc-root-ltr .tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] {
		right: 20px;
	}

	.tc-root-ltr .tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"].receipt-payment-type {
		right: 105px !important;
	}

	.tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-widgets + .tc-main-separator {
		margin: 0;
		border: none;
	}

	.tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button {
		position: fixed;
		bottom: 35px;
		padding: 23.5px 11.5px;
		z-index: 100;
	}

	.tc-root-rtl .tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button[data-button="dialog_cancel"]{
		right: 265px;
	}

	.tc-root-ltr .tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button[data-button="dialog_submit"] {
		right: 35px;
	}

	.tc-root-ltr .tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button[data-button="dialog_cancel"],
	.tc-root-rtl .tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-button[data-button="dialog_submit"]{
		left: 20px;
	}

	.tc-layout.tc-layout-single[data-item-type="tc_pos_sale_creator"] .tc-main-actions-bottom .tc-buttons > li {
		margin: 5px 1px;
	}
}


@media screen and (max-width: 767px) {

	.tc-field[data-item-type="tc_pos_sale_creator"][data-field="product_options"] .tc-input-thumbnail .tc-image-button,
	.tc-field[data-item-type="tc_pos_sale_creator"][data-field="favorite_products"] .tc-input-thumbnail .tc-image-button {
		max-width: 110px;
	}
}


.tc-field[data-item-type="tc_pos_sale_creator"][data-field="refund_products"] .tc-table-column[data-field="quantity"] .tc-table-cell,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="refund_products"] .tc-table-column[data-field="min_products"] .tc-table-cell {
	color: #DE4B1F;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="discount_vat"].negative-discount .tc-input.tc-input-text.tc-control-value,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="discount_percent"].negative-discount .tc-input.tc-input-text.tc-control-value {
	color: #DE4B1F;
}


.tc-field[data-item-type="pos_search_product_dialog"][data-field="product_links"] .tc-table-column[data-field="pos_display_name"],
.tc-field[data-item-type="pos_edit_favorite_products_dialog"][data-field="product_links"] .tc-table-column[data-field="pos_display_name"] {
	width: 50%;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="products"] .tc-table-column[data-field="product"] {
	width: 40%;
}

/*pos sale product type*/
.tc-pos-sale-product-type-handle .tc-table-column[data-field="quantity"] {
	background: #7DC7F0;
}
.tc-pos-sale-product-type-return .tc-table-column[data-field="quantity"] {
	background: #F4D865;
}
.tc-pos-sale-product-type-refund .tc-table-column[data-field="quantity"] {
	background: #F0AC6E;
}

.tc-widget[data-item-type="tc_pos_sale_creator"] {
	border: none;
	margin-bottom: 0 !important;
}

.tc-widget[data-item-type="tc_pos_sale_creator"][data-widget="payments"].pos-sale-payments-border{
	border: 3px solid #ebebeb;
	padding-left: 10px;
	padding-right: 10px;
}

.tc-widget[data-item-type="tc_pos_sale_creator"][data-widget="sale_details"]{
	padding-top: 12px;
}


.tc-widget[data-item-type="tc_pos_sale_creator"] .tc-form {
	padding: 5px;
}

/*
.pos-sale-quotation ??
.tc-widget[data-item-type="tc_pos_sale_creator"][data-widget="document_type"] .tc-input.tc-input-switch.tc-input-checked {
	background-color: #eeebf4ff;
}

order
background-color: #e6f3ffff;

packing slip
background-color: #f1ffedff;

invoice
background-color: #fff1e3ff;

invoice receipt
background-color: #fed9d2ff;

*/
.tc-widget[data-item-type="pos_receipt_dialog"][data-widget="details"] .tc-form-description{
	font-weight: bold;
	font-size: 18px;
}

.tc-widget[data-item-type="pos_customer_balance_dialog"][data-widget="details"].pos-customer-balance-debt  .tc-form-description {
	font-weight: bold;
	font-size: 18px;
	color: #DE4B1F;
}

.tc-widget[data-item-type="pos_customer_balance_dialog"][data-widget="details"].pos-customer-balance-credit  .tc-form-description {
	font-weight: bold;
	font-size: 18px;
	color: #59BF43;
}


.tc-field.tc-confirmation-number-missing {
	outline: 1px solid red;
}

.tc-table-row.tc-confirmation-number-missing {
	background: orange;
}

.tc-table-row[data-item-type="pos_sale"].sale-strikethrough {
	text-decoration: line-through !important;
}

.tc-table-row[data-item-type="ai_assistant_product"].no-sup-pcn .tc-table-column[data-field="sup_pcn"],
.tc-table-row[data-item-type="sup_order_product"].no-sup-pcn .tc-table-column[data-field="sup_pcn"] {
	background: #fce3e3;
}

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="sale_connections"] .tc-field-separator,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="sale_connections"].tc-hidden + [data-field="products"] .tc-field-separator {
	display: none;
}

/*.tc-table-column.tc-table-column-filterable.tc-table-column-sortable[data-field="pos_display_name"] {*/
/*	background: #fce3e3 !important;*/
/*}*/


/**** Temproray ************/
.tc-widget[data-item-type="tc_pos_sale_creator"] {
	border: none;
	margin-bottom: 0 !important;
}
.tc-widget[data-item-type="tc_pos_sale_creator"] .tc-form{
	padding: 0;
}
/**** Temproray ************/


.tc-field[data-item-type="tc_pos_sale_creator"][data-field="customer_search"] .tc-control-options {
	width: 150%;
	left: auto;
}
/*********** Configure POS Faivorates Boxes */

/*   Set Box Hight (60 = 2 rows) */
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="product_options"] .tc-input-thumbnail .tc-image-button,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="favorite_products"] .tc-input-thumbnail .tc-image-button {
	height: 60px !important;
}

/*   Remove Gray Caption */
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="product_options"] .tc-input-thumbnail .tc-input-thumbnail-caption,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="favorite_products"] .tc-input-thumbnail .tc-input-thumbnail-caption {
	display: none;
}

/*********** Configure Product search box size in POS */
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="product_name_search"] .tc-control-options {
	width: 150%;
	left: auto;
}
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="product_name_search"] .tc-control-options li:first-child {
	margin-top: -1px;
	border-top: 1px solid #cccccc;
}
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="product_name_search"] .tc-control-options ul {
	max-height: 540px; /* must be in multiples of 30 */
}

/*********** Configure Customer search box size in POS */

.tc-field[data-item-type="tc_pos_sale_creator"][data-field="customer_search"] .tc-control-options ul {
	max-height: 540px; /* must be in multiples of 30 */
}

/************ Adapt Color Scheme to Green */

.tc-main .tc-main-title h1,
.tc-widget .tc-widget-title h2 {
	color: #028302; /*#1886ed; = 209 90 93 */
}

.tc-input.tc-input-thumbnail .tc-image-button,
.tc-field[data-item-type="tc_pos_sale_creator"][data-field="payment_type"] .tc-input.tc-input-thumbnail {
	background-color: #028302; /*#1886ed; = 209 90 93 */
}

.tc-input:hover,
.tc-input.tc-hover {
	color: #657814; /*#337abc = 209 73 74 */
}

.tc-button:hover,
.tc-button.tc-hover {
	color: #388000; /*#0e75d4; = 209 93 83 */
}

a.tc-button.tc-button-icon:hover,
a.tc-button.tc-button-icon.tc-hover {
	color: #657814; /*#337abc = 209 73 74 */
}

.tc-button.tc-button-main {
	background-color: #028302; /*#1886ed; = 209 90 93 */
}

.tc-button.tc-button-main:hover,
.tc-button.tc-button-main.tc-hover {
	color: #4fb63f; /*#a1c0ee; = 216 32 93 */
}

.tc-button.tc-button-main.tc-button-no-background {
	background: none;
}

.tc-table .tc-table-column .tc-table-column-title > .fa {
	color: #4fb63f; /* #816f0d; /* #245e95; = 209 76 58 */
}

.tc-table .tc-table-row.tc-table-row-heading {
	background-color: #028302; /*#1886ed; = 209 90 93 */
}

.tc-table .tc-table-row.tc-table-row-heading .tc-table-column:hover,
.tc-table .tc-table-row.tc-table-row-heading .tc-table-column.tc-hover,
.tc-table .tc-table-row.tc-table-row-heading .tc-table-column.tc-hover-column {
	background-color: #457e00; /*#167CDB; = 209 90 86 */
}
