body {
    background-color: #f3f3f9 !important;
}

.auth-bg {
    background-image: url("../images/bg.png");
}

.pace-active {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: hsla(0, 0%, 0%, 0.700);
    z-index: 10600;
    overflow-y: auto;
    -webkit-tap-highlight-color: transparent;
    pointer-events: unset;
}

body[data-layout-mode=dark] footer a {
    color: #fff;
}

#side-menu>.mm-active>a {
    color: #fff !important;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 2px 6px 0 rgb(13 43 91 / 50%);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    text-align: left !important;
}

body[data-sidebar=dark] .mm-active .active,
body[data-sidebar=dark] .mm-active .active svg {
    color: #fff !important;
}

body[data-sidebar=dark] #side-menu>.mm-active>a {
    color: #555b6d !important;
    background-color: #f3f3f9;
    border-color: #f3f3f9;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    text-align: left !important;
}

body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    background-color: #f3f3f9 !important;
    box-shadow: 0 2px 6px 0 rgb(13 43 91 / 50%) !important;
}

body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul ul {
    background-color: #f3f3f9 !important;
    box-shadow: 0 2px 6px 0 rgb(13 43 91 / 50%) !important;
}

body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul ul li a {
    color: #555b6d !important;
}

body[data-sidebar=dark] #side-menu>.mm-active>a>span {
    transition: all .4s;
}

body[data-sidebar=dark][data-sidebar-size=lg] #side-menu>.mm-active>a>span::after {
    content: "";
    position: absolute;
    background-color: transparent;
    bottom: 100%;
    right: 0;
    height: 40px;
    width: 20px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 20px 0 0 #f3f3f9;
}

body[data-sidebar=dark][data-sidebar-size=lg] #side-menu>.mm-active>a>span::before {
    content: "";
    position: absolute;
    background-color: transparent;
    top: 40px;
    right: 0;
    height: 40px;
    width: 20px;
    border-top-right-radius: 30px;
    box-shadow: 0 -20px 0 0 #f3f3f9;
}

.mm-active .active,
.mm-active .active svg {
    color: #555b6d !important;
}

body[data-sidebar=dark] #side-menu>.mm-active>a svg {
    color: #555b6d !important;
}

body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li.mm-active .active {
    color: #555b6d !important;
}

body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li.mm-active .active:hover svg,
body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li.mm-active a:hover svg,
body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li.mm-active a:hover {
    color: #555b6d !important;
}

body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a,
body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a svg {
    color: #555b6d !important;
}

#side-menu>.mm-active>a svg {
    color: #555b6d !important;
}

#sidebar-menu {
    padding-top: 23px !important;
}

#sidebar-menu ul li ul.sub-menu li a {
    font-size: .9rem !important;
}

#side-menu>.mm-active>a:hover svg {
    color: #fff !important;
}

#sidebar-menu ul li ul.sub-menu li a.active,
#sidebar-menu ul li a:hover,
#sidebar-menu ul li a:hover i,
#sidebar-menu ul li a:hover svg {
    color: black !important;
}

body[data-sidebar=dark] #sidebar-menu ul li ul.sub-menu li a.active,
body[data-sidebar=dark] #sidebar-menu ul li a:hover,
body[data-sidebar=dark] #sidebar-menu ul li a:hover i,
body[data-sidebar=dark] #sidebar-menu ul li a:hover svg {
    color: #fff !important;
}

#side-menu>.mm-active>a:hover,
#side-menu>.mm-active>a:hover i {
    color: rgb(185, 185, 185) !important;
}

body[data-sidebar=dark] #side-menu>.mm-active>a:hover,
body[data-sidebar=dark] #side-menu>.mm-active>a:hover i,
body[data-sidebar=dark] #side-menu>.mm-active>a:hover svg {
    color: var(--bs-primary) !important;
}

.btn-warning {
    color: #000 !important;
}

.bx {
    line-height: 1.5 !important;
}

.input-group>.form-control {
    border-right: unset;
}

.input-group>.btn {
    border: 1px solid #ced4da;
    border-left: unset;
    box-shadow: none !important;
}

.input-group>.form-control.is-invalid {
    border-right: unset;
}

