* {
    font-family: "Inter", sans-serif;
}

html {
    font-size: 14px;
}

html, body {
    margin: 0;
    /* color: #050505; */
    /* color: #040D0C; */
    /* color: #161616; */
    color: #000000;
}
body {
    min-height: 100dvh;
    background: #f6f6f0;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.mono {
    font-family: "Courier Prime", serif;    
}

button, input, select {
    font-family: "Inter", sans-serif;
}
input[type=date] {
    -webkit-appearance: none;
    -moz-appearance: none;
}

.mobile-container {
    position: relative;
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    background: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.container {
    padding-top: 20px;
    padding-bottom: 40px;
}

.container-big {
    width: 90%;
    max-width: inherit;
}

.sidenav .user-view .circle {
    object-fit: cover;
}

.nom { margin: 0; }
.nop { padding: 0; }
.nopl { padding-left: 0; }
.nopr { padding-right: 0; }
.row { width: 100%; }

.p-lr-8px {
    padding-left: 8px;
    padding-right: 8px;
}
.p-lr-10px {
    padding-left: 10px;
    padding-right: 10px;
}
.p-lr-32px {
    padding-left: 32px !important;
    padding-right: 32px !important;
}
.p-l-8px { padding-left: 8px; }
.p-r-8px { padding-right: 8px; }
.p-8px { padding: 8px; }
.p-10px { padding: 10px; }
.p-50px {
    padding: 50px;
}

.p-b-40px { padding-bottom: 40px; }

hr { border: 1px solid #ededed; }

.h-auto-container {
    display: flex;
    flex-direction: column;
}
.h-auto-container .row { width: 100%; }
.h-auto { flex: 1 1 auto; }
.h-0 { height: 0; }
.h-1px { height: 1px; }
.h-32px { height: 32px; }
.h-60px { height: 60px; }
.h-85px { height: 85px; }
.h-100 { height: 100%; }
.h-fit { height: fit-content; }

.m-b-halfrow { margin-bottom: 10px; }
.m-b-4px { margin-bottom: 4px; }
.w-100 { width: 100%; }
.w-80 { width: 80%; }
.w-24px { width: 24px; }
.w-40px { width: 40px; }
.w-60px { width: 60px; }
.w-60px { width: 60px; }
.w-80px { width: 80px; }
.w-100px { width: 100px; }
.w-120px { width: 120px; }
.w-200px { width: 200px; }
.w-300px { width: 300px; }
.w-fit { width: fit-content; }
.m-auto { margin: auto; }
.square { aspect-ratio: 1/1; }
.border-radius {
    border-radius: 8px;
}
.border-radius-4px {
    border-radius: 4px;
}
.all-bordered {
    border: 1px solid #D9D9D9;
}

table.all-border td,
table.all-border th {
    border: 1px solid #D9D9D9;
}

.block { display: block; }
.inline-block { display: inline-block;; }
.hidden { display: none; }
.relative { position: relative; }

.f-larger { font-size: 1.1rem; }
.f-19px { font-size: 19px; }
.f-16px { font-size: 16px; }
.f-12px { font-size: 12px; }
.f-10px { font-size: 10px; }
.f-smaller { font-size: .8rem; }
.bold { font-weight: bold; }
.semibold { font-weight: 600; }
.thin { font-weight: thin; }
.lowercase { text-transform: lowercase; }
i.icon-large { font-size: 42px; }
.italic { font-style: italic; }

.shadow {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.clickable { cursor: pointer; }

.card {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 20px 12px;
    border-radius: 8px;
    background-color: white;
    margin: 0;
}
.card-secondary {
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    padding: 10px 2px;
    border-radius: 4px;
    background-color: white;
    /* border: 1px solid #ededed; */
    margin: 0;
}
.card.warning-red {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px;
}

button, a.btn, a.btn-small {
    box-shadow: none !important;
    text-transform: none !important;
    border-radius: 4px !important;
}
.btn-small.btn-action-table {
    padding: 0 10px;
}
.btn-small {
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    font-weight: normal !important;
}

a { cursor: pointer; }

.v-scroll {
    overflow-x: auto;
}
.h-scroll {
    overflow-y: auto;
}

[type="radio"]:checked+span:after,
[type="radio"].with-gap:checked+span:after {
    background-color: #4263BB !important;
}
[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:before, [type="radio"].with-gap:checked+span:after {
    border: 2px solid #4263BB !important;
}
[type="checkbox"]:checked+span:not(.lever):before {
    border-right: 2px solid #c6bc97;
    border-bottom: 2px solid #c6bc97;
}
input.browser-default:not(.input-file) {
    height: 32px;
    line-height: 32px;
    padding: 4px 12px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
}
.switch label input[type=checkbox]:checked+.lever:after {
    background-color: #4263BB !important;
}
.switch label input[type=checkbox]:checked+.lever {
    background-color: #6985D2 !important;
}
[type="checkbox"].filled-in:checked+span:not(.lever):after {
    background-color: var(--btn-primary) !important;
    border: 2px solid var(--btn-primary) !important;
}
[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
    border: 1px solid #9F9F9F !important;
}
[type="checkbox"]+span:not(.lever) {
    color: black;
    /* line-height: normal;
    height: auto; */
}
[type="checkbox"]:disabled.filled-in+span:not(.lever):before {
    border-right: 2px solid #FFFFFF !important;
    border-bottom: 2px solid #FFFFFF !important;
}
[type="checkbox"]:disabled.filled-in+span:not(.lever):after {
    background-color: #DFDFDF !important;
    border: 2px solid #DFDFDF !important;
}
[type="checkbox"]:disabled+span:not(.lever) {
    color: #9f9f9f;
}

input.browser-default:focus {
    outline: unset;
}
input.browser-default:not(.input-file):read-only {
    /* background: #D0DEEF; */
    background: #DFDFDF;
    color: #9F9F9F;
}
select.browser-default {
    height: 32px;
    line-height: 32px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 4px 12px;
}
textarea.browser-default {
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 4px 12px;
    width: 100%;
    /* height: 150px; */
    resize: none;
    line-height: normal;
}
textarea.browser-default:read-only {
    /* background: #D0DEEF; */
    background: #DFDFDF;
    color: #9F9F9F;
}
textarea.browser-default:focus {
    outline: none;
}
select.browser-default:focus {
    outline: none;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #D9D9D9 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    height: 100%;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    font-size: 12px;
}

th, td {
    border-radius: 0;
    font-size: 12px;
    padding: 8px;
}

i.showpassword {
    top: 4px;
    right: 18px;
    position: absolute;
    cursor: pointer;
}
input[type="password"].showpassword {
    padding-right: 42px;
}

i.search {
    top: 4px;
    right: 18px;
    position: absolute;
}
input[type="search"].search {
    padding-right: 42px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

.toast {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.uploadprogress .progress {
    background-color: #D0DEEF !important;
}

.uploadprogress .progress .determinate,
.uploadprogress .progress .indeterminate:before,
.uploadprogress .progress .indeterminate:after {
    background-color: #0F5FC1 !important;
}

.targetprogress .progress {
    background-color: #edeadf !important;
}

.targetprogress .progress .determinate,
.targetprogress .progress .indeterminate:before,
.targetprogress .progress .indeterminate:after {
    background-color: #c6bc97 !important;
}

.noselect {
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: -moz-none; /* Old versions of Firefox */
    -o-user-select: none; /* Opera */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera, and Firefox */
}

.modal {
    border-radius: 4px;
}
.modal .modal-content {
    padding: 10px;
}
.modal .modal-footer {
    padding-bottom: calc(1.0933333333rem + 10px);
    height: auto;
}
.modal.modal-fixed-footer .modal-content {
    height: calc(100% - 78px);
}
.modal.modal-small {
    max-width: 400px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    height: 32px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #D9D9D9 !important;
    font-size: 12px;
}
.select2-results__options {
    font-size: 12px;
}
.select2-dropdown {
    /* border: 1px solid #D9D9D9; */
    border-left: 1px solid #D9D9D9 !important;
    border-right: 1px solid #D9D9D9 !important;
    border-bottom: 1px solid #D9D9D9 !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    /* box-shadow: none !important; */
    box-shadow: none !important;
    border-bottom: 1px solid #D9D9D9 !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 12px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 32px;
    line-height: 32px;
    border: none;
}
.select2-container .select2-selection--single {
    height: 32px !important;
    line-height: 32px !important;
    border: 1px solid #D9D9D9 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
}

.sidenav .collapsible-body li a, .sidenav.fixed .collapsible-body li a {
    padding: 0 32px 0 46px;
}

.sidenav li>a>i.right {
    margin: 0;
}

.pagination li a {
    display: flex;
    height: 100%;
    -webkit-box-align: center;
    align-items: center;
    font-size: 12px;
}
.pagination li.active {
    background-color: white !important;
    border: 1px solid var(--btn-primary);
    border-radius: 4px;
}
.pagination li.active a {
    color: var(--btn-primary);
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    /* border-radius: 10px; */
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    /* border-radius: 10px; */
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

.calendar-table table.table-condensed td {
    padding: 4px 8px;
}

.daterangepicker .drp-buttons button {
    line-height: normal !important;
    height: auto !important;
}
.daterangepicker .drp-buttons button.btn-default {
    background-color: white !important;
    border: 1px solid var(--btn-primary) !important;
    color: var(--btn-primary) !important;
}
.daterangepicker .drp-buttons button.btn-primary {
    background-color: var(--btn-primary) !important;
    color: white !important;
}

.daterangepicker td.in-range {
    background-color: #f3f1ea !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--btn-primary) !important;
    color: white !important;
}

.capsule {
    width: fit-content;
    padding: 2px 12px;
    border-radius: 14px;
}

.datepicker-container {
    padding: 0 !important;
}

.materialbox-caption {
    font-size: 24px;
}

#materialbox-overlay {
    background-color: #292929f9;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 30px !important;
}