@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
	img:not(.textbtn img) {
		display: inline;
		vertical-align: baseline;
		max-width: 100%;
		height: fit-content;
	}

	.textbtn img {
		display: inline;
		vertical-align: baseline;
		max-width: none;
		height: auto;
	}

	.drop-shadow {
		backdrop-filter: blur(15px);
		box-shadow:
			0 -1px 4px rgb(0 0 0 / 0.04),
			/* up */
			0 1px 4px rgb(0 0 0 / 0.04),
			/* bot */
			-1px 0 4px rgb(0 0 0 / 0.04),
			/* left */
			1px 0 4px rgb(0 0 0 / 0.04);
		/* down */
	}

	.max-container {
		@apply mx-auto max-w-[1440px];
	}
}


@font-face {
	font-family: roboto;
	font-style: normal;
	font-weight: 400;
	src: url(../css/fonts/roboto-v20-latin_latin-ext-regular.eot);
	src: local(Roboto), local(Roboto-Regular), url(../css/fonts/roboto-v20-latin_latin-ext-regular.eot?#iefix) format('embedded-opentype'), url(../css/fonts/roboto-v20-latin_latin-ext-regular.woff2) format('woff2'), url(../css/fonts/roboto-v20-latin_latin-ext-regular.woff) format('woff'), url(../css/fonts/roboto-v20-latin_latin-ext-regular.ttf) format('truetype'), url(../css/fonts/roboto-v20-latin_latin-ext-regular.svg#Roboto) format('svg')
}

@font-face {
	font-family: open sans;
	font-style: normal;
	font-weight: 600;
	src: url(../css/fonts/open-sans-v18-latin-600.eot);
	src: local('Open Sans SemiBold'), local(OpenSans-SemiBold), url(../css/fonts/open-sans-v18-latin-600.eot?#iefix) format('embedded-opentype'), url(../css/fonts/open-sans-v18-latin-600.woff2) format('woff2'), url(../css/fonts/open-sans-v18-latin-600.woff) format('woff'), url(../css/fonts/open-sans-v18-latin-600.ttf) format('truetype'), url(../css/fonts/open-sans-v18-latin-600.svg#OpenSans) format('svg')
}

@font-face {
	font-family: open sans;
	font-style: normal;
	font-weight: 700;
	src: url(../css/fonts/open-sans-v18-latin-700.eot);
	src: local('Open Sans Bold'), local(OpenSans-Bold), url(../css/fonts/open-sans-v18-latin-700.eot?#iefix) format('embedded-opentype'), url(../css/fonts/open-sans-v18-latin-700.woff2) format('woff2'), url(../css/fonts/open-sans-v18-latin-700.woff) format('woff'), url(../css/fonts/open-sans-v18-latin-700.ttf) format('truetype'), url(../css/fonts/open-sans-v18-latin-700.svg#OpenSans) format('svg')
}

body {
	font-family: open sans;
	font-size: 11px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	z-index: 1;
	margin: 0;
	padding: 2;
	overflow-y: hidden;
	background-color: #fff
}

#mainContainer {
	left: 2px;
	right: 3px;
	top: 0;
	bottom: 2px;
	position: fixed;
	top: 0;
	z-index: 2;
	margin: 0;
	padding: 0;
	overflow-y: auto
}

#applwelc {
	background-image: url();
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #fff
}

.ui-loader {
	display: none !important
}

.deskLayout {
	position: fixed;
	margin: 0;
	left: 2px;
	right: 4px;
	top: 60px;
	bottom: 4px;
	font-size: 11px
}

.mobLayout {
	position: fixed;
	margin: 0;
	left: 2px;
	right: 4px;
	top: 40px;
	bottom: 2px;
	font-size: 11px
}

.deskLgo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px
}

.mobLgo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	width: 50%
}

.mobTitle {
	text-align: center
}

#mobMenu.jqx-window-content {
	padding: 0
}

#trMenu {
	border: none
}

#mainBar {
	overflow: auto
}

.cellreadonly:not(.jqx-grid-cell-hover):not(.jqx-grid-cell-selected) {
	color: #000 !important;
	background-color: #f1f1f1 !important
}

.textbtn:hover {
	cursor: pointer
}

img {
	-webkit-user-drag: none;
	-ms-user-drag: none;
	-moz-user-drag: none;
	user-drag: none
}

input[readonly] {
	background-color: #f1f1f1;
	-webkit-touch-callout: true;
	-webkit-user-select: true;
	-khtml-user-select: true;
	-moz-user-select: true;
	-ms-user-select: true;
	user-select: true
}

textarea[readonly] {
	background-color: #f1f1f1;
	-webkit-touch-callout: true;
	-webkit-user-select: true;
	-khtml-user-select: true;
	-moz-user-select: true;
	-ms-user-select: true;
	user-select: true
}

.dtreadonly {
	background-color: #f1f1f1
}

.pac-container {
	z-index: 99997
}

.jqx-loader {
	z-index: 99999 !important
}

.jqx-loader-modal {
	z-index: 99998 !important;
	opacity: .02
}

#eventLoader {
	border: 'none'
}

#notifContainer {
	position: absolute;
	width: 'auto';
	height: 60px;
	left: 50%;
	top: 90%;
	border: '3px solid #73AD21'
}

#dropDownButtonWrapperuserButton {
	background-color: #fff
}

.formcolumn {
	float: left;
	width: 400px;
	margin-bottom: 10px
}

.formcolumn2 {
	float: left;
	width: 360px;
	margin-bottom: 10px
}

.formcolumn3 {
	float: left;
	width: 300px;
	margin-bottom: 10px
}

