@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap');

#receipt-table {
	width:100%;
	background: #fff;
	
	.rejected-receipt {
		background-color:rgba(204,102,102,.8);
	}
}
.sale-summary table td {
	font-weight: normal;
}
#single-receipt-holder {
	float: left;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.2em;
}

#single-receipt-holder.fixedHolder {
	position: fixed;
	left: 0;
	width: 526px;
	height: 100%;
	background: #12008a;
	box-sizing: border-box;
}

#single-receipt-holder.blockHolder {
	box-sizing: border-box;
}


.result-content {
	background: #ccc;

	box-sizing: border-box;
	&.fixedPosition {
		position: fixed;
		top: 5%;
		right: 0;
		padding:15px 15px 5px 15px;
		overflow-y: auto;
	}
	&.relativePosition {

	}
	.receiptRow.navigable {
		border: 3px solid transparent;
		&.disabledBtn , &.disabledBtn .priceText{
			color: #999 !important;
		}
		&.selected {
			border: 3px solid #080f56;
			box-shadow: 0px 0px 3px rgba(0,0,250,1) !important;
		}
	}
	
	.receiptRow.disabledBtn {
		cursor:auto !important;
	}

	.disabledBtn {
		&.current {
			background: #53a163 !important;
		}
	}
}

.resultBatch {
	font-size: 1.1em !important;
}

.tools-content {
	padding: 20px 15px;
	box-sizing: border-box;
}

.scrolling-vertical{
	overflow-y:auto;
	overflow-x:hidden;
}
.receiptHeader {
	padding: 10px 15px;
	background: #eee;
	font-size: 1.2em;
}
.revertCaption {
	color: #cc0000;
	font-weight: bold;
}
.contragentName {
	margin: 0 0 10px 5px;
	font-weight: bold;
}
.gray-title {
	color: #999;
}

.headerContent {
	padding:12px 0 ;
	background: #333;
	box-sizing: border-box;
	&.fixed {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
	}
	span {
		font-size: 1.2em;
		margin-left: 15px;
		margin-right: 15px;
		color: #fff;
		display: inline-block;
	}
	.specialLink a {
		color: #ccc !important;
		&:hover {
			text-decoration: underline;
		}
	}
	.fright span {
		float: right;;
	}
}

.receipt-header {
	padding: 10px;
	.receipt-title {
		font-size: 1.5em;
		font-weight:bold;
	}
	.contragentRow {
		margin-top: 3px;
	}
}

.noResult {
	padding: 10px;
	font-size:1.1em;
}
.narrow #receipt-title {
    font-size: 1.1em;
}

.portalLink {
    float: right;
	margin-right: 25px;
	margin-top: -20px;
    img {
       max-height: 30px;
    }
}

.logout {
	float: right;
}
.onlyPrint {
	display: none;
}
.terminal-revert-id a {
	color: #CC0000 ;
}

#single-receipt .receiptPayment {
	font-size: 1.1em;
	display: block;
	padding: 10px 15px;
	color: blue;
	div {
		font-weight: bold;
	}
}

.reject-btn {
	margin-left: 5px;
}

.receiptRow {
	display: block;
	padding: 10px 15px;
	cursor: pointer;
	border-left: 6px solid transparent;
	.receiptProduct {
		font-weight: bold;
		font-size: 1.1em;
	}
	.discountText {
		color:blue;
	}
	
	.surchargeText {
		color:red;
	}
}
.priceText {
	color: #000;
}
.indent {
	padding-left: 15px;
}

#receipt-table .highlighted {
	background: #fefead !important;
	border-left: 6px solid #f70026 ;
}

.num-keyboard {
	margin-left: -8px;
}
.numPad, .numBack{
	min-width: 60px;
	height: 60px;
	margin: 4px !important;
	text-align: center;
	color:white !important;
	border-radius: 3px !important;
	background: #303030 !important;
	border:#333 1px solid !important;
	font-size:1.5em !important;
	&:hover {
		border:#111 1px solid !important;
		background: #505050 !important;
		box-shadow: inset 0 0 50px #000;
	}
}
.keyboardText {
	width: 100%;
	height: 36px !important;
	padding: 10px !important;
	border: 1px solid #999 !important;
	background: #fff !important;
	font-size: 2em !important ;
	margin-bottom: 20px !important;

}
#modalContent .keyboard {
	display: none;
	&#keyboard-lat {
		display: block;
	}
}
.productModal {
	margin-left: 20px;
	line-height: 1.6em;
}
.keyboard-btn{
	background: #303030 !important;
	border-bottom: #000 2px solid !important;
	border-top: 2px #303030 solid !important;
	color: #fff !important;
	min-width: 67px;
	margin: 2px !important;
	border-radius: 4px !important;
	font-size: 2em !important;
	padding: 10px 13px !important;
	&.keyboard-space-btn {
		min-width: 140px;
	}
	&:hover, &.pressed {
		border-top: #000 2px solid !important;
		border-bottom: #303030 2px solid !important;
		background: #505050 !important;
		box-shadow: inset 0 0 50px #000;
	}
}
#keyboard-num {
	display: none;
	float: left;
	margin-right: -5px;
}
.keyboard-row{
	clear:both;
	padding: 2px 0;
	white-space: nowrap;
}

