:root {
    --wl-dark-blue: #08358c;
    --wl-light-blue-bg: #dfedff;
    --wl-light-blue-border: #bfd8ff;
}

body {
    background-color: #fcfcfc;
}

.filepond--credits {
    display: none !important;
}

.change_order_input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
    padding: 0;
    /* Remove the buttons to add or lower value */
    appearance: textfield;
}

.change_order_input::-webkit-outer-spin-button,
.change_order_input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.change_order_input {
    -moz-appearance: textfield;
}

/* IE and older Edge */
.change_order_input::-ms-clear,
.change_order_input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.horizontal-scroll-bar::-webkit-scrollbar {
    height: 5px;
    /* Change the height of the horizontal scrollbar */
    background-color: #f0f0f0;
    /* Background color of the scrollbar track */
}

.horizontal-scroll-bar::-webkit-scrollbar-thumb {
    background-color: #cacaca;
    /* Color of the scrollbar thumb */
    border-radius: 4px;
    /* Make the thumb rounded */
}

.horizontal-scroll-bar::-webkit-scrollbar-thumb:hover {
    background-color: #acacac;
    /* Darker color on hover */
}

.horizontal-scroll-bar::-webkit-scrollbar-button {
    background-color: #ccc;
    /* Color of the scrollbar buttons */
    display: none;
    /* Hide the buttons if you don't need them */
}

.sidebar-wrapper {
    width: 250px !important;
    background-color: var(--wl-dark-blue);
}

.sidebar-wrapper .sidebar-header img {
    height: 5rem;
}

.logo {
    display: flex;
}

.sidebar-wrapper .menu {
    padding-left: 0;
    margin-top: 2rem;
    padding: 0 0rem !important;
    font-weight: 600;
}

.sidebar-wrapper .menu .sidebar-link {
    border-radius: 0 !important;
    color: #fff;
}

.sidebar-wrapper .menu .sidebar-link i {
    color: #fff;
}

.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link {
    background-color: #f2f2f2;
}

.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link span {
    color: var(--wl-dark-blue);
}

.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link svg,
.sidebar-wrapper .menu .sidebar-item.active > .sidebar-link i {
    fill: var(--wl-dark-blue);
    color: var(--wl-dark-blue);
}

.sidebar-wrapper .menu .sidebar-link:hover {
    background-color: #f0f1f5;
    color: var(--wl-dark-blue);
}

.sidebar-wrapper .menu .sidebar-link i:hover {
    color: var(--wl-dark-blue);
}

.sidebar-wrapper .menu .submenu .submenu-item.active {
    background: #ebebeb;
    color: var(--wl-dark-blue);
}

.sidebar-wrapper .menu .submenu .submenu-item.active > a {
    color: var(--wl-dark-blue) !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #17439c;
}

#main {
    margin-left: 250px;
    padding: 0 !important;
    min-height: 100vh;
}

.main-header {
    padding: 0.5rem 0.5rem 0;
}

.main-content {
    padding: 0.5rem 0.5rem;
    min-height: 100vh;
}

.content-bordered {
    border-radius: 15px;
    border: 2px solid #ccc;
    min-height: 80vh;
    padding: 0.2rem 0.3rem;
    overflow: hidden;
}

html[data-bs-theme="dark"] .content-bordered {
    border-color: #34344d;
}

.wl-section-title {
    padding: 10px 20px;
    background: var(--wl-dark-blue) !important;
}

.bg-wl-dark-blue {
    background: var(--wl-dark-blue) !important;
}

html[data-bs-theme="dark"] .sidebar-wrapper .sidebar-header img {
    height: 5rem;
}

.top-bar-wf {
    display: flex;
    flex-direction: row;
}

.user-area:hover {
    background-color: #f0f1f5;
    border-radius: 8px;
    cursor: pointer;
}

.service_div_round_disabled {
    background-color: #a6a6a6 !important;
}

.grid-th {
    padding: 0.2rem 0.25rem !important;
    height: fit-content;
}

.grid-td {
    padding: 0.1rem 0.25rem !important;
}

.wl-input-text-field {
    padding: 0.1rem 0.1rem;
}

.choices__inner {
    padding: 0px !important;
    min-height: fit-content;
}

.form-control {
    font-size: 0.88rem !important;
}

.form-group[class*="has-icon-"] .form-control-icon i {
    font-size: 1rem !important;
}