.formcolumn4 {
	float: left;
	width: 200px;
	margin-bottom: 10px
}

.formcolumn5 {
	float: left;
	width: 160px;
	margin-bottom: 10px
}

.label {
	float: left;
	width: 140px;
	text-align: left;
	vertical-align: middle;
	line-height: 25px;
	height: 25px
}

.labelrange {
	float: left;
	text-align: center;
	vertical-align: middle;
	line-height: 25px;
	height: 25px
}

.label2 {
	float: left;
	width: 80px;
	text-align: left;
	vertical-align: middle;
	line-height: 25px;
	height: 25px
}

.label3 {
	float: left;
	width: 90px;
	text-align: left;
	vertical-align: middle;
	line-height: 25px;
	height: 25px
}

.label4 {
	float: left;
	width: 80px;
	text-align: left;
	vertical-align: middle;
	line-height: 25px;
	height: 20px
}

.label5 {
	float: left;
	width: 110px;
	text-align: left;
	vertical-align: middle;
	line-height: 25px;
	height: 25px
}

.jqx-checkbox-default {
	width: 13px;
	height: 13px
}

.jqx-checkbox-check-indeterminate {
	margin-left: -1px;
	margin-top: -1px
}

.labelScan {
	font-size: 20px;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word
}

.upInput {
	text-transform: uppercase
}

.dropItem {
	vertical-align: middle
}

#routeGrid .jqx-cell {
	border: none;
	font-size: 11px;
	padding: 4px 1px 3px 2px
}

#podGrid .jqx-cell {
	border: none;
	font-size: 11px;
	padding: 4px 1px 3px 2px
}

#waveGrid .jqx-cell {
	border: none;
	font-size: 11px;
	padding: 4px 1px 3px 2px
}

#bagGrid .jqx-cell {
	border: none;
	font-size: 11px;
	padding: 4px 1px 3px 2px
}

.jqx-grid-cell {
	border: none;
	height: 23px
}

#imgGrid .jqx-grid-cell {
	border: none;
	height: 100px
}

.jqx-tree-grid-icon {
	width: 16px;
	height: 16px
}

.jqx-tree-grid-icon-size {
	width: 16px;
	height: 16px
}

.jqx-grid-group-cell {
	font-size: 11px;
	border: none
}

#unwaveGrid .jqx-checkbox {
	margin-top: -9px
}

#unbagGrid .jqx-checkbox {
	margin-top: -9px
}

.jqx-grid-cell-pinned {
	background-color: #0000
}

fieldset {
	border-color: #f1f1f1;
	border-style: solid
}

.win-max {
	cursor: pointer;
	float: left;
	background: url(../jqwidgets/styles/images/check_indeterminate_disabled.png) 50% no-repeat;
	padding: 0;
	border: none;
	outline: none;
	margin: 0
}

.winWrapper {
	display: table;
	table-layout: fixed;
	height: 100%;
	width: 100%
}

.winWrapperInWin {
	display: table;
	table-layout: fixed;
	height: calc(100% - 2px);
	width: calc(100% - 2px)
}

.winRow {
	display: table-row
}

.winRowMain {
	display: table-row;
	height: 100%
}

.winRowFooter {
	display: table-row;
	height: 40px;
	vertical-align: middle
}

.winBtnFooter {
	float: right;
	margin-top: 10px;
	margin-right: 30px
}

.fullBar {
	border: none;
	border-radius: 0
}

.fullGrid {
	border-left: none;
	border-right: none;
	border-bottom: none;
	border-radius: 0
}

.fullGrid2 {
	border-left: none;
	border-right: none;
	border-bottom: none;
	border-top: none;
	border-radius: 0
}

.fullBar2 {
	border-left: none;
	border-right: none;
	border-top: none;
	border-radius: 0
}

#unrouteGrid,
#routeGrid,
#waveGrid,
#unwaveGrid {
	touch-action: none
}

#routeSplitter {
	border: none;
	width: 100%;
	height: 100%
}

#txRemark,
#txRemark2,
#txItemList {
	height: calc(100% - 10px);
	width: calc(100% - 10px)
}

#mainBar {
	border: none;
	margin: 0;
	border-radius: 0
}

#mainBarRP {
	border-left: none;
	border-right: none;
	border-top: none;
	margin: 0;
	border-radius: 0
}

#btSearch,
#btSearchClient,
#vbtSearch,
#mbtSearch {
	height: 22px;
	padding: 3px
}

.jqx-tree-grid-icon {
	width: 16px;
	height: 16px
}

.jqx-tree-grid-icon-size {
	width: 16px;
	height: 16px
}

.jqx-grid-group-cell {
	font-size: 11px;
	border: none
}

.jqx-tree-grid-title {
	vertical-align: middle;
	line-height: 13px;
	height: 13px
}

.jqx-listitem-state-normal {
	padding-top: 3px;
	padding-bottom: 3px
}

.jqx-window-header {
	padding: 5px
}

.jqx-window-close-button-background {
	margin-top: -2px
}

.jqx-grid-column-header {
	margin: 2px;
	height: 18px
}

.jqx-grid-columngroup-header {
	height: 20px
}

#btClose2,
#btWinMax {
	margin-top: 4px
}

#rowsCountSpanUnroute,
#rowsCountSpanRoute,
#rowsCountSpanUnwave {
	float: left
}

#pagingUnrouted,
#pagingRouted,
#pagingUnwaved {
	float: right
}

.gr-success-cell {
	background-color: #22c55e !important;
	color: #ffffff !important;
}

.gr-error-cell {
	background-color: #ef4444 !important;
	color: #ffffff !important;
}