.keyboard-change-btn{
	background-color: #666 !important;
	border-bottom: #505050 2px solid !important;
    border-top: 2px #505050 solid !important;
	&:hover {
		background: #505050 !important;
		box-shadow: inset 0 0 50px #444 !important;
	}
}
#tools-holder .buttons {
	float: left;
	width: 225px;
	 a, div {
		display: inline-block;
		float: left;
	}
	&.oneRow {
		width: 100% !important;
	}
}
.printReceiptBtn {
	font-size: 1.1em !important;
}
.operationHolder {
	display: inline-block;
	position: relative;
	margin: 4px 0 4px 14px;
	border: 1px solid #999;
	background: #ccc;
	padding: 14px;
	cursor: pointer;
	width: 60px;
	height: 60px;
	box-sizing: border-box;
	img {
		display: block;
		margin: auto;
	}
	&.btnWithWarning {
		background: rgba(189, 106, 0, 0.85);
		&.revert {
			background-color: #dd2d21;
		}
	}
	.buttonOverlay {
		display: none;
		position: absolute;
		width: 100%;
		height: 44%;
		left: 0;
		top:0;
		background: rgba(0,0,0,0.6);
		color: #fff;
		text-align: center;
		font-size: 1em !important;
		font-weight: bold;
		box-sizing: border-box;

	}
	&:hover {
		opacity: 0.9;
	}
	&.active {
		background-color: #f7f749;
	}
	
	&.disabledBtn{
		opacity: 0.5;
		cursor:auto;
	}
}

.textShortcut {
	line-height: 150%;
	padding-left: 5px;
	font-size: 1em;
}
.imageCell img {
	width: 34px;
	height: 34px;
}
.half td {
	height: 45px;
}
.table-bordered {
	td, th {
		border: 1px solid #ccc;
		padding: 3px;
		font-size: 0.95em;
	}
}
.flash {
	transition: all  linear;
	transition-duration: 1s;
	span {
		transition: all  linear;
		transition-duration: 1s;
	}
}
.no-border {
	font-size: 0.9em;
	tr td.border-bottom {
		border-bottom: 1px dashed #aaa !important;
	}
	tr:last-child td.border-bottom {
		border: none !important;
	}
	td {
		padding: 2px !important;

	}
	.title-info {
		font-weight: bold !important;
		background: #ddd;

	}
	.aleft {
		text-align: left !important;
	}
	.aright {
		text-align: right !important;
	}
}

.updatedDiv {
	color: red !important;
	span {
		color: red !important;
	}
}

.shortcuts {
	span {
		position: relative;
		top: -2px;
		text-align: center;
		padding: 8px 4px;
		border: 1px solid #ccc;
		background: #ddd;
		font-size: 1em;
		margin: 2px 0px 3px 10px;
		display: block;
		font-weight: bold;
		white-space: nowrap;
	}
}
.title {
	font-weight: bold;
	vertical-align: bottom;
	padding-bottom: 10px;
}
.half {
	width:48%;
	display: table-cell;
}

#result-holder.fixedPosition .withTabs {
	margin-top: 47px;
	overflow-y: scroll;
	padding-top: 15px;
	padding-right: 15px;
	padding-left: 15px;
	::-webkit-scrollbar {
		height: 10px;
	}
	/* Handle on hover */
	::-webkit-scrollbar-thumb:hover {
		background: #eee;
	}
	/* Track */
	::-webkit-scrollbar-track {
		background: #333;
	}

	/* Handle */
	::-webkit-scrollbar-thumb {
		background: #ccc;
		position: relative;
		border: 1px solid #666;
		border-radius: 5px;
	}
}
.fixedPosition .withTabs .tabs {
	margin-top: 0;
	margin-left: -15px;
	background: #333;
	position: fixed;
	top:44px;
	z-index: 100;
	padding-bottom: 5px;
}
.relativePosition {
	.contentHolder {
		padding-top: 20px;
	}
	.tabs {
		padding-bottom: 10px;
	}
}

