body {
    font-size: 15;
    font-weight: normal;
    transition: 1s all ease-in-out;
    zoom: 95%;
}

input::placeholder {
    color: rgba(0, 0, 0, 0.25) !important;
}

a,
.text-primary,
.btn-link {
    color: var(--primary-color) !important;
}

.btn-primary,
.bg-primary,
a.page-item.active,
.dropdown-item.active,
.dropdown-item:active,
.page-item.active,
.page-item.active a {
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary.focus,
.btn-primary:focus,
.form-control:focus,
a:focus {
    border-color: var(--primary-color) !important;
    box-shadow: none;
}

.card {
    border: 1px solid #fbfbfb !important;
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    max-height: 64px;
}

body {
    margin-top: 64px;
}

/* Sidebar styles */

.sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    padding: 10px 0;
    height: 100vh;
    z-index: 16;
    transition: all 0.25s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f1f1f1;
    box-shadow: 1px 5px 6px rgba(0, 0, 0, 0.16);
    border: 0px solid #ececec;
    border-top: 0px;

    width: 62px;
}

.sidebar.show {
    width: 282px !important;
}

.sidebar:not(.show) i:not(.side-item-icon),
.sidebar:not(.show) span span,
.sidebar:not(.show) ul.side-sub-group,
.sidebar:not(.show) .btn-classic span span {
    display: none !important;
}

@media (min-width: 1200px) {
    .sidebar {
        height: calc(100% - 60px);
    }
}

.sidebar:not(.show)+main {
    padding-left: 62px;
}

.sidebar+main+footer {
    padding-left: 62px;
}

.sidebar.show+main {
    padding-left: 282px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px;
    }

    .sidebar+main {
        width: 100%;
        padding: 0px 20px;
        padding-left: 82px !important;
    }
}

.sidebar .side-group {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar .side-group>a:hover,
.sidebar .side-sub-group>a:hover,
.sidebar .side-group-item>a {
    text-decoration: none;
}

.sidebar .side-group-item>a {
    color: #ffffff;
}

.sidebar .side-group-item {
    color: #3f4150;
    font-size: 13px;
    padding: 15px;
    cursor: pointer;
}

.sidebar a:hover>.side-group-item:not(.active),
.sidebar .side-group-item:hover:not(.active) {
    /*border: 1px solid white;*/
    /*transition: 0.1s all ease-in-out;*/
    /*margin: 5px;*/
    /*border-radius: 20px;*/
    /*padding: 15px;*/
    color: var(--primary-color);
}

.sidebar .side-item-icon {
    font-size: 16px;
    margin-right: 30px;
}

.sidebar .side-sub-group {
    list-style: none;
    margin: 0;
    padding: 0 0 20px;
    background-color: #e9e9e9;
}

.sidebar .side-sub-group-item {
    font-weight: lighter;
    color: #0d1033;
    font-size: 13px;
    padding: 10px 20px;
    cursor: pointer;
}

.sidebar .active {
    background-color: var(--primary-color);
    color: white;
    /* margin: 10px; */
}

/* Checkbox */
.custom-checkbox .custom-control-input:checked~.custom-control-label:before {
    background-color: var(--secondary-color) !important;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
}

.custom-control-input:checked~.custom-control-label:before {
    color: #fff;
    background-color: var(--secondary-color) !important;
}

body.darkmode {
    background-color: #222222;
}

body.darkmode .navbar,
body.darkmode .card {
    background-color: #323232;
    color: #fff;
}

body.darkmode .card {
    border: none !important;
}

body.darkmode table {
    color: #fff;
}

body.darkmode .sidebar {
    background-color: #434343;
    color: #fff;
}

body.darkmode .side-group-item:not(.active) {
    background-color: #434343;
    color: #fff;
}

body.darkmode .modal-content {
    background-color: #3e3e3e;
    color: #fff;
}

body.darkmode .modal-content .close {
    color: #fff;
}

body.darkmode h5 {
    background-color: transparent !important;
}

body.darkmode tr {
    background-color: transparent !important;
}

body.darkmode tr.odd {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

body.darkmode input,
body.darkmode select,
body.darkmode textarea {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

body.darkmode select option {
    background-color: black;
}

body.darkmode input::placeholder,
body.darkmode select::placeholder,
body.darkmode textarea::placeholder {
    color: #c1c1c1 !important;
}

body.darkmode .date-picker-wrapper,
body.darkmode .month-wrapper {
    background-color: #444 !important;
    color: #fff;
    border: none !important;
}

body.darkmode .date-picker-wrapper .selection-top,
body.darkmode .date-picker-wrapper .day {
    color: #fff !important;
}

body.darkmode .date-picker-wrapper .real-today {
    color: #444 !important;
}

body.darkmode .gap-1 {
    border-left-color: #444 !important;
}

body.darkmode .gap-2 {
    border-top-color: #444 !important;
}

body.darkmode .gap-3 {
    border-bottom-color: #444 !important;
}

body.darkmode .fixedHeader-floating {
    background-color: #222222 !important;
}

body.darkmode [class^="sorting_"] {
    background-color: transparent !important;
}

body.darkmode .bg-white {
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.15) !important;
}

body.darkmode .text-secondary {
    color: #c3c3c3 !important;
}
