/*
 *  STYLE 3 Scrollbar
 */

*::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.01);
	background-color: rgba(0,0,0,0.01);
}

*::-webkit-scrollbar
{
	width: 6px;
	background-color: rgba(0,0,0,0.01);
}

*::-webkit-scrollbar-thumb
{
	background-color: rgba(0,0,0,0.1);
}

.dragover{
	border-color:dodgerblue !important;
	box-shadow: 0px 0px 6px dodgerblue;
	color:white !important;
	text-shadow: 3px 3px 3px silver;
}
.main{
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	background-color: #fff;
}
.top-input-text{
	border:none; border-bottom:2px solid silver; border-radius: 0px 0px 3px 3px;
	margin-top: 10px;
	background-color: white
}
.top{
	position: fixed;
	top: 0px;
	right: 0px;
	height: 40px;
	left: 180px;
	z-index: 1;
}
.main-side{
	position: fixed;
	top: 90px;
	right: 380px;
	
	bottom: 40px;
	left: 200px;
	overflow-y: auto;
	overflow-x: hidden;
	
}
.blur{
	filter: blur(15px)
}
.checkout{
	background-color: white;
	border-radius: 4px;
	box-shadow: 0px 0px 6px silver;
	padding: 10px;
}
.main-receipt{
	position: fixed;
	top: 90px;
	width: 340px;
	right: 20px;
	bottom: 0px;
	border-radius: 10px 10px 0px 0px;
	background-color: white;
	box-shadow: 0px 0px 6px #00000070;
}
.customers-section{
	position: absolute;
	height: 40px;
	right: 20px;
	top: 20px;
	bottom: 0px;
	width: 340px;
	
	border-bottom: 0px;
}
.barcodeandsearch-section{
	position: absolute;
	height: 40px;
	left: 20px;
	top: 20px;
	bottom: 0px;
	right: 380px;
	border-bottom: 0px;
}

.checkout-section{
	position: absolute;
	height: 40px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-color: green;
	color: white;
	line-height: 40px;
	font-size: 20px;
	padding-left: 10px;
	padding-right: 10px;
	z-index: 997;
}.discount-section{
	position: absolute;
	height: 40px;
	left: 0px;
	right: 0px;
	bottom: 40px;
	border-top:1px solid silver;
	background-color: white;
	line-height: 40px;
	font-size: 15px;
	z-index: 997;
}.subtotal-section{
	position: absolute;
	height: 40px;
	left: 0px;
	right: 0px;
	bottom: 80px;
	background-color: white;
	color: #131313;
	line-height: 40px;
	font-size: 18px;
	padding-left: 10px;
	padding-right: 10px;
	z-index: 997;
	border-top:1px solid silver;
}
.sub_total_tax:hover{
height:120px;
}
.receipt-section{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 120px;
	border-radius: 5px 5px 0px 0px;
	background-color: white;
	border-bottom: 0px;
	overflow-x: hidden;
	overflow-y: auto;
}

.product-card{
	position: relative;
	width: 150px;
	height: 220px;
	margin: 0px 1px 7px 1px;
	display: inline-block;
	background-color: white;
	box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}
.mini-product-card{
	position: relative;
	width: 200px;
	height: 50px;
	margin: 10px 2px 30px 2px;
	display: inline-block;
	background-color: white;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.3);
	cursor: pointer;
}
.mini-item-name{
	width: 140px;
	height: 70px;
	padding: 5px;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
	display:inline-block;
}
.mini-item-badges{
	position: absolute;
	top: 55px;
	right: 10px;
	text-align: right
}
.product-card > img{
	width: 150px; 
	height: 150px;
	object-fit: cover;
	cursor: pointer;
	
}
.item-name{
	width: 140px;
	height: 60px;
	padding: 5px;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
}
.item-name p{
	font-size: 12px;
	font-weight: 600;
}
.item-badges{
	position: absolute;
	top: 10px;
	right: 10px;
	text-align: right
}
.item-badges .badge{
	display: block;
	font-size: 10px;
	font-weight: 300;
	margin-bottom: 4px;
}
.select-item{
	position: absolute;
	bottom:75px;
	right: 10px;
	text-align: right;
	
	left: 10px;	
	font-size: 10px;
}
.selecting-icons{
	width: 20px;
	height: 20px;
	border-radius: 20px;
	border: 1px solid silver;
	background-color: white;
	padding: 2px;
	margin-left: 2px;
	text-align: center;
	color: gray;
	display: inline-block;
	cursor: pointer;
}

.receipt-list-item{
	width: 100%;
	padding: 5px;
	border-bottom: 1px solid #f7f7f7;
	
}
.receipt-list-item p{
	font-size: 14px;
	font-weight: 600;
	margin: 0px;
}
.receipt-list-item .small{
	font-size: 12px;
	font-weight: 200;
}
.list-pricing{
	text-align: right;
	
}
.list-item-discount-price{
	font-size: 12px;
	font-weight: 400;
	margin: 0px;
	color: gray;text-decoration: line-through;
}
.badge{
	font-size: 12px;
	font-weight: 200;
}
.no-p{
	padding: 0px !important;
}
.small-label{
	position: absolute;
	top: -10px;
	left: 10px;
	border-radius: 5px;
	background-color: white;
	font-size: 12px;
	color: gray
}
.receipt-receipt-list-edit{
	
}
.small-btns{
	font-size: 12px;
	padding: 4px; 
	border-radius: 1px;
}

