@font-face {
	font-family: 'Segoe UI';
	font-weight: 200;
	src: local('Segoe UI Light'), url("segoeui_light.woff2") format("woff2");
}

@font-face {
	font-family: 'Segoe UI';
	font-weight: 300;
	src: local('Segoe UI Semilight'), url("segoeui_semilight.woff2") format("woff2");
}

@font-face {
	font-family: 'Segoe UI';
	font-weight: 400;
	src: local('Segoe UI'), url("segoeui_normal.woff2") format("woff2");
}

@font-face {
	font-family: 'Segoe UI';
	font-weight: 600;
	src: local('Segoe UI Semibold'), url("segoeui_semibold.woff2") format("woff2");
}

@font-face {
	font-family: 'Segoe UI';
	font-weight: 700;
	src: local('Segoe UI Bold'), url("segoeui_bold.woff2") format("woff2");
}

@font-face {
	font-family: 'SegoeUI';
	src: local('Segoe UI'), url("segoeui_normal.woff2") format("woff2");
}

@font-face {
	font-family: 'SegoeUI-Bold';
	src: local('Segoe UI Bold'), url("segoeui_bold.woff2") format("woff2");
}

@font-face {
	font-family: 'SegoeUI-Semibold';
	src: local('Segoe UI Semibold'), url("segoeui_semibold.woff2") format("woff2");
}

@font-face {
	font-family: 'SegoeUI-Light';
	src: local('Segoe UI Light'), url("segoeui_light.woff2") format("woff2");
}

@font-face {
	font-family: 'SegoeUI-Semilight';
	src: local('Segoe UI Semilight'), url("segoeui_semilight.woff2") format("woff2");
}

@font-face {
	font-family: 'DevLys 010';
	src: local('DevLys 010'), url("MFDEV010.TTF") format("truetype");
}

@font-face {
	font-family: 'DevLys 040';
	src: local('DevLys 040'), url("MFDEV040.TTF") format("truetype");
}

@font-face {
	font-family: 'DevLys 100';
	src: local('DevLys 100'), url("MFDEV100.TTF") format("truetype");
}

@font-face {
	font-family: 'DevLys 170';
	src: local('DevLys 170'), url("MFDEV170.TTF") format("truetype");
}

body,
button,
input,
select,
table,
textarea {
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	font-family: 'SegoeUI', 'Segoe UI';
	font-size: 14px;
}

html {
	font-size: 14px;
}

body {
	padding-top: 48px;
	background-color: #f7f7f8;
}