.withTabs .tabs {
	display: block;
}

.withTabs .tabs .tabHolder {
	padding-left: 2px;
	padding-right: 2px;
	margin: -3px 7px 0;
	li {
		user-select: none;
		display: inline-block;
		float: left;
		border-color: transparent;
	}
	&:after {
		clear: both;
	}
}

select.tabHolder {
	margin-left: 17px !important;
	height: 36px;
	line-height: 36px;
	border: 1px solid #999;
	border-radius: 3px;
}

.narrow #receiptnew, .narrow #receiptnewSame {
	color: #333 !important;
}

.tabHolder {
	li.selectable {
		list-style: none;
		border: 1px solid #ccc;
		cursor: pointer;
		color: #707a8c;
		font-weight: bold;
		text-align: center !important;
		background: #ddd !important;
		border-radius: 3px;
		margin: 5px 7px 5px 0 ;
		padding: 7px;
		&.active, &:hover {
			background: #fefead !important;
			color: #000;
		}
	}
	.mobileHolder {
		display: none;
		padding: 7px;
		margin: 0;
		background: #999;
		border-radius: 3px;
		border: 1px solid #666;
		width: 240px;
		position: absolute;
		bottom: 25px;
		right: -5px;
		li {
			display: block;
			width: 100%;
			box-sizing: border-box;
			text-align: left !important;
		}
	}
	.toggle {
		position: relative;
		float: right !important;
	}
}
.contentHolder {
	clear: both;
	.content {
		display: none;
	}
}
.companyName .contragentImg {
	width: 16px;
	height: 16px;
	margin: 0 5px 0 0 ;
	position: relative;
	img {
		position: absolute;
		top:-25%;
		right: 0px;
		border-radius: 3px;
	}
}
.narrow .companyName .contragentImg img {
	top: -4px;
}
.grid {
	display: grid;
	align-items: center;
	text-align: center;
	margin-bottom:10px;
}
.grid.picture .element {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 3px !important;
	max-height: 90px;
	box-sizing: border-box;
	overflow: hidden;
	&.selected {
		padding: 0 !important;
	}
	img {
		display: block;
		max-width: 100px;
		height: auto;

	}
}
.grid.pictureAndText .element, .grid.rows .element {
	display: flex;
	padding: 3px !important;
	height: 164px;
	box-sizing: border-box;
	overflow: hidden;
	flex-direction: column;
	align-content: center;
	background: #fff !important;
	position: relative;
	&.notSellable {
		background-color: #aaa !important;
	}
	&.selected {
		padding: 1px !important;
		.pos-price {
			padding-bottom: 0px !important;
		}
	}
	.photo {
		display: flex;
		width: 100%;
		height: 140px;
		justify-content: center;
		align-items: center;overflow: hidden;
	}
	.short-title {
		display: -webkit-box;          /* за поддръжка */
		-webkit-box-orient: vertical;
		overflow: hidden;
		line-height: 1.2em;
		max-height: calc(1.3em * 2);   /* максимум 2 реда */
		-webkit-line-clamp: 2;         /* ограничение до 2 реда */
		text-align: center;
		overflow: hidden;
		font-size: 0.95em;
		box-sizing: border-box;
		background-color: #fff;
		padding:2px 0  6px  0px !important; /* малък буфер за ченгелчетата */

	}
	&.noPhoto {
		.short-title {
			height: 100%;
			font-size: 1.25em;
			max-height: 133px;
			overflow: hidden;
			align-items: center;
			display: flex;
			justify-content: center;
			text-align: center;
			padding: 2px  0px !important; /* малък буфер за ченгелчетата */
		}
		.photo {
			display: none;
		}
	}
	.pos-price {
		position: absolute;
		bottom: 0px;
		left: 0px;
		background: rgba(0,0,0,0.6);
		color: #fff;
		text-align: center;
		padding: 3px 0 2px;
		width: 100%;
		text-shadow: 1px 1px 2px #000;
		font-weight: bold;
	}

}
.grid.short {
	font-size: 15px;
	.pos-title {
		overflow-wrap: break-word;
	}
}
.scrollingGrid {
	width: 100%;
	height: 168px;
	padding-top: 0;
	-webkit-overflow-scrolling: touch; /* плавен скрол на мобилни */
	scrollbar-width: thin;         /* тънък скролбар */
	scrollbar-color: #ccc transparent; /* светъл плъзгач върху прозрачен фон */
	overflow-x: auto;
	overflow-y: hidden;
	box-sizing: content-box;
	-webkit-overflow-scrolling: touch; /* плавно на мобилни */
	scrollbar-gutter: stable both-edges;
	.grid {
		height: 168px;
		display: grid;
		margin-bottom: 0 !important;
		grid-auto-flow: column;                    /* само по хоризонтала */
		align-items: stretch;
		> div {
			width: 132px;
		}
	}
	.element {
		padding: 0 !important;
	}
}
.grid.rows .element {
	height: 158px !important;
}

