body {
    font-family: "Work Sans", sans-serif;
    font-size: .875rem;
    color: #2E2D2B;
}

::placeholder {
    color: #A5A5A5 !important;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: #A5A5A5 !important;
}

/*h3 {*/
/*    font-size: 1.944vw;*/
/*}*/

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.main-wrapper {
    display: flex;
}

.main-wrapper .page-wrapper {
    min-height: 100vh;
    background: #fff;
    width: calc(100% - 282px);
    margin-left: 282px;
    display: flex;
    flex-direction: column;
    -webkit-transition: margin 0.1s ease, width 0.1s ease;
    transition: margin 0.1s ease, width 0.1s ease;
}

.main-wrapper .page-content {
    padding: 3rem;
}

/*
 * Sidebar
 */

.sidebar {
    width: 282px;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    -webkit-transition: width 0.1s ease, margin 0.1s ease-in-out;
    transition: width 0.1s ease, margin 0.1s ease-in-out;
    z-index: 999;
    background: #f5f5f3;
    border-right: 1px solid #F1F0F4;
}

.sidebar .sidebar-body {
    max-height: calc(100% - 152px);
    position: relative;
    height: 100%;
    overflow: auto;
}

.sidebar-x {
    width: 20px;
    height: 20px;
}

.sidebar-footer {
    padding: 2.25rem 2.25rem 2.25rem 1.5rem;
}

.sidebar-footer .username {
    font-size: 1rem;
    line-height: 1.2;
    color: #2E2D2B;
    margin-bottom: 0;
    word-break: break-word;
}

.sidebar-footer .title {
    font-size: 12px;
    color: #777775;
    margin-bottom: 0;
}

.sidebar-footer .profile-img-wrapper {
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 12px;
}

.sidebar-footer .profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-footer .dropdown-menu {
    right: 0 !important;
    border-color: #F1F0F4;
    box-shadow: 0 5px 10px 0 rgba(183, 192, 206, .2);
}

.sidebar-footer .dropdown-menu .dropdown-item:active {
    background-color: #e9ecef;
    color: #1e2125;
}

.profile-container .dropdown-menu {
    right: 0 !important;
    border-color: #F1F0F4;
    box-shadow: 0 5px 10px 0 rgba(183, 192, 206, .2);
}

.profile-container .username {
    font-size: 1rem;
    color: #091B3D;
    margin-bottom: 0;
}

.profile-container .profile-img-wrapper {
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 12px;
}

.profile-container .profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar .sidebar-body .nav-link {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #777775;
    line-height: 1.12;
    padding: .5rem 10px;
    margin-bottom: 1rem;
    margin-left: 2.25rem;
    margin-right: 1.5rem;
}

.sidebar .nav-link svg {
    margin-right: 12px;
    width: 1.25rem;
    height: 1.25rem;
}

.sidebar .nav-link.active {
    color: #2E2D2B;
    background: #EFEFED;
    border-radius: .5rem;
}

.sidebar .nav-link:hover {
    color: #2E2D2B;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-header {
    padding: 1.5rem;
}

.sidebar-header svg.logo {
    width: 2.25rem;
    height: 2.25rem;
    margin-right: 12px;
}

.sidebar-header .searchbox {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: .5rem;
    height: 2.25rem;
    border: 1px solid #E5E5E6;
    padding: 10px 12px;
    margin-top: 2rem;
}

.sidebar-header .searchbox svg {
    width: 1rem;
    height: 1rem;
}

.sidebar-header .cmd {
    color: #676767;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sidebar-header .searchbox input {
    margin-left: .5rem;
    width: 100%;
    outline: none;
    border: none;
}

.sidebar .nav .nav-item.nav-category:not(:first-child) {
    margin-top: 1.5rem;
}

.sidebar .nav .nav-item.nav-category {
    color: #777775;
    font-size: 1rem;
    text-transform: capitalize;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/*
 * Navbar
 */

.navbar .navbar-content svg.logo {
    width: 2.25rem;
    height: 2.25rem;
}

.navbar .navbar-content svg.action-icon {
    color: #9DA4B1;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.table > :not(caption) > * > *, .datepicker table > :not(caption) > * > * {
    padding: 1rem 1.25rem;
    border-color: #E1E1E3;
}

.table thead th, .datepicker table thead th {
    background: #FAF9F9;
    font-weight: 400;
    padding: 13px 1.25rem;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: #E1E1E3;
    border-top: 1px solid #E1E1E3;
}

.table-wrapper {
    border: 1px solid #E1E1E3;
    padding: 1.25rem 0;
    border-radius: 1.25rem;
}

.table-wrapper .pagination-wrapper {
    padding: 0 1.25rem;
}

.table-filter {
    padding: 0 1.25rem 1.25rem;
}


/*
 * Pagination
 */

.page-link:focus {
    box-shadow: none;
}

.pagination .page-item:not(:first-child):not(:last-child) .page-link {
    background-color: transparent;
    border: none;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: .5rem;
    color: #2E2D2B;
}

.pagination .page-item .page-link {
    border-radius: 4px;
    color: #091B3D66;
    transition: background-color 0.2s ease;
}

.pagination .page-item.active .page-link {
    color: #2E2D2B;
    background-color: #FAF9F9 !important;
    border-color: transparent;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background-color: #f7f7f7;
    border-color: transparent;
}

.pagination .page-item:not(.disabled):hover .page-link {
    background-color: #f0f0f0;
}

.cursor-pointer {
    cursor: pointer;
}

.swal2-title {
    font-weight: 400;
    font-size: 1.5rem;
}

.form-control, .form-select {
    border-radius: .5rem;
}

.form-control, .form-select {
    border-color: #E1E1E3;
}

.form-control:focus, .form-select:focus {
    border-color: #2E2D2B;
    box-shadow: none;
}

.btn {
    border-radius: 8px;
    padding: 7px 24px;
    box-shadow: none !important;
    border-color: transparent !important;
}

.btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-color: #E7EAEF !important;
}

.btn-icon:hover {
    background-color: #f9fafb;
}

.btn-primary {
    background-color: #2E2D2B !important;
}

.btn-primary:focus, .btn-primary:hover {
    background-color: rgba(46, 45, 43, 0.9) !important;
}

.btn-light {
    border-color: #E7EAEF !important;
    background: #fff;
}

.btn-light-2 {
    background: #F5F5F3 !important;
}

.btn-danger {
    background: #FFEEED !important;
    color: #FF6056 !important;
}

.btn-danger-2 {
    background: #F72E70 !important;
    color: #FFFFFF !important;
}

.navbar {
    width: 100%;
    height: 80px;
    background: #fff;
    border-bottom: 1px solid #F1F0F4;
    display: flex;
    align-items: center;
    padding: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 978;
    /*box-shadow: 3px 0 10px 0 rgba(183, 192, 206, 0.2);*/
    transition: width 0.1s ease, left 0.1s ease;
}

.navbar .navbar-content {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
}

.object-fit-contain {
    object-fit: contain;
}

.object-fit-cover {
    object-fit: cover;
}

.border-primary {
    border-color: #2E2D2B !important;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: .875rem;
    }

    .sidebar-open .main-wrapper::before {
        content: "";
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        -webkit-transition: all 3s ease;
        transition: all 3s ease;
        z-index: 980;
    }

    .sidebar {
        z-index: 999;
        width: 282px;
        margin-left: -282px;
    }

    .sidebar-open .sidebar {
        margin-left: 0;
    }

    .main-wrapper .page-wrapper {
        margin-left: 0;
        width: 100%;
        margin-top: 80px;
    }

    .main-wrapper .page-content {
        padding: 1rem;
    }
}