.loading-screen{
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 999;
	background-color: white;
	
}
.assist-buttons{
position: fixed;
	right: 390px;
	bottom: 0px;
	height: 40px;
	left: 20px;
	text-align: right
		
}.nice_button {
	position: relative;
    width: 31px;
    height: 31px;
    color: white;
    display: inline-block;
    vertical-align: top;
    margin-top: 3px;
    border-radius: 15px;
    /* border: 2px solid white; */
    /* padding: 2px; */
    margin: 2px;
	
}


.green-icon{background-color: green;border-color: green; color: white}
.red-icon{background-color: red;border-color: red; color: white}
.orange-icon{background-color: orange;border-color: orange; color: white}
.gray-icon{background-color: white;border-color: silver; color: gray}
.blue-icon{background-color: dodgerblue; border-color: dodgerblue; color: white}
.facebookblue-icon{background-color: #3b5998; border-color: #3b5998; color: white}
.blue{background-color: dodgerblue;box-shadow: 0px 0px 5px dodgerblue;}
.orangered{background-color: orangered;box-shadow: 0px 0px 5px orangered;}
.orange{background-color: orange;box-shadow: 0px 0px 5px orange;}
.red{background-color: red;box-shadow: 0px 0px 5px red;}
.green{background-color: green; box-shadow: 0px 0px 5px green;}
.nice_button_icon {
	width: 31px;
	height: 31px;
	position: absolute;
	top: 0px;
	left: 0px;
	text-align: center;
	padding: 10px;
	line-height: 11px;
	font-size: 12px;
	font-weight: 300;
}
.top_bar_buttons {
    text-align: right;
    font-size: 10px !important;
	margin-bottom: 10px;
}
.nice_button_text {
    width: calc(100% - 40px);
    height: 40px;
    position: absolute;
    top: 0px;
    right: 0px;
    line-height: 40px;
    font-size: 12px;
}
.image-45 {
    width: 45px;
    height: 45px;
    display: inline-block;
    background-color: silver;
    background-position: center;
    background-size: cover;
    
}
.selected_customer {
    width: calc(100% - 60px);
    height: 45px;
    display: inline-block;
    vertical-align: top;
}

.menu {
	position: fixed;
	top: 0px;
	
	bottom: 0px;
	left: 0px;
	width: 170px;
	color: gray;
	z-index: 999;
}
.menu-item {
	position: relative;
    font-size: 12px;
    font-weight: 300;
    padding: 10px;
    width: 100%;
    padding-left: 20px;
    line-height: 20px;
}
.menu-item:hover{
	color: dodgerblue !important;
}
.menu-item-icon {
    font-size: 20px;
    vertical-align: bottom;
    margin-right: 10px;
	cursor: pointer
}

.top-menu {
	position: absolute;
	top:0px;
	right: 0px;
	left: 0px;
	height: 30px;
	text-align: right
}

.top-menu-button {
	
	padding: 4px;
	padding-top: 6px;
	font-size: 12px;
	color:gray !important;
	border-radius: 0px 0px 3px 3px;
	margin-left: 1px;
	margin-right: 1px;
	vertical-align: top;
	cursor: pointer;
}
.top-menu-button > ion-icon{
	font-size: 16px;
	vertical-align: text-top
}
.a-box-pop{
	position: absolute; padding: 10px; background-color: white; box-shadow: 0px 0px 3px silver;margin-top:10px;
	text-align: left;
z-index: 999;
}
.hold-button{float: right !important}
.assist-buttons > .nice_button{
	float: right !important;
}
.selected_customer_name{font-size:16px;}
.mobile_receipt_list{display: none;}
#top-status-badge{
		display: none;
	}