.grid.rows .element .photo {
	width: 138px;
	margin-left: -3px;
	height: 138px;
}
.grid.rows .element .photo img {
	width: 100% !important;
}



/* --- Тъч устройства (coarse pointer) --- */
@media (pointer: coarse) {
	.scrollingGrid {
		scrollbar-width: none;              /* Firefox */
	}
	.scrollingGrid::-webkit-scrollbar {
		display: none;                      /* WebKit */
	}
}

/* --- Desktop (fine pointer) --- */
@media (pointer: fine) {
	/* Firefox */
	.scrollingGrid {
		scrollbar-width: thin;
		scrollbar-color: rgba(0,0,0,.2) transparent;
	}

	/* Chrome/Edge/Safari */
	.scrollingGrid::-webkit-scrollbar {
		-webkit-appearance: none;
		height: 3px;
		background: transparent;
	}

	.scrollingGrid::-webkit-scrollbar-track {
		background: transparent;
	}

	.scrollingGrid::-webkit-scrollbar-thumb {
		background: rgba(0,0,0,.15);
		border-radius: 2px;
		transition: background .2s ease;
	}

	.scrollingGrid:hover::-webkit-scrollbar-thumb {
		background: rgba(0,0,0,.3);
	}

	.scrollingGrid::-webkit-scrollbar-thumb:active {
		background: rgba(0,0,0,.45);
	}
}

.posResultContragent {
	justify-content: center;
	align-content: center;
	border-radius:3px;
	height:70px;
	display:flex;
	vertical-align:middle;
	flex-direction: column;
}
.scrollingGrid.dragging {
	cursor: grabbing;
	user-select: none;
}
.scrollingGrid {
	cursor: grab;
}
.posBtns {
	justify-content: center;
	align-content: center;
	border-radius:3px;
	height:70px;
	display:flex;
	vertical-align:middle;
	flex-direction: column;
	cursor: pointer;
	box-sizing: border-box;
	padding: 10px 20px;
	color:#fff;
	font-size:1.3em;
	text-align:center;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	color: #FFF !important;
	font-weight: bold;
	border: 1px solid #666;
	border-radius: 3px;
	box-shadow: rgba(233, 233, 233, 0.5) 1px 1px 0 0 inset, 2px 2px 3px rgba(0,0,0,0.1);
	position: relative;
	opacity: 0.7;
	&.imgDiv {
		padding-left: 50px !important;
		text-align: left;
		img {
			position: absolute;
			left: 10px;
			top: 15px;
		}
		&:focus, &.selected {
			padding-left: 48px !important;
			img {
				left: 8px;
				top: 13px;
			}
		}

	}

	&.printReceiptBtn {
		justify-content: center;
		flex-direction: row;
		align-content: center;
		border-radius:3px;
		height:70px;
		display:flex;
		vertical-align:middle;
		font-size:1.2em;
		margin: 0 !important;
		background: #b7e2f3 !important;
		color: #333 !important;
		&.largeBtn {
			width: 32.1% !important;
		}
	}

	&.closeBtn {
		border-radius:3px;
		height:70px;
		display:flex;
		font-size:1.3em;
		margin: 0 !important;
		background: #b7e2f3 !important;
		color: #333 !important;
		&.largeBtn {
			width: 32.1% !important;
		}
	}

	&.pos-notes {
		font-size: 1.1em;
	}
	&.payment {
		background: #b7e2f3 !important;
		color: #333 !important;
	}
	.endTooltip {
		position: absolute !important;
		top: 1px !important;
		right: 3px !important;
	}
	&:focus, &.selected {
		box-shadow: 0px 0px 10px rgb(252, 164, 11) !important;
		border: 3px solid #fa0606;
		padding: 8px 18px !important;
		opacity: 1;
	}
	&.revertReceiptBtn {
		color: #8c1919 !important;
	}
	&#receiptnew , &#revertReceiptBtn, &#receiptnewSame{
		font-size:1.3em;
		background: #e6e6e6;
	}
	.nowrap {
		font-size: 0.9em;
	}
	&.deleteRow {
		background: #8c1919 !important;
		color: #FFF !important;
	}

	&.reload{
		color: #000 !important;
		background: #ddd !important;
	}

	&.locationBtn{
		color: #fff !important;
		font-size: 1em;
		background: #374bbe !important;

		&.current {
			background: #53a163 !important;
		}
	}
}

