.btn {
    font-size: .875rem !important;
    height: calc(2.1rem + 2px) !important;
    padding: .375rem .75rem !important;
    line-height: 1.5 !important;
}

.btn-sm {
    font-size: .875rem !important;
    height: calc(1.8125rem + 2px) !important;
    padding: .25rem .5rem !important;
    line-height: 1.5 !important;
}

.btn-link {
    height: auto !important;
    padding: 0 !important;
}

.form-control {
    font-size: .875rem !important;
    height: calc(2.1rem + 2px) !important;
    padding: .375rem .75rem !important;
    line-height: 1.5 !important;
}

.form-control-sm {
    font-size: .875rem !important;
    height: calc(1.8125rem + 2px) !important;
    padding: .25rem .5rem !important;
    line-height: 1.5 !important;
}

.dropdown-menu {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.page-link {
    font-size: .875rem !important;
    height: calc(2.1rem + 2px) !important;
    padding: .375rem .75rem !important;
    line-height: 1.5 !important;
}

.page-link {
	color: var(--theme) !important;
    border-color: #dee2e6 !important;
	background-color: #fff !important;
	box-shadow: 0 0 0 0 rgba(127, 130, 255, 0.5) !important;
}

.page-link:hover {
	color: #fff !important;
	border-color: #6668cc !important;
	background-color: #6c6fd9 !important;
	box-shadow: 0 0 0 0 rgba(127, 130, 255, 0.5) !important;
}

.page-link:focus {
	color: #fff !important;
	border-color: #6668cc !important;
	background-color: #6c6fd9 !important;
	box-shadow: 0 0 0 0 rgba(127, 130, 255, 0.5) !important;
}

.page-item.active .page-link {
	color: #fff !important;
	border-color: var(--theme) !important;
	background-color: var(--theme) !important;
	box-shadow: 0 0 0 0 rgba(127, 130, 255, 0.5) !important;
}

.page-item.disabled .page-link {
	color: #6c757d !important;
    border-color: #dee2e6 !important;
	background-color: #fff !important;
	box-shadow: 0 0 0 0 rgba(127, 130, 255, 0.5) !important;
}

textarea.form-control {
    height: auto !important;
}

.colorpicker {
    border: none !important;
    background-color: #fff !important;
}

.form-check {
    padding-left: 0 !important;
}

.form-check-label {
    color: #495057 !important;
}

.check-box > input:first-child:not(:checked):not(:disabled):hover + label::before,
.check-box > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
	border-color: var(--theme) !important;
}

.check-box > input:first-child:not(:checked):not(:disabled):focus + label::before,
.check-box > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
	border-color: var(--theme) !important;
}

.check-box > input:first-child:checked + label::before,
.check-box > input:first-child:checked + input[type="hidden"] + label::before {
	background-color: var(--theme) !important;
	border-color: var(--theme) !important;
}

.check-box > input:first-child:checked + label::after,
.check-box > input:first-child:checked + input[type="hidden"] + label::after {
    border-bottom-color: #fff !important;
    border-right-color: #fff !important;
}

.radio-box > input:first-child:not(:checked):not(:disabled):hover + label::before,
.radio-box > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
	border-color: var(--theme) !important;
}

.radio-box > input:first-child:not(:checked):not(:disabled):focus + label::before,
.radio-box > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
	border-color: var(--theme) !important;
}

.radio-box > input:first-child:checked + label::before,
.radio-box > input:first-child:checked + input[type="hidden"] + label::before {
	background-color: var(--theme) !important;
	border-color: var(--theme) !important;
}

.radio-box > input:first-child:checked + label::after,
.radio-box > input:first-child:checked + input[type="hidden"] + label::after {
	border-color: #fff !important;
}

.form-file {
    height: auto !important;
}

.form-file-label {
    color: #495057 !important;
    font-size: .875rem !important;
    height: calc(2.1rem + 2px) !important;
    padding: .375rem .75rem !important;
    line-height: 1.5 !important;
}

.form-file-label span {
    color: #939ba2 !important;
}

.form-file-label::after {
    display: none !important;
    background-color: #fff !important;
}

