@media screen and (min-width: 768px) {
	#menu {
		display:none;
	}
	a:hover #menu {
		display: initial;
		margin-left: 10px;
		font-weight: bold;
	}
}
@media screen and (max-width: 768px) {
	#menu {
		margin-left:10px;
	}
	.pos-checkout-btn {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 102;
	}
	.pos-checkout-btn button {
		margin: 10px !important;
		padding: 7.5px;
		font-size: 1.1rem;
	}
}
@media screen and (max-width: 991px) {
	.xtra-space {
		margin-top:10px;
		margin-bottom:10px;
	}
}
@media screen and (min-width: 525px) {
	#rotate-required {
		display:none;
	}
	/* fluid 5 columns */
	.grid {
		/*display:block !important;*/
		margin: 0 auto;
	}
	.grid-sizer,.grid-item {
		width: 100%;
		max-width: 450px;
		float: left;
	}
	/* 2 columns */
	.grid-item--width2 { 
		width: 40%; 
	}
}
@media print {
	body {
		padding:0px !important;
	}
	.search-box, #rotate-required {
		display: none;
	}
	a[href]:after {
		content: none !important;
	}
	input[type="checkbox"]:checked:after, .checkbox input[type="checkbox"]:checked:after, .checkbox-inline input[type="checkbox"]:checked:after {
		background-color: #2196f3 !important;
		-webkit-print-color-adjust: exact;
	}
}
.grid {
	/*display:none;*/
}
.off-grid {
	float: unset;
    margin: auto;
}
.left {
	float:left;
}
.right {
	float:right;
}
.clear {
	clear:both;
}
.small_logo {
    width: 44px;
    margin-right: 10px;
}
.calc-input input {
	text-align: center;
	font-family: monospace;
	padding: 0 6px;
}
.calc-result input, .calc-input input#c1-sellprice {
	text-align: center;
	font-family: monospace;
	font-weight: bold;
}
#total_preview, #total_print {
	font-size:15px;
	font-weight:bolder;
}
#view_contact .card-subtitle {
	font-size: 12px;
}
#view_contact #cust_note {
	min-height: 5rem;
}
.invprint.print-content {
	display:none;
	-webkit-print-color-adjust: exact;
}
.footerinfo {
	font-size:12px;
	text-align:center;
	margin-top:20px;
}
.padd {
	margin-top:5px;
	margin-bottom:5px;
}
.nopadd {
	margin:0px;
	padding:0px;
}
.logo {
	/*margin-top:3px;
	margin-left:10px;*/
	height:60px;
}
.member {
	text-align:center;
}
textarea {
	resize:vertical;
}
textarea.noresize {
	resize:none;
}
textarea.address {
	height:68px;
}
.checkbox label {
    cursor: pointer;
}
p {
	margin-top:5px;
	margin-bottom:5px;
	margin-left:0px;
	margin-right:0px;
}
.well-white {
	background-color:#FFF;
}
.well-top {
	border-radius: 0px;
	margin-bottom: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.well-top-mid {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	background-color:#FFF;
	border-top: 0px;
	margin-top: 0px;
}
.well-top-special {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.xfocus {
	box-shadow: 0px 0px 10px #82c2f5;
}
.due_date {
    height: 350px;
    overflow: auto;
}
.month_due {
	float:right;
	font-weight: normal;
    font-size: 20px;
    line-height: 1.5;
	color: #ababab;
}
.customer_list {
    height: 380px;
    overflow: auto;
}
.scroll {
	overflow:auto;
	height:380px;
}
.top {
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.bottom {
	border-top: 0px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
input, textarea, .tt-dropdown-menu {
    font-family: Arial;
}
#due_table .checkbox, .due_date .checkbox {
	margin:0px;
}
#order-list {
	/*background-color: #eeeeee;*/
}
#order-list th {
    text-align: center;
}
#order-list input {
	text-align: center;
    border: none;
	background: none;
	padding: 0px;
}
#order-list input:focus {
	box-shadow:none;
}
#order-list .input-row-list {
    position: relative;
}
#order-list .input-row-list input {
    text-align: left;
	width: calc(100% - 33px);
    margin: 0 8px;
}
#order-list .input-row-list .row-reset-btn {
    position: absolute;
    top: 0;
    right: 0;
    color: rgb(223 31 31 / 30%);
    font-size: 15px;
    margin: 13px;
}
#order-list .input-row-list .row-reset-btn:hover {
    color: rgb(223 31 31);
}
#order-list .compute-row-sum input {
	border:none;
	letter-spacing: 2px;
    font-size: 18px;
	font-weight: bold;
	color: #2196F3;
	cursor: help;
}
.frequent-cid {
	position: absolute;
    font-size: 30px;
    font-weight: lighter;
    color: rgb(13 110 253 / 15%);
    top: 0;
    right: 0;
    margin: 10px;
}
.customer-class-float {
	position: absolute;
    top: 0;
    right: 0;
    margin: 12px 20px;
}
.customer-class-margin {
	margin-right: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.inv-container {
	background-color: #fff;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.inv-container.focus {
	box-shadow: 0px 0px 10px #82c2f5;
	background-color: white;
}
.checkbox.autoprint {
    margin: 20px 0;
}
.checkbox.autoprint label {
	display: block;
    margin: 0;
    padding: 0;
}
.checkbox.autoprint label .bootstrap-switch {
    float: right;
}
.checkbox.autoprint label .alt {
    float: left;
    /*font-size: 18px;*/
	font-weight:bold;
	line-height: 34px;
}
@media screen and (nn-width: 580px) {
.input-group-addon {
	display:none;
}
.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
}

#loading_bg {
/*position: fixed;*/
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
-webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    opacity: 1.0;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-ms-transition: all 1s ease;
-o-transition: all 1s ease;
transition: all 1s ease;
}
#inv-area {
	/*background-color: #e3e3e3;*/
}
#items-list td {
	border-top:0px;
	border-bottom:0px;
}
#items-note {
	float:right;
	font-weight:bold;
}
#sub-total {
	border-bottom:2px solid;
}

