﻿body, button, input, textarea {
	font-family: "Open Sans", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* CSS SweetAlert */
.swal2-container {
	z-index: 9999999;
}

.swal2-title {
	font-size: 16px !important;
}

.swal2-confirm.swal2-styled {
	background-color: #f28c30;
}

	.swal2-confirm.swal2-styled:hover {
		color: #fff;
		background-color: #d0611e;
		border-color: transparent;
		text-decoration: none;
	}

.swal2-cancel.swal2-styled {
	border-style: solid;
	background-color: #eff0f5;
	border-color: #dadada;
	color: #757575;
}

	.swal2-cancel.swal2-styled:hover {
		color: #757575;
		background-color: #dadada;
		border-color: transparent;
		text-decoration: none;
	}

.swal2-styled.swal2-cancel, .swal2-styled.swal2-confirm {
	font-size: 13px;
	min-width: 168px;
	margin-left: 12px;
	border-radius: .25rem;
}

.swal2-html-container {
	margin: 10px !important;
}

.swal2-cancel:focus {
	box-shadow: none;
}

/*div:where(.swal2-icon:has(.swal2-icon-content)) {
	border: none !important;
	border-color: transparent !important;
}*/

div:where(.swal2-icon) .swal2-icon-content {
	font-size: 2.75em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus {
	box-shadow: none !important;
}

.swal2-popup {
	padding: 1.25em 0 1.25em !important;
	width: 33em !important;
}

.swal2-icon:has(.fa-spin-pulse) {
	border: none;
	color: #f28c30;
	height: auto;
	margin: auto;
}
/* CSS SweetAlert */
/*CSS Select2*/
.select2 {
	width: 100% !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
	background-color: #f28c30;
	color: #fff;
}
/*CSS Select2*/
/* CSS Menu */
.main-header .nav-link {
	color: #fff !important;
}

.sidebar-dark-orange .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-orange .nav-sidebar > .nav-item > .nav-link.active {
	background-color: #fd7e14;
	color: #fff !important;
}

.dropdown-item.active, .dropdown-item:active {
	color: #000 !important;
	background-color: #e5a1263b !important;
}

.dropdown-item {
	padding-top: 0px;
	padding-bottom: 0px;
}

.nav-sidebar > .nav-header {
	border-top: 1px solid #dee2e6;
	font-size: 16px !important;
	text-transform: uppercase;
}

.nav-sidebar > .nav-item {
	font-size: 15px;
}

[class*="sidebar-light-"] .nav-treeview[menu-lv='1'] > .nav-item > .nav-link {
	padding-left: 1.5rem;
	font-size: 14px;
}

[class*="sidebar-light-"] .nav-treeview[menu-lv='2'] > .nav-item > .nav-link {
	padding-left: 2rem;
	font-size: 14px;
}

[class*=sidebar-light] .user-panel {
	border-bottom: none;
}

.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
	font-weight: 600;
}
/* CSS Menu */
/* CSS Right Menu */
.next-overlay-backdrop {
	opacity: 0.2 !important;
}

.next-overlay-wrapper .next-overlay-inner {
	z-index: 9999;
}

.next-overlay-header {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: start;
	align-items: flex-start;
	-ms-flex-pack: justify;
	justify-content: flex-end;
	padding: 1rem;
}

.next-overlay-body {
	position: relative;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.next-overlay-footer {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding: .75rem;
}

.expand_out_style.opened {
	-webkit-animation: expandOutLeft .3s;
	animation: expandOutLeft .3s;
}

.expand_out_style.closed {
	-webkit-animation: collapseInRight .3s;
	animation: collapseInRight .3s;
}

.deleteCloseBtn .close_icon {
	display: none;
}

.overlay_style {
	position: fixed;
	top: 0;
	right: 0;
	background: #fff;
	width: 500px;
	height: 100vh;
	z-index: 999;
	overflow: auto;
}

@keyframes expandOutLeft {
	0% {
		-webkit-transform: translateX(300px);
		transform: translateX(300px);
	}

	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes collapseInRight {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	100% {
		-webkit-transform: translateX(300px);
		transform: translateX(300px);
	}
}
/* CSS Right Menu */

/* CSS Footer */
.main-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 14px;
	align-items: flex-start;
	color: #000;
	padding-bottom: 1px;
}

.footer-title {
	color: #525252;
	font-size: 110%;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 30px;
	margin: 0;
	text-align: left;
}

.main-footer .ftr-body-contact-list {
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: -.1000000015px;
	line-height: 22px;
	list-style: none;
	padding: 0;
	text-align: left;
}

	.main-footer .ftr-body-contact-list span {
		font-weight: normal;
	}


@media (max-width: 991.98px) {
	.modal {
		min-width: auto !important;
	}

	.main-footer {
		flex-direction: column;
		align-content: center;
		align-items: center !important;
	}

		.main-footer div {
			padding: 3px 0px;
		}

		.main-footer .d-1 {
			order: 2;
		}

		.main-footer .d-2 {
			order: 1;
		}

		.main-footer .d-3 {
			order: 3;
		}

		.main-footer .d-4 {
			order: 4;
		}

		.main-footer .d-5 {
			order: 5;
		}
}
/* CSS Footer */

/* CSS Page */
a, .link {
	color: #343a40;
	cursor: pointer;
}

	.link.btn {
		padding: 1px 5px;
	}

	.link:hover, a:hover {
		color: #f57224;
	}

.link_hover:hover {
	border: 2px solid #f57224 !important;
	-webkit-box-shadow: 0 0 4px 0 #d2ffff !important;
	box-shadow: 0 0 4px 0 #d2ffff !important;
	cursor: pointer;
}

.btn:not(.note-btn, .btn-tool) {
	background: #f28c30;
	color: #fff;
	border-radius: .25rem;
	border-color: transparent;
	font-size: 13px;
}

.btn.btn-normal {
	color: #757575;
	border-style: solid;
	background-color: #eff0f5;
	border-color: #dadada;
}

	.btn.btn-normal:hover {
		color: #757575;
		background-color: #dadada;
		border-color: transparent;
		text-decoration: none;
	}

.btn-group > .btn:not(.note-btn) {
	border: 0.1px solid #eee;
}

/*.btn:not(.btn-navbar, .note-btn, .action, .dt-buttons button) {
	min-width: 168px;
}*/

.btn:hover:not(.note-btn) {
	color: #fff;
	background-color: #d0611e;
	border-color: transparent;
	text-decoration: none;
}

.next-btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	font-size: 1rem;
	line-height: 1.5;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	border-radius: .25rem;
	border-color: transparent;
}

button.next-btn {
	font-size: 14px;
	min-width: 150px;
	height: 40px;
	border-radius: .25rem;
}


label {
	margin-bottom: 0px;
	font-weight: normal !important;
}

.row:first-child {
	padding-bottom: 5px;
}

.row:not(:first-child) {
	padding: 5px 0 !important;
}

.equal-height > [class*='col-'] {
	display: flex;
}

	.equal-height > [class*='col-'] > .box-card {
		flex: 1;
	}

.modal-header {
	padding: 0.5rem 1rem;
}

.modal-body {
	padding: 5px 1rem;
}
/* CSS Page */
/* CSS Custom Page */
.box-title {
	font-size: 15px;
	color: #f28c30;
	font-weight: 600;
	margin: 0;
	padding: 0;
}

.title-info {
	background-color: #e5a1263b;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 2px;
	border-radius: 5px;
	height: 36px;
	width: 100%;
}

.page-title {
	text-decoration: none;
	font-size: 22px;
	color: #424242;
	margin-bottom: 0px;
}

.box-card {
	background-color: #fff;
	border-radius: 5px;
	padding: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s;
}

.fa.active {
	transform: rotate(180deg);
}

.toast {
	background-color: #fff !important;
	min-width: 280px;
}

.toasts-top-right i.mr-2 {
	font-size: 12px;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	text-align: center;
	line-height: 21px;
}

.mr-auto, .mx-auto {
	line-height: 21px;
}

i.success {
	background-color: #28a745;
	color: #fff;
}

i.warning {
	background-color: #ffc107;
	color: #fff;
}

i.info {
	background-color: #6db9fb;
	color: #fff;
}

i.error {
	background-color: red;
	color: #fff;
}

input[type="checkbox"] {
	height: 15px;
	width: 15px;
}

#toastsContainerTopRight {
	z-index: 10002;
}

