/* general */
/* #f8f9fb */
/* #161b2e */

body.app {
    background-color: #fff;
    font-family: "Poppins", "Roboto", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
}

.line-height-xs {
    line-height: 1;
}
.line-height-sm {
    line-height: 1.2;
}
.line-height-md {
    line-height: 1.4;
}
.line-height-lg {
    line-height: 1.6;
}
.line-height-xl {
    line-height: 1.8;
}

a {
    color: #161b2e;
    text-decoration: none;
    background-color: transparent;
}
a:hover, a:focus, a:active {
    color: #337ab7;
    text-decoration: underline;
}

.btn-dark {
    color: #FFFFFF;
    background-color: #161b2e;
    border-color: #161b2e;
}
.bg-light {
    background-color: #f8f9fb !important;
}
.dropdown-item {
    padding: 0.5rem 1.25rem;
}
.dropdown-item:active {
    color: #161b2e;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: #f8f9fb;
}

.font-weight-semi-bold {
    font-weight: 600;
}
.text-decoration-underline {
    text-decoration: underline;
}
.form-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff9e;
}
.custom-file-label {
    border: 1px solid rgba(0, 40, 100, 0.12);
}

.main .container-fluid.page-header {
    background-color: transparent;
    padding: 1rem 1rem 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 40, 100, 0.12);
}
.main .page-header .page-title .text-capitalize {
    /*display: none;*/
}

.repeatable-element {
    background-color: #f8f9fb !important
}

@media (min-width: 992px) {
    body.sidebar-lg-show #saveActions {
        width: calc(100% - 220px);
        left: 220px;
    }
}

#saveActions {
    position: fixed;
    bottom: 0;
    padding: 0.5rem 1rem;
    margin: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid rgba(0, 40, 100, 0.12);
    display: flex;
    z-index: 99;
    gap: 5px;
}

/* header */
.app-header.bg-dark {
    background-color: #1B2A4E !important;
    color: #f8f9fb !important;
}
.app-header.bg-dark.navbar-brand,
.app-header.bg-light .navbar-brand {
    opacity: 1;
}
.app-header.bg-dark.navbar-brand,
.app-header.bg-light .navbar-brand,
.app-header .navbar-brand {
    width: 170px;
}
.app-header .navbar-toggler {
    outline: none;
    color: #73818f;
    border-width: 0 1px 0 0;
    height: 55px;
    border-radius: 0;
}
.app-header.navbar-dark .navbar-toggler {
    color: #fff;
}
.app-header .dropdown-item i {
    color: #212529;
}
.app-header .dropdown-item.active i, .app-header .dropdown-item:active i {
    color: #FFFFFF;
}
.app-header .navbar-nav .nav-link.avatar .backpack-avatar-menu-container {
    background: #097b36;
    min-width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    color: #fff;
}

/* breadcrumb */

.app-body .breadcrumb {
    margin: 0;
    background-color: transparent;
}

/* sidebar */

.app-body .sidebar {
    flex: 0 0 220px;
}
.sidebar .nav-link {
    padding: 0.35rem 1rem;
    display: flex;
    align-items: center;
    height: 40px;
}
.sidebar .nav-link span {
    flex-grow: 1;
}
.sidebar .nav-link span.badge {
    padding: 5px;
    float:right;
}
.sidebar .nav-item {
    border-bottom: 0 solid rgba(0, 40, 100, 0.12);
}
.sidebar .nav-dropdown-items .nav-item {
    border-top: 0 solid rgba(0, 40, 100, 0.12);
    border-bottom: 0;
}
.sidebar .nav-link .nav-icon {
    font-size: 20px;
}
.sidebar .nav, .sidebar .sidebar-nav, .sidebar .sidebar-scroll {
    width: 219px;
}
.sidebar .nav-link:not(.active) .nav-icon {
    color: #161b2e;
}
.sidebar.bg-white .nav-link:hover,
.sidebar .nav-link:hover {
    background: #f8f9fb;
    color: #161b2e !important;
}
.sidebar.bg-white .nav-link.active {
    background: #161b2e !important;
    color: #fff !important;
}
.sidebar .nav-link:hover.nav-dropdown-toggle::before {
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'><path fill='%23161b2e' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/></svg>");
}
.sidebar.bg-white .nav-dropdown.open {
    background: #fff;
}
.sidebar.bg-white .nav-link.active .nav-icon, .sidebar.bg-white .nav-link.active:hover .nav-icon {
    color: #fff !important;
}
@media (max-width: 991.98px) {
    .app-body .sidebar {
        width: 220px;
    }
}


.page-item.active .page-link {
    z-index: 1;
    color: #FFFFFF;
    background-color: #161c2d;
    border-color: #161c2d;
    border-radius: 0;
}

/* table */