.differentPosBtn {
	text-decoration: underline !important;
}

.pos-notes{
	color: #333 !important;
	&.newNoteBtn {
		background-color: rgba(187, 255, 255, 1);
	}
	&.state-waiting {
		background-color: rgba(210, 255, 120, 1);
	}
	&.state-closed {
		background-color: rgba(230, 230, 230, 1);
	}
	&.state-draft {
		background-color: rgba(187, 255, 255, 1);
	}
	&.revertReceipt {
		color: #a00000 !important;
	}
}

.notActiveHint {
	color: #999;
	opacity: 0.4;
}

.resultPack {
	background: #feff6b;
	color: #333 !important;

}
.resultPrice {
	background: #499BC0;

}
.contragentLinkBtns, .newContragentBtn {
	background: #a162ca;
}
.subBatch {
	font-weight:bold;
	font-style:italic;
	color: green !important;
	margin-left: 10px;
}

.resultBatch {
	color: green !important;
	background: #e6e9b9;

	&.current {
		background-color: #8abf95 !important;
	}
}

.discountBtn {
	background: #FF9C3A;
	color: #333 !important;

	&.current {
		background-color: #8abf95 !important;
	}
}
.textResult {
	color: #FFF !important;
	background: #b163cc;

	&.emptyText {
		background: #37103a !important;
	}
}

.disabledBtn.posBtns, .disabledBtn.productRow {
	background: #999 !important;
	color: #ccc !important;
	cursor: auto !important;
}
.receiptDateBlock {
	display: block;
	clear: both;
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

.divider {
	clear: both;
	margin-bottom: 10px;
	border: 1px solid #999;
	background: #666;
	padding: 10px;
	color: #fff !important;
	a , span {
		color: #fff !important;
	}

}

.posResultContragent {
	border: 2px solid #999;
	background: #f1f1f1;
	padding: 10px;
	box-sizing: border-box;
	color: #333 !important;
	font-size: 1.1em;
	&.selected {
		padding: 9px !important;
	}
}

.close-btn .button {
	font-size: 1.07em;
}

.is-reverted {
	.receipt-quantity, .receipt-info-right {
		color: #c00;
	}
	.receipt-payment {
		background: #feb7b7;
	}
}
.inputHolder {
	position: relative;
}
.large-field{
	clear: both;
	width: 100%;
	height: 2.2em !important;
	font-size: 1.2em !important;
	border: 1px solid #aaa;
	box-sizing: border-box !important;
	margin: 0 0 10px !important;
	border-radius: 4px !important;
	box-shadow: inset 0 0 10px rgba(0,0,0,0.25), 2px 2px 2px rgba(0,0,0,0.2);
}
.close-icon {
	border:1px solid transparent;
	background-color: transparent;
	display: inline-block;
	vertical-align: middle;
	outline: 0;
	cursor: pointer;
	width: 15px;
	height: 15px;
	position: absolute;
	z-index:1;
	right: 10px;
	top: 12px;
	font-size: 20px;
	color: #12008a;
}

 .large-field:placeholder-shown +  .close-icon{
	display: none;
}
.narrow .large-field{
    height:1.6em !important;
}

.pos-photo-field{
    width: 70px;
	height: 70px;
	background: #fff;
	border: 1px solid #000;
	display: inline-block;
	margin-right: 10px;
	img {
		width: 70px;
		max-height: 70px;
	}
}

.pos-price-field {
	font-size: 1.02em;
}

.measureResult {
	color:#888;
}

.element {
	text-align: left;
	padding: 9px;
	box-sizing: border-box;
	border: 1px solid #999;
	height: 118px;
	background: #f1f1f1;
	user-select: none;
	&:focus, &.selected {
		box-shadow: 0px 0px 10px rgb(252, 164, 11) !important;
		border: 3px solid #fa0606;
		padding: 7px !important;
		opacity: 1;
	}
	.pos-title {
		margin-top: -1px;
		text-indent: -82px;
		height: 80px;
		line-height: 130%;
	}
	.pos-photo-field {
		margin-top: 25px;
	}
	.pos-add-res-btn{
		color:#333;
		height: 73px;
	}
	.pos-price-field:not(.fleft) {
		float: right;
	}
	&.notSellable {
		background-color: #aaa;
		color: #444;
	}
}

.result-string {
	margin-bottom: 10px;
}

#pos-products {
	margin-top:5px;
	padding:0 4px;
}
.wide #pos-products {
	overflow-y: auto;
}
.pos-product{
	border-radius: 3px;
	position:relative;
	background-color:#F1F1F1;
	width: 120px;
	height: 120px;
	cursor: pointer;
	display:block;
	float:left;
	margin-right:10px;
	margin-top:5px;
	margin-bottom:5px;
	box-shadow:0px 1px 3px rgba(0,0,0,0.8);
	&:focus, &.selected {
		box-shadow: 0px 0px 3px rgba(0,0,250,1) !important;
		outline: 3px solid #080f56;
		border: none;
	}
}