.hold_receipts_grid{
	position: absolute; top:100px; left:200px;bottom: 0px; right: 0px; overflow: hidden; overflow-y: auto;
	text-align: center
}
@media only screen and (max-width: 800px) {
	
	.main-side{right: 20px !important;left: 20px !important;bottom: 120px !important;}
	.receipt-section{display: none}
	.main-receipt{top: initial; height: 120px; right: 0px; width: 100%;}
	#receipt_design{position: relative !important; left:20px !important ;display: block;width: calc(100% - 40px) !important;}
	#third_party_checkout{display: none}
	#payment_checkout{position: relative !important;  left:20px !important ;width:calc(100% - 40px) !important;display: block;}
	.menu{display: none;}
	.top{left: 0px;}
	.select_mode{left: 0px  !important;}
	.rest_mode{left: 0px  !important;}
	#snooker_mode{left: 0px  !important;}
	.barcodeandsearch-section{width: calc(50% - 30px) !important;}
	.customers-section{width: calc(50% - 30px) !important; float: right}
	.selecting-icons{margin-top: 5px;}
	.a-box-pop{left: 80px !important;}
	.assist-buttons{right: 20px;
    bottom: 120px;
    left: 20px;}
	.hold-btn-tx{display: none;}
	.hold-btn-ic{display: none;}
	.hold-button{border: 2px solid white !important;
    border-radius: 40px !important;width: 40px !important;}
	.hold-btn-num{display: block !important}
	.login_logo{position: relative !important ; width: calc(100% - 50px) !important;}
	.login_card{position: relative !important ; width: calc(100% - 50px) !important;margin-right: 0px !important;}
	.top_buttons_text{display: none;}
	.selected_open_profile{display: none;}
	.selected_customer_name{font-size:10px;}
	.mobile_receipt_list{display: block;}
	#top-status-badge{
		display: inline-block;
	}
	.sales_section_ads{display: none;}
	.checkout_section_ads{display: none;}
	.menu_section_ads{display: none;}
	.hold_receipts_grid{left: 0px;}
}

@media print {
  body * {
    visibility: hidden;
  }
  #section-to-print, #.ection-to-print * {
    visibility: visible;
  }
  #section-to-print {
    position:absolute;
    left: 0;
    top: 0;
	  width: 100% !important;
	  display: block !important;
  }
#receipt_print, #receipt_print * {
    visibility: visible;
  }
	
	#receipt_design{
		position: relative !important;
		width: 100% !important;
		height: inherit !important;
		bottom: inherit !important;
		left: inherit !important;
		right: inherit !important;
		top: inherit !important;
		
	}
	body > div:nth-child(2){
		width: 100% !important;
		position: relative !important;
		padding: 20px;
		height: inherit !important;
		bottom: inherit !important;
		left: inherit !important;
		right: inherit !important;
		top: inherit !important;
		
	}
	#receipt_print {
    position: relative !important;
	
		
    height: inherit !important;
		bottom: inherit !important;
		left: inherit !important;
		right: inherit !important;
		top: inherit !important;
	
	display: block !important;
  }
	
	

		
}

#camera_scanner{
	position: absolute;
	top:60px;
	left: 0px;
	width: 150px;
	height: 100px;
	box-shadow: 0px 0px 5px silver;
	border-radius: 5px;
	background-color: white;
	overflow: hidden;
}

#camera_scanner > video{
	width: 150px;
	
}

.snooker-card{
	position: relative;
	display: inline-block;
	margin: 10px;
	padding: 10px;
}
.snooker-table{
	position: relative;
	width: 250px;
	height: 150px;
	background-color: white;
	background-position: center;
	background-size: 100% auto;
	
	background-repeat: no-repeat;
	display: inline-block;
	
}
.snooker-table-active{
	background-image: url("../imgs/snooker.png");
}
.snooker-table-inactive{
	background-image: url("../imgs/snooker-inactive.png");
}

.snooker_top_head{
	width: 100%;
	padding: 20px;
	
}
.customerpills:hover{
	background-color: #F5F5F5;
}

.windows-size{
	position: absolute;
    top: 33px;
    bottom: 0px;
    right: 0px;
    left: 0px;
	background-color:white;padding:10px;overflow-y:auto;
}
.inappmenu-container{
	position: absolute;
    top: 33px;
    bottom: 0px;
    right: 0px;
    left: 0px;
	padding:10px;overflow-y:auto;
	text-align: center;
}
.menu_section_ads{
	width: calc(100% - 20px); height: 100px; padding: 10px; margin:10px;border-radius: 5px; text-align: center;
}

.inappmenu-container-app{
	width: 100px; 
	vertical-align: top; 
	display: inline-block;
	text-align: center;
	cursor: pointer;
	 margin: 10px;
	 
	text-align: center;
	
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.inappmenu-container-app-icon{
	width:30px; height:30px;padding:15px;line-height:100px; font-size:16px;text-align:center;color:white;border-radius:4px;
	border-radius: 25px;
	box-shadow: 0px 0px 15px silver;
}

.inappmenu-container-app:hover{
	transform: scale(1.2);
	
}
.inappmenu-container-app:hover .inappmenu-container-app a{
box-shadow: 0px 0px 20px white;
}
/* Define the animation */
@keyframes popup-scale-fade {
	0% {
	  opacity: 0;
	  transform: scale(0.8);
	}
	100% {
	  opacity: 1;
	  transform: scale(1);
	}
  }
#inappbro{
	position: fixed; top:20px;left:20px; bottom: 20px; right: 20px; 
	border-radius: 15px; box-shadow: 0px 0px 6px silver;overflow: hidden;
	backdrop-filter: blur(10px);
	transform: scale(0.8); /* Start scale */
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: popup-scale-fade 0.5s ease forwards; /* Animation on display */
}

#inappbro-top{
	position: absolute; top:0px;left:0px; height : 33px; right: 0px; border-radius: 5px 5px 0px 0px;z-index: 999;
}