body.page-login {
	padding: 0;
	/* background-image: url("../img/bg.jpg"); */
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

body.dashboard {
	/* background-image: url("../img/dashboard.jpg");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover; */
	background-image: linear-gradient(rgba(248, 247, 246, 0.9), rgba(248, 247, 246, 0.9)), url("../img/logo.svg");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 360px auto;
}

.dashboard .page-body {
	background: transparent;
}

.center-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

a,
.hl {
	color: #045999;
}

.text-muted {
	color: #a4a4a4 !important;
}

.text-default {
	color: #212529 !important;
}

.text-blue {
	color: #0000ff !important;
}

.fb {
	font-weight: 600 !important;
}

.hide {
	display: none;
}

.badge-light {
	background-color: rgba(0, 0, 0, .15);
}

.flip-horizontal {
	transform: scaleX(-1);
}

.font-devlys010,
.font-devlys040,
.font-devlys100,
.font-devlys170 {
	font-size: 19px;
	padding-top: 1px;
	padding-bottom: 1px;
}

.font-devlys010 {
	font-family: 'DevLys 010';
}

.font-devlys040 {
	font-family: 'DevLys 040';
}

.font-devlys100 {
	font-family: 'DevLys 100';
}

.font-devlys170 {
	font-family: 'DevLys 170';
}

.form-control,
.custom-select,
.btn,
.modal-content,
.nav-tabs .nav-link,
.input-group-text {
	border-radius: 0px;
}

.modal-content {
	border-radius: 0px;
}


.form-group {
	margin-bottom: 0.8125rem;
}

.form-group.mt {
	margin-top: 0.8125rem;
}

select.form-control {
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pjxzdmcgdmlld0JveD0iMCAwIDMyIDMyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO3N0cm9rZTojMDAwO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MnB4O308L3N0eWxlPjwvZGVmcz48dGl0bGUvPjxnIGlkPSJjaGV2cm9uLWJvdHRvbSI+PGxpbmUgY2xhc3M9ImNscy0xIiB4MT0iMTYiIHgyPSI3IiB5MT0iMjAuNSIgeTI9IjExLjUiLz48bGluZSBjbGFzcz0iY2xzLTEiIHgxPSIyNSIgeDI9IjE2IiB5MT0iMTEuNSIgeTI9IjIwLjUiLz48L2c+PC9zdmc+");
	background-size: 16px 16px;
	background-position: right 6px center;
	background-repeat: no-repeat;
}

.form-control::-webkit-input-placeholder {
	color: #bbb;
}

.custom-select {
	background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pjxzdmcgdmlld0JveD0iMCAwIDMyIDMyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO3N0cm9rZTojMDAwO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MnB4O308L3N0eWxlPjwvZGVmcz48dGl0bGUvPjxnIGlkPSJjaGV2cm9uLWJvdHRvbSI+PGxpbmUgY2xhc3M9ImNscy0xIiB4MT0iMTYiIHgyPSI3IiB5MT0iMjAuNSIgeTI9IjExLjUiLz48bGluZSBjbGFzcz0iY2xzLTEiIHgxPSIyNSIgeDI9IjE2IiB5MT0iMTEuNSIgeTI9IjIwLjUiLz48L2c+PC9zdmc+");
	background-size: 16px 16px;
	background-position: right 6px center;
	background-repeat: no-repeat;
}

.form-control:focus,
.custom-select:focus {
	border-color: #0078d4;
	box-shadow: 0 0 0 0.2rem rgba(0, 120, 212, 0.2);
}

.custom-select.is-valid,
.form-control.is-valid,
.was-validated .custom-select:valid,
.was-validated .form-control:valid {
	border-color: #ced4da;
}

.custom-select.is-valid:focus,
.form-control.is-valid:focus,
.was-validated .custom-select:valid:focus,
.was-validated .form-control:valid:focus {
	border-color: #0078d4;
	box-shadow: 0 0 0 0.2rem rgba(0, 120, 212, 0.2);
}

.form-control:disabled,
.custom-select:disabled,
.form-control:disabled,
.form-control[readonly] {
	background-color: #f8f8f8;
}

button:disabled img {
	opacity: .4;
}

.btn i {
	display: inline-block;
	vertical-align: middle;
	margin-top: -4px;
}

.btn span {
	display: inline-block;
	vertical-align: middle;
	margin-top: -3px;
}

.btn-dark {
	background-color: #202020;
	border-color: #202020;
}

.btn-primary {
	background-color: #0078d4;
	border-color: #0078d4;
}

.btn-outline-primary {
	border-color: #0078d4;
	color: #0078d4;
}

.btn-default {
	color: #0078d4;
}

.btn-default:hover {
	background-color: rgba(0, 0, 0, .06);
}

/* .btn-primary:hover {
	color: #ffffff;
	background-color: #167851;
	border-color: #167851;
}

.btn-primary:focus,
.btn-primary.focus {
	box-shadow: 0 0 0 0.2rem rgba(26, 142, 95, 0.2);
	background-color: #167851;
	border-color: #167851;
}

.btn-primary.disabled,
.btn-primary:disabled {
	color: #ffffff;
	background-color: #1a8e5f;
	border-color: #1a8e5f;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
	color: #ffffff;
	background-color: #167851;
	border-color: #167851;
}

.show>.btn-primary.dropdown-toggle {
	color: #ffffff;
	background-color: #167851;
	border-color: #167851;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus {
	box-shadow: 0 0 0 0.2rem rgba(26, 142, 95, 0.2);
}

.show>.btn-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(26, 142, 95, 0.2);
} */


.required:after {
	position: absolute;
	content: "*";
	color: #b94a48;
	margin: 0 0.4em;
}

.label-right .col-form-label {
	text-align: right;
}

/* .label-right .required:after {
	content: "";
	margin: 0;
}

.label-right .col-form-label.required:before {
	content: "*";
	color: #b94a48;
	margin: 0 0.2em;
} */

.alert {
	position: relative;
	margin-bottom: 20px;
	border-radius: 0;
}

.alert.alert-danger {
	color: #b71c1c;
	background-color: #f4dddd;
}

.alert.alert-success {
	color: #2e6b30;
	background-color: #f1f7e9;
}

.alert.alert-warning {
	color: #8c6c15;
	background-color: #fefae6;
}

.alert i,
.alet svg {
	display: inline-block;
	vertical-align: middle;
	margin-top: -2px;
	margin-right: 3px;
}

.alert .lnr {
	font-size: 16px;
	margin-top: -4px;
}

.alert .close {
	font-size: 19px;
}

.alert-flash {
	display: none;
	text-align: center;
	margin: 0;
}

hr {
	margin: 20px 0;
}

/* layouts */
.container-fluid {
	padding-left: 0px;
	padding-right: 0px;
}

.page-content {
	position: relative;
}

.page-body {
	position: relative;
	background-color: #fff;
	height: calc(100vh - 48px);
	overflow-x: hidden;
}

.bg {
	background-color: #faf9f8;
}

.page-body.auto-height {
	height: auto;
}

.page-header,
.page-row {
	display: flex;
	padding: 14px 14px 12px 14px;
	justify-content: space-between;
	align-items: center;
}

.page-header h1 {
	display: inline-block;
	margin: 0 30px 3px 1px;
	font-family: 'SegoeUI-Semibold', 'Segoe UI';
	font-size: 20px;
}

.page-header h1 > span {
	display: inline-block;
	margin-left: 4px;
	font-family: 'Segoe UI';
	font-size: 15px;
	vertical-align: middle;
	margin-top: -3px;
}

.page-header h1 i,
.page-header p i {
	display: inline-block;
	vertical-align: middle;
	margin-top: -2px;
	margin-right: 2px;
}

.page-header p {
	margin: 0 0 3px 0;
}

.page-header div p:last-child {
	margin: 0;
}

.page-header.centered {
	justify-content: center;
	text-align: center;
	padding-top: 30px;
}

.page-header.centered h1 {
	margin: 2px 0 4px 0;
}
.page-header .badge {
	font-size: 80%;

}

.page-setup-container {
	flex-grow: 1;
}

.page-setup-container h4 {
	text-decoration: underline;
	font-size: 16px;
	font-weight: 600;
	padding-bottom: 10px;
	color: #999;
}

.page-setup-container .form-control,
.page-setup-container .custom-select {
	display: inline-block;
	width: 160px;
}

.content-body__main {
	position: relative;
}

.search .btn-link {
	color: inherit;
}

.search-input {
	display: inline-block;
	position: relative;
	margin-left: 5px
}

.search-input .form-control {
	padding-left: 7px;
	padding-right: 25px;
}

.search-input>i {
	position: absolute;
	right: 9px;
	top: 7px;
	color: #666;
}

.search-input .clear {
	position: absolute;
	padding: 4px 8px;
	right: 4px;
	top: 3px;
	background-color: #fff;
	color: #000;
	font-size: 13px;
	z-index: 1;
}

.search-input .clear {
	text-decoration: none;
}

.closing-balance {
	padding: 5px 15px;
	text-align: center;
	background-color: #fff;
}

.closing-balance.right {
	position: absolute;
	right: 0;
	margin-top: -37px;
	z-index: 2;
}

.closing-balance div {
	display: inline-block;	
}

.closing-balance div span {
	display: inline-block;
	margin-left: 5px;
	font-family: 'SegoeUI-Semibold', 'Segoe UI';
	font-size: 15px;
	color: #da4932;
}


#layoutAuthentication {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#layoutAuthentication #layoutAuthentication_content {
	min-width: 0;
	flex-grow: 1;
}


