/* --------------- Global form control  --------------- */

form .bootstrap-select > .dropdown-toggle {
	border-radius: 0.35rem !important;
}

/* --------------- select --------------- */

.bootstrap-select {
	min-width: 100px;
}

.bootstrap-select .dropdown-menu {
	min-width: 100% !important;
	padding: 0;
	max-height: 400px !important;
}

.bootstrap-select .dropdown-toggle .filter-option {
	width: calc(100% - 11px) !important;
}

.bootstrap-select .dropdown-menu.inner > li.selected > a span.check-mark,
.bootstrap-select .dropdown-menu.inner > li:hover > a span.check-mark {
	font-size: 1rem;
	top: calc(50% - 0.4rem);
	font-weight: 600;
	color: #6c7293;
}

select.bs-select-hidden,
.bootstrap-select > select.bs-select-hidden {
	display: inline-block !important;
	min-width: 100px;
	height: 35px !important;
}

select.selectpicker.form-control[multiple] option {
	display: none;
}

.bootstrap-select > .dropdown-toggle:after {
	margin-right: 3px;
}

.bootstrap-select .dropdown-menu.inner > li.selected > a svg {
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	font-size: 0.85rem;
	right: 1rem;
	display: inline-block;
}

.bootstrap-select .dropdown-menu li a svg {
	display: none;
}

.bootstrap-select .dropdown-menu.inner > li.selected > a svg,
.bootstrap-select .dropdown-menu.inner > li:hover > a svg {
	font-size: 1rem;
	font-weight: 600;
	color: #6c7293;
}

.dropdown-menu {
	z-index: 96 !important;
}

select.selectpicker:not(.hidden) {
	display: inline-block !important;
	color: #80808F;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.bootstrap-select > select.selectpicker {
	display: none !important;
}

select.selectpicker.select-picker-sm:not(.hidden),
select.selectpicker.form-control-sm:not(.hidden):not(.select-picker-xs) {
	height: calc(1.35em + 1.1rem + 2px);
	min-width: 100px;
	padding: 0 0.68rem !important;
	overflow: hidden;
}

select.selectpicker.select-picker-xs:not(.hidden) {
	height: calc(1.5em + 0.9rem) !important;
	min-width: 100% !important;
	padding: 0 0.68rem !important;
}

select.form-control.select2 {
	-webkit-appearance: none;
	-moz-appearance: none;
	opacity: 1;
}

.bootstrap-select:not(.select-picker-xs):not(.select-picker-sm):not(.form-control-sm) > button.dropdown-toggle {
	height: calc(1.5em + 1.3rem + 2px);
	padding: 0 1rem !important;
}

.bootstrap-select > button.dropdown-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}

.bootstrap-select.bootstrap-select--sm > button.dropdown-toggle {
	height: calc(1.5em + 1rem + -1px) !important;
	padding: .5rem 1rem !important;
}

.bootstrap-select > button.dropdown-toggle > .filter-option > .filter-option-inner > .filter-option-inner-inner {
	font-weight: normal;
	font-size: 1rem;
}

.bootstrap-select.bootstrap-select--sm > button.dropdown-toggle > .filter-option > .filter-option-inner > .filter-option-inner-inner,
.bootstrap-select.form-control-sm > button.dropdown-toggle > .filter-option > .filter-option-inner > .filter-option-inner-inner {
	font-weight: normal;
	font-size: 0.925rem;
}

.bootstrap-select.bootstrap-select--size100 {
	width: 100% !important;
}

.form-control-sm.bootstrap-select > button.dropdown-toggle {
	height: calc(1.5em + 1rem + 2px);
	padding: .5rem 1rem !important;
}

.form-control-sm {
	border-radius: 0.42rem;
}

.bootstrap-select.select-picker-sm > button.dropdown-toggle,
.bootstrap-select.select-picker-sm > button.dropdown-toggle,
.bootstrap-select.form-control-sm > button.dropdown-toggle {
	padding: 0 .68rem !important;
	font-size: .875rem;
	line-height: 1.5;
}

.bootstrap-select.select-picker-xs > button.dropdown-toggle {
	height: calc(1.5em + 0.9rem) !important;
}

.bootstrap-select.select-picker-xs > .dropdown-toggle:after {
	margin-top: 1px;
}

.bootstrap-select.select-picker-xs > button.dropdown-toggle,
.bootstrap-select.form-control-xs > button.dropdown-toggle {
	height: calc(1.5em + 0.9rem);
}