.table th {
    background-color: inherit;
}
.table th, .table td {
    padding: 0.5rem;
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(241, 244, 248, 0.5);
}
.table-sm>:not(caption)>*>* {
    padding: .25rem .25rem;
}
.table tr[aria-expanded="false"] .la {
    transform: rotate(90deg);
}
#crudTable_wrapper #crudTable {
    box-shadow: none;
    border: 0;
}
#crudTable_wrapper #crudTable:not(.has-hidden-columns) tr td:first-child, #crudTable_wrapper table.dataTable:not(.has-hidden-columns) tr td:first-child {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1):hover {
    background-color: rgba(248, 249, 251, 0.7);
}
table.table-hover tbody tr:hover {
    background-color: rgba(248, 249, 251, 0.4);
}

/* filters */

.navbar-filters li[filter-type=simple] .nav-link {
    border: 1px solid rgba(0, 40, 100, 0.12);
    color: #555;
    background-color: #fff;
    border-radius: 3px;
    font-size: 13px;
    padding-bottom: 3px;
    padding-top: 3px;
}
.navbar-filters li[filter-type=dropdown] .nav-link, .navbar-filters li[filter-type=select2] .nav-link, .navbar-filters li[filter-type=select2] .nav-link, .navbar-filters li[filter-type=date_range] .nav-link, .navbar-filters li[filter-type=range] .nav-link, .navbar-filters li[filter-type=text] .nav-link {
    border: 1px solid rgba(0, 40, 100, 0.12);
    color: #555;
    background-color: #fff;
    border-radius: 3px;
    font-size: 15px;
    padding-bottom: 3px;
    padding-top: 3px;
}
.navbar-filters li.active .nav-link {
    border-color: #df4759;
    box-shadow: 0 0 0 2px rgba(223, 71, 89, 0.15);
    background: #fff2f5 !important;
    color: #df4759;
}
.navbar-filters li #remove_filters_button {
    padding-bottom: 3px;
    padding-top: 3px;
    font-size: 13px;
    border: 1px solid #2b2b2b;
    color: #2b2b2b;
}

.navbar-filters li[filter-type=dropdown] .dropdown-menu {
    --cui-dropdown-border-color: #d8dbe0;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 21, 0.075);
    padding: 0;
}
.navbar-filters li[filter-type=dropdown] .dropdown-divider {
    border-top: 1px solid #d8dbe0;
    margin: 0;
}
.navbar-filters li[filter-type=dropdown] .dropdown-item {
    padding: 0.35rem 1.25rem;
    font-size: 0.875rem;
    text-transform: capitalize;
}

.navbar-filters li[filter-type=select2] .dropdown-menu {
    --cui-dropdown-border-color: #d8dbe0;
    min-width: 200px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 21, 0.075);
}
.navbar-filters li[filter-type=select2] .dropdown-menu .select2-container--bootstrap .select2-selection {
    border: 0 !important;
}
.navbar-filters li[filter-type=select2] .dropdown-menu .select2-container--bootstrap .select2-dropdown {
    border: 1px solid #d8dbe0 !important;
}

.navbar-filters li[filter-type=date_range] .dropdown-menu {
    --cui-dropdown-border-color: #d8dbe0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 21, 0.075);
    min-width: 200px;
}

.navbar-filters li[filter-type=range] .dropdown-menu {
    --cui-dropdown-border-color: #d8dbe0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 21, 0.075);
    min-width: 200px;
}

/* alerts */

.alert + .alert {
    margin-top: -0.5rem;
}

.alert.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #f6e09a;
}

.alert.alert-danger-light {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert.alert-warning-light {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #e3d0a2;
}

.alert.alert-success-light {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert.alert-info-light {
    color: #052c65;
    background-color: #cfe2ff;
    border-color: #9ec5fe;
}


.form-control:focus, .dataTables_wrapper .dataTables_length select:focus, .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #161b2e;
    box-shadow: none;
}
.form-control::-webkit-input-placeholder, .dataTables_wrapper .dataTables_length select::-webkit-input-placeholder, .dataTables_wrapper .dataTables_filter input::-webkit-input-placeholder {
    color: #161b2e;
    opacity: .5;
}

.card {
    box-shadow: none;
}
.card.card-dashboard {
    box-shadow: none;
    height: 100%;
    margin: 0;
}
.card-dashboard .card-header {
    min-height: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
}
.card-link {
    text-align: center;
    margin: 0;
}
.card-link:hover {
    background: #f8f9fb;
    color: #161b2e !important;
}
.card-link .hgi{
    font-size: 35px;
}

.row.gutter-1 {
    margin-right: -2.5px;
    margin-left: -2.5px;
}
.row.gutter-1 > [class*='col'] {
    padding-right: 2.5px;
    padding-left: 2.5px;
}
.row.gutter-2 {
     margin-right: -5px;
     margin-left: -5px;
}
.row.gutter-2 > [class*='col'] {
    padding-right: 5px;
    padding-left: 5px;
}
.row.gutter-3 {
     margin-right: -10px;
     margin-left: -10px;
}
.row.gutter-3 > [class*='col'] {
    padding-right: 10px;
    padding-left: 10px;
}

.table-md>:not(caption)>*>* {
    padding: .25rem .75rem !important;
}
.pointer {
    cursor: pointer;
}