.input-group>.form-control.is-invalid+.btn {
    border-color: #fd625e;
    border-top-right-radius: .25rem !important;
    border-bottom-right-radius: .25rem !important;
    border-left: unset;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.badge-soft-primary {
    color: #5156be;
    background-color: rgba(81, 86, 190, .18);
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.select2-dropdown {
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 37px !important;
    padding: 0.47rem 0.75rem !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    height: 39px !important;
    padding: 0.47rem 0.75rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057 !important;
    line-height: unset !important;
}

.select2-container--default input {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    color: #495057 !important;
    outline: unset !important;
}

.select2-container--default *:focus-visible {
    outline: unset !important;
}

.select2-container--default input:focus-visible {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    color: #495057 !important;
    outline: unset !important;
}

body[data-layout-mode=dark] .select2-container--default .select2-selection--single .select2-selection__arrow {
    color: #adb5bd !important;
    background-color: #363a38 !important;
    border: 1px solid #3b403d !important;
}

body[data-layout-mode=dark] .select2-container--default .select2-selection--single {
    color: #adb5bd !important;
    background-color: #363a38 !important;
    border: 1px solid #3b403d !important;
}

body[data-layout-mode=dark] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #adb5bd !important;
    background-color: #363a38 !important;
}

body[data-layout-mode=dark] .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #363a38;
}

body[data-layout-mode=dark] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #ffffff !important;
    color: #363a38 !important;
}

body[data-layout-mode=dark] .select2-container--default input {
    color: #adb5bd !important;
    background-color: #363a38 !important;
    border: 1px solid #3b403d !important;
}

body[data-layout-mode=dark] .select2-dropdown {
    color: #adb5bd !important;
    background-color: #363a38 !important;
    border: 1px solid #3b403d !important;
}

body[data-layout-mode=dark] .form-control.is-invalid {
    border: 1px solid #fd625e !important;
}