.form-group[class*="has-icon-"] .form-control-icon i:before {
    vertical-align: baseline !important;
}

.client-selection-box:hover {
    background-color: #f0f1f5;
    border-radius: 8px;
    cursor: pointer;
}

.note_display {
    font-family: Arial, sans-serif;
    font-size: 14px;
    white-space: pre-wrap;
    margin-top: 16px;
}

.note_preview {
    background-color: #f0f0f0;
    padding: 10px;
}

.timeline .changed-field {
    font-weight: bold;
    text-align: start;
}

.timeline .event-description {
    text-align: center;
    color: #4e4e4e;
}

.bg-wf-light-blue {
    background-color: var(--wl-light-blue-bg) !important;
}

.border-wf-light-blue {
    border-color: var(--wl-light-blue-border) !important;
}

.table-wf-light-blue {
    border-color: var(--wl-light-blue-border) !important;
}

.table-wf-light-blue thead {
    background-color: var(--wl-light-blue-bg) !important;
    color: #3c5485 !important;
}

@media screen and (min-width: 1200px) {
    #sidebar ~ #main {
        margin-left: 250px;
    }

    html[data-bs-theme="dark"] #sidebar ~ #main {
        margin-left: 250px;
    }
}

#intake-table_wrapper .row:nth-child(2) .col-xs-12 {
    overflow-x: scroll;
}

#intake-table_wrapper .row:nth-child(2) .col-xs-12::-webkit-scrollbar {
    height: 8px;
    /* Change the height of the horizontal scrollbar */
    background-color: #f0f0f0;
    /* Background color of the scrollbar track */
}

#intake-table_wrapper .row:nth-child(2) .col-xs-12::-webkit-scrollbar-thumb {
    background-color: #cacaca;
    /* Color of the scrollbar thumb */
    border-radius: 4px;
    /* Make the thumb rounded */
}

#intake-table_wrapper
    .row:nth-child(2)
    .col-xs-12::-webkit-scrollbar-thumb:hover {
    background-color: #acacac;
    /* Darker color on hover */
}

#intake-table_wrapper .row:nth-child(2) .col-xs-12::-webkit-scrollbar-button {
    background-color: #ccc;
    /* Color of the scrollbar buttons */
    display: none;
    /* Hide the buttons if you don't need them */
}

#intake-table > thead > tr {
    border: 1px solid #abccff !important;
}

#intake-table > thead > tr > th {
    font-size: 12px;
    text-transform: uppercase;
}

.test {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* html[data-bs-theme="dark"] ol,
html[data-bs-theme="dark"] ul {
    padding-left: 0 !important;
} */

html[data-bs-theme="dark"] .select2-dropdown {
    background-color: #1b1b29;
}

html[data-bs-theme="dark"] .select2-results__options {
    padding-left: 0;
}

html[data-bs-theme="dark"]
    .select2-container--default
    .select2-selection--single {
    background-color: #1b1b29;
}

html[data-bs-theme="dark"]
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #c2c2d9;
}

html[data-bs-theme="dark"]
    .select2-container--default
    .select2-results__option[aria-selected="true"] {
    background-color: #34344d;
}

html[data-bs-theme="dark"]
    .select2-container--default
    .select2-selection--multiple {
    background-color: #34344d;
}

#intake-table {
    font-size: 0.9rem;
}

.money-input {
    text-align: right;
    padding-right: 8px;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

.badge-dark {
    color: #fff;
    background-color: #343a40;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.card-folder {
    background-color: #17439c;
    color: #fff;
    min-width: 360px;
    max-width: 360px;
    margin-right: 5px;
    padding: 1rem;
}

.card-file {
    background-color: #1d2a5f;
}

.card-body-folder {
    padding: 0rem !important;
}

.folder-img {
    margin-bottom: 10px;
}

.folder-name {
    display: flex;
    align-items: center;
}

.folder-content {
    margin-bottom: 3px;
}

.empty-star-icon {
    display: block;
    width: 30px;
    height: 30px;
    background-image: url("../img/empty-star-icon.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.empty-star-icon:hover {
    background-image: url("../img/star-icon.svg");
}

.star-icon {
    display: block;
    width: 30px;
    height: 30px;
    background-image: url("../img/star-icon.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.video-item-hover:hover {
    background-color: #f0f0f0;
}