.link-inside {
	position: relative;
}

.link-inside a {
	position: absolute;
	top: calc(50% - 13px);
	right: .75rem;
	z-index: 1;
}

.link-inside .btn {
	position: absolute;
	top: 0px;
	right: 15px;
	z-index: 1;
}

#commissionhistory {
	height: 246px;
	border: 1px solid #dee2e6;
}

.commandbar {
	display: flex;
	width: 100%;
	height: 42px;
	background: #fff;
	border-bottom: 1px solid #d8d8d8;
}

.commandbar ul {
	display: flex;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}

.commandbar ul li {
	display: flex;
}

.commandbar ul li button {
	outline: none;
	padding-right: 0.857142rem;
	padding-left: 0.857142rem;
	line-height: 1rem;
	height: 3rem;
	border-width: 0px;
	background-color: transparent;
	font-size: 1rem;
	cursor: pointer;
}

.commandbar ul li button:hover {
	background-color: #d8d8d8;
}

.commandbar ul li button i,
.commandbar ul li button img {
	display: inline-block;
	vertical-align: middle;
	margin-top: -3px;
	margin-right: 5px;
}

.commandbar ul li button i {
	font-size: 1.125rem
}

.commandbar ul li button img.resize {
	height: 16px;
	width: auto;
}

.currentdate {
	display: inline-block;
	padding: 9px 12px 0 0;
	font-size: 14px;
	font-weight: 600;
	color: #0000ff;
}

/* page message container*/
.page-message-container {
	padding: 40px 30px 35px 30px;
	text-align: center;
}

.page-message-container h3 {
	font-size: 26px;
	font-weight: 500;
	margin-bottom: 10px;
}

.page-message-container p {
	padding: 0;
	margin: 0;
	font-size: 20px;
	margin-bottom: 5px;
}

.page-message-container a {
	display: inline-block;
	margin-top: 20px;
}

.page-message-container svg.icon {
	width: 50px;
	height: 50px;
	margin-bottom: 12px;
}

.page-message-container i.icon {
	display: inline-block;
	font-size: 42px;
	margin-bottom: 12px;
}

.page-message-container.success h3,
.page-message-container.success .icon {
	color: #21a657;
}

.page-message-container.failed h3,
.page-message-container.failed .icon {
	color: #c22929;
}

/* auth */
.auth {
	width: 100%;
	margin: 10% auto 0 auto;
}

.auth.size-xl {
	max-width: 690px;
}

.auth .logo {
	margin-bottom: 25px;
	text-align: center;
}

.auth .logo img {
	height: 42px;
}

.auth .desc {
	font-weight: 500;
	margin-bottom: 30px;
	text-align: center;
}

.auth .desc b {
	font-size: 16px;
	font-weight: 600;
	color: #222;
}

