#main-container.bg-white .block {
	box-shadow: none !important;
}

.text-uppercase {
	letter-spacing: normal !important;
}

.no-resize {
	resize: none !important;
}

/* FIX NOTIFY */
[data-notify="container"] {
    z-index: 2000 !important;
}

/* NAV-HORIZONTAL-SCROLLING */
@media (max-width: 425px) {
	.nav-horizontal-scrolling {
		white-space: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		display: block;
	}
	.nav-horizontal-scrolling li {
		display: table-cell;
		float: none;
	}
}

/* FIX DARK MODE JSTREE */
.dark-mode .jstree-anchor {
    color: #fff !important;
}
.dark-mode .jstree-anchor.jstree-clicked,
.dark-mode .jstree-anchor.jstree-hovered {
    background-color: rgb(255 255 255 / 30%) !important;
}

/* FIX FULL DARK NAV HORIZONTAL IN BLOCK */
.dark-mode .block .nav-main-link:hover, 
.dark-mode .block .nav-main-link:focus {
	color: #fff;
    background-color: rgba(0, 0, 0, 0.2);
}
.dark-mode .block .nav-main-link, 
.dark-mode .block .nav-main-link {
	color: #90a0b7;
}

/* TAGS INPUT FIX DARK MODE */
.dark-mode .bootstrap-tagsinput {
	background-color: #171e28 !important;
    border: 1px solid #2e3c51 !important;
}
.dark-mode .bootstrap-tagsinput input {
	color: #fff !important;
	line-height: 1.5 !important;
}

/* CKEDITOR */
.cke_editable {
	font-family: inherit !important;
	font-size: inherit !important;
}

/* FIX RTL */
.rtl * {
	direction: rtl;
	text-align: right;
}

.rtl .rtlreset *,
.rtl .rtlreset {
	direction: ltr !important;
	text-align: left !important;
}

/* PASSWORD SHOW/HIDE */
.password-toggle {
	cursor: pointer !important;
}

/* FIX Z-INDEX FOR PLUGIN */
form .js_validate_field {
	position: relative !important;
}

.mfp-bg,
.mfp-wrap {
	z-index: 2000 !important;
}

.mfp-content {
	z-index: 2000 !important;
}

/* FIX SELECT2 ON MODAL */
.select2-container .select2-selection.select2-selection--multiple .select2-search.select2-search--inline .select2-search__field:not([placeholder='']),
.select2-container .select2-selection.select2-selection--single .select2-search.select2-search--inline .select2-search__field:not([placeholder='']) {
	width: 100% !important;
	*margin-right: 100000px;
}

.modal .select2-container--default .select2-selection--multiple,
.modal .select2-container--default .select2-selection--single {
	display: flex !important;
	align-items: center !important;
	border-color: #dfe3ea !important;
	border-radius: .25rem !important;
	height: calc(1.5em + .75rem + 2px) !important;
}

.modal .select2-container--default .select2-selection--multiple .select2-selection__choice,
.modal .select2-container--default .select2-selection--single .select2-selection__choice {
	margin: .25rem .25rem .25rem 0 !important;
	margin-top: 0.25rem !important;
	margin-right: 0.25rem !important;
	height: 1.375rem !important;
	line-height: 1.375rem !important;
	color: #fff !important;
	font-size: .875rem !important;
	font-weight: 600 !important;
	border: none !important;
	border-radius: .25rem !important;
}

.modal .select2-container--default .select2-selection--multiple .select2-selection__rendered,
.modal .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-right: .75rem !important;
	padding-left: .75rem !important;
}

.modal .select2-container--default.select2-container--focus .select2-selection--multiple,
.modal .select2-container--default.select2-container--focus .select2-selection--single,
.modal .select2-container--default.select2-container--open .select2-selection--multiple,
.modal .select2-container--default.select2-container--open .select2-selection--single {
	border-color: #a6bcee !important;
	box-shadow: 0 0 0 .25rem rgba(76, 120, 221, .25) !important;
	outline: 0 !important;
}

.modal .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
.modal .select2-container--default .select2-selection--single .select2-selection__choice__remove {
	margin-right: 5px !important;
	color: rgba(255, 255, 255, .5) !important;
}

.modal .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: inherit !important;
	top: inherit !important;
}

.modal .select2-container--default .select2-selection--single .select2-selection__rendered {
	height: auto !important;
}