.printoverflow {
	overflow:auto;
}

.printpreview {
	width: 21cm;
    height: 14cm;
  	background-color: #fff;
	margin: 25px auto;
}

.printpreview iframe {
	width:100%;
	height:100%;
	border:none;
}

sup {
	margin: 0 2px 0 2px;
}

h3.inv-title {
    margin: 8px 0px 0px 0px;
}

h4.inv-title {
    margin: 3px 0px -3px 0px;
}

h5.company-detail {
    margin: 0px 0px 0px 0px;
}

h6.inv-subtitle {
	margin: 5px 0px 0px 0px;
	text-transform: uppercase;
	letter-spacing: 3px;
}
.inv-preview .inv-header p {
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
}
.inv-preview .inv-note {
	height: 11em;
    overflow: auto;
}
.inv-preview-note h5 {
	border-bottom: 1px solid #D8D8D8;
    margin: 5px 0 5px 0;
    padding-bottom: 5px;
}
tr.sum-row td.subprint {
	border-bottom: solid;
}
tr.sum-row td.totalprint {
	border-bottom: solid;
}
tr.item-row, tr.item-row td {
	height:23px;
    border-top: none;
    border-bottom: none;
	padding-top: 0px;
	padding-bottom: 0px;
}
tr.sum-row {
	height:35px;
}
.sign-line {
	height: 20px;
	border-bottom: 1px dashed;
	margin: 0 30px 0 30px;
}
.sign-note {
	margin-top: 4px;
	font-size: 10px;
	font-weight: normal;
}
.sign-line, .sign-note {
    text-align: center;
}
#sub_print, #sub_preview {
	font-weight:bold;
}
#sub_preview {
    margin-top: 6px;
    display: block;
}
#total_print, #total_preview {
	font-weight:bold;
	font-size: 17px;
}
.pid-qty-overlay {
	display:none;
}
.pid-qty-overlay.active {
	display:block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 7rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px rgb(0 0 0 / 30%);
    background: rgb(0 0 0 / 20%);
}
.thaiqr-header {
    background-color: #0e3e68;
	border-top-left-radius: var(--bs-modal-inner-border-radius);
    border-top-right-radius: var(--bs-modal-inner-border-radius);
}
.wizard-bar {
    border-bottom: 1px solid #ececec;
    padding: 5px;
    background-color: whitesmoke;
}
.wizard-bar .nav > li > a {
	padding: 5px 15px;
}
.wizard-child:first-child {
    margin: 0;
}
.wizard-child {
    padding: 10px;
    border: 1px solid #ececec;
    margin: 15px 0;
}
.wizard-child:last-child {
    margin: 0;
}
.clear {
	clear: both;
}