.narrow .pos-product{
	width: 80px;
	height: 80px;
	margin:3px ;
}
.narrow .pos-product img{
	width: 80px;
	height: 80px;
}
.pos-product img{
	border-radius: 3px;
}
.pos-product:hover{
	box-shadow:0px 0px 6px rgba(0,0,0,0.8);
}

.paymentNotRequiredLabel {
	text-transform: uppercase;
	padding-top:5px;
	padding-bottom:5px;
	font-size:2.2em;
	float:right;
}

.pos-product-title {
	border-radius: 0 0 3px 3px;
	position:absolute;
	left:0px;
	bottom:0px;
	font-size:0.8em;
	max-height:13px;
	display:block;
	overflow:hidden;
	text-align:center;
	color:white;
	width:95%;
	text-shadow:1px 0px 2px #000000;
	z-index:2;
	font-weight:bold;
	padding:2px;
	background:#000;
	background:rgba(0,0,0,0.6);
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
}

.narrow .pos-product-title {
	max-height:14px;
}

.pos-product-title:hover {
	max-height:88px;
}

.receiptResultReturnedAmount {
	color:red;
}
 .prices {
 	margin-left: 15px;
 }
.receiptResultChangeAmount {
	color: #8c1919;
}
.spanDate {
	display: inline-block;
	height: 20px;
}
.otherPrice {
	display: inline-block;
	margin-left: 10px;
}

.prices {
	text-align: right;
	display: inline-block;
	min-width: 60px;
	margin-left: 10px;
	height: 14px;
	position: relative;
	.receiptResultAmount , .receiptResultChangeAmount{
		position: absolute;
		right: 0;
		top: 0;
	}
}
.hidden {
	display: none !important;
}
 .storeQuantityInStock {
 	font-size:0.9em;
 }

 .chooseStoreBtn {
 	font-size:1.05em;
 	background: #374BBE;
	color: #fff !important;
	 .quiet {
		 color: #fff !important;
	 }

	&.current {
		background-color: #53a163;
		cursor:auto;
	}
 }

.storeQuantityInStock span.red {
	color: #efa9a9 !important;
}

.pos-product-price {
	position:absolute;
	left:0px;
	top:0px;
	height:15px;
	font-size:0.7em;
	display:block;
	color:#fff;
	text-shadow:0px 0px 3px #000;
	z-index:2;
	font-weight:bold;
	padding:1px 2px;
	background:#000;
	background: rgba(0,0,0,0.5);
}

.pos-product-base-currency{
	font-size:0.75em;
	color: black;
	text-shadow:0px 0px 1px #FFFFFF;
	font-weight:bold;
}

.modalContent {
	display: none;
}

.modalReceipt {
	width: 560px;
	margin: 0 auto;
	.pos-del-btn {
		display: none;
	}
}
.fadedElement {
	opacity: 0.2 !important;
}
.flexBtns {
	display: flex;
	justify-content: space-around;
	padding: 0 250px;
}
@media handheld, only screen and (max-width: 1280px) {
	.flexBtns {
		padding: 0 100px;
	}
}
.modalBtn {
	height: 70px;
	width: 450px;
	vertical-align: middle;
	cursor: pointer;
	box-sizing: border-box;
	padding: 10px 20px;
	color: white;
	font-size: 1.5em !important;
	text-align: center;
	border-radius: 10px;
	color: white !important;
	font-weight: bold;
	border: 1px solid #666;
	border-radius: 3px;
	box-shadow: rgba(233,233,233,.5) 1px 1px 0 0 inset, 2px 2px 3px rgba(0,0,0,.1);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
	background-color: #ccc;
	&.disabledBtn {
		color: #999 !important
	}

}
.confirmPayment {
	background-color: #4c9d2c !important;
	&.disabledBtn {
		background-color: mix(#4c9d2c, #333) !important;
	}
}
.closePaymentModal {
	background-color: #c51818 !important;
	&.disabledBtn {
		background-color: mix(#c51818, #333) !important;
	}
}
#card-payment-manual:not(.disabledBtn) {
	color:white !important;
	background-color:red !important;
}

#card-payment:not(.disabledBtn) {
	background-color: #7bcae9 !important;
}
.imagePreview {
	box-shadow: 0 0 5px #333;
	padding: 5px;
	margin-right: 30px;
}
.ui-widget-overlay {
	background: rgba(0,0,0,0.5) !important;
	opacity: 1 !important;
}

