
body {
	/*padding: 0;*/
	/*margin: 0;*/
}
#_page_body {
	overflow: auto;
	margin: 0;
	/*margin-top: -5px;*/
	width: 100%;
}
div#title {
	display: none;
}
div.full_width #_page_body {
	width: calc(100% - 5px);
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
}
.callout_main {
	width: calc(100vw - 15px);
}
.hide_menu {
	display: none !important;
}
table#title {
	display: none;
}
div.pos_wrapper {
	height: calc(100vh - 35px);
	min-width: 570px;
	overflow: hidden;
}
div.pos_body_left {
	float: left;
	width: calc(100% - 460px);
	height: calc(100% - 25px);
	min-width: 120px;
	overflow: visible;
	/*border: 1px solid;*/
}
div.pos_body_left center {
	padding: 2px;
}
div.pos_body_left input {
	width: 220px;
	line-height: 2em;
	/*margin-top: .3em;*/
	font-weight: bold;
	font-size: 1.3em;
}
div.pos_body_left #code_input_hint, #cancel_order_notification {
	left: calc(50% + 85px);
	background-color: #CCFFCC;
	border: 1px solid #33CC00;
	color: #007700;
	padding: 5px;
	margin: 5px 1em;
}
div.pos_body_right {
	width: 450px;
	height: calc(100% - 50px);
	/*border: 1px solid;*/
	/*margin-top: 19px;*/
	float: left;
}
div.pos_body_right center {
	float: left;
	box-sizing: border-box;
}
div#retail_items_container, div#order_type_table, div#pos_table_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 5px;
}
div#retail_items_container, div#pos_table_list {
	max-height: calc(100vh - 300px);
	overflow-y: scroll;
}
div.pos_body_left #cate_container {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 1em;
	/*background-color: #DDD;*/
}
div.categories_link {
	font-weight: bold;
	font-size: 1.2em;
	color: #555;
	margin: .5em;
}
div.categories_link:hover {
	text-decoration: none;
	border-bottom: 3px solid red;
	margin-bottom: calc(.5em - 3px);
	cursor: pointer;
}
div.selectedCat {
	border-bottom: 3px solid red;
	margin-bottom: calc(.5em - 3px);
}
div#order_type_table > div {
	margin: 5px;
}
div.pos_order_type_btn, div#pos_table_seat {
	border: 1px solid #CCC;
	color: #888;
	font-weight: bold;
	font-size: 1.1em;
	padding: 3px 0;
	margin: 0 5px;
	width: 100px;
	text-align: center;
}
div#curTable {
	display: inline-block;
	font-weight: 1.2em;
}
div.pos_order_type_btn:hover, div.pos_table_selector:hover {
	cursor: pointer;
}
div.pos_item_box {
	width: 120px;
	height: 120px;
	margin: 5px;
	text-align: center;
	background-color: #FFF;
	border: thin solid #33CC00;
	font-size: .9em;
	cursor: pointer;
	position: relative;
	user-select: none;
}
div.pos_table_box {
	width: 100px;
	height: 100px;
	margin: 5px;
	text-align: center;
	background-color: #FFF;
	border: thin solid #CCC;
	cursor: pointer;
	position: relative;
	user-select: none;
}
div.pos_table_box * {
	font-size: 1.3em;
	font-weight: bold;
	color: #777;
	display: block;
	margin-top: 5px;
}
div.pos_table_box center {
	font-size: 2.5em;
}
div.pos_open_table {
	background-color: #FFCF6F;
	border-color: #EC971F
}
.low_stock {
	border-color: #CC3300 !important;
}
div.pos_item_box img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
div.pos_item_box span {
	display: block;
	padding: 3px;
	position: absolute;
	z-index: 1;
}
div.pos_item_box span.pos_item_desc {
	box-sizing: border-box;
	top: 0;
	width: 100%;
	font-size: 1.1em;
	padding-bottom: 10px;
	background: -webkit-linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
    background: -moz-linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
    background: -ms-linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
}
div.pos_item_box span.pos_item_price {
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.5);
	color: #000;
	border-radius: 4px;
	margin: 2px;
}
div#pos_bill {
	background-color: #FFF;
	border: 1px solid #DDD;
	width: 100%;
	height: calc(100% - 345px);
	display: block;
	margin: 0 auto;
	position: relative;
	overflow: auto;
	font-weight: bold;
	z-index: 1;
}
div#transfer_table {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	height:30px;
	margin-bottom: 5px;
}
div.transfer_merge, div.transfer_merge_blur {
	display: inline-block;
	width: calc(33% - 11px);
	padding: 5px 0;
	margin: 6px 5px 5px 5px;
	text-align: center;
	font-size: 1.3em;
	font-weight: bold;
	background-color: rgb(111, 207, 159);
	border: 1px solid rgb(51, 204, 0);
	color: rgb(255, 255, 255);
	box-shadow: 0 1px 5px rgba(0, 0, 0, .15);
	cursor: pointer;
}
div.transfer_merge_blur {
	background-color: inherit;
	border: 1px solid #DDD;
	color: #BBB;
	box-shadow: 0 0 0;
	cursor: default;
}
div#btn_transfer {
	margin-left: 0;
}
div#btn_merge {
	margin-right: 0;
}
tr.even_line {
	background-color: #F9F9F9;
}
table#pos_bill_table tr:hover:not(.pos_selected_line):not(:first-child) {
	background-color: #EEE;
	cursor: pointer;
}
.item_price {
	color: #888;
}
div#pos_bill .bill_item_price {
	margin-left: 30px;
}
#dsc_txt {
	margin-left: -4px;
}
div#pos_bill center, table#pos_bill_table {
	table-layout: fixed;
	width: 100%;
	text-align: center;
}
div#pos_bill table tr td:first-child {
	text-align: left;
	width: 60%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