.select2.select2-container {
    width: 100% !important;
    max-width: 100% !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.select2-container--default .select2-dropdown {
    z-index: 1020 !important;
    border-radius: 0 !important;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.select2-container--default .select2-selection--single {
    height: calc(2.1rem + 2px) !important;
    padding: .375rem .75rem !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: calc(2.1rem + 2px) !important;
    padding: .375rem .75rem !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    height: calc(2.1rem + 2px) !important;
    padding: .375rem .75rem !important;
    border-radius: .25rem !important;
    color: #495057 !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    width: 100% !important;
    color: #495057 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #939ba2 !important;
    opacity:1 !important;
}

.select2-container--default .select2-search--inline .select2-search__field::placeholder,
.select2-container--default .select2-search--dropdown .select2-search__field::placeholder {
    color: #939ba2 !important;
    opacity:1 !important;
}

.select2-container--default .select2-selection--single {
    padding-right: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 1px !important;
    display: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: -3px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline {
    margin-left: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-search__field {
    margin-top: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 0 !important;
    margin-right: 5px !important;
    margin-bottom: 5px !important;
    margin-left: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #fff !important;
    border-color: #ced4da !important;
    color: #495057 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #212529 !important;
    opacity: .7 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #212529 !important;
    opacity: 1 !important;
}

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

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

.select2-container--default.select2-dropdown .select2-search__field:focus,
.select2-container--default .select2-dropdown .select2-search__field:focus {
	border: 1px solid var(--theme) !important;
}

.select2-container--default .select2-results__option--highlighted {
	background-color: var(--theme) !important;
	color: #fff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
	background-color: var(--theme) !important;
	color: #fff !important;
}

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

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	white-space: normal !important;
	background-color: var(--theme) !important;
	border-color: var(--theme) !important;
	color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    opacity: .7 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff !important;
    opacity: 1 !important;
}

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

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none !important;
    touch-action: none !important;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background-color: #e9ecef !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.select2-container--default .select2-results__option[aria-disabled="true"] {
    color: #6c757d !important;
    background-color: #e9ecef !important;
}

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

.table .select2-container--default .select2-dropdown {
    white-space: break-spaces !important;
}

.input-group-prepend ~ .select2-container--default:not(:last-child) .select2-selection {
    border-top-right-radius: .25rem !important;
}

.select2-container--default.select2-container--open ~ .input-group-append > .btn:last-child,
.select2-container--default.select2-container--open ~ .input-group-append > .input-group-text:last-child {
    border-top-right-radius: .25rem !important;
    border-bottom-right-radius: .25rem !important;
}

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

.input-group:focus-within .input-group-prepend .input-group-text,
.input-group:focus-within .input-group-append .input-group-text {
    border-color: var(--theme);
}

.bootstrap-datetimepicker-widget.dropdown-menu::after,
.bootstrap-datetimepicker-widget.dropdown-menu::before {
    display: none !important;
}

.bootstrap-datetimepicker-widget table th,
.bootstrap-datetimepicker-widget table td {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.bootstrap-datetimepicker-widget .btn {
    height: auto !important;
}

.bootstrap-datetimepicker-widget table td.today::before {
	border-bottom-color: var(--theme) !important;
}

.bootstrap-datetimepicker-widget table td.active.today::before {
    border-bottom-color: #fff !important;
}

.bootstrap-datetimepicker-widget table td.active {
	color: #fff !important;
	border-color: var(--theme) !important;
	background-color: var(--theme) !important;
	box-shadow: 0 0 0 0 rgba(68, 138, 255, 0.5);
	text-shadow: none !important;
}

.bootstrap-datetimepicker-widget table td.active:hover {
	color: #fff !important;
	border-color: #6668cc !important;
	background-color: #6c6fd9 !important;
	box-shadow: 0 0 0 0 rgba(127, 130, 255, 0.5) !important;
	text-shadow: none !important;
}

.bootstrap-datetimepicker-widget table td span.active {
	color: #fff !important;
	border-color: var(--theme) !important;
	background-color: var(--theme) !important;
	box-shadow: 0 0 0 0 rgba(68, 138, 255, 0.5);
	text-shadow: none !important;
}

.bootstrap-datetimepicker-widget table td span.active:hover {
	color: #fff !important;
	border-color: #6668cc !important;
	background-color: #6c6fd9 !important;
	box-shadow: 0 0 0 0 rgba(127, 130, 255, 0.5) !important;
	text-shadow: none !important;
}

.bootstrap-datetimepicker-widget .timepicker .timepicker-picker a.btn {
	color: var(--theme) !important;
}

.ck.ck-editor__editable_inline {
    color: #495057 !important;
    min-height: 155px !important;
    padding: .55rem .75rem !important;
}

.ck.ck-editor__editable_inline > :first-child {
    margin-top: 0 !important;
}

.ck.ck-editor__editable_inline > :last-child {
    margin-bottom: 0 !important;
}

.ck.ck-editor__editable_inline > .ck-placeholder::before {
    color: #939ba2 !important;
}

.jconfirm .jconfirm-box {
    border-top-width: 5px !important;;
}

.busy-load-container {
    z-index: 1030 !important;
}

.toast {
    min-width: 250px !important;
}

.toasts-top-right {
    z-index: 1060 !important;
}