body[data-layout-mode=dark] thead th {
    background-image: -webkit-linear-gradient(top, #313533, #313533);
}

body[data-layout-mode=dark] thead th {
    background-image: -webkit-linear-gradient(top, #313533, #313533);
}

body[data-layout-mode=dark] .table-first-fixed th:first-child,
body[data-layout-mode=dark] .table-first-fixed td:first-child {
    position: sticky !important;
    left: 0px !important;
    background-color: #363a38 !important;
    z-index: 1 !important;
}

.table-first-fixed th:first-child,
.table-first-fixed td:first-child {
    position: sticky !important;
    left: 0px !important;
    background-color: #f2f2f2 !important;
    z-index: 1 !important;
}

thead th {
    background-image: -webkit-linear-gradient(top, #ffffff, #ffffff);
}

th .input-group>.form-control:not(:first-child) {
    border-radius: 0.25rem !important;
}

table.dt-rowReorder-float {
    position: absolute !important;
    opacity: 0.8;
    table-layout: fixed;
    background-color: #f3f3f9;
    z-index: 2001
}

tr.dt-rowReorder-moving {
    background-color: #f3f3f9;
}

body.dt-rowReorder-noOverflow {
    overflow-x: hidden
}

table.dataTable td.reorder {
    text-align: center;
    cursor: move
}

table.dt-rowReorder-float td.dtfc-fixed-left,
table.dt-rowReorder-float td,
tr.odd.dt-rowReorder-moving td.dtfc-fixed-left,
tr.even.dt-rowReorder-moving td.dtfc-fixed-left,
tr.odd.dt-rowReorder-moving td,
tr.even.dt-rowReorder-moving td {
    background-color: #f3f3f9 !important;
    --bs-table-accent-bg: #f3f3f9 !important;
}

.reorder-element {
    cursor: move;
}

.table-reorder>thead .sorting {
    cursor: default !important;
    padding-right: 12px !important;
}

.table-reorder>thead .sorting:before,
.table-reorder>thead .sorting:after {
    content: "" !important;
}

body[data-layout-mode=dark] tr.even td.dtfc-fixed-left,
body[data-layout-mode=dark] tr.even td.dtfc-fixed-right {
    background-color: #313533;
}

tr.even td.dtfc-fixed-left,
tr.even td.dtfc-fixed-right {
    background-color: #fff;
}

tr.odd td.dtfc-fixed-left,
tr.odd td.dtfc-fixed-right {
    background-color: #fff;
}

th.dtfc-fixed-left,
th.dtfc-fixed-right,
td.dtfc-fixed-left,
td.dtfc-fixed-right {
    z-index: 1;
}

body[data-layout-mode=dark] .card-footer {
    background-color: #313533;
    border-top: 1px solid #3b403d;
}

.card {
    border-radius: 2rem !important;
}

.card-header:first-child {
    border-radius: calc(2rem - 1px) calc(2rem - 1px) 0 0;
}

.card-footer:last-child {
    border-radius: 0 0 calc(2rem - 1px) calc(2rem - 1px);
}

.signature-wrapper {
    text-align: center;
    width: 100%;
    height: 150px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.signature-pad {
    left: 0;
    top: 0;
}

.document-list li.active {
    background-color: rgba(var(--bs-primary-rgb), .075);
    border-color: transparent;
}

.document-list li {
    display: block;
    padding: 14px 16px;
    color: #74788d;
    -webkit-transition: all .4s;
    transition: all .4s;
    border-top: 1px solid #e9e9ef;
    position: relative;
}

select.disabled~.select2-container--default .select2-selection--single,
.form-control.disabled {
    background-color: #e9e9ef;
    opacity: 1;
    pointer-events: none;
}

.form-check-input.disabled {
    background-color: #c5c5c5;
    border: none;
    opacity: 1;
    pointer-events: none;
    cursor: auto;
}

.text-justify {
    text-align: justify;
}

.h-img-group {
    height: calc(1.4em + 1rem + 2px);
}

.select2-results {
    font-weight: 400 !important;
}

.table-striped>tbody>tr:nth-of-type(odd) .bg-in,
.table-striped>tbody>tr .bg-in {
    --bs-table-accent-bg: rgba(42, 181, 125, .1);
}

.table-striped>tbody>tr:nth-of-type(odd) .bg-out,
.table-striped>tbody>tr .bg-out {
    --bs-table-accent-bg: rgba(253, 98, 94, .1);
}

.fc-event.bg-primary {
    background-color: rgba(81, 86, 190, 1) !important;
}

.fc-event {
    color: #fff;
}

body[data-layout-mode=dark] .fc-daygrid-day-number,
body[data-layout-mode=dark] .fc-col-header-cell-cushion {
    color: #fff;
}

.text-status {
    cursor: auto;
}

.text-status.bg-soft-primary {
    color: #5156be !important;
    background-color: rgba(81, 86, 190, .18) !important;
}

.badge-soft-brown {
    color: #913e01 !important;
    background-color: rgb(181 85 2 / 25%) !important;
}

.badge-soft-warning {
    color: #e59000 !important;
}

.dashboard {
    height: 100%;
    position: fixed;
    overflow: hidden;
    right: 0;
    left: 0;
}

.dashboard-content {
    padding-left: 250px;
    padding-top: 131px;
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
}

.dashboard .bg-overlay {
    margin-left: 250px;
    margin-top: 131px;
}

.dashboard .row {
    padding-bottom: 61px;
}

.dashboard-bg {
    background-image: url(../images/dashboard.jpg);
    background-size: cover;
}

@media (max-width: 991.98px) {
    .dashboard-content {
        padding-left: 0px;
    }

    .dashboard .bg-overlay {
        margin-left: 0px;
    }
}

input[type=date]::-webkit-calendar-picker-indicator,
input[type=datetime-local]::-webkit-calendar-picker-indicator {
    background-image: url(../images/calendar_today-dark.svg);
}

body[data-layout-mode=dark] input[type=date]::-webkit-calendar-picker-indicator,
body[data-layout-mode=dark] input[type=datetime-local]::-webkit-calendar-picker-indicator {
    background-image: url(../images/calendar_today-light.svg);
}

#sidebar-menu ul li a,
#sidebar-menu ul li ul.sub-menu li a {
    font-size: 0.875rem !important;
    color: #dfdfdf !important;
}

body[data-sidebar=dark] .navbar-brand-box .logo,
body[data-sidebar=dark][data-sidebar-size=lg] #vertical-menu-btn,
body[data-sidebar=dark] #sidebar-menu ul li a svg,
body[data-sidebar=dark] .menu-title {
    color: #dfdfdf !important;
}

#sidebar-menu ul li a {
    transition: unset !important;
}

body[data-sidebar=dark] .vertical-menu,
body[data-sidebar=dark] .navbar-brand-box {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

body[data-sidebar=dark] .vertical-menu {
    border: unset !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--bs-primary) !important;
}

.logo-txt {
    font-size: 16px !important;
}

.navbar-brand-box {
    padding: 0 0.9rem !important;
}

.sum-page * {
    color: #495057 !important;
}