.modal .select2-selection__rendered {
	width: max-content !important;
}

.dark-mode .modal .select2-container--default .select2-selection--multiple, 
.dark-mode .modal .select2-container--default .select2-selection--single {
	border: 1px solid #2e3c51 !important;
}

/* TINYMCE 6 CUSTOM */
.mce-content-body p {
	padding: 0px !important;
	margin: 0px !important;
}

.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before {
	left: 15px !important;
}

.tox-tinymce {
	border-radius: 4px !important;
}

/* CKEDITOR 5 CUSTOM */
.ck.ck-editor__editable_inline>p {
	margin: 0px !important;
}

.ck-editor__editable {
	min-height: 200px;
	padding: 15px 15px !important;
}

/* DATATABLES */
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, 
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
	content: "\27A4";
}

div.dataTables_scrollBody {
	border-left: inherit !important;
}

table.dataTable>tbody>tr td p {
	margin: 0px !important;
	padding: 0px !important;
}

table.dataTable>tbody>tr.selected>* {
	box-shadow: inherit !important;
	color: inherit !important;
}

ul.dtr-details {
	width: 100%;
}

div.dtsp-panesContainer button.dtsp-clearAll,
div.dtsp-panesContainer button.dtsp-collapseAll,
div.dtsp-panesContainer button.dtsp-showAll {
	padding: 1px 10px !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control {
	padding-left: 35px !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control::before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control::before {
	margin-top: -8px !important;
	border: inherit !important;
	box-shadow: inherit !important;
	text-indent: 0 !important;
	border-radius: 4px !important;
	font-weight: bold;
}

div.dataTables_processing>div:last-child {
	display: none !important;
}

div.dataTables_processing {
	position: absolute !important;
	top: 50% !important;
	left: inherit !important;
	width: 100% !important;
	margin-left: inherit !important;
	margin-top: -30px !important;
	text-align: center !important;
	padding: 20px !important;
	border: 0 !important;
	background: transparent !important;
	z-index: 1000;
}

/*
div.dataTables_processing {
    position: absolute !important;
    top: 5% !important;
    bottom: 0;
    left: inherit !important;
    width: 100% !important;
    margin-left: inherit !important;
    margin-top: -30px !important;
    text-align: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgb(235 238 242 / 50%);
    z-index: 1000;
}
*/

div.dataTables_processing div {
	margin: auto;
}

div.dataTables_scrollFootInner table.table-bordered tr th:first-child,
div.dataTables_scrollHeadInner table.table-bordered tr th:first-child {
	border-left: 1px solid #ebeef2 !important;
}

table.dataTable tbody tr>.dtfc-fixed-left,
table.dataTable tbody tr>.dtfc-fixed-right {
	border-color: #ebeef2;
}

table.dataTable thead tr>.dtfc-fixed-left,
table.dataTable thead tr>.dtfc-fixed-right {
	border-color: #ebeef2;
}

/* DATATABLES DARK MODE FIX */
.dark-mode .dt-button-collection {
	background-color: #232e3e !important;
}

.dark-mode .dt-button-collection .dtsp-panes.dtsp-panesContainer {
	color: initial !important;
}

.dark-mode .dt-button-collection .dtsp-panes.dtsp-panesContainer table {
	color: initial !important;
}

.dark-mode .dt-button-collection table.dataTable>tbody>tr {
	background-color: #19222d !important;
	color: #fff !important;
}

.dark-mode .dt-button-collection div.dtsp-topRow.dtsp-bordered {
	border: 0px solid #f0f0f0 !important;
}

.dark-mode .dt-button-collection div.dtsp-topRow.dtsp-bordered:hover {
	background-color: transparent !important;
}

.dark-mode .dt-button-collection div.dtb-popover-close {
	border: 1px solid #19222d !important;
	background-color: #19222d !important;
}

.dark-mode .dt-button-collection div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody {
	background: #19222d !important;
}

.dark-mode .dt-button-collection div.dtsp-panesContainer div.dtsp-title {
	color: #fff !important;
}

.dark-mode .dt-button-collection div.dtsp-panesContainer div.dtsp-searchPane div.dataTables_wrapper {
	border: 0px #f0f0f0 solid !important;
}

.dark-mode .dt-button-collection div.dtsp-panesContainer div.dtsp-searchPane div.dataTables_wrapper:hover {
	border: 0px #f0f0f0 solid !important;
}

.dark-mode .dt-button-collection div.dtsp-panesContainer div.dtsp-nameCont span.dtsp-name,
.dark-mode .dt-button-collection div.dtsp-panesContainer div.dtsp-nameCont span.dtsp-pill {
	cursor: pointer !important;
}

.dark-mode .dt-button-collection div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow button {
	border: 1px solid #19222d !important;
}

.dark-mode div.dataTables_scrollFootInner table.table-bordered tr th:first-child,
.dark-mode div.dataTables_scrollHeadInner table.table-bordered tr th:first-child {
	border-left: 1px solid #141a23 !important;
}

.dark-mode table.dataTable thead tr>.dtfc-fixed-left,
.dark-mode table.dataTable thead tr>.dtfc-fixed-right {
	background-color: #1f2937 !important;
	border-color: #141a23 !important;
}

.dark-mode table.dataTable tbody tr>.dtfc-fixed-left,
.dark-mode table.dataTable tbody tr>.dtfc-fixed-right {
	background-color: #1f2937 !important;
	border-color: #141a23;
}

.dark-mode table.dataTable.fixedHeader-floating,
.dark-mode table.dataTable.fixedHeader-locked {
	background-color: #1f2937 !important;
}

.dark-mode div.dtfc-left-top-blocker,
.dark-mode div.dtfc-right-top-blocker {
	background-color: #141a23;
}

/* NESTABLE */
.dd {
	max-width: inherit !important;
}

.dd-handle {
	height: auto !important;
	cursor: grabbing;
}

/* ALERTS */
.alert p {
	margin: 0px !important;
}

/* TAGSINPUT */
.bootstrap-tagsinput input {
	width: 114px !important;
}

/* BUTTON FILE */
.btn-file {
	position: relative;
	overflow: hidden;
}

.btn-file input[type=file] {
	position: absolute;
	top: 0;
	min-width: 100%;
	min-height: 100%;
	text-align: right;
	opacity: 0;
	outline: none;
	background: white;
	display: block;
	cursor: pointer;
	right: 0;
}

/* FORM VALIDATION WITH CHECK EXISTS */
input.valid {
	border-color: #65a30d;
}

input.valid:focus {
	border-color: #65a30d;
	box-shadow: 0 0 0 .25rem rgba(101, 163, 13, .25);
}

input.invalid:focus {
	border-color: #dc2626;
	box-shadow: 0 0 0 .25rem rgba(220, 38, 38, .25);
}

input.invalid {
	border-color: #dc2626;
}

/* MESSAGES PAGE */
#message-wrapper p {
	padding: 0px !important;
	margin: 0px !important;
}

/* ADDCHAT CUSTOM */
#addchat-bot,
#addchat-bot-admin,
#addchat-bot-admin .ca-card,
#addchat-bot .c-guestbox,
#addchat-bot-admin .c-guestbox,
#addchat-bot .c-chatbox,
#addchat-bot-admin .c-chatbox {
	border-radius: 0px !important;
}