.enlargeProductBtn, .printBtn {
	background-position: center;
}

.anotherPos {
	background-color: #f87a7a !important;
}

table.total {
	width:100%;
}

table.total th{
	font-weight:normal;
	text-align: right;
	padding: 0px 15px;
}

table.total td{
	text-align:right;
	font-weight:bold;
	padding: 0px 15px;
}
.largeCell {
	min-width: 350px !important;
}
hr {
	margin: 5px 0 1px;
}

td.totalLabel {
	font-size:1.9em;
	font-weight:bold;
}

th.paidCaption, td.paidCaption {
	color:blue;
}

td.paidCaption, td.changePositive, td.changeNegative {
	font-size:1.4em;
}

th.changePositive, td.changePositive {
	color:green;
	white-space: nowrap;
}

th.changeNegative, td.changeNegative {
	color:red;
	white-space: nowrap;
}

th.revertCaption, td.revertCaption {
	color:red;
	text-align: center !important;
}

.notInStock {
	color:darkred;
}
.not-in-stock {
	padding: 1px 5px;
	border-radius: 5px;
	color: #840000;
	font-size: 16px;
	border: 1px solid #b70000;
	background-color: #ff5b5b;
	font-weight: bold;
	line-height: 120%;
	height: 20px;
	display: inline-block;
	position: relative;
	top: -1px;
}

.paymentErrorInfo {
	padding:5px;
	font-size:1.4em;
	background-color: #fdfdc0;
	border: solid 1px #cccccc;
	color: #666666;
	border-radius: 5px;
	margin-bottom:3px;
}

.actionBtn {
	height: 40px;
	cursor: pointer;
	box-sizing: border-box;
	padding: 10px 30px !important;
	color: white;
	font-size: 1.1em;
	text-align: center;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	color: white !important;
	font-weight: bold;
	border: 1px solid #666666;
	border-radius: 3px;
	box-shadow: rgba(233, 233, 233, 0.5) 1px 1px 0 0 inset, 2px 2px 3px rgba(0, 0, 0, 0.1);
	&.offBtn {
		background-color: #cc6666 !important;
	}
	&.offTmpBtn {
		background-color: #355575 !important;
	}
	&.onBtn {
		background-color: #53a163 !important;
	}
}

.noFoundInGroup {
	padding: 5px 0 15px 10px;
}

/*media queries за клавиатурата*/
@media handheld, only screen and (max-width: 1600px) {
	.headerContent {
		font-size: 0.85em !important;
	}
}

@media handheld, only screen and (max-width: 1400px) {
	.headerContent {
		font-size: 0.8em !important;
	}
}
@media handheld, only screen and (max-width: 1300px) {
	.numPad {
		width: 50px !important;
		height: 50px !important;
		margin: 8px 0 8px 18px !important;
	}
	.operationHolder {
		width: 58px !important;
		height: 58px !important;
	}
	.half {
		width: 100%;
		display: block;
	}

}

@media handheld, only screen and (max-width: 1280px) {
	.buttons.oneRow {
		.operationHolder {
			margin: 7px 11px 7px 11px;
		}
	}
}

@media handheld, only screen and (max-width: 1200px) {
	.headerContent {
		font-size: 0.75em !important;
		.fleft {
			width: 48%;
		}
		.fright {
			width: 52%;
			span {
				float: right;
			}
		}
		span {
			margin: 0 10px !important;
			height: 20px;
			display: inline-block;
			line-height: 20px;
			float: left;
		}
	}
	.headerAppName img{
		position: relative;
		top: 2px;
		width: 14px;
		height: 14px;
	}
	#receipt-table {
		font-size: 0.8em;
	}
	#single-receipt-holder {
		float: none;
	}
	.withTabs {
		margin-top: 0 !important;
	}
	.oneRow .operationHolder {
		margin: 5px;
	}
	.receiptRow {
		padding: 5px;
		border-top: 1px solid #eee;
	}
	.contentHolder {
		padding: 10px;
	}
	#keyboard-num {
		display: none;
	}
	.scrolling-vertical {
		max-height: 420px;
	}
	.productModal {
		margin: 0;
	}
	.imagePreview {
		float: none;
		margin:  0 0 10px 0;
		max-width: 400px;
		img {
			width: 100%;
			height: auto;
		}
	}
	.ui-dialog-content {
		padding: 10px !important;
	}
	.contentHolderResults {
		padding: 15px;
	}
	.operationHolder {
		margin: 0 9px !important;
		width: 60px !important;
		height: 60px !important;
		padding: 12px !important;
		img {
			width: 38px !important;
			height: 38px !important;
		}
	}
	.contentHolderResults {
		float: left;
		width: 100%;
		box-sizing: border-box;
	}
	.tabs {
		float: left;
		.tabHolder li {
			padding: 2px 5px ;
			margin: 2px 5px 2px 0;
		}
	}
	.operationHolder {
		margin: 0 9px !important;
		width: 60px !important;
		height: 60px !important;
		padding: 12px !important;
		img {
			width: 38px !important;
			height: 38px !important;
		}
	}
}


