html, body{
	font-size: 15px;
	min-width: 350px;
}
#message{
	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 100000;
	opacity: 0;
	transition: opacity ease-in 500ms;
}
#loader{
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.2);
}
#upload{
	display: none!important;
}
.btn{
	white-space: nowrap;
}
#modes-list{
	display: flex;
	width: 100%;
	overflow-y: auto;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	gap: 20px;
}
#desks-list .desk, #modes-list .mode{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 150px;
	text-align: center;
	border: 1px solid #dee2e6;
	background: #0d6efd;
	padding: 15px;
	height: 150px;
	border-radius: 5px;
	color: white;
	transition: background-color ease-in-out 250ms;
}
#desks-list .desk{
	background: #198754;
}
#desks-list .desk.busy{
	background: #ffc107;
}
#desks-list .desk:hover, #modes-list .mode:hover{
	cursor: pointer;
	opacity: 0.9;
}
#desks-list .alert, #modes-list .alert{
	display: inline-flex;
}
.page{
	display: none;
	width: 100%;
	min-height: 100vh;
	position: relative;
}
.page.active{
	display: flex;
}
.page.loader{
	justify-content: center;
	align-items: center;
}
#page-desk, #page-desks, #page-receipt, #page-box, #page-supplies, #page-products, #page-receipt-box{
	flex-direction: column;
}
#desk-control, #desks-control, #receipt-control, #box-control, #supplies-control, #products-control, #receipt-box-control{
	display: flex;
	justify-content: center;
	gap: 0.25rem;
	align-items: center;
	flex-wrap: wrap;
}
#desks-list{
	flex: 1 1 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	gap: 20px;
}
#boxes-list, #receipt-list, #supplies-list, #products-list, #all-products-list{
	flex: 1 1 100%;
	border: 1px solid #dee2e6;
	border-radius: 5px;
}
#boxes-list table, #products-list table, #supplies-list table, #all-products-list table{
	margin-bottom: 0px!important;
}
#boxes-list table tr, #products-list table tr, #supplies-list table tr, #all-products-list table tr, #receipt-list table tr, #receipt-products-list table tr{
	vertical-align: middle;
}
.is-desk-product td{
	background: rgba(0, 0, 0, 0.05);
}
.product-desk-count{
	color: rgba(156,156,156);
}
.barcode{
	width: 150px;
	height: 40px;
}
#desk-name, #box-name, #receipt-box-name{
	font-weight: bold;
	margin-right: 30px;
}
.tr-control{
	display: inline-flex;
	gap: 0.25rem;
	flex-wrap: wrap;
}
#desk-stock{
	width: auto!important;
}
.scanner-gun{
	margin-left: 10px;
	font-size: 35px;
	line-height: 35px;
	color: #dc3545;
}
.scanner-gun.enabled{
	color: #198754;
}
#scanner{
	position: fixed;
	top: -100px;
}
#loader img{
	width: 100px;
}
.menu{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}
.menu-container{
	display: flex;
	flex-direction: row;
	gap: 20px;
}
.menu .item{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 150px;
	text-align: center;
	border: 1px solid #dee2e6;
	padding: 15px;
	height: 150px;
	border-radius: 5px;
}
.menu .item:hover{
	background: rgba(0, 0, 0, 0.1);
	cursor: pointer;
}
#page-modes, #page-desks{
	justify-content: center;
	align-items: center;
}
.tool__title{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.tool__name{
	font-size: 20px;
}
.tool_generator__control, .tool_counter__control{
	display: flex;
	gap: 0.25rem;
	flex-direction: row;
	flex-wrap: wrap;
}
#products, #products-list, #receipt-products-list{
	width: 100%;
	height: calc(100vh - 4rem - 71.5px);
}
#error{
	position: fixed;
	bottom: 0px;
	left: 0px;
	margin: 1rem;
	z-index: 10000;
	cursor: pointer;
}
#error:hover{
	background: #f1aeb5;
}
#products-count, #products-updated{
	line-height: 15px;
	font-size: 15px;
}
#products-info{
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.td-edit{
	position: relative;
}
.td-edit input{
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	border: 2px solid red;
	padding-left: 5.5px;
	outline: none;
}
#barcode-render-wrap{
	position: absolute;
	top: -1000px;
	left: -1000px;
	font: 20px monospace;
}
#barcode-render{
	position: relative;
	width: 220px;
	height: 150px;
}
#barcode-top-text{
	display: flex;
	padding-left: 5px;
	padding-right: 5px;
	flex-direction: row;
	justify-content: space-between;
}
#barcode-fixed-text{
	position: absolute;
	right: 5px;
	bottom: 0px;
	text-decoration: underline;
}
#barcode-render-canvas{
	position: absolute;
	left: -1000px;
	top: -1000px;
}
.qrcode{
	display: none;
}
#modal-receipt-box-product-barcode-loader{
	position: absolute;
	right: 20px;
	bottom: 10px;
}