* {
    font-family: "Inter", sans-serif;
}

html {
    font-size: 14px;
}

html, body {
    margin: 0;
}
body {
    min-height: 100dvh;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 100,
        'GRAD' 0,
        'opsz' 24
}
.material-symbols-outlined.fill {
    font-variation-settings:
        'FILL' 1,
        'wght' 100,
        'GRAD' 0,
        'opsz' 24
}

.mono {
    font-family: "Roboto Mono", monospace;
}

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;
}

.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-l-8px { padding-left: 8px; }
.p-r-8px { padding-right: 8px; }

.p-t-10px { padding-top: 10px;}

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%; }
.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-100px { width: 100px; }
.w-150px { width: 150px; }
.w-200px { width: 200px; }
.w-300px { width: 300px; }
.w-fit { width: fit-content; }
.m-auto { margin: auto; }
.square { aspect-ratio: 1/1; }
.square-300px {
    width: 300px;
    height: 300px;
}
.border-radius {
    border-radius: 8px;
}

.block { display: block; }
.inline-block { display: inline-block;; }
.hidden { display: none; }
.relative { position: relative; }

.f-larger { font-size: 1.1rem; }
.f-10px { font-size: 10px; }
.f-12px { font-size: 12px; }
.f-14px { font-size: 14px; }
.f-16px { font-size: 16px; }
.f-18px { font-size: 18px; }
.f-smaller { font-size: .8rem; }
.bold { font-weight: bold; }
.semibold { font-weight: 600; }
.underline { text-decoration: underline; }
.thin { font-weight: thin; }
.lowercase { text-transform: lowercase; }
i.icon-large { font-size: 42px; }

.clickable { cursor: pointer; }

.card {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 10px;
    border-radius: 8px;
    margin: 0;
    border: 1px solid #e0e0e0;
    background-color: white;
}

button, a.btn, a.btn-small, a.btn-flat {
    box-shadow: none !important;
    text-transform: none !important;
    border-radius: 4px !important;
}

.v-scroll {
    overflow-x: auto;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: #8b6655;
}

[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:after {
    background-color: #8b6655 !important;
}
[type="radio"]:checked+span:after, [type="radio"].with-gap:checked+span:before, [type="radio"].with-gap:checked+span:after {
    border: 2px solid #8b6655 !important;
}
input.browser-default {
    height: 32px;
    line-height: 32px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
}
input::placeholder,
textarea::placeholder {    
    font-size: 12px;
}

.switch label input[type=checkbox]:checked+.lever:after {
    background-color: #681414 !important;
}
.switch label input[type=checkbox]:checked+.lever {
    background-color: #6985D2 !important;
}
[type="checkbox"].filled-in:checked+span:not(.lever):after {
    background-color: #681414;
    border: 2px solid #681414;
}
[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
    border: 1px solid #9F9F9F;
}
[type="checkbox"]+span:not(.lever) {
    color: black;
    /* line-height: normal;
    height: auto; */
}

input.browser-default:focus {
    outline: unset;
}
input.browser-default:not(.input-file):read-only {
    /* background: #D0DEEF; */
    background: #EAEAEA;
    color: #333333;
}
select.browser-default {
    height: 32px;
    line-height: 32px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 4px 12px 4 9px;
    font-size: 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;
}

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 */
}

.uploadprogress .progress {
    background-color: #D0DEEF !important;
}

.uploadprogress .progress .determinate,
.uploadprogress .progress .indeterminate:before,
.uploadprogress .progress .indeterminate:after {
    background-color: #0F5FC1 !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;
    background-color: white;
}
.modal .modal-content {
    padding: 20px 10px 10px 10px;
}
.modal .modal-footer {
    padding-top: 10px;
    padding-bottom: 16px;
    height: auto;
    background-color: white;
}
.modal-small {
    max-width: 400px;
}
.modal-title {
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    background-color: #681414;
    color: white;
}
.input-password {
    padding-right: 60px;
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    height: 32px;
    line-height: 32px;
    background-color: transparent !important;
}
.eye-closed {
    display: none;
}

table th, table td {
    border-radius: 0;
    padding: 8px 12px;
    font-size: 12px;
}
table th {
    background-color: #681414;    
    color: white;
    padding: 12px;
}
table thead tr:first-child th:first-child {
    border-top-left-radius: 8px;
}
table thead tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

table.highlight tbody tr:hover {
    background-color: #d7ccb655;
}

td button.btn-small,
td a.btn-small {
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    border-radius: 12px !important;
}

form {
    display: none;
}

table.compact tr {
    border: none !important;
}
table.compact th,
table.compact td {
    padding: 4px 8px !important;
}

table.noborder tr,
table.noborder th,
table.noborder td {
    border: none !important;
}
table.all-border th,
table.all-border td {
    border: 1px solid #e0e0e0 !important;
}

.datepicker-modal .modal-content{
    padding: 0;
}
.datepicker-date-display {
    background-color: #681414;
}

table.datepicker-table th {
    background-color: #681414;
    color: white;
}
table.datepicker-table td{
    border: 1px solid #e0e0e0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.datepicker-day-button {
    line-height: 32px;
    height: 32px;
    width: 100%;
}
.datepicker-table td.is-today {
    color: #681414 !important;
}
.datepicker-table td.is-today button {
    font-weight: bold !important;
}
.datepicker-table td.is-selected {
    background-color: #681414 !important;    
    color: white !important;
}
.datepicker-footer {
    padding-top: 10px;
}
.datepicker-cancel,
.datepicker-clear,
.datepicker-today,
.datepicker-done {
    color: #681414 !important;
}

.dropdown-content li>a,
.dropdown-content li>span {
    color: #1a1a1a !important;
}

.datepicker-calendar button.month-next,
.datepicker-calendar button.month-prev {
    background-color: transparent !important;
}

.datepicker-controls .select-month input {
    width: 100px;
    font-size: 14px;
}
.datepicker-controls .select-year input {
    font-size: 14px;
}

.select2-search--dropdown .select2-search__field {
    padding: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 32px !important;
    font-size: 12px !important;
}
.select2-results__option {
    font-size: 12px;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #dedede !important;
    box-shadow: none !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field:active,
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border: 1px solid #dedede !important;
    box-shadow: none !important;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #dedede !important;
    height: 32px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
    font-size: 12px !important;
}

.valign-wrapper > .right {
    margin-left: auto;
}
.valign-wrapper > .left {
    margin-right: auto;
}

ul.browser-default {
    padding-inline-start: 16px;
}