.bootstrap-select > button.dropdown-toggle > .filter-option > .filter-option-inner {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
}

select.selectpicker::-webkit-input-placeholder,
select.selectpicker option[value=""] {
	color: rgb(105, 112, 119) !important;
}

.btn.dropdown-toggle:after {
	margin-left: 10px;
}

.bootstrap-select .dropdown-menu,
.bootstrap-select .dropdown-menu > .inner {
	min-height: auto !important;
}

.bootstrap-select > select.mobile-device:focus + .dropdown-toggle,
.bootstrap-select .dropdown-toggle:focus {
	outline: none !important;
	outline-offset: -2px;
}

.select2 > .selection > .select2-selection {
	min-height: calc(1.35em + 1.1rem + 1px);
}

.select2--input-group-prepend + .select2-container > .selection > .select2-selection {
	border-left: none;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.bootstrap-select .dropdown-menu.inner > li:first-of-type.selected > a .text {
	color: #6c7293;
	font-size: 0.9rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after,
.select2-container--default .select2-selection--multiple .select2-selection__arrow:after {
	position: absolute;
	right: -3px;
	top: -4px;
}

.select2-container--default .select2-search--dropdown {
	padding: 10px;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple,
.select2-container--default.select2-container--disabled .select2-selection--single {
	border-color: #e2e5ec !important;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
	border-left: 0px solid #e2e5ec;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-bottomleft: 0px;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
	border-color: #ebedf2;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #6c7293;
	text-align: center;
	padding-right: 50px;
}

.input-group .input-group-prepend .input-group-text {
	background-color: white;
	border-right: white solid 0px;
}

.input-group .input-group-prepend + input.form-control,
.input-group .input-group-prepend + input.form-control:focus {
	border-left: 0px !important;
}

.input-group .input-group-prepend + input.form-control:focus, .input-group input.form-control:focus {
	border-left: 1px #b8daff solid !important;
}

.input-group label.kt-checkbox {
	padding-left: 30px;
	margin-left: 15px;
}

.input-group-prepend {
	/*margin-right: -2px;*/
	/*max-height: 36px;*/
}

.input-group > .input-group-prepend + input,
.input-group > .input-group-prepend + div .select2-selection__rendered {
	/*padding-left: 0 !important;*/
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
	text-align: left;
}

label.custom-checkbox, label.custom-checkbox-classic {
	margin-top: 0.25rem;
}

form.form-horizontal label.custom-checkbox, form.form-horizontal label.custom-checkbox-classic {
	height: 22px;
	min-width: 22px;
}

.dataGrid .bulkAction label.custom-checkbox, .dataGrid .bulkAction label.custom-checkbox-classic {
	width: 22px;
}

.form-inline .checkbox {
	margin-left: 7px;
	margin-right: 7px;
}

.input-group-text {
	color: #6c7293;
	font-size: 0.9rem;
}

.bootstrap-select.disabled > .dropdown-toggle.bs-placeholder.btn {
	background: #f7f8fa !important;
	pointer-events: none;
}

/* --------------- dropdown --------------- */

div.dropdown-menu {
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.12);
	border: none;
}

.bootstrap-select .dropdown-menu.inner > li > a .text {
	color: #6c7293;
}

.dropdown-menu .dropdown-item--icon {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 30px;
	flex: 0 0 30px;
	font-size: 1.2rem;
	line-height: 0;
	margin-right: 5px;
}

.dropdown-menu .dropdown-item--icon > svg {
	color: #adb1c7;
}

.dropdown-menu li:hover .dropdown-item--icon > svg {
	color: #6c7293;
}

.dropdown-menu .dropdown-item--text {
	color: #646c9a;
}

.dropdown-item.active, .dropdown-item {
	padding: 0.55rem 1.25rem;
}

.dropdown-item.active, .dropdown-item:active {
	background-color: #f7f8fa !important;
	color: #141414;
}

.dropdown-menu > li > a > i,
.dropdown-menu > li > a > svg,
.dropdown-menu > .dropdown-item > svg,
.dropdown-menu > .dropdown-item > i {
	font-size: 1rem !important;
	margin-right: 8px;
	margin-top: 3px;
}

.dropdown-menu > .dropdown-item:active,
.dropdown-menu > li > a:active {
	text-decoration: none;
	background-color: #f8f9fa;
	color: #797b8a;
}

.dropdown-menu li.divider {
	height: 1px;
	margin: 9px 0;
	overflow: hidden;
	background-color: #ebedf2;
}

.btn-dropdown > .fa-angle-down {
	margin-left: 5px;
	vertical-align: middle;
}

.bootstrap-select .dropdown-menu li {
	font-size: 0.9rem;
}

.bootstrap-select .dropdown-menu.inner > li > a {
	padding: 9px 15px;
}

/* --------------- Nav bar --------------- */

.nav-tabs.nav-tabs-line.nav.nav-tabs .nav-link:hover,
.nav-tabs.nav-tabs-line.nav.nav-tabs .nav-link.active,
.nav-tabs.nav-tabs-line a.nav-link:hover,
.nav-tabs.nav-tabs-line a.nav-link.active {
	border-bottom: 1px solid var(--info);
}

.nav-tabs .nav-item .nav-link.active,
.nav-tabs .nav-item .nav-link:active,
.nav-tabs .nav-item .nav-link:hover {
	text-decoration: none !important;
}

.nav-tabs .nav-item .nav-link.active,
.nav-tabs .nav-item .nav-link:active,
.nav-tabs .nav-item .nav-link:hover {
	color: #464457;
}

.nav-tabs .nav-item .nav-link {
	position: relative;
	color: #464457;
	cursor: pointer;
}

.nav-tabs .nav-item .nav-link > i {
	color: #464457;
}

.nav.nav-tabs.nav-tabs-line .nav-link {
	padding-left: 1rem;
	padding-right: 1rem;
	margin-left: 0;
}

.nav-tabs .nav-item .nav-link.active,
.nav-tabs .nav-item .nav-link:active {
	cursor: default;
}

.nav-tabs.nav-tabs-line .nav-item {
	min-width: 50px;
}

.nav-link.dropdown-toggle:after {
	margin-left: 2px;
}

/* --------------- toast --------------- */

.toast .toast-close-button:before {
	font-family: "Font Awesome 6 Pro";
	content: "\f00d";
}

.toast-top-right {
	top: 62px;
}

#toast-container > div {
	min-width: 25vw;
}

@media (max-width: 1600px) {
	#toast-container > div {
		min-width: 35vw;
	}
}