table#pos_bill_table select.pos_salespeople_list, table#pos_bill_table select.pos_commissions_list {
	width: 48%;
}
select.pos_commissions_list, select.pos_salespeople_list {
	float: right;
}
table#pos_calculator, table#payment_keyboard {
	text-align: center;
	margin-top: 5px;
	user-select: none;
}
table#pos_calculator:hover, table#payment_keyboard:hover {
	cursor: pointer;
}
td.pos_cal_btn {
	width: 56px;
	height: 55px;
	font-weight: bold;
	font-size: 1.5em;
	box-sizing: border-box;
	border: 1px solid #CCC !important;
}
table#customer_select {
	width: 225px;
	height: 221px;
	border: 1px solid #CCC;
	border-right: 0;
	margin-top: 5px;
	background-color: #FFF;
}
table#customer_select #pos_kitchen_order {
	font-size: 1.5em;
	color: #888;
	float: left;
}
table#customer_select #pos_menu_toggle {
	font-size: 1.5em;
	color: #888;
	float: left;
}
table#customer_select #pos_kitchen_order:hover, table#customer_select #pos_menu_toggle:hover {
	cursor: pointer;
}
table#customer_select select * {
	font-size: 2em;
	width: 250px;
}
table#customer_select tr td {
	font-size: 1.3em;
}
table#customer_select tr:nth-child(1), table#customer_select tr:nth-child(2) {
	height: 10%;
}
table#customer_select tr:nth-child(2) td {
	padding: .5em 0;
}
table#customer_select tr:nth-child(4) {
	height: 50%;
}
table#customer_select tr:nth-child(4) td {
	width: 100%;
	height: 100%;
}
table#customer_select tr:nth-child(3) td:nth-child(2) {
	/*width: 100%;*/
}
span.pos_del_item {
	color: red;
	font-weight: bold;
	font-size: 1.4em;
	margin-right: 7px;
	padding: 2px 5px;
	cursor: pointer;
	border: 1px solid red;
	position: relative;
	bottom: -10px;
}
#payment_items_table .pos_del_item {
	bottom: 1px;
}
input.pos_select_item {
	margin: 0 10px;
	position: relative;
	bottom: -5px;
}
span.pos_check_all {
	background-color: rgb(111, 207, 159);
	border: 1px solid rgb(51, 204, 0);
	color: rgb(255, 255, 255);
	padding: 1px 5px;
	margin-left: 5px;
	cursor: pointer;
	position: relative;
	top: -2px;
}
#pos_bill_footer {
	margin: 0;
	padding: 0;
}
#pos_bill_footer tr {
	display: inline-block;
	width: 450px;
	border: 1px solid #DDD !important;
	border-top: 0 !important;
	background-color: #FFF;
}
#pos_bill_footer th {
	line-height: 28px;
	font-size: 1.2em;
	text-align: right;
	width: 120px;
	box-sizing: border-box;
}
#bill_total {
	width: 300px !important;
}
tr.pos_selected_line {
	background-color: #DDD;
	border: 2px solid red;
}
tr.pos_item_row .pos_select_item {
	margin: 0 5px 0 3px;
	width: 20px;
	height: 20px;
	position: relative;
	bottom: -12px;
}
div#receipt_container, div#pos_success {
	display: inline-block;
	float: left;
	width: 50%;
	padding: 2em;
	box-sizing: border-box;
}
div#pos_success center:first-child a {
    background-color: #6ec89b;
	border: 2px solid #33cc00;
	display: inline-block;
	width: 222px;
	line-height: 2em;
	color: #FFF;
	font-weight: bold;
	font-size: 1.5em;
}
div#pos_receipt {
	background-color: #FFF;
	width: 450px;
	display: inline-block;
	float: right;
	border: 1px solid #DDD;
	box-sizing: border-box;
	padding: 1em 0;
}
div#pos_receipt td {
	border: 0;
}
div#pos_receipt table {
	width: 400px;
	border: 0;
}
div#pos_receipt table.tablestyle2 tr:first-child {
	border-bottom: 2px solid #AAA;
}
div#pos_receipt table *:not(#receipt_header) {
	margin: 0;
	padding: 0;
}
#receipt_header {
	font-weight: bold;
	font-size: 2em;
	text-transform: uppercase;
	text-align: center;
	padding: 1.3em;
}
div#receipt_container > center {
	float: right;
	width: 450px;
	padding: 5px;
	margin-top: -5px;
	margin-bottom: 1em;
}
div#receipt_container > center a {
	background-color: #EEE;
	border: 2px solid #DDD;
	display: inline-block;
	padding: .4em 3em;
	color: #555;
	font-weight: bold;
	font-size: 1.5em;
}
div#receipt_container > center a:focus {
	text-decoration: none;
}
div#receipt_container > center a > img {
	margin-bottom: -5px;
	margin-right: 1em;
}
.pos_add_btn {
	display: inline-block;
	width: 100%;
	height: 100%;
	padding: 1em .5em;
	font-weight: bold;
	font-size: 1.5em;
	color: #FFF;
	text-align: center;
	background-color: #F0AD4E;
	border: 2px solid #EC971F;
	box-sizing: border-box !important;
	user-select: none;
}
#process_order center, #process_transfer center {
	display: inline-block;
	width: 100%;
	line-height: 35px;
	overflow: hidden !important;
	margin-top: .5em;
	font-size: 1.7em;
}
.pos_add_btn:hover {
	cursor: pointer;
}
div#pos_bank_selector {
	display: inline-block;
	width: 100%;
	height: 100%;
	margin: 5px 0 -10px 0;
}
div.pos_payment_type_btn {
	display: inline-block;
	border: 1px solid #ccc;
	padding: 5px .6em;
	margin: 0 5px;
	font-size: 1.3em;
	font-weight: bold;
	width: calc(50% - 10px);
	box-sizing: border-box;
}
div.pos_payment_type_btn:hover {
	cursor: pointer;
}
div#print_kitchen_order img, div#pos_bill_print_btn img {
	margin-bottom: -6px;
}
div#print_kitchen_order a, div#pos_bill_print_btn a {
	font-size: .8em;
	font-weight: bold;
	color: #FFF;
}
div#print_kitchen_order a:hover, div#pos_bill_print_btn a:hover {
	text-decoration: none;
}
div#print_kitchen_order a:focus, div#pos_bill_print_btn a:focus {
	text-decoration: none;
}