@media handheld, only screen and (max-width: 1024px) {
	.numPad {
		width: 60px !important;
		height: 60px !important;
		margin: 8px 0 8px 18px !important;
	}
	.half {
		width: 100%;
		display: block;
	}
	.operationHolder {
		margin: 0 6px !important;
		width: 52px !important;
		height: 52px !important;
		padding: 8px !important;
		img {
			width: 36px !important;
			height: 36px !important;
		}
	}
}


@media handheld, only screen and (max-width: 810px) {
	.operationHolder {
		margin: 0 5px !important;
		width: 50px !important;
		height: 50px !important;
		padding: 6px !important;
		img {
			width: 38px !important;
			height: 38px !important;
		}
	}
}

@media handheld, only screen and (max-width: 790px) {
	.operationHolder {
		margin: 0 5px !important;
		width: 48px !important;
		height: 48px !important;
		padding: 5px !important;
	}
}

@media handheld, only screen and (max-width: 740px) {
	.operationHolder {
		margin: 0 5px !important;
		width: 42px !important;
		height: 42px !important;
		padding: 3px !important;
		img {
			width: 30px !important;
			height: 30px !important;
		}
	}
}

@media handheld, only screen and (max-width: 670px) {
	.operationHolder {
		margin: 5px !important;
		width: 38px !important;
		height: 38px !important;
		padding: 4px !important;
		img {
			width: 28px !important;
			height: 28px !important;
		}
	}
}

@media handheld, only screen and (max-width: 620px) {
	.operationHolder {
		margin: 12px !important;
		width: 56px !important;
		height: 56px !important;
		padding: 12px !important;
		img {
			width: 34px !important;
			height: 34px !important;
		}
	}
}

@media handheld, only screen and (max-width: 540px) {
	.operationHolder {
		margin: 4px !important;
		width: 55px !important;
		height: 55px !important;
		padding: 10px !important;
		img {
			width: 34px !important;
			height: 34px !important;
		}
	}
	.headerContent {
		font-size: 0.7em !important;
	}
}
@media handheld, only screen and (max-width: 480px) {
	.operationHolder {
		margin: 4px !important;
		width: 48px !important;
		height: 48px !important;
		padding: 6px !important;
	}
	.headerContent {
		.fleft, .fright {
			width: 100%;
		}
	}
}
@media handheld, only screen and (max-width: 360px) {
	.operationHolder {
		margin: 5px !important;
	}
	.headerContent {
		.unp, .headerAppName {
			float: right !important;
		}
		.headerUserNick {
			width: 26%;
			float: left !important;
		}
		.pointId {
			width: 37%;
			margin: 0 0 0 10px !important;
			float: left !important;
		}
	}
	.companyName {
		display: block;
	}
	.operationHolder {
		margin: 5px !important;
		width: 45px !important;
		height: 45px !important;
		padding: 6px !important;
		img {
			width: 32px !important;
			height: 32px !important;
		}
	}
	.receiptRow .receiptProduct {
		font-size: 1em !important;
	}
}

@media handheld, only screen and (max-width: 320px) {
	.headerContent {
		font-size: 0.6em !important;

	}
	.operationHolder {
		margin: 3px !important;
		width: 42px !important;
		height: 42px !important;
		padding: 8px !important;
		img {
			width: 26px !important;
			height: 26px !important;
		}
	}
}
.printing {
	.onlyPrint {
		display: block;
	}
	.red {
		color:black !important;
	}

	.discountText {
		color:black !important;
	}

	#receipt-table .highlighted {
		border-left: 0px;
	}

	.paidCaption, .changePositive, .changeNegative {
		color:black !important;
	}
	#single-receipt-holder {
		background: #fff !important;
	}
	.receiptHeader {
		text-align: center !important;
	}
}

.reportTotal {
	background-color:#cff3ff;
}