#addchat-bot .c-contacts .c-contact,
#addchat-bot .c-contacts .c-group,
#addchat-bot .c-groups .c-contact,
#addchat-bot .c-groups .c-group,
#addchat-bot-admin .c-contacts .c-contact,
#addchat-bot-admin .c-contacts .c-group,
#addchat-bot-admin .c-groups .c-contact,
#addchat-bot-admin .c-groups .c-group {
	border-radius: 0px !important;
}

#addchat-bot-admin .ca-sidebar-list-item {
	margin: 0 auto 5px auto !important;
}

/* BS5 BORDER */
@media (min-width: 576px) {
	.border-sm-top {
		border-top: 1px solid #e3e7eb !important;
	}

	.border-sm-right {
		border-right: 1px solid #e3e7eb !important;
	}

	.border-sm-bottom {
		border-bottom: 1px solid #e3e7eb !important;
	}

	.border-sm-left {
		border-left: 1px solid #e3e7eb !important;
	}

	.border-sm-top-0 {
		border-top: 0 !important;
	}

	.border-sm-right-0 {
		border-right: 0 !important;
	}

	.border-sm-bottom-0 {
		border-bottom: 0 !important;
	}

	.border-sm-left-0 {
		border-left: 0 !important;
	}

	.border-sm-x {
		border-left: 1px solid #e3e7eb !important;
		border-right: 1px solid #e3e7eb !important;
	}

	.border-sm-y {
		border-top: 1px solid #e3e7eb !important;
		border-bottom: 1px solid #e3e7eb !important;
	}

	.border-sm {
		border-top: 1px solid #e3e7eb !important;
		border-bottom: 1px solid #e3e7eb !important;
		border-left: 1px solid #e3e7eb !important;
		border-right: 1px solid #e3e7eb !important;
	}

	.border-sm-0 {
		border-top: 0 !important;
		border-bottom: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
	}
}