@media only screen and (max-width: 768px) {
	div.pos_wrapper, div.pos_body_left, div.pos_body_right, div.pos_body_right > center, 
	table#pos_bill_footer, table#pos_bill_footer tbody, table#pos_bill_footer tbody tr,
	div.pos_payment_body, div#receipt_container, div#pos_receipt, div#pos_success {
		display: block;
		width: 100%;
		min-width: 100%;
		height: auto;
	}
	#pos_bill_footer th {
		display: inline-block;
	}
	th#bill_total {
		width: auto !important;
		float: right;
		margin-right: 10px;
	}
	table#customer_select {
		border-right: 1px solid #CCC;
	}
	div#arrow_wrapper {
		display: inline-block !important;
		margin-top: 0 !important;
	}
	div.payment_arrow_btn {
		display: inline-block;
		width: calc(100% - 20px);
		float: left;
		margin: 10px;
		text-align: center;
	}
	div#pos_payment_left {
		height: 150px !important;
		overflow-y: auto;
	}
	div#receipt_container > center {
		width: calc(100%) !important;
	}
	div#receipt_container {
		padding: 5px !important;
	}
	div#pos_receipt > center, div#pos_receipt > center > table {
		width: 100% !important;
	}
	div.pos_item_box {
		width: 100px;
		height: 100px;
	}
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #EEE;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}