@media (max-width: 1200px) {
	#toast-container > div {
		min-width: 50vw;
	}
}

@media (max-width: 768px) {
	#toast-container > div {
		min-width: 75vw;
	}
}

#toast-container > div .toast-close-button {
	top: 5px !important;
	right: 7px;
	opacity: 0.5;
}

/* --------------- datetime-picker --------------- */

.datetimepicker td, .datetimepicker th {
	width: 30px !important;
	height: 30px !important;
}

.datetimepicker table tr td.active:active,
.datetimepicker table tr td.active:hover:active,
.datetimepicker table tr td.active.disabled:active,
.datetimepicker table tr td.active.disabled:hover:active,
.datetimepicker table tr td.active.active,
.datetimepicker table tr td.active:hover.active,
.datetimepicker table tr td.active.disabled.active,
.datetimepicker table tr td.active.disabled:hover.active {
	color: #fff !important;
	background-color: #286090 !important;
	border-color: #204d74 !important;
}

.datepicker.dropdown-menu {
	z-index: 9999 !important;
}

.toast-close-button:focus, .toast-close-button:hover {
	color: transparent !important;
}

.toast .toast-close-button {
	position: absolute;
	top: 18px;
	right: 15px;
}

/* --------------- select 2 --------------- */

select.select2 {
	color: #6c7293;
}

.select2-container {
	max-width: 100%;
}

span.select2.select2-container {
	width: 100%;
}