@media (min-width: 768px) {
	.border-md-top {
		border-top: 1px solid #e3e7eb !important;
	}

	.border-md-right {
		border-right: 1px solid #e3e7eb !important;
	}

	.border-md-bottom {
		border-bottom: 1px solid #e3e7eb !important;
	}

	.border-md-left {
		border-left: 1px solid #e3e7eb !important;
	}

	.border-md-top-0 {
		border-top: 0 !important;
	}

	.border-md-right-0 {
		border-right: 0 !important;
	}

	.border-md-bottom-0 {
		border-bottom: 0 !important;
	}

	.border-md-left-0 {
		border-left: 0 !important;
	}

	.border-md-x {
		border-left: 1px solid #e3e7eb !important;
		border-right: 1px solid #e3e7eb !important;
	}

	.border-md-y {
		border-top: 1px solid #e3e7eb !important;
		border-bottom: 1px solid #e3e7eb !important;
	}

	.border-md {
		border-top: 1px solid #e3e7eb !important;
		border-bottom: 1px solid #e3e7eb !important;
		border-left: 1px solid #e3e7eb !important;
		border-right: 1px solid #e3e7eb !important;
	}

	.border-md-0 {
		border-top: 0 !important;
		border-bottom: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
	}
}

@media (min-width: 992px) {
	.border-lg-top {
		border-top: 1px solid #e3e7eb !important;
	}

	.border-lg-right {
		border-right: 1px solid #e3e7eb !important;
	}

	.border-lg-bottom {
		border-bottom: 1px solid #e3e7eb !important;
	}

	.border-lg-left {
		border-left: 1px solid #e3e7eb !important;
	}

	.border-lg-top-0 {
		border-top: 0 !important;
	}

	.border-lg-right-0 {
		border-right: 0 !important;
	}

	.border-lg-bottom-0 {
		border-bottom: 0 !important;
	}

	.border-lg-left-0 {
		border-left: 0 !important;
	}

	.border-lg-x {
		border-left: 1px solid #e3e7eb !important;
		border-right: 1px solid #e3e7eb !important;
	}

	.border-lg-y {
		border-top: 1px solid #e3e7eb !important;
		border-bottom: 1px solid #e3e7eb !important;
	}

	.border-lg {
		border-top: 1px solid #e3e7eb !important;
		border-bottom: 1px solid #e3e7eb !important;
		border-left: 1px solid #e3e7eb !important;
		border-right: 1px solid #e3e7eb !important;
	}

	.border-lg-0 {
		border-top: 0 !important;
		border-bottom: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
	}
}

@media (min-width: 1200px) {
	.border-xl-top {
		border-top: 1px solid #e3e7eb !important;
	}

	.border-xl-right {
		border-right: 1px solid #e3e7eb !important;
	}

	.border-xl-bottom {
		border-bottom: 1px solid #e3e7eb !important;
	}

	.border-xl-left {
		border-left: 1px solid #e3e7eb !important;
	}

	.border-xl-top-0 {
		border-top: 0 !important;
	}

	.border-xl-right-0 {
		border-right: 0 !important;
	}

	.border-xl-bottom-0 {
		border-bottom: 0 !important;
	}

	.border-xl-left-0 {
		border-left: 0 !important;
	}

	.border-xl-x {
		border-left: 1px solid #e3e7eb !important;
		border-right: 1px solid #e3e7eb !important;
	}

	.border-xl-y {
		border-top: 1px solid #e3e7eb !important;
		border-bottom: 1px solid #e3e7eb !important;
	}

	.border-xl {
		border-top: 1px solid #e3e7eb !important;
		border-bottom: 1px solid #e3e7eb !important;
		border-left: 1px solid #e3e7eb !important;
		border-right: 1px solid #e3e7eb !important;
	}

	.border-xl-0 {
		border-top: 0 !important;
		border-bottom: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
	}
}

/* Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) {
	.h-xs-auto {
		height: auto !important;
	}
}