.auth .card {
	border-color: transparent;
	border-radius: 0px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.auth .card-title {
	font-weight: 600;
	margin-bottom: 30px;
}

.auth .card-body {
	padding: 40px 35px 38px 35px;
}

.auth label {
	width: 100%;
}

.auth .btn {
	padding: 8px 10px;
	font-weight: 600;
	font-size: 16px;
}

.auth .form-control {
	padding: .5rem .75rem;
	font-weight: 600;
}

.form-login {
	max-width: 410px;
}

/* navbar */
.navbar {
	min-height: 48px;
	padding: 0px;
}

.navbar.bg-dark {
	background-color: #0078d4 !important;
}

.navbar-brand {
	padding-top: 0px;
	margin-left: 11px;
}

.navbar-brand span {
	display: inline-block;
	font-size: 13px;
	vertical-align: bottom;
	margin-bottom: -3px;
	color: #47a774;
	font-weight: 600;
	font-style: italic;
}

.navbar-nav {
	margin-top: -1px;
	margin-bottom: inherit;
}

.navbar-nav .nav-link {
	padding: 13px 14px 14px 14px !important;
	outline: 0;
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 1);
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
	color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-menu,
.commandbar .dropdown-menu {
	margin-top: 0px;
}

.nav-item i {
	display: inline-block;
	vertical-align: middle;
	margin-top: -2px;
	font-size: 16px;
	line-height: 1;
}

.nav-item .dropdown-toggle::after,
.commandbar .dropdown-toggle::after {
	display: none;
}

.dropdown-toggle .caret {
	display: inline-block;
	font-size: 12px;
	margin-left: 3px;
	vertical-align: middle;
	margin-top: -1px;
}

/* .nav-item [class^="lnr-"],
.nav-item [class*=" lnr-"] {
	font-size: 18px;
} */

/* 



.icon-lg {
	font-size: 19px !important;
}

.user-icon {
	display: inline-block;
	height: 22px;
	width: 22px;
	line-height: 21px;
	text-align: center;
	background: #ccc;
	border: 1px solid #ccc;
	border-radius: 50%;
	vertical-align: middle;
	color: #222;
}

.navbar .dropdown-menu {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-top: none;
}
*/

.navbar .nav-item.active,
.navbar .nav-item:hover,
.navbar .navbar-nav .open .dropdown-menu>.active>a,
.navbar .navbar-nav .open .dropdown-menu>.active>a:hover,
.navbar .navbar-nav .open .dropdown-menu>.active>a:focus {
	background-color: rgba(0, 0, 0, .15);
}

.navbar .nav-item.active .nav-link,
.navbar .navbar-nav .open .dropdown-menu>.active>a {
	color: #fff;
}

/*
.navbar .nav-item.active .nav-link {
	padding-bottom: 16px !important;
	border-bottom: 2px solid #377dff;
}
*/
/* 
.navbar .nav-item.active .caret,
.navbar .nav-item:hover .caret,
.navbar .navbar-nav .open .dropdown-menu>.active>a .caret,
.navbar .navbar-nav .open .dropdown-menu>.active>a:hover .caret,
.navbar .navbar-nav .open .dropdown-menu>.active>a:focus .caret {
	color: rgba(0, 0, 0, .8);
} */


/* nav-tabs */
.nav-tabs {
	/* border-bottom-color: #a6a6a6; */
	margin-top: 25px;
}

.nav-tabs .nav-link {
	color: #888;
}

/* .nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
	border-color: #e9ecef #e9ecef #a6a6a6;
}
*/
.nav-tabs .nav-link.active {
	/* border-top-color: #a6a6a6;
	border-left-color: #a6a6a6;
	border-right-color: #a6a6a6;
	border-bottom-color: transparent; */
	font-weight: 600;
	color: #333;
	/* color: #0078d4; */
}

.tab-content .tab-pane {
	padding-top: 24px;
}

/* table */
.table {
	width: 100% !important;
	background: #fff;
}

.table-fixed {
	table-layout: fixed;
}

.grid {
	position: relative;
	width: calc(100% - 1px);
	overflow: hidden;
}

.grand-total {
	font-weight: 600;
}

.table.summary tr td:last-child {
	text-align: right;
	font-weight: 500;
}

table.dataTable {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

.dataTables_scroll {
	background: #fff;
	border-top: 1px solid #d8d8d8;
}

.has-margin .dataTables_scroll {
	margin: 0 15px;
	border: 1px solid #d8d8d8;
	border-left: none;
	border-right: none;
}

.dataTables_scroll::after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	width: 100%;
	height: 5px;
	background: -webkit-gradient(linear, left bottom, left top, from(rgba(45, 48, 51, 0.1)), to(rgba(45, 48, 51, 0)));
	background: linear-gradient(to top, rgba(45, 48, 51, 0.1), rgba(45, 48, 51, 0));
	pointer-events: none;
}

.modal-body .dataTables_scroll::after,
.has-margin .dataTables_scroll::after {
	display: none;
}

.table th {
	padding: .75rem 1rem;
	border-top: none;
	font-size: 12px;
	font-weight: 500;
	color: #666;
	border-bottom-color: #d8d8d8;
	/* border-right: 1px solid rgba(0, 0, 0, .1);  */
	background-color: rgba(0, 0, 0, .02);
}

.table th:last-child {
	border-right: none;
}

.table td {
	position: relative;
	padding: 0.625rem 1rem;
	border-top: none;
	border-bottom: 2px solid #f4f4f4;
	/* border-right: 1px solid rgba(0, 0, 0, .1);  */
}

.table td:last-child {
	border-right: none;
}

.table tfoot tr td {
	font-weight: 600;
}

.table tfoot tr td:first-child {
	padding-left: 15px !important;
	text-align: left !important;
}

.row-actions {
	display: none;
	font-size: 13px;
}

.row-actions.inline {
	position: absolute;
	top: calc(50% - 12px);
	right: 0;
}

.row-actions a {
	display: inline-block;
}

.row-actions img,
.row-actions i {
	display: inline-block;
	vertical-align: middle;
	margin-top: -3px;
	height: 15px;
	font-size: 15px;
}

tr.itemtype-2 td,
tr.itemtype-2 td a,
tr.text-danger td,
tr.text-danger td a {
	color: #d1202e !important;
}

tr.text-success td,
tr.text-success td a {
	color: #21a657 !important;
}

.table-hover tbody tr:hover {
	background-color: #d8d8d8;
}

.table-hover tbody tr:hover td {
	font-weight: 600;
}

.table-hover tbody tr:hover a {
	text-decoration: underline;
}

.table-hover tbody tr:hover .row-actions {
	display: block;
}

.table-hover tbody tr:hover .row-actions a {
	text-decoration: none !important;
}

div.dataTables_wrapper .row:last-child {
	background: #fff;
	border-top: 1px solid #e2e6e8;
}

.has-margin div.dataTables_wrapper .row:last-child {
	border: none;
	padding-left: 1px;
}

div.dataTables_wrapper div.dataTables_info {
	padding: 9px 0 9px 15px;
	min-height: 40px;
}

div.dataTables_wrapper span.select-info {
	display: inline-block;
	margin-left: 15px;
	padding-bottom: 2px;
	border-radius: 2px;
	background-color: #c0d4e8;
	font-size: 13px;
	font-weight: 600;
}

.modal-body div.dataTables_wrapper .row:last-child {
	border-top-color: transparent;
}

table.dataTable tbody>tr.selected,
table.dataTable tbody>tr>.selected {
	background-color: #c0d4e8 !important;
}

table.dataTable tbody tr.selected,
table.dataTable tbody th.selected,
table.dataTable tbody td.selected {
	color: inherit;
}

table.dataTable tbody tr.selected a,
table.dataTable tbody th.selected a,
table.dataTable tbody td.selected a {
	color: #045999;
}

table.dataTable tbody td.select-checkbox,
table.dataTable tbody th.select-checkbox {
	cursor: pointer;
}

table.dataTable tbody td.select-checkbox:before,
table.dataTable tbody th.select-checkbox:before {
	background-color: #fff;
	border-color: #d2d2d2;
	border-radius: 2px;
}

table.dataTable tr.selected td.select-checkbox:before,
table.dataTable tr.selected th.select-checkbox:before {
	background-color: transparent;
	border-color: transparent;
}

table.dataTable tbody td.select-checkbox:before,
table.dataTable tbody td.select-checkbox:after,
table.dataTable tbody th.select-checkbox:before,
table.dataTable tbody th.select-checkbox:after {
	top: 19px;
	width: 13px;
	height: 13px;
}

table.dataTable tr.selected td.select-checkbox:after,
table.dataTable tr.selected th.select-checkbox:after {
	font-family: 'FontAwesome';
	font-style: normal;
	font-weight: normal;
	content: "\f00c";
	font-size: 13px;
	color: #444;
	margin-left: -6px;
	margin-top: -9px;
	text-shadow: none;
}

table.dataTable thead th.select-checkbox {
	position: relative;
	white-space: nowrap;
	cursor: pointer;
	font-size: 13px;
	color: #444;
}

div.dataTables_wrapper div.dataTables_processing {
	border: none;
	border-radius: 0px;
	text-align: center;
	z-index: 2;
}

table.dataTable td.dataTables_empty,
table.dataTable th.dataTables_empty {
	text-align: center;
	font-weight: 600;
	color: #bbb;
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
	border-bottom: none !important;
}

.table-scroll tbody {
	display: block;
	min-height: 300px;
	max-height: 300px;
	overflow-y: auto;
}

.table-scroll tbody td {
	white-space: normal !important;
}

.table-scroll thead,
.table-scroll tfoot,
.table-scroll tbody tr {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.list {
	margin-bottom: 0;
}

.list th {
	padding-left: 1rem;
	padding-right: 1rem;
}

.list td {
	padding: .75rem 1rem;
}

.list thead th {
	border-bottom-width: 1px !important;
}

.list tfoot td {
	background-color: #e9ecef;
	border-top: 1px solid #e9ecef;
	font-weight: 600;
}

.table-items.table-bordered th,
.table-items.table-bordered td {
    border: 1px solid #ced4da;
}
.table-items th {
    font-weight: 700;
}
.table-items td {
    padding: 0px;
}
.table-items td .form-control {
    border-color: transparent;
    box-shadow: none;
}
.table-items td .form-control:focus,
.table-items td .form-control:hover {
    border-color: #0078d4;
}

.itemname-column {
    position: relative;
}

.itemstock {
    position: absolute;
    background: #f0fffc;
    color: #999;
    padding: 3px 10px 4px 10px;
    border-radius: 4px;
    right: 6px;
    top: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    z-index: 1;
}

.itemstock:hover {
    background: #e1faf5;
    color: #999;
    text-decoration: none;
}

.itemstock .stockqty {
    color: #25bf97;
}

.fixed-actions {
    position: fixed;
    padding: 16px;
    bottom: 0;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 5px -3px rgb(0 0 0 / 10%);
    background-color: #fff;
    width: 100%;
    z-index: 3;
}
.fixed-actions .btn {
    min-width: 90px;
}
.has-fixedactions {
    padding-bottom: 100px !important;
}
.total-section {
    padding: 0 16px;
    background-color: rgba(0, 0, 0, .02);
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.total-section .total-row {
    min-height: 28px;
}
.total-section .total-row .total-label {
    display: inline-block;
    min-height: 28px;
    width: 70%;
    padding: 10px 1%;
}
.total-section .total-row .total-amount {
    float: right;
    padding: 10px 1.5%;
    min-height: 28px;
    width: 30%;
    margin-left: -1%;
    text-align: right;
}
/**-- 
    - Filter
-----------------------------------------*/

.filterlists ul {
	margin: 0;
	padding: 0;
}

.filterlists ul li {
	position: relative;
	display: inline-block;
	padding: 5px 8px;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 500px;
	margin-left: 6px;
	line-height: 1;
	color: #045999;
}

.filterlists ul li span {
	display: inline-block;
	margin-right: 7px;
	color: #999;
}

.filterlists ul li a {
	display: inline-block;
	margin-left: 7px;
	color: rgba(0, 0, 0, .7);
}

.filterlists ul li a i {
	display: inline-block;
	vertical-align: middle;
	margin-top: -3px;
	font-size: 12px;
}

.filterlists ul li a:hover {
	color: #da4932;
}

/* modal */
.modal-sm {
	max-width: 450px;
}

.modal-md {
	max-width: 550px;
}

.modal-xmd {
	max-width: 650px;
}

.modal-lg {
	max-width: 900px;
}

.modal-xlg {
	max-width: 1000px;
}

.modal-header .close {
	margin-top: -0.875rem;
	outline: 0;
}

.modal-content {
	border: none;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}

.modal-header {
	padding: 16px 24px;
	border-bottom-color: #d2d2d2;
	font-size: 20px;
	font-weight: 600;
}

.modal-header .btn {
	padding: 0.1875rem 0.75rem;
	position: absolute;
	right: 55px;
}

.modal-title i,
.modal-title img {
	display: inline-block;
	font-size: 18px;
	vertical-align: middle;
	margin-top: -3px;
	margin-right: 2px;
}

.modal-body {
	position: relative;
	padding: 24px;
}

.modal-footer {
	padding: 16px 24px;
	border-top-color: #d2d2d2;
}

.modal-footer .btn {
	min-width: 80px;
}

.modal-footer>:not(:first-child) {
	margin-left: .4375rem;
}

.modal-dialog.padding-sm .modal-header,
.modal-dialog.padding-sm .modal-footer {
	padding: 16px 13px;
}

.modal-dialog.padding-sm .modal-header .close {
	margin-right: -0.875rem;
}

.modal-dialog.modal-flat .modal-header {
	border-bottom: none;
}

.modal-dialog.modal-flat .modal-footer {
	border-top: none;
}

.modal-dialog.modal-full {
	min-width: 100%;
	margin: 0;
}

.modal-dialog.modal-full .modal-content {
	min-height: 100vh;
	border-radius: 0px;
}

.modal-dialog.modal-full .modal-body {
	min-height: calc(100vh - 126px);
	max-height: calc(100vh - 126px);
	overflow-y: auto;
}

.modal.left .modal-dialog,
.modal.right .modal-dialog {
	position: fixed;
	margin: auto;
	width: 500px;
	height: 100%;
	-webkit-transform: translate3d(0%, 0, 0);
	-ms-transform: translate3d(0%, 0, 0);
	-o-transform: translate3d(0%, 0, 0);
	transform: translate3d(0%, 0, 0);
}

.modal.left .modal-body,
.modal.right .modal-body {
	min-height: calc(100vh - 127px);
	max-height: calc(100vh - 127px);
	overflow-y: auto;
}

.modal.left .modal-body.no-footer,
.modal.right .modal-body.no-footer {
	min-height: calc(100vh - 59px);
	max-height: calc(100vh - 59px);
}

.modal.left .modal-dialog.modal-sm,
.modal.right .modal-dialog.modal-sm {
	width: 450px;
}

.modal.left .modal-dialog.modal-md,
.modal.right .modal-dialog.modal-md {
	width: 550px;
}

.modal.left .modal-dialog.modal-xmd,
.modal.right .modal-dialog.modal-xmd {
	width: 650px;
}

.modal.left .modal-dialog.modal-lg,
.modal.right .modal-dialog.modal-lg {
	width: 900px;
}

.modal.left .modal-dialog.modal-xlg,
.modal.right .modal-dialog.modal-xlg {
	width: 1000px;
}

.modal.left .modal-content,
.modal.right .modal-content {
	height: 100%;
	overflow-y: auto;
}

.modal.left .table-scroll tbody,
.modal.right .table-scroll tbody {
	min-height: calc(100vh - 167px) !important;
	max-height: calc(100vh - 167px) !important;
}

.modal.left .modal-body.no-footer .table-scroll tbody,
.modal.right .modal-body.no-footer .table-scroll tbody {
	min-height: calc(100vh - 98px) !important;
	max-height: calc(100vh - 98px) !important;
}

.modal.left .table-scroll.has-tfoot tbody,
.modal.right .table-scroll.has-tfoot tbody {
	min-height: calc(100vh - 209px) !important;
	max-height: calc(100vh - 209px) !important;
}

.modal.left .modal-body.no-footer .table-scroll.has-tfoot tbody,
.modal.right .modal-body.no-footer .table-scroll.has-tfoot tbody {
	min-height: calc(100vh - 141px) !important;
	max-height: calc(100vh - 141px) !important;
}


.modal.left .modal-dialog {
	left: -470px;
	-webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
	-moz-transition: opacity 0.3s linear, left 0.3s ease-out;
	-o-transition: opacity 0.3s linear, left 0.3s ease-out;
	transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left .modal-dialog.modal-sm {
	left: -420px;
}

.modal.left .modal-dialog.modal-lg {
	left: -870px;
}

.modal.left.show .modal-dialog {
	left: 0;
}

.modal.right .modal-dialog {
	right: -470px;
	-webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
	-moz-transition: opacity 0.3s linear, right 0.3s ease-out;
	-o-transition: opacity 0.3s linear, right 0.3s ease-out;
	transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right .modal-dialog.modal-sm {
	right: -420px;
}

.modal.right .modal-dialog.modal-lg {
	right: -870px;
}

.modal.right.show .modal-dialog {
	right: 0;
}

.modal-backdrop+.modal-backdrop {
	z-index: 1060;
}

.modal.show.modal-second {
	z-index: 1070;
}

.input-ledger {
	position: relative;
}

.input-ledger .ledger-balance {
	position: absolute;
	top: 3px;
	right: 3px;
	padding: 3px 6px;
	background: #fff;
	color: #999;
	font-size: 13px;
	font-weight: 400;
	z-index: 1;
}

/* webui popover */
.webui-popover {
	border-color: transparent;
	border-radius: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .4);
}

.webui-popover-title {
	font-size: 16px;
}

.webui-popover-inner .close {
	font-size: 18px;
	margin: 10px 10px 0 0;
}

/* pagination */
.no-records {
	text-align: center;
	font-weight: 600;
	color: #bbb;
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
	border-bottom: none !important;
}

.pagination-box {
	display: inline-block;
	margin-top: 6px;
}

.records-info {
	display: inline-block;
	vertical-align: middle;
	margin: -8px 0 0 16px;
}

/* dropdown menu */
.dropdown-menu {
	min-width: 210px;
	border-color: transparent;
	border-radius: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .4);
	z-index: 1002;
}

.dropdown-item {
	position: relative;
	padding: .4375rem 1.25rem;
	color: #16181b;
	font-size: 14px;
}

.dropdown-item i {
	display: inline-block;
	font-size: 14px;
	vertical-align: middle;
	margin-top: -3px;
	margin-right: 5px;
}

.dropdown-item img {
	display: inline-block;
	width: 18px;
	height: 18px;
	vertical-align: middle;
	margin-top: -4px;
	margin-right: 3px;
}

.dropdown.hover:hover>.dropdown-menu {
	display: block;
}

.dropdown1>.dropdown-toggle.active {
	pointer-events: none;
}

.dropdown-item:focus,
.dropdown-item:hover {
	text-decoration: none;
	background-color: #d8d8d8;
}

/* card */
.card-header .btn {
	position: absolute;
	top: 8px;
	right: 0;
}

.card-header span {
	display: inline;
	color: #ccc;
	font-weight: 500;
}

.custom-card {
	margin-bottom: 20px;
	border: none;
}

.custom-card .card-header {
	padding-left: 2px;
	background-color: transparent;
	border-bottom-color: rgba(0, 0, 0, .1);
	font-size: 17px;
	font-weight: 600;
}

.custom-card .card-body {
	padding: 32px 0 0 0;
}

.affiliate-box {
	background-color: rgba(255, 193, 7, .1);
	border-color: rgba(0, 0, 0, .03);
}

.affiliate-box .form-control {
	background-color: transparent;
	border: none;
}


/* daterangepicker */
.input-datepicker {
	position: relative;
}

.input-datepicker input {
	padding-right: 30px;
	cursor: pointer;
}

.input-datepicker i {
	position: absolute;
	font-size: 15px;
	top: calc(50% - 9px);
	right: 9px;
	color: #666;
}

.input-datepicker.left-icon input {
	padding-left: 35px;
	padding-right: 30px;
}

.input-datepicker.left-icon i {
	right: inherit;
	left: 7px;
}

.input-datepicker.show-caret input {
	background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23999999'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat right .75rem center;
	background-size: 10px 10px;
	background-position-y: 59%;
}

.daterangepicker {
	font-size: 14px;
	border-color: #c1c1c1;
	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.daterangepicker:before {
	border-bottom-color: #c1c1c1;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
	background-color: #377dff;
}

.daterangepicker .ranges li,
.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td,
.daterangepicker .drp-selected,
.daterangepicker .drp-buttons .btn,
.daterangepicker select.monthselect,
.daterangepicker select.yearselect {
	font-size: 14px;
}

.daterangepicker .ranges li.active {
	background-color: #377dff;
	font-weight: 600;
}

.daterangepicker .calendar-time {
	padding-right: 9px;
}

.daterangecontainer {
	display: inline-block;
	cursor: pointer;
}

.daterangecontainer i {
	display: inline-block;
	vertical-align: middle;
	margin-top: -2px;
	margin-right: 8px;
}

.daterangecontainer > i {
	margin-right: 8px;
}
.daterangecontainer .caret {
	margin-left: 10px;
	font-size: 12px;
}

/* Flash Message */
.flash {
	display: block;
	position: relative;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border-width: 2px;
}

/* multiselect dropdown */
.ms-options-wrap>button:focus,
.ms-options-wrap>button {
	padding: 9px 20px 9px 12px;
	font-size: 14px;
	border-radius: .25rem;
	border-color: #ced4da;
	color: #495057;
}

.ms-options-wrap>button:after {
	right: 9px;
	width: 0;
	border: 6px solid rgba(0, 0, 0, 0);
	border-top-color: rgba(0, 0, 0, .2);
}

.ms-options-wrap>.ms-options>ul input[type="checkbox"] {
	top: 9px;
}

.ms-options-wrap>.ms-options {
	width: calc(100% - 30px);
	margin-left: 15px;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: .25rem;
}

.select-control {
    font-size: 1.25rem;
    padding: 0;
    border: none;
}
.select-control option {
    padding: 8px 0px 8px 22px;
}
.select-control:focus {
    box-shadow: none;
}
/* toastr */
#toast-container>div {
	padding: 8px 30px 9px 40px;
	opacity: 1 !important;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100) !important;
	filter: alpha(opacity=100) !important;
	box-shadow: none;
	border-radius: 0px;
	background-size: 16px 16px;
	background-position: 13px center;
	background-repeat: no-repeat;
	border: 1px solid transparent;
}

#toast-container>div:hover {
	box-shadow: none;
}

#toast-container.toast-top-center>div,
#toast-container.toast-bottom-center>div {
	width: fit-content;
}