.form-horizontal span.select2.select2-container {
	width: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:before {
	font-family: "Font Awesome 6 Pro";
	font-size: 0.75rem;
	content: "\f00d";
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
	width: 7px;
	height: 10px;
	margin: auto;
	position: absolute;
	right: 7px;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear:before {
	font-family: "Font Awesome 6 Pro";
	font-size: 0.75rem;
	content: "\f00d";
	color: #80808F;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	outline: none !important;
	border-radius: 4px;
	height: auto;
	line-height: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--multiple .select2-selection__arrow {
	font-family: "Font Awesome 6 Pro";
	text-decoration: inherit;
	text-rendering: optimizeLegibility;
	text-transform: none;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	border: 0;
	top: 50%;
	position: absolute;
	margin-top: 0;
	margin-left: 0;
	font-size: 0.85rem;
	left: auto;
	right: 0;
	display: inline-block;
	width: 1.9rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b,
.select2-container--default .select2-selection--multiple .select2-selection__arrow b {
	display: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	position: relative;
	padding: .4rem 1rem;
	line-height: 1.5;
}

.select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__clear {
	border: 0;
	position: absolute;
	top: 50%;
	font-family: "LineAwesome";
	text-decoration: inherit;
	text-rendering: optimizeLegibility;
	text-transform: none;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	content: "";
	font-size: 1.4rem;
	display: inline-block;
	left: auto;
	right: 1.85rem;
	margin-right: 0.4rem;
	margin-top: -1rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	padding: 0.37rem 1rem 0.37rem 0.37rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
	padding: 0.05rem 0.4rem 0.05rem 0.4rem;
	font-size: 1rem;
	margin: 0.1rem 0.4rem 0.1rem 0;
	position: relative;
	float: left /*rtl:right*/;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
	font-family: "LineAwesome";
	text-decoration: inherit;
	text-rendering: optimizeLegibility;
	text-transform: none;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	content: "";
	font-size: 1.4rem;
	display: inline-block;
	line-height: 0;
	margin-right: 0.3rem;
	position: relative;
	top: 0.1rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	padding: 0 1rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search__field {
	font-weight: 300;
	margin: 0.25rem;
	font-size: 0.925rem;
	width: auto !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	outline: none !important;
	border-radius: 4px;
}

.select2-container--default .select2-search--dropdown {
	padding: 15px 15px;
	border-bottom: 1px solid #efeeee;
}

.select2-container--default .select2-results__option {
	padding: 10px 15px;
	border-bottom: 1px solid #efeeee;
	cursor: pointer;
	color: #6c7293;
	font-weight: 400;
	font-size: 0.9rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__clear:after {
	display: none;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
	cursor: not-allowed;
}

.select2-container--default .select2-results__option .select2-results__group {
	padding: 5px 15px;
	font-weight: 600;
}

.select2-container--default .select2-results__option .select2-results__option {
	padding: 5px 30px;
}

.select2-container .select2-search--inline .select2-search__field {
	margin: 0;
}

select.select2 {
	opacity: 0;
}

.select2 > select.form-control {
	opacity: 0;
}

.input-group > .select2-hidden-accessible:first-child + .select2-container > .selection .select2-selection--single {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.input-group > .select2-hidden-accessible:first-child + .select2-container > .selection, .input-group > .select2-hidden-accessible:first-child + .select2-container > .selection.form-control {
	border-top-left-radius: 0;
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

.input-group > .select2-hidden-accessible:not(:first-child) + .select2-container:last-child > .selection .select2-selection--single {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group > .select2-hidden-accessible:not(:first-child) + .select2-container:last-child > .selection .select2-selection, .input-group > .select2-hidden-accessible:not(:first-child) + .select2-container:last-child > .selection .select2-selection.form-control {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group > .select2-hidden-accessible:first-child + .select2-container + .input-group-text,
.input-group > .select2-hidden-accessible:not(:first-child) + .select2-container + .input-group-text {
	border-left: 0;
}

.input-group > .select2-hidden-accessible:not(:first-child) + .select2-container:not(:last-child) > .selection .select2-selection--single {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group > .select2-hidden-accessible:not(:first-child) + .select2-container:not(:last-child) > .selection .select2-selection, .input-group > .select2-hidden-accessible:not(:first-child) + .select2-container:not(:last-child) > .selection .select2-selection.form-control {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
	border: 1px solid #e2e5ec;
}

.select2-container--default .select2-selection--multiple .select2-selection__placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #a7abc3;
	font-size: 0.925rem;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--default-border-color) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	display: block;
	padding-right: 40px;
	color: #6c7293;
	font-size: 0.9rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__clear {
	color: #80808F;
	top: 0;
	bottom: 0;
	margin: auto 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	color: #6c7293;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
	color: #a7abc3;
	background: #f7f8fa;
	border: 1px solid #ebedf2;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
	color: #a7abc3;
	top: 1px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search__field::-moz-placeholder {
	color: #a7abc3;
	opacity: 1;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search__field:-ms-input-placeholder {
	color: #a7abc3;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search__field::-webkit-input-placeholder {
	color: #a7abc3;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid #e2e5ec;
	font-size: 0.9rem;
}

.select2-container--default .select2-dropdown {
	border: 1px solid #e2e5ec;
	-webkit-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
	box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
}

.select2-container--default .select2-results__option[aria-selected=true] {
	background: #f7f8fa;
	color: #a7abc3;
}

.select2-container--default .select2-results__option.select2-results__option--highlighted {
	background: #f7f8fa;
	color: #6c7293;
}

.select2-container--default.select2-container--disabled {
	cursor: not-allowed;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple,
.select2-container--default.select2-container--disabled .select2-selection--single {
	cursor: not-allowed;
	background: #f7f8fa;
	border-color: #a7abc3;
}

.select2.select2--air .select2-container--default .select2-selection--single,
.select2.select2--air .select2-container--default .select2-selection--multiple {
	-webkit-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
	box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
}

.select2.select2--solid .select2-container--default .select2-selection--multiple,
.select2.select2--solid .select2-container--default .select2-selection--single {
	background-color: #f7f8fa;
	border-color: #ebedf2;
}

.select2.select2--solid .select2-container--default .select2-selection--multiple .select2-selection__placeholder,
.select2.select2--solid .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #a7abc3;
}

.m-form.m-form--state .is-valid .select2-container--default .select2-selection--multiple,
.m-form.m-form--state .is-valid .select2-container--default .select2-selection--single {
	border-color: var(--success);
}

.m-form.m-form--state .is-valid .select2-container--default.select2-container--focus .select2-selection--multiple,
.m-form.m-form--state .is-valid .select2-container--default.select2-container--focus .select2-selection--single, .m-form.m-form--state .is-valid .select2-container--default.select2-container--open .select2-selection--multiple,
.m-form.m-form--state .is-valid .select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--success);
}

.m-form.m-form--state .is-invalid .select2-container--default .select2-selection--multiple,
.m-form.m-form--state .is-invalid .select2-container--default .select2-selection--single {
	border-color: var(--danger);
}

.m-form.m-form--state .is-invalid .select2-container--default.select2-container--focus .select2-selection--multiple,
.m-form.m-form--state .is-invalid .select2-container--default.select2-container--focus .select2-selection--single, .m-form.m-form--state .is-invalid .select2-container--default.select2-container--open .select2-selection--multiple,
.m-form.m-form--state .is-invalid .select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--danger);
}

/* --------------- bootstrap markdown --------------- */

.md-editor {
	border-radius: 4px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	outline: none !important;
}

.md-editor .md-footer,
.md-editor .md-header {
	padding: 10px 10px;
}

.md-editor .md-header {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.md-editor .md-header .btn-group {
	margin-right: 10px;
}

.md-editor .md-header .btn-group .btn {
	background: white !important;
	border: 1px solid #ebedf2 !important;
	color: #a7abc3 !important;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.md-editor .md-header .btn-group .btn:hover, .md-editor .md-header .btn-group .btn:focus, .md-editor .md-header .btn-group .btn:active, .md-editor .md-header .btn-group .btn.active {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	color: #6c7293;
	background: transparent;
}

.md-editor .md-footer {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.md-editor > textarea {
	padding: 10px 10px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.md-editor {
	border: 1px solid #e2e5ec;
}

.md-editor.active {
	border: 1px solid #e2e5ec;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.md-editor .md-footer,
.md-editor .md-header {
	background: #f7f8fa;
}

.md-editor > textarea {
	background: #f7f8fa;
	border-bottom: none;
}

.md-editor.active > textarea {
	background: #f7f8fa;
}

.md-editor > .md-preview {
	padding: 10px;
}

.bootstrap-select .dropdown-menu.inner > li.active:not(.selected) > a .text {
	color: #6c7293 !important;
}

/* --------------- Modals --------------- */

.modal-content form:not(.form-inline) .cms-form-buttons {
	border-top: 1px solid #e7ecf1;
	background: transparent !important;
	padding: 1.5rem 1.5rem 0 1.5rem !important;
	text-align: right !important;
	margin: 21px -21px -4px -21px !important;
}

.modal-content .cms-form-buttons > .form-group > div[class*="col-"] {
	padding: 0;
}

.modal .modal-content .modal-header .close:before {
	content: none;
}

.modal .modal-content .modal-header .close {
	padding: 0;
	margin: 0;
}

.modal-header > .modal-title > svg,
.modal-header > .modal-title > i {
	margin-right: 8px;
}

.modal-lg .modal-header button.close {
	position: absolute;
	right: 1.75rem;
}

.modal.modal--xl > .modal-dialog {
	max-width: 80vw;
}

.modal .modal-body h5 {
	font-size: 1.125rem;
}

@media (min-width: 992px) {
	.modal-dialog.modal-xxl {
		max-width: 900px;
	}
}

@media (min-width: 1300px) {
	.modal-dialog.modal-xxl {
		max-width: 1300px;
	}
}

/* --------------- Modals | animated --------------- */

.modal.fade .modal-dialog {
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.zoom-in {
	transform: scale(0) !important;
	opacity: 0;
	/*-webkit-transition: .5s all 0s;*/
	/*-moz-transition: .5s all 0s;*/
	/*-ms-transition: .5s all 0s;*/
	/*-o-transition: .5s all 0s;*/
	transition: .5s all 0s;
	display: block !important;
	transform-origin: center 10% !important;
}

.zoom-in.show {
	opacity: 1;
	transform: scale(1) !important;
}

/* --------------- input-group --------------- */

.input-group > .form-control:not(:last-of-type), .input-group > .custom-select:not(:last-of-type) {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.input-group.input-group--disabled .input-group-prepend .input-group-text,
.input-group.input-group--disabled .input-group-appended .input-group-text {
	background-color: #f7f8fa !important
}

.input-group.input-group--disabled > input {
	color: #6c7293;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple, .select2-container--default.select2-container--disabled .select2-selection--single {
	opacity: 1;
}

/* --------------- datepicker --------------- */

.form-group > div:not(.input-group) > .datepicker {
	width: 100% !important;
}

.bootstrap-select.is-invalid .btn.dropdown-toggle {
	border: none;
}

.datepicker.datepicker-sm {
	height: calc(1.5em + 0.9rem) !important;
	padding: 0 .68rem !important;
	font-size: .875rem;
}

/* --------------- Font awesome --------------- */

.fa-md {
	font-size: 1.06em !important;
}


.note {
	margin: 10px 0;
	padding: 10px;
	border-left: 5px solid #eee;
	border-radius: 0 4px 4px 0
}

.note h1, .note h2, .note h3, .note h4, .note h5, .note h6 {
	margin-top: 0
}

.note h1 .close, .note h2 .close, .note h3 .close, .note h4 .close, .note h5 .close, .note h6 .close {
	margin-right: -10px
}

.note p {
	margin: 0
}

.note p:last-child {
	margin-bottom: 0
}


.note.note-default {
	border-color: #b0c1d2;
	color: #000
}

.note.note-default.note-bordered {
	background-color: #eef1f5;
	border-color: #c0cedb
}

.note.note-default.note-shadow {
	background-color: #f1f4f7;
	border-color: #d1dbe4;
	box-shadow: 5px 5px rgba(212, 221, 230, .2)
}

.note.note-success {
	background-color: #c0edf1;
	border-color: #58d0da;
	color: #000
}

.note.note-success.note-bordered {
	background-color: #a7e6ec;
	border-color: #6dd6df
}

.note.note-success.note-shadow {
	background-color: #abe7ed;
	border-color: #81dbe3;
	box-shadow: 5px 5px rgba(134, 221, 228, .2)
}

.note.note-info {
	background-color: #f5f8fd;
	border-color: #8bb4e7;
	color: #327ad5;
}

.note.note-info.note-bordered {
	background-color: #dbe8f8;
	border-color: #a0c2ec
}

.note.note-info.note-shadow {
	background-color: #e0ebf9;
	border-color: #b5cff0;
	box-shadow: 5px 5px rgba(185, 210, 241, .2)
}

.note.note-warning {
	background-color: #faeaa9;
	border-color: #f3cc31;
	color: #c29d0b;
}

.note.note-warning.note-bordered {
	background-color: #f8e38c;
	border-color: #f4d249
}

.note.note-warning.note-shadow {
	background-color: #f9e491;
	border-color: #f6d861;
	box-shadow: 5px 5px rgba(246, 217, 102, .2)
}

.note.note-danger {
	background-color: #fef7f8;
	border-color: #f0868e;
	color: #e73d4a;
}

.note.note-danger.note-bordered {
	background-color: #fbdcde;
	border-color: #f39da3
}

.note.note-danger.note-shadow {
	background-color: #fbe1e3;
	border-color: #f6b3b8;
	box-shadow: 5px 5px rgba(246, 184, 189, .2)
}

/*      table       */

.table.table--no-header tbody tr:first-of-type td, .table.table--no-header tbody tr:first-of-type th {
	border-top: none !important;
}

.spinner-border-m {
	width: 1.3rem;
	height: 1.3rem;
	border-width: 0.2em;
}

.tooltip-inner {
	max-width: 25vw !important;
}

.tooltip-inner {
	text-align: left;
}

.fa-spin-pulse {
	animation: spin infinite 1s linear !important;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