.body_info .container {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 5px;
}

p {
	margin-bottom: 0rem;
}

.form-row {
	align-items: flex-end;
}

.list-bank-item-inner {
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto;
	min-height: 50px;
}

@media (max-width: 1440px) {
	section.content {
		transform: scale(0.9);
		transform-origin: top;
	}

	.modal > div {
		transform: scale(0.9);
		transform-origin: center;
	}
}
/* CSS Table */
div.dataTables_paginate {
	margin: 0;
	white-space: nowrap;
	text-align: right;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

	div.dataTables_paginate div.pagination {
		margin: 2px 0;
		white-space: nowrap;
		justify-content: flex-end;
	}

.page-item {
	position: relative;
	display: block;
	padding: .5rem .75rem;
	margin-left: -1px;
	line-height: 1.25;
	color: #f28c30;
	background-color: #fff;
	border: 1px solid #dee2e6;
	height: 33.5px;
}

	/*.page-item:not(.next, .previous) {
		width: 52px;
	}*/

	.page-item:hover {
		z-index: 2;
		color: #fff;
		text-decoration: none;
		background-color: #f28c30;
		border: 1px solid #f28c30;
	}

	.page-item.active {
		z-index: 3;
		color: #fff;
		background-color: #f39c12;
		border: 1px solid #f39c12;
	}

button.prevBtn {
	margin-left: 0;
	border-top-left-radius: .25rem;
	border-bottom-left-radius: .25rem;
}

button.nextBtn {
	border-top-right-radius: .25rem;
	border-bottom-right-radius: .25rem;
}

.pagination {
	align-items: center;
	border-top: 1px solid #ddd;
	border-radius: 0px;
	margin-top: 12px;
	padding: 0 16px;
	line-height: normal;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 0px;
}

	.pagination.top {
		border: none;
		margin-top: 0px;
	}

	.pagination .form-control, .pagination .pagination-input, .pagination .pagination-buttons {
		font-size: 13px;
	}

.pagination-right {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	padding: 0px;
	align-items: center;
	margin-top: 5px;
}

	.pagination-right:first-child {
		width: -webkit-fill-available;
	}

	.pagination-right:nth-child(n+2) {
		width: auto;
	}

.form-group.error span.error-message {
	min-height: 16px;
	line-height: 16px;
	font-size: 12px;
	padding-top: 4px;
	color: #f44336;
	display: block;
	margin-bottom: 0px;
	text-align: right;
}

.form-group.error label {
	color: #f44336;
}

.form-group.error input, .form-group.error .select2-selection {
	border: 1px solid #f44336;
}

/* Ẩn cả nút tăng và giảm trên input number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Cho Firefox */
input[type="number"] {
	-moz-appearance: textfield;
}

table.dataTable {
	overflow-wrap: break-word;
	/*padding-top: 10px;*/
	border-top: none;
}

	table.dataTable > tbody > tr.child ul.dtr-details {
		width: 100%;
	}

		table.dataTable > tbody > tr.child ul.dtr-details > li {
			display: flex;
			justify-content: space-between;
		}

	table.dataTable.dtfc-scrolling-right tr > .dtfc-fixed-right::after {
		box-shadow: none;
	}

div.dt-button-collection .dt-button {
	padding-top: 2px;
	padding-bottom: 2px;
}

	div.dt-button-collection .dt-button:hover {
		color: #fff !important;
		background-color: #f28c30 !important;
	}

div.dt-buttons {
	padding-bottom: 10px;
}

.table th {
	background-color: #f5f6f8 !important;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.modal-title.addform::before {
	font-family: "Font Awesome 5 Free"; /* Font của Font Awesome */
	content: "\f0fe"; /* Mã Unicode của biểu tượng fa-square-plus */
	display: inline-block; /* Hiển thị biểu tượng trên cùng một dòng với tiêu đề */
	margin-right: 5px; /* Khoảng cách giữa biểu tượng và tiêu đề */
}

.modal-title.upform::before {
	font-family: "Font Awesome 5 Free"; /* Font của Font Awesome */
	content: "\f044"; /* Mã Unicode của biểu tượng fa-square-plus */
	display: inline-block; /* Hiển thị biểu tượng trên cùng một dòng với tiêu đề */
	margin-right: 5px; /* Khoảng cách giữa biểu tượng và tiêu đề */
}

.modal-title.viewform::before {
	font-family: "Font Awesome 5 Free"; /* Font của Font Awesome */
	content: "\f15b"; /* Mã Unicode của biểu tượng fa-square-plus */
	display: inline-block; /* Hiển thị biểu tượng trên cùng một dòng với tiêu đề */
	margin-right: 5px; /* Khoảng cách giữa biểu tượng và tiêu đề */
}

.modal-title.moneyform::before {
	font-family: "Font Awesome 6 Free"; /* Font của Font Awesome */
	content: "\f53c"; /* Mã Unicode của biểu tượng fa-square-plus */
	display: inline-block; /* Hiển thị biểu tượng trên cùng một dòng với tiêu đề */
	margin-right: 5px; /* Khoảng cách giữa biểu tượng và tiêu đề */
	font-weight: 900;
}

.form-group {
	margin-bottom: 0px;
}

hr {
	margin-top: .5rem;
	margin-bottom: .5rem;
}

.no-dec-tax .ms-td .result-status {
	background: #ffeadc;
	color: #ff7f2c
}

.dec-tax .ms-td .result-status {
	background: #d5f2d2;
	color: #2ca01c
}

.ms-td .result-status {
	border-radius: 16px;
	padding: 5px 16px
}

.ms-td .text-overflow {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.ms-td .break-word {
	text-overflow: unset;
	white-space: pre-line
}

.ms-td div {
	line-height: 1.5
}

td.ms-td.ms-col-td {
	font-size: 13px;
}

.ms-td {
	padding: 0 16px;
	height: 48px;
	vertical-align: middle !important;
	cursor: pointer;
}

td.ms-td.ms-col-td div {
	max-height: 3.6em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.result-action {
	color: #fd7e14;
	cursor: default;
}

	.result-action.act:hover {
		cursor: pointer;
		color: #fff;
		text-decoration: none;
	}

.custom-control-input:checked ~ .custom-control-label::before {
	color: #fff;
	border-color: transparent;
	background-color: #f28c30;
	box-shadow: none;
}

.custom-control-input {
	z-index: 10051;
	width: 100% !important;
	line-height: 24px;
	cursor: pointer;
}

	.custom-control-input:disabled, .custom-control-input:read-only {
		opacity: 0 !important;
		background-color: #dee2e6;
	}

.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
	background-color: #dee2e6;
}

table.dataTable {
	width: 100% !important;
	overflow-wrap: break-word;
	padding-top: 0px;
	border-top: 1px solid #dee2e6;
}

.error-message {
	display: block;
	height: 16px;
}

.form-control:focus, input:focus {
	outline: transparent;
	border-color: #f28c30;
	color: #f28c30;
	box-shadow: none;
}

/*.modal {
	height: auto;
	min-width: 950px;
	width: auto;
	padding-right: 0px !important;
}

.modal-dialog.modal-dialog-scrollable {
	margin: auto;
}

.modal-backdrop.show {
	opacity: 0;
}

.modal.show .modal-dialog {
	margin: 0;
}*/

/* Mật khẩu */
.password-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	font-weight: 600;
	color: rgba(0, 0, 0, .75);
	right: 20px;
	cursor: pointer
}

	.password-btn > span:nth-child(2) {
		display: none
	}

[data-password-shown] .password-btn > span:nth-child(1) {
	display: none
}

[data-password-shown] .password-btn > span:nth-child(2) {
	display: block
}

/* Định dạng màu cho biểu tượng mũi tên trên nút Apply và Cancel */
.daterangepicker .applyBtn::after,
.daterangepicker .cancelBtn::after {
	color: #f28c30;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
	background-color: #f28c30;
	border-color: transparent;
	color: #fff;
}

.daterangepicker td.in-range {
	background-color: #f28c30;
	border-color: transparent;
	color: #fff;
	border-radius: 0;
}

.daterangepicker .ranges li.active {
	background-color: #f28c30;
	color: #fff;
}

.input-wrap .icon-wrap {
	font-size: 12px;
	color: gray;
	position: absolute;
	top: 50px;
	transform: translateX(0px);
	cursor: pointer;
	z-index: 10;
}

	.input-wrap .icon-wrap.icon-left {
		left: 8px; /* Điều chỉnh vị trí của icon bên trái theo nhu cầu */
	}

	.input-wrap .icon-wrap.icon-right {
		right: 8px; /* Điều chỉnh vị trí của icon bên phải theo nhu cầu */
	}

.input-group-append .btn:focus, .input-group-prepend .btn:focus {

	color: #fff;
	border: none;
}

.form-control:disabled, .form-control[readonly] {
	background-color: #cccccc30 !important;
	opacity: 1;
}

.dt-scroll-headInner {
	width: 100% !important;
}

button:focus:not(:focus-visible) {
	outline: 0;
	box-shadow: none !important;
}

.input-group {
	align-items: center !important;
}

/* Upload file */
.upload-drop-zone {
	width: 100%;
	height: 150px;
	border: 2px dashed #ccc;
	text-align: center;
	padding: 20px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 25px;
}

	.upload-drop-zone.drag-over {
		background-color: #f0f0f0;
	}

	.upload-drop-zone.drag-over {
		background-color: #f0f0f0;
	}

	.upload-drop-zone.disabled {
		opacity: 0.5;
		pointer-events: none;
	}