#toast-container.toast-top-full-width>div,
#toast-container.toast-bottom-full-width>div {
	width: 100%;
}

#toast-container>.toast-success {
	border-color: #54a754;
	background-color: #60c060;
}

#toast-container>.toast-error {
	border-color: #ca452e;
	background-color: #da4932;
}

#toast-container>.toast-info {
	border-color: #3a8ace;
	background-color: #4d90fd;
}

#toast-container>.toast-warning {
	border-color: #d68000;
	background-color: #fc9700;
}

/* bootbox */
div.bootbox.modal.fade.show {
	margin-top: -30px;
}

.bootbox .modal-dialog {
	width: 470px !important;
}

.bootbox.bootbox-password .modal-dialog {
	width: 350px !important;
}

.bootbox .modal-body {
	text-align: center;
}

.bootbox .modal-footer {
	border-width: 0px;
	justify-content: center;
}

.bootbox .btn {
	min-width: 70px;
	outline: 0;
}

.bootbox .btn:focus {
	box-shadow: none;
}

div.bootbox.modal.fade.show {
	z-index: 1070;
}

div.bootbox.modal.fade.show+div {
	z-index: 1060;
}


/*-- 
    Autocomplete
-----------------------------------------*/

.autocomplete-suggestions {
	box-sizing: border-box;
	background: #FFF;
	cursor: default;
	overflow: auto;
	border: 1px solid rgba(0, 0, 0, .18);
	box-shadow: 0px 2px 5.76px 0.24px rgba(0, 0, 0, 0.1);
}

.autocomplete-suggestion {
	padding: 7px 12px;
	font-size: 14px;
	font-weight: 400;
}

.autocomplete-no-suggestion {
	padding: 7px 12px;
}

.autocomplete-selected {
	background: #d8d8d8;
	font-weight: bold;
	
}

.autocomplete-suggestions strong {
	font-weight: bold;
	color: #045999;
}

.autocomplete-group {
	padding: 2px 5px;
	font-weight: bold;
	color: #000;
	display: block;
	border-bottom: 1px solid #000;
}

/**-- 
    - Preview
-----------------------------------------*/
.preview {
    position: relative;
}

.document {
    position: relative;
    padding: 1rem 2rem;
    background: #fff;
    border-radius: .25rem;
    border: 1px solid #dbdbdb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

/* loader */
.preloader {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	background: rgba(255, 255, 255, 0.4);
	display: table;
	text-align: center;
	z-index: 9;
}

.preloader.fill {
	background: rgba(255, 255, 255, 1);
}

.loader {
	display: table-cell;
	vertical-align: middle;
	position: relative;
}

.loader-icon {
	width: 48px;
	height: 48px;
	border: 6px solid #0052ec;
	border-right-color: #eee;
	border-radius: 50%;
	position: relative;
	animation: loader-rotate 1s linear infinite;
	margin: 0 auto
}

div.dataTables_wrapper div.dataTables_processing .loader {
	display: inline-block;
}

@keyframes loader-rotate {
	0% {
		transform: rotate(0)
	}

	100% {
		transform: rotate(360deg)
	}
}

@-webkit-keyframes spinner-border {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes spinner-border {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.spinner-border {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	vertical-align: text-bottom;
	border: 0.15em solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	-webkit-animation: spinner-border .75s linear infinite;
	animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
	width: 1.25rem;
	height: 1.25rem;
	border-width: 0.15em;
}

@-webkit-keyframes spinner-grow {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}

	50% {
		opacity: 1;
	}
}

@keyframes spinner-grow {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}

	50% {
		opacity: 1;
	}
}

.spinner-grow {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	vertical-align: text-bottom;
	background-color: currentColor;
	border-radius: 50%;
	opacity: 0;
	-webkit-animation: spinner-grow .75s linear infinite;
	animation: spinner-grow .75s linear infinite;
}

.spinner-grow-sm {
	width: 1rem;
	height: 1rem;
}


@media only screen and (max-width: 767px) {
	.label-right .col-form-label {
		text-align: left;
	}

	.auth .card-body {
		padding: 30px 25px 28px 25px;
	}
}

/* themes: green */
.themes-green .navbar.bg-dark {
	background-color: #1a8e5f !important;
}