:root {
    --bs-font-sans-serif-ar: system-ui, -apple-system, "Segoe UI", 'Vazirmatn', "Noto Sans Arabic", sans-serif, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-sans-serif-noto: "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", 'Vazirmatn', sans-serif, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-sans-serif-vazir: 'tam-erp', 'Vazirmatn', system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", sans-serif, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* --bs-font-sans-serif-vazir: 'linaround', 'tam-erp', 'Vazirmatn', system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", sans-serif, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
    --bd-purple: #4c0bce;
    --bd-violet: #712cf9;
    --bd-accent: #ffe484;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bd-accent-rgb: 255, 228, 132;
    --bd-pink-rgb: 214, 51, 132;
    --bd-teal-rgb: 32, 201, 151;
    --bd-violet-bg: var(--bd-violet);
    --bd-toc-color: var(--bd-violet);
    --bd-sidebar-link-bg: rgba(var(--bd-violet-rgb), .1);
    --bd-callout-link: 10, 88, 202;
    --bd-callout-code-color: #ab296a;
    --bd-pre-bg: var(--bs-tertiary-bg);
    /* --bs-nav-link-font-size: 0.863rem; */
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #79aec8;
        --secondary: #417690;
        --accent: #f5dd5d;
        --primary-fg: #fff;
        --body-fg: #333;
        --body-bg: #fff;
        --body-quiet-color: #666;
        --body-loud-color: #000;
        --header-color: #ffc;
        --header-branding-color: var(--accent);
        --header-bg: var(--secondary);
        --header-link-color: var(--primary-fg);
        --breadcrumbs-fg: #c4dce8;
        --breadcrumbs-link-fg: var(--body-bg);
        --breadcrumbs-bg: var(--primary);
        --link-fg: #447e9b;
        --link-hover-color: #036;
        --link-selected-fg: #5b80b2;
        --hairline-color: #e8e8e8;
        --border-color: #ccc;
        --error-fg: #ba2121;
        --message-success-bg: #dfd;
        --message-warning-bg: #ffc;
        --message-error-bg: #ffefef;
        --darkened-bg: #f8f8f8;
        --selected-bg: #e4e4e4;
        --selected-row: #ffc;
        --button-fg: #fff;
        --button-bg: var(--primary);
        --button-hover-bg: #609ab6;
        --default-button-bg: var(--secondary);
        --default-button-hover-bg: #205067;
        --close-button-bg: #888;
        --close-button-hover-bg: #747474;
        --delete-button-bg: #ba2121;
        --delete-button-hover-bg: #a41515;
        --object-tools-fg: var(--button-fg);
        --object-tools-bg: var(--close-button-bg);
        --object-tools-hover-bg: var(--close-button-hover-bg);
    }
}


/*  flex utilities */

.flex-root {
    -webkit-box-flex: 1;
    flex: 1;
    -ms-flex: 1 0 0px;
}

.flex-column-auto {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}

.flex-column-fluid {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

.flex-row-auto {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.flex-row-fluid {
    -webkit-box-flex: 1;
    flex: 1 auto;
    -ms-flex: 1 0 0px;
    min-width: 0;
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .flex-row-fluid {
        min-width: auto;
    }
}

.flex-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (min-width: 576px) {
    .flex-sm-root {
        -webkit-box-flex: 1;
        flex: 1;
        -ms-flex: 1 0 0px;
    }

    .flex-sm-column-auto {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
    }

    .flex-sm-column-fluid {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto;
    }

    .flex-sm-row-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .flex-sm-row-fluid {
        -webkit-box-flex: 1;
        flex: 1 auto;
        -ms-flex: 1 0 0px;
        min-width: 0;
    }
}

@media screen and (min-width: 576px) and (-ms-high-contrast: active),
(min-width: 576px) and (-ms-high-contrast: none) {
    .flex-sm-row-fluid {
        min-width: auto;
    }
}

@media (min-width: 576px) {
    .flex-sm-center {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .flex-md-root {
        -webkit-box-flex: 1;
        flex: 1;
        -ms-flex: 1 0 0px;
    }

    .flex-md-column-auto {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
    }

    .flex-md-column-fluid {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto;
    }

    .flex-md-row-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .flex-md-row-fluid {
        -webkit-box-flex: 1;
        flex: 1 auto;
        -ms-flex: 1 0 0px;
        min-width: 0;
    }
}

@media screen and (min-width: 768px) and (-ms-high-contrast: active),
(min-width: 768px) and (-ms-high-contrast: none) {
    .flex-md-row-fluid {
        min-width: auto;
    }
}

@media (min-width: 768px) {
    .flex-md-center {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .flex-lg-root {
        -webkit-box-flex: 1;
        flex: 1;
        -ms-flex: 1 0 0px;
    }

    .flex-lg-column-auto {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
    }

    .flex-lg-column-fluid {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto;
    }

    .flex-lg-row-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .flex-lg-row-fluid {
        -webkit-box-flex: 1;
        flex: 1 auto;
        -ms-flex: 1 0 0px;
        min-width: 0;
    }
}

@media screen and (min-width: 992px) and (-ms-high-contrast: active),
(min-width: 992px) and (-ms-high-contrast: none) {
    .flex-lg-row-fluid {
        min-width: auto;
    }
}

@media (min-width: 992px) {
    .flex-lg-center {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media (min-width: 1200px) {
    .flex-xl-root {
        -webkit-box-flex: 1;
        flex: 1;
        -ms-flex: 1 0 0px;
    }

    .flex-xl-column-auto {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
    }

    .flex-xl-column-fluid {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto;
    }

    .flex-xl-row-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .flex-xl-row-fluid {
        -webkit-box-flex: 1;
        flex: 1 auto;
        -ms-flex: 1 0 0px;
        min-width: 0;
    }
}

@media screen and (min-width: 1200px) and (-ms-high-contrast: active),
(min-width: 1200px) and (-ms-high-contrast: none) {
    .flex-xl-row-fluid {
        min-width: auto;
    }
}

@media (min-width: 1200px) {
    .flex-xl-center {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media (min-width: 1400px) {
    .flex-xxl-root {
        -webkit-box-flex: 1;
        flex: 1;
        -ms-flex: 1 0 0px;
    }

    .flex-xxl-column-auto {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
    }

    .flex-xxl-column-fluid {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto;
    }

    .flex-xxl-row-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .flex-xxl-row-fluid {
        -webkit-box-flex: 1;
        flex: 1 auto;
        -ms-flex: 1 0 0px;
        min-width: 0;
    }
}

@media screen and (min-width: 1400px) and (-ms-high-contrast: active),
(min-width: 1400px) and (-ms-high-contrast: none) {
    .flex-xxl-row-fluid {
        min-width: auto;
    }
}

@media (min-width: 1400px) {
    .flex-xxl-center {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

/* [dir="rtl"] * {
    letter-spacing: normal !important;
} */

html,
body {
    /* background-color: #e4e4e4; */
    /* background-color: #e9ecf3; */
}

body {
    overflow-x: hidden;
    font-size: 1rem;
    font-family: var(--bs-font-sans-serif-vazir);
    /* color: #607d8b; */
}

[dir="rtl"] body {
    font-size: 0.9rem;
    font-family: var(--bs-font-sans-serif-vazir);
}

body {
    position: relative;
    /* background-color: #f6f7fa; */
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;
}

.wrapper {
    flex: 1 1 100%;
    overflow: hidden;
}

body.popup .wrapper {
    overflow: initial;
}

body.popup .footer {
    display: none;
}

body.popup #content {
    /* overflow: hidden; */
}

.main {
    height: 100%;
    /* overflow: auto; */
    /* overflow-x: hidden; */
}

#container {
    height: 100% !important;
}

#content {
    /* overflow: auto; */
    flex: 1 1 100%;
    position: relative;
}

body.admin-dark {
    color: var(--body-fg);
}

.table {
    color: var(--body-fg);
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-0 {
    opacity: 0;
}

.h3,
h3 {
    font-size: 1.5rem;
}

.h4,
h4 {
    font-size: 1.125rem;
}

.h5,
h5 {
    font-size: 0.9375rem;
}

.h6,
h6 {
    font-size: 0.75rem;
}

h2.subhead {
    font-size: 1rem;
}

.aligned label:not(.vCheckboxLabel):after {
    display: inline;
}

[dir="rtl"] .btn-group-sm>.btn,
.btn-sm {
    font-size: 0.85rem;
}

.bg-focus {
    /* background-color: #444054 !important; */
}

ul>li {
    list-style-type: none;
    padding: unset;
}

.popover {
    --bs-popover-font-size: 0.753rem;
    font-size: var(--bs-popover-font-size);
}

input,
textarea,
select,
.form-row p,
form .button {
    font-family: inherit;
}

select:disabled {
    opacity: 1;
    /* background: #f9fafb; */
}

form .form-row p.datetime {
    overflow: hidden;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.cursor-pointer {
    cursor: pointer !important;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

td {
    display: table-cell;
    vertical-align: inherit;
}

p.datetime .vDateField {
    width: 7em !important;
    min-width: 7em !important;
    min-width: 11.5em !important;
    max-width: 7em !important;
}

p.datetime .vTimeField {
    width: 6em;
    max-width: 6em;
    min-width: 6em;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.float-none {
    float: none;
}


/* ============== */


/*   base admin */


/* ============== */

.dir-ltr {
    direction: ltr;
}

#app-header {
    grid-template-columns: 1fr 2fr;
    height: 46px;
    min-height: 46px;
    background: #036;
    background: #060398;
    background: #004473;
    background: #572d95;
    /* background:#017e84; */
    /* background:#6339a2; */
}

#container {
    overflow: auto;
    overflow-x: hidden;/*fixe me*/
    width: 100%;
    /* background: #f9fafb; */
    /* background: #f1f4f6; */
    /* background: var(--selected-bg); */
    /* background: #e9ecf3; */
    min-height: 100vh;
    height: auto;
    margin: 0;
}

#header {
    /* width: 100% !important; */
    /* height: 45px; */
    /* margin-bottom: 0.5rem !important; */
    flex-direction: row;
    flex-wrap: wrap;
}

#header2 {
    /*height: 45px;*/
    position: relative;
    padding: 8px 16px;
    /* background: #fafbfc; */
    overflow: initial;
}

#header.bg-white a:link,
#header a:visited {
    /* color: #6c757d; */
}

#header2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 98%;
    height: 4px;
    background: linear-gradient(180deg, rgba(9, 30, 66, 0.13) 0, rgba(9, 30, 66, 0.13) 1px, rgba(9, 30, 66, 0.08) 1px, rgba(9, 30, 66, 0) 4px);
}

.nav-menu {
    /* color: #3a3e63 !important; */
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 43px;
    padding: 0 10px;
    position: relative;
    border-bottom: 1px solid rgba(238, 238, 238, 0.7);
}

.nav-menu:not(.collapsed) {
    /* background: #e4ebf2; */
}

.submenu2 {
    position: relative;
    transition: max-height 0.8s;
    box-shadow: inset 0 9px 15px -12px rgb(0 0 0 / 40%), inset 0 -9px 20px -15px rgb(0 0 0 / 40%);
    /* background: #f2f6fb; */
}

.current_menu {
    box-shadow: inset 0 9px 15px -12px rgb(0 0 0 / 40%);
}

tr.add-row td a:focus {
    /* color: #84c848 !important; */
    font-weight: 700 !important;
    font-family: var(--bs-font-sans-serif-vazir) !important;
}



#container>div2 {
    flex-shrink: 0 !important;
    flex-grow: 1 !important;
}

[dir="rtl"] .navbar-brand {
    font-size: 1rem;
}

[dir="rtl"] #user-tools {
    font-weight: 400;
    font-size: 0.85rem;
}

[dir="rtl"] .apexcharts-tooltip-series-group {
    padding: 0 10px;
    display: none;
    text-align: right;
    justify-content: right;
    align-items: center;
}

.errornote {
    margin-top: 5px;
}

select {
    width: 19.5em;
    /*width: 20em;*/
    margin: 0 0 0 1px;
}

.related-widget-wrapper select:not(.filtered) {
    width: 19.5em;
}

fieldset.custom-fields .field-currency.field-amount .related-widget-wrapper {
    min-width: 14.4em;
    width: 14.4em;
    margin-left: 20px;
}

fieldset.custom-fields .field-currency.field-amount .related-widget-wrapper>span {
    min-width: 5em;
    width: 5em;
}

fieldset.custom-fields .field-currency.field-amount .field-amount input {
    min-width: 10em;
    width: 10em;
}

fieldset.custom-fields .field-amount.field-currency select {
    width: 9em;
}

.vDateField:disabled~.datetimeshortcuts {
    display: none;
}

.admin-light .table:not(.table-hover-none) tbody tr:not(.add-row) td:hover,
.admin-light .table:not(.table-hover-none) tbody tr:not(.add-row) td:focus-within,
.admin-light .table:not(.table-hover-none) tbody tr:not(.add-row) th:focus-within,
.admin-light .table:not(.table-hover-none) tbody tr:not(.add-row) th:hover {
    /* border-bottom: 1px solid #004473; */
    cursor: pointer;
    border-bottom: 1px solid var(--bs-gray-500) !important;
    /* background-color: white !important; */
}

.admin-light .table tbody tr:hover td,
.admin-light .table tbody tr:hover th {
    /* color: #666666; */
    /* background-color: rgba(0, 0, 0, 0.04); */
    /*border-bottom: 2px solid #6c757d;*/
}


/*footer.footer {*/


/*    position: absolute;*/


/*    width: 100%;*/


/*    bottom: 0;*/


/*}*/

.app-main .app-main__inner {
    flex: 1;
}

.dropdown-menu li {
    list-style-type: none;
}

.app-page-title {
    /*background: rgba(255, 255, 255, 0.45);*/
    /*padding: 4px 20px;*/
    position: relative;
    margin: 0;
    margin: 0px 0px 10px;
    font-size: 0.9rem;
    /* color: grey; */
    display: contents;
}

#content,
.dashboard #content,
.colMS {
    width: 100%;
    /* padding: 0px 20px; */
    /*change_form only*/
    /* padding: 0px 0px; */
    /*max-width: 1140px;*/
    /*margin-right: 0px;*/
    /*margin-left: 0px;*/
}

[dir="rtl"] .validation-error-container {
    left: auto;
    right: 16px;
}


fieldset.module {
    padding: 0 20px;
}

fieldset.module.collapse {
    margin-bottom: .25rem !important;

}

fieldset.module.collapse:not(.show) {
    display: flow-root;
}

.inline-related fieldset.module {
    padding: 0 !important;
}

/*    overflow-x: hidden;*/

/*  */
/* }*/

.mw-20 {
    width: 20em;
    width: 13em;
}

.ro-mw-100 .readonly {
    min-width: 100%;
}

.mw-1140 {
    max-width: 1140px;
}

.mw-1266 {
    max-width: 1266px;
}

.mw-1400 {
    max-width: 1330px;
}

.submit-row {
    border: none;
}

.nav-breadcrumbs {
    box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03), 0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03), 0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05), 0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* .breadcrumbs-nav {
    background: white;
    color: black;
} */

div.breadcrumbs {
    /*background: #f1f4f6 !important;*/
    /*background: #dee2e6 !important;*/
    /*color: #999 !important;*/
    /*padding: 2px 0px !important;*/
    padding: 7px 27px !important;
    /*display: inline-table;*/
    /* background: white !important; */
    /*background: #e8ebed !important;*/
    /* background: transparent !important; */
    /* color: #417690 !important; */
    /*padding: 10px 40px !important;*/
}

div.breadcrumbs a {
    /* color: #495057 !important; */
}

div.breadcrumbs a:hover,
div.breadcrumbs a:link {
    /* color: #888 !important; */
}

.change-list ul.toplinks li {
    padding: 6px 6px;
}

.btn-pm {
    padding: 0.344rem 0.75rem;
}

div#changelist-filter .select2,
div#changelist-filter .select2-selection,
div#changelist-filter select,
div#changelist-filter input {
    max-width: 100%;
    width: 100%;
    min-width: 100%;
}

/* #changelist-filter h3,
#changelist-filter ul {
    margin: 0;
    padding: 0;
} */

.object-tools {
    margin-top: -40px !important;
}

@media (max-width: 767px) {
    .object-tools {
        float: none;
        margin: 0 0 15px !important;
        padding: 0;
        overflow: hidden;
    }
}

.object-tools li {
    display: inline-block;
    height: auto;
    float: none !important;
}

.object-tools .dropdown-menu li {
    display: block;
}

/* .object-tools .dropdown-menu .dropdown-item {
    background: white;
    background-color: #fff;
} */

.object-tools .dropdown-menu .dropdown-item.active,
.object-tools .dropdown-menu .dropdown-item:active,
.object-tools .dropdown-menu .dropdown-item:focus,
.object-tools .dropdown-menu .dropdown-item:hover {
    /* color: #2a2a2a !important; */
    /* background-color: transparent !important; */
    /* background-color: #f8f9fa !important; */
}

.wizard_payment_form form {
    padding: 1rem 4rem;
}

ul.errorlist {
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: var(--error-fg);
    background: var(--body-bg);
}

.errornote {
    padding: 6px 12px !important;
    margin: auto !important;
    /* border-top: 3px solid #dc3545 !important; */
}

.errors input,
.errors select,
.errors textarea,
td ul.errorlist+input,
td ul.errorlist+select,
td ul.errorlist+textarea {
    border: 1px solid var(--border-color);
    border-bottom: 2px solid var(--error-fg);
}

.main-card.card {
    box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03), 0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03), 0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05), 0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
    border-width: 0;
    transition: all 0.2s;
}

ul.list-unstyled>li {
    list-style-type: none;
    padding: 0;
}

.change-form .object-tools {
    /* margin-top: 7px !important;
    padding: 0 !important; */
    /* padding: 12px 14px 12px; */
    padding: 5px;
    margin: 5px 10px;

}

/* .submit-row {
    padding: 6px 12px 6px;
    margin: 0 0 6px;
} */
@media (min-width: 768px) {
    .change-form .object-tools {
        margin-top: 7px !important;
        /* padding: 0 !important; */
        padding: 5px;
        margin: 5px 10px;

    }

    .object-tools.is-popup {
        margin-top: auto !important;
    }
}

.main-card {
    float: none;
    background: transparent;
}


/*.inline-table {*/


/*    table-layout: fixed;*/


/*}*/

.object-tools a {
    border-radius: 0px;
}

div.breadcrumbs {
    font-size: 0.9rem;
}

td,
th {
    /* font-size: 0.9rem; */
    line-height: inherit;
    border-bottom: inherit;
    vertical-align: inherit;
    /* padding: inherit; */
    font-family: inherit;
}

[dir="rtl"] .inline-group .tabular td.original p {
    right: 0;
    left: auto;
}

.paginator {
    border-top: none;
}

#toolbar form input,
#changelist .actions select {
    border-radius: 0px;
}

#changelist .actions {
    padding: 3px;
    line-height: inherit;
    color: var(--body-quiet-color);
}

.btn-default {
    color: #333 !important;
    background-color: #fff;
    border-color: #e9ecef;
    border-radius: 0px;
}

.custom-card-title {
    padding: 0 1rem;
    margin-bottom: 0;
}

#changelist-filter {
    /* background-color: white; */
}

#changelist-filter.border-on {
    border-right: 6px solid #6c757d !important;
    /* border-right: 6px solid #e9ecef !important;
margin-top: -13px;
margin-right: -16px !important;
border-left: 1px solid #e4e4e4; */
}

#changelist-filter h2 {
    /* background: #6c757d; */
    /* background: #004473bd; */
    /* color: inherit; */
}

#header a:link,
#header a:visited {
    /* color: inherit; */
}

#header a:focus,
#header a:hover {
    text-decoration: none;
}

#changelist {
    position: relative;
}

#changelist .actions select {
    height: 30px;
}

@media (min-width: 1200px) {

    .h1,
    h1 {
        font-size: 1.25rem;
    }
}

#toolbar2 {
    padding: 0 !important;
    margin-bottom: 0px !important;
}

#toolbar #searchbar {
    height: 30px !important;
    padding: 4px !important;
    width: 16.5rem;
}

#changelist .actions select {
    min-width: 18.789em;
    max-width: 18.789em;
    width: 18.789em;
    /* margin-left: 0px; */
    margin-left: 4px;
    margin-right: 1rem;
}

.actions button {
    min-width: 3.6em;
    white-space: nowrap;
    /* max-height: 8em; */
}

#changelist .actions label.action-label {
    padding: 0.344rem 0.75rem 0.344rem 1.2rem;
}

#result_list thead tr {
    /* background-color: #dee2e6; */
    background-color: inherit;
    /* background-color: #eee; */
}

@media (max-width: 1024px) {
    #changelist-search .quiet {
        width: auto !important;
        flex: initial !important;
    }
}

changelist-form-container {
    position: relative;
}

#changelist-filter.collapsing {
    width: 0;
    height: auto;
    overflow: hidden;
    transition: width;
}

#changelist-filter {
    max-width: 240px !important;
    min-width: 200px !important;
    /* margin-right: 21px !important; */
    /* margin-left: 15px !important; */
    /* order: 0; */
    /* transition: all 1s ease; */
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10000;
}

#changelist-filter h3 {
    font-weight: 400;
    font-size: 0.8375rem !important;
    /* background: #e9ecef; */
    padding: 0.5rem;
    margin: 0;
}


/*#changelist-filter.border-on {*/


/*    border-right: 6px solid #79aec8 !important;*/


/*}*/

#changelist-filter.offcanvas.text-bg-dark a {
    display: block;
    color: var(--bs-gray-500);
    word-break: break-word;
}

#changelist-filter.offcanvas.text-bg-dark li.selected a {
    color: var(--bs-gray-600);
}

#changelist-filter.offcanvas.text-bg-dark li.selected {
    border-right: 5px solid var(--bs-gray-700);
}

#changelist-filter.offcanvas.text-bg-dark ul {
    border-bottom: none;
    /* border-bottom: 1px solid var(--bs-gray-700); */
}

/* @media (max-width: 767px) {
    #changelist-filter {
        position: fixed;
    }
} */

#changelist-filter #changelist-filter-clear a {
    border-bottom: none;
    color: none;
    font-weight: 400;
    font-size: 0.8125rem;
    background: transparent;
}

#changelist-filter h3 {
    background: transparent;
}

#changelist-filter span.close {
    font-size: .6rem;
    /* color: #fff; */
}

.filter-clear {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    background-color: var(--bs-gray-dark);
}

.filter-clear-fields a {
    /* color: #151515; */
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    background-color: transparent;
    border-radius: 3px;
}

.filter-clear-close-all {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    min-width: 0;
    white-space: nowrap;
}

.filter-scrollbar-container {
    height: 95%;
}

#changelist-filter2.sticky-md.show {
    position: sticky;
    top: 0;
    max-height: 100%;
    overflow-y: auto;
}

@media (max-width: 1024px) {
    #toolbar {
        flex-grow: 1 !important;
    }

    #changelist-search>div {
        display: flex;
        flex-wrap: nowrap;
        max-width: 100%;
        min-width: 100% !important;
    }
}

@media (max-width: 767px) {
    #changelist2 {
        flex-wrap: nowrap !important;
        flex-direction: row;
    }

    #changelist-filter {
        margin-top: auto;
        margin-bottom: 1rem;
        padding-bottom: 2rem;
        min-width: 100% !important;
    }

    #changelist-filter2.show {
        right: 0;
        transition: all 1s ease;
    }

    #changelist-filter2 {
        position: absolute !important;
        right: -240px;
        transition: all 1s ease;
        /*box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;*/
    }
}

.alert-dismissible .btn-close {
    padding: 0.9rem 1rem;
}

.blank-state {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 3px 4px -3px rgba(102, 102, 102, 0.25);
    -webkit-box-shadow: 0 3px 4px -3px rgba(102, 102, 102, 0.25);
    box-shadow: 0 3px 4px -3px rgba(102, 102, 102, 0.25);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 40px 20px;
    font-size: 100%;
    /* color: #737373; */
    text-align: center;
    border: 1px solid #ddd;
    /* background-color: #fefefe; */
}

.blank-state h1,
.blank-state p {
    font-weight: 300;
}

.blank-state p {
    margin-bottom: 15px;
}

.blank-state.blank-state-lg {
    padding: 90px 45px;
    font-size: 150%;
}

.blank-state.blank-state-sm {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 10px;
    font-size: 85%;
}


/* btn style */

a,
button,
.btn {
    outline: none !important;
    box-shadow: none;
}

a:focus,
button:focus,
.btn:focus {
    outline: none !important;
    box-shadow: none;
}

a[tabindex="0"]:focus {
    /* background: #dee2e6; */
}

.btn {
    position: relative;
}

.btn-hover-shine {
    position: relative;
}

.btn-hover-shine:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    /* background-color: rgba(255, 255, 255, 0.4); */
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

.btn-hover-shine:hover:after {
    width: 120%;
    /* background-color: rgba(255, 255, 255, 0); */
    transition: all 0.4s ease-in-out;
}

.btn-focus {
    color: #fff;
    /* background-color: #444054; */
    /* border-color: #444054; */
}

.btn-focus:hover {
    /* color: #fff; */
    /* background-color: #322f3e; */
    /* border-color: #2d2a37; */
}

.btn-focus:focus,
.btn-focus.focus {
    box-shadow: 0 0 0 0 rgba(96, 93, 110, 0.5);
}

.btn-focus.disabled,
.btn-focus:disabled {
    /* color: #fff; */
    /* background-color: #444054; */
    /* border-color: #444054; */
}

.btn-focus:not(:disabled):not(.disabled):active,
.btn-focus:not(:disabled):not(.disabled).active,
.show>.btn-focus.dropdown-toggle {
    /* color: #fff; */
    /* background-color: #2d2a37; */
    /* border-color: #272430; */
}

.btn-focus:not(:disabled):not(.disabled):active:focus,
.btn-focus:not(:disabled):not(.disabled).active:focus,
.show>.btn-focus.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(96, 93, 110, 0.5);
}

.btn-focus.btn-shadow {
    box-shadow: 0 0.125rem 0.625rem rgba(68, 64, 84, 0.4), 0 0.0625rem 0.125rem rgba(68, 64, 84, 0.5);
}

.btn-focus.btn-shadow:hover {
    box-shadow: 0 0.125rem 0.625rem rgba(68, 64, 84, 0.5), 0 0.0625rem 0.125rem rgba(68, 64, 84, 0.6);
}

.btn-fill-primary,
.btn-primary {
    /* color: #fff; */
    /* background-color: #017e84; */
    /* border-color: #017e84; */
}

.btn-fill-primary:hover,
.btn-primary:hover {
    /* color: #fff; */
    /* background-color: #015a5e; */
    /* border-color: #014e51; */
}

.btn-fill-primary:focus,
.btn-primary:focus,
.btn-fill-primary.focus,
.focus.btn-primary {
    box-shadow: 0 0 0 0.2rem rgba(39, 145, 150, 0.5);
}

.btn-fill-primary.disabled,
.disabled.btn-primary,
.btn-fill-primary:disabled,
.btn-primary:disabled {
    /* color: #fff; */
    /* background-color: #017e84; */
    /* border-color: #017e84; */
}

.btn-fill-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-fill-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-fill-primary.dropdown-toggle,
.show>.dropdown-toggle.btn-primary {
    /* color: #fff; */
    /* background-color: #014e51; */
    /* border-color: #014245; */
}

.btn-primary:focus,
.btn-fill-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-fill-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-fill-primary.dropdown-toggle:focus,
.show>.dropdown-toggle.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(39, 145, 150, 0.5);
    box-shadow: none;
    /* color: #fff; */
    /* background-color: #014e51; */
    /* border-color: #014245; */
}

.btn.btn-wide {
    padding: 0.375rem 1.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.btn-lg.btn-wide,
.btn-group-lg>.btn-wide.btn {
    padding: 0.5rem 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-sm.btn-wide,
.btn-group-sm>.btn-wide.btn {
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.widget-flat {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    border: 0px;
    /*margin-bottom: 24px;*/
    /*margin-left: 24px;*/
}

.widget-icon {
    color: rgb(54, 136, 252);
    font-size: 20px;
    /* background-color: rgba(54, 136, 252, 0.25); */
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    display: inline-block;
    border-radius: 3px;
}

.fw-semibold {
    font-weight: 600;
    font-weight: 500 !important;
}

li:not(.nav-item),
dt,
dd {
    /* font-size: 0.9rem; */
    font-size: 0.8752rem;
    line-height: 20px;
}

.clear-fix {
    clear: both;
}

select {
    /* height: 31.5px; */
    height: 34.5px;
}

.select2-container .select2-selection--single {
    /* height: 31.4px; */
    border-radius: 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="tel"],
textarea,
select,
.vTextField,
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    /* border: 1px solid #f0f0f0;
border-bottom-color: #8a8d90; */
    /* border: 1px solid; */
    /* border-bottom-color: var(--bs-gray-500); */
    /* border-bottom-color: #ced4da; */
}

.admin-dark input[type="text"],
.admin-dark input[type="password"],
.admin-dark input[type="email"],
.admin-dark input[type="url"],
.admin-dark input[type="number"],
.admin-dark input[type="tel"],
.admin-dark textarea,
.admin-dark select,
.admin-dark .vTextField,
.admin-dark .select2-container .select2-selection--single,
.admin-dark .select2-container .select2-selection--multiple {
    border: 1px solid var(--border-color);
    border-bottom-width: 2px;
}

#content>form {
    /* background: white; */
    padding: 0.5rem;
}

code {
    unicode-bidi: normal;
}

.chart-content {
    direction: ltr;
}

.dropdown-toggle.caret-off::after,
.dropdown-toggle.caret-off::before {
    display: none;
}

.apexcharts-tooltip {
    direction: rtl;
}

#chart-pie svg {
    width: 100%;
}

.apexcharts-tooltip-marker {
    margin-right: unset;
    margin-left: 10px;
}

.apexcharts-legend {
    direction: rtl;
}

.apexcharts-legend-marker {
    margin-right: unset;
    margin-left: 10px;
}


/* input style */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="tel"],
textarea,
.vTextField,
select,
.selection .select2-selection {
    border-radius: 0px;
    /* min-width: 19em;
    min-width: 20em;
    max-width: 19em; */
    /* padding: 2px 6px; */
}

input.vDateField {
    min-width: 19em;
}

.paginator a:link,
.paginator a:visited {
    /* background: var(--bs-gray-400); */
}

.paginator .this-page {
    vertical-align: baseline;
    /* background: var(--bs-secondary-bg-subtle); */
    /* color: var(--bs-link-color); */
}

@media (max-width: 1024px) {

    .form-row .datetime input.vDateField,
    .form-row .datetime input.vTimeField {
        width: 75% !important;
    }
}

@media (max-width: 767px) {
    .select2-container {
        min-width: 18em;
    }

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="url"],
    input[type="number"],
    input[type="tel"],
    textarea,
    .vTextField,
    select,
    .selection .select2-selection {
        border-radius: 0px;
        min-width: 18em;
        max-width: 18em;
        /* padding: 2px 6px; */
    }

    .vDateField {
        min-width: 16em;
    }

    p.datetime .vDateField {
        width: 7em !important;
        min-width: 7em !important;
        max-width: 7em !important;
    }

    input[type="text"]#searchbar,
    #changelist .actions select {
        border-radius: 0px;
        min-width: 12em;
        max-width: 12em;
        /* padding: 2px 6px; */
    }

    #changelist .actions select {
        margin-left: .25rem !important;
    }
}

.selector-chosen h2,
.selector-available h2 {
    width: 100%;
}

[dir="rtl"] .selector-available,
[dir="rtl"] .selector-chosen,
[dir="rtl"] .selector ul.selector-chooser {
    float: right;
    border: 1px solid var(--bs-gray-500);
}

[dir="rtl"] .selector-remove {
    background: url(/static/admin/img/selector-icons.svg) 0 -96px no-repeat !important;
}

[dir="rtl"] .selector-add {
    background: url(/static/admin/img/selector-icons.svg) 0 -80px no-repeat !important;
}

.selector input {
    min-width: 90%;
    font-size: 12px;
}

.selector select {
    min-width: 100%;
}

.selector .selector-filter {
    border: none;
}

[dir="rtl"] fieldset .fieldBox {
    margin-right: 20px;
    margin: 0px;
    padding: 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="tel"],
textarea,
select,
.vTextField {
    padding: 5px 6px;
}

td input[type="text"],
td input[type="password"],
td input[type="email"],
td input[type="url"],
td input[type="number"],
td input[type="tel"],
td textarea,
td .vTextField,
td select,
td .selection .select2-selection {
    min-width: auto;
}

/* .select2-container--admin-autocomplete.select2-container {
    max-width: 17rem;
    max-width: 23rem;
    
} */

.tabular.inline-related td input[type="text"],
.tabular.inline-related td input[type="password"],
.tabular.inline-related td input[type="email"],
.tabular.inline-related td input[type="url"],
.tabular.inline-related td input[type="number"],
.tabular.inline-related td input[type="tel"],
.tabular.inline-related td textarea,
.tabular.inline-related td select,
.tabular.inline-related td .vTextField,
.tabular.inline-related td .selection .select2-selection {
    /* border: none; */
    /* border-bottom: 1px solid var(--border-color); */
    /* border: 1px solid var(--border-color); */
    /* border-color: transparent; */
    /* margin-top: 2px; */
    border: none;
    border-bottom: 1px solid var(--border-color);
}

.tabular.inline-related td .selection .select2-selection {
    border: none;
    border-bottom: 1px solid var(--border-color);
}

td input[type="checkbox"]+div {
    display: inline-flex;
    float: left;
}

.vDateField,
.vTimeField {
    margin-right: 0px;
}

.vLargeTextField,
.vXMLLargeTextField {
    width: 38em;
}

.delete-confirmation .content .card-body>ul {
    max-height: 250px;
    overflow-y: auto;
    background: #f8f9fa;
}

.px-01 {
    padding-left: 0.1rem !important;
    padding-right: 0.1rem !important;
}

.main.shifted .change_form_viewer {
    max-width: 38mm;
}

.main .change_form_viewer {
    max-width: 88mm;
}


/* ================== */


/* 
 admin fieldset */


/* ================== */

fieldset h2,
.module>h2 {
    /*background: var(--darkened-bg);*/
    background: #f8f9fa !important;
    color: var(--body-quiet-color);
    background: transparent !important;
    color: var(--body-quiet-color);
    padding: 8px 0px 4px;
    /* border-bottom: 1px solid #dee2e6; */
    width: 90%;
    /* width: 100%; */
    height: max-content;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 1px 0 rgb(68 75 90 / 5%);
}

fieldset.row h2 {
    width: 95%;
}

fieldset .collapse-toggle {
    color: var(--bs-orange);
}

fieldset.collapse {
    border: none;
    border-radius: 0;
}

fieldset.collapse:not(.collapsed) {
    /* border: 1px solid var(--hairline-color); */
}

fieldset.collapse h2 {
    background: var(--bs-light);
}

#branding h1 {
    font-size: 1rem;
    font-weight: 400;
}


/*
.form-row .errors input:valid {
border-bottom-color: #198754;
padding-left: calc(1.5em + 0.75rem);
background-image: url("data:image/svg+xml,%3csvg xmlns= 'http://www.w3.org/2000/svg' viewBox= '0 0 8 8' %3e%3cpath fill= '%23198754' d= 'M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z' /%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: left calc(0.375em + 0.1875rem) center;
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-row .errors input:invalid ,
.form-row .errors select:invalid {
border-bottom-color: #dc3545 !important;
padding-left: calc(1.5em + 0.75rem);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: left calc(0.375em + 0.1875rem) center;
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}*/
.help.timezonewarning {
    display: none !important;
}

.form-row {
    /* padding: 2px 10px; */
    padding: 2px;
    border-bottom: none;
    /* grid-template-columns: fit-content(150px) 1fr;
gap: 0.5rem 16px;
display: grid; */
}


/* 
.form-row>div {
display: contents !important;
}

.form-row>div>label {
width: 100%;
flex-grow: 0;
}

.form-row>div>div {
width: 100%;
} */

.fieldBox {
    margin-bottom: 0.11rem;
}

label {
    font-weight: 500;
    color: var(--body-quiet-color);
    font-size: 14px;
}

.aligned label {
    /* padding: 4px 1px 0 10px; */
    padding: 1px 0 1px 15px;
    float: right;
    margin: 0 5px 0 0;
    /* font-size: 0.9rem; */
    /* font-size: 0.852rem; */
    /* font-weight: 300; */
    line-height: 1.5;
    margin: 0 0px 0 5px;
    /* width: 150px; */
    width: 164px;
    min-height: 23px;
}

[type=email],
[type=number],
[type=tel],
[type=url],
[type=date],
[type=datetime],
[type=time],
[class="vDateField"],
[class="vTimeField"] {
    direction: ltr;
}

@media (max-width: 991.98px) {
    .aligned label {
        width: 100px !important;
    }
}

.required label,
label.required {
    /* color: #362f2f !important; */
}

.help,
p.help,
form p.help,
div.help,
form div.help,
div.help li {
    font-size: 12px;
    color: var(--body-quiet-color) !important;
}

#changelist-filter h2 {
    margin-bottom: 0;
}

h3#changelist-filter-clear {
    /* margin-bottom: 0.1rem; */
    /* padding-bottom: 0; */
    /* background: rgb(0 0 0 / 13%) !important; */
    background: transparent;
}

#changelist-filter #changelist-filter-clear a {
    border-bottom: none;
    color: var(--bs-gray);
    font-weight: 300;
}

#changelist-filter-clear a i {
    vertical-align: middle;
}

.tabular.inline-related h2 {
    /* color: #00897b;
font-weight: 600;
background: #eeeefc; */
    color: var(--bs-gray);
    font-weight: 600;
    /* background: var(--bs-gray-300); */
}

.aligned .radiolist label {
    font-weight: inherit;
}

.aligned.label-mb10 label {
    padding-bottom: 10px;
}

.aligned label {
    white-space: normal;
    /*width: auto; fixed text overlap */
}

.aligned .vCheckboxLabel {
    /* width: 150px;  */
    /* Fixed Checkbox*/
}

.aligned .fieldBox.field-readonly label+div.readonly {
    display: inline-flex;
}

select:disabled~span {
    width: auto !important;
}

.aligned label+p,
.aligned label+div.help,
.aligned label+div.readonly {
    margin: 0px;
    /* display: inline-flex; */
}

.aligned .vCheckboxLabel {
    vertical-align: 0px;
    vertical-align: -3px;
    /* vertical-align: -9px; */
    white-space: normal;
}

.aligned .fieldBox .vCheckboxLabel {
    vertical-align: 0px;
    vertical-align: middle;
    /* margin-bottom: 0.5rem; */
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
}

.module.aligned.form-row-flex-wrap .form-row:not(.field-render_inline_actions) {
    /*display: inline-flex;*/
    /*width: 100% !important;*/
    display: inline-flex;
    width: 100% !important;
    flex-wrap: wrap;
}

fieldset.collapsed .form-row {
    /* display: none !important; */
}

@media (max-width: 767px) {
    .module.aligned .form-row:not(.field-render_inline_actions) {
        display: inline-flex;
        width: 100% !important;
    }

    .aligned .form-row input[type="checkbox"] {
        flex: 0;
    }

    .aligned label {
        width: 100% !important;
        padding: 10px 0 0;
    }

}

.field-render_inline_actions label {
    visibility: hidden;
    display: none;
}

.module:not(.row) {
    margin-bottom: 0px;
    display: flow-root;
    /* TODO REVIEW */
}


/*.aligned label + p, .aligned label + div.readonly*/

.aligned.label-float-none label+p,
.aligned.label-float-none label+div.readonly {
    padding: 0;
    display: inline;
}

form .aligned p.help,
form .aligned div.help {
    /* margin: 0; */
    padding: 0 0 0 10px;
    /* color: rgba(73, 80, 87, 0.76) !important; */
    /* font-style: italic; */
}

form .aligned input+p.help,
form .aligned textarea+p.help,
form .aligned select+p.help,
form .aligned input+div.help,
form .aligned textarea+div.help,
form .aligned select+div.help {
    margin: 0;
    padding: 0 0 0 10px;
}

form .aligned.help-mw-20 p.help,
form .aligned.help-mw-20 div.help {
    max-width: 20rem;
}

fieldset .related-widget-wrapper {
    min-width: 20rem;
    min-width: auto;
}

fieldset.select2-w100 .related-widget-wrapper {
    min-width: 20rem;

}

.tabular fieldset .related-widget-wrapper {
    min-width: 100%;
    /* min-width: max-content; */
    max-width: 180px;
}

fieldset td .related-widget-wrapper {
    /* min-width: max-content; */
}

select+.related-widget-wrapper-link,
.related-widget-wrapper-link,
.related-widget-wrapper-link+.related-widget-wrapper-link {
    margin-left: 7px;
}

fieldset h2,
fieldset.collapsed h2 {
    /*background: var(--selected-bg);*/
    color: var(--body-quiet-color);
    /* color: #017e84 !important; */
}

fieldset.collapsed .collapse-toggle {
    /* color: #b33844; */
}

fieldset.border-bottom h2 {
    box-shadow: none;
}

.select2-container--admin-autocomplete .select2-selection--multiple .select2-selection__rendered {
    padding: 0;
}

.inline-actions {
    margin-top: -0.3rem;
    margin-right: -0.3rem !important;
    margin-left: -0.3rem;
    /* border-bottom: 4px solid #55555555 !important; */
    box-shadow: 0 4px 0 #f3f3f3;
    /* box-shadow: 0 4px 0 var(--bs-gray); */
}

.inline-actions h2 {
    /*border-bottom: 1px solid #dee2e6 !important;*/
    font-weight: 500;
    background: transparent;
}

.btn-inline-action:hover {
    /* text-decoration: underline !important; */
    /* background:var(--button-hover-bg); */
}

.related-widget-wrapper-actions {
    display: inline-flex;
    vertical-align: middle;
    border-bottom: 1px solid;
    padding: 5.1px 0px;
    /* border-top: 1px solid #f0f0f0; */
    /* border-bottom-color: #8a8d90; */
    margin-right: -4px;
    padding-right: 4px;
    min-height: 31px;
}

.field-render_inline_actions:not(td) label+div.readonly {
    display: block;
    white-space: nowrap;
    overflow: auto;
    margin-right: unset;
    margin-left: auto;
    /*text-align: center;*/
    padding: 0;
    width: 100%;
}

.form-row.field-render_inline_actions:not(td)>div {
    width: 100% !important;
    flex-wrap: nowrap;
    max-width: 100% !important;
     width: 100% !important;
    overflow: auto;
}

.field-render_inline_actions:not(td) {
    display: block !important;
    padding: 0rem 1rem;
    border: none;
    /*position: absolute;*/
    top: 0px;
    width: auto;
    /* padding: 0 !important; */
    padding: 0 3rem !important;
    right: 0;
    /* background-color: #f8f9fa !important; */
}

[dir="rtl"] .field-render_inline_actions:not(td) {
    right: auto;
    left: 0;
}

@media (max-width: 767px) {
    .field-render_inline_actions:not(td) {
        padding: 0.25rem 1rem;
        border: none;
        position: static;
        border-bottom: 1px solid #eee;
        margin: 0 !important;
    }
}

.field-render_inline_actions2 .readonly {
    display: flex !important;
    justify-content: center;
}

.field-render_inline_actions2 label {
    /*display: none;*/
    visibility: hidden;
}

.module caption,
.inline-group h2 {
    font-size: 0.9rem;
}

.form-row.field-category.field-group {
    padding-bottom: 0;
}


/* admin chang_form custom style  */

.aligned.label-float-none label:not(.vCheckboxLabel) {
    float: none;
    width: inherit;
    /*width: 100%; */
    /*fixed readonly*/
}

.aligned.label-w100 label:not(.vCheckboxLabel) {
    width: 100% !important;
}

.selector-filter label {
    float: right !important;
}

.selector-chosen h2 {
    /* background-color: silver !important; */
    /* color: darkolivegreen !important; */
}

.aligned.label-float-none .checkbox-row label {
    width: auto;
}

.label-float-none label.readonly {
    display: block;
}

.label-float-none .mw-20 {
    min-width: 10.5rem;
}

.label-float-none .mw-20 {
    min-width: 14.5rem;
    /*max-width: 20rem;*/
}

.datetimeshortcuts+.help {
    display: block;
}

.form-row.maxw-20 label {
    max-width: 20rem;
}

.fieldBox-m-0 .fieldBox {
    margin-right: 0px;
    margin-left: 0px;
}

.form-row-border-start .form-row {
    border-right: 1px solid #dee2e6;
}

.aligned.label-width-auto label {
    width: auto;
}

.aligned p.file-upload {
    clear: both;
    width: 100%;
}

.datetimeshortcuts+br {
    display: none;
}

.datetimeshortcuts+div {
    display: inline;
}

.aligned.label-display-none .form-row>div>label {
    display: none;
}

.aligned.label-hidden label {
    visibility: hidden;
}

.aligned.label-border-end:not(.label-float-none) label {
    margin-left: 5px;
    border-left: 1px solid #e9ecef;
    padding-top: 0.5rem;
}

.fieldBox-mb-2 .fieldBox {
    margin-bottom: 0.2rem;
}

.aligned.input-w50 input:not([type="checkbox"]):not([type="file"]) {
    width: 43%;
    min-width: 43%;
}

.aligned.input-w60 input:not([type="checkbox"]):not([type="file"]) {
    width: 58%;
    min-width: 58%;
}

.aligned.input-w66 input:not([type="checkbox"]):not([type="file"]) {
    width: 66.4%;
    min-width: 66.4%;
}

.aligned.input-w80 input:not([type="checkbox"]):not([type="file"]),
.aligned.input-w100 input:not([type="checkbox"]):not([type="file"]):not(.vDateField) {
    width: 80%;
    min-width: fit-content;/*Fixme*/
}
.tab-content .inline-fieldset-header{
    display: none;
}
.flex-fill-first>.form-row:first-child {
    flex: 1 1 auto;
}

.flex-fill-last>.form-row:last-child {
    flex: 1 1 auto;
}


/* .aligned.fieldBox-w100 .fieldBox, */

.aligned.fieldBox-fill .fieldBox {
    width: 100%;
}

[dir="rtl"] .module ul:not(.selector-chooser),
[dir="rtl"] .module ol {
    text-align: right;
    clear: both;
    margin-right: unset;
}

.date-label,
.time-label {
    display: none;
}

.calendarbox .calendarnav-previous,
.calendarbox .calendarnav-next {
    top: 0px;
}


/* submit row style */

/* @media (max-width: 767px) {
    .submit-row {
        flex-direction: row !important;
        align-items: flex-end !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        position: relative;
        overflow-x: auto;
        margin: 0 0 0.25rem !important;
    }
    .submit-row>* {
        margin: 2px !important;
        box-shadow: 0 0.5rem 1rem rgba(var(--bs-body-color-rgb), .15)!important;
        flex: 1 1 auto!important;
    }
    .aligned.fieldBox-w100 .fieldBox {
        width: calc(100vw - 30px);
    }
    .submit-row input,
    .submit-row input.default,
    .submit-row a,
    .submit-row a.closelink {
        margin: 0 !important;
    }
} */


/*===================*/


/*   admin tabular */


/* ==================*/

.tabular.inline-related {
    overflow: hidden;
}

.inline-group h2 {
    /* background: #315567; */
    /* color: #444055; */
    /* background: #f8f8f899; */
    /* border-bottom: 1px solid rgba(26, 54, 126, 0.125); */
    font-weight: 500;
}

.fields-width-ss .inline-table .field-quantity input {
    max-width: 7em !important;
    min-width: 5em !important;
    width: 6.5em !important;
}

.fields-width-ss .inline-table .field-qty input {
    max-width: 7em !important;
    min-width: 5em !important;
    width: 6.5em !important;
}

.fields-width-ss .inline-table .field-price_unit input {
    max-width: 7em !important;
    min-width: 7em !important;
    width: 7em !important;
}

.fields-width-ss .inline-table .field-name input {
    max-width: 10rem !important;
    min-width: 10rem !important;
    width: 10rem !important;
}

/* .fields-width-ss .inline-table .field-product_uom .related-widget-wrapper>span {
     max-width: 7em !important;
min-width: 7em !important;
width: 7em !important; 
} */

.fields-width-ss .inline-table .related-widget-wrapper>span {
    /* max-width: 12em !important; */
    /* min-width: 10em !important; */
    /* width: 100% !important; */
    /* max-width: 100% !important; */
}

.fields-width-ss .inline-table .related-widget-wrapper select:not(.select2-hidden-accessible) {
    /* max-width: 10em !important; */
    min-width: 10em !important;
    /* width: 10em !important; */
    /* width: 100%; */
    /* max-width: 100%; */
}

.fields-width-ss input:not([type="checkbox"]) {
    max-width: 7em !important;
    min-width: 7em !important;
    width: 7em !important;
}
#payment_finance_lines-group .inline-table .field-account .related-widget-wrapper,
#payment_finance_lines-group .inline-table .field-party .related-widget-wrapper,
#payment_finance_lines-group .inline-table .field-name input {
    min-width: 277px;
}
.app-finance .inline-table .field-account .related-widget-wrapper,
.app-finance .inline-table .field-party .related-widget-wrapper,
.app-finance .inline-table .field-name input {
    min-width: 277px;
}

.module {
    border: none;
    margin-bottom: .25rem;
    /* background: var(--body-bg); */
    /* margin-bottom: 30px; */
}

.fields-width-ss .inline-table .field-package .related-widget-wrapper>span {
    max-width: 7em !important;
    min-width: 7em !important;
    width: 7em !important;
}

/* .fields-width-ss.stock-inline .inline-table p */
.fields-width-ss.stock-inline .inline-table input[type="text"]{
    max-width: 12em !important;
    min-width: 12em !important;
    width: 12em !important;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
    width: 230px;
}

.tabular inline-related td select {
    width: auto !important;
}

.paginator {
    width: 100% !important;
}

.paginator input[type="submit"] {
    padding: 5px 15px;
}

#result_list input[type="text"],
#result_list input[type="password"],
#result_list input[type="email"],
#result_list input[type="url"],
#result_list input[type="number"],
#result_list input[type="tel"],
#result_list textarea,
#result_list select,
#result_list .vTextField {
    padding: 0px 0px;
}

.select2-hidden-accessible {
    min-height: 1px !important;
}

#changelist-form .results {
    min-height: 400px;
}

.inline-group .tabular td.original p {
    height: 2em !important;
    margin-top: 8px;
}

[dir="rtl"] .inline-group .tabular td.original p {
    right: 0;
    left: auto;
}

[dir="rtl"] .inlinechangelink {
    background-position-x: 20px;
    padding-right: 16px;
    padding-left: 0px;
}

#content-related .module h2 {
    font-size: 0.9rem;
}

.inline-group .tabular td.original p {
    position: static;
}

.inline-group .tabular td.original p span {
    visibility: hidden;
    display: none;
}

.inline-table tr th {
    white-space: nowrap;
}

.inline-table tr td {
    padding-top: 0 !important;
    display: table-cell;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    border-bottom: 1px solid #dee2e6;
    /* border-right: 1px solid #dee2e6 !important; */
    padding: 0 !important;
}

.checkbox-row input[type="checkbox"] {
    vertical-align: -webkit-baseline-middle;
    vertical-align: middle;
    margin-top: 0px;
}

.inline-table .form-row p {
    padding-left: 10px;
    /* TDE: testcase */
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*.inline-table tr td > * {*/


/*     border-right: 1px solid #dee2e6 !important;*/


/*}*/

.admin-dark .inline-table tr td {
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.admin-light .inline-table tr td {
    /*background-color: #f9fafb; fixed inline table */
}

table#result_list tbody tr:first-child {
    box-shadow: rgb(0 0 0 / 10%) 0px 5px 10px -4px inset;
    border-top: 1px solid rgb(224, 226, 230);
}

.inline-table tbody:first-of-type>tr:first-child {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 10px -4px inset;
    border-top: 1px solid rgb(224, 226, 230);
}

/* .table> :not(:first-child) {
    border-top: none;
} */

.inline-table tbody tr:nth-of-type(2n + 2) {
    /* background-color: rgba(0, 0, 0, 0.01); */
}

.inline-group thead th {
    /* padding: unset; */
    /* padding: 0.25rem 0.5rem; */
    /* color: rgb(9, 17, 36); */
    /*border-bottom: 1px solid rgb(202, 202, 202) !important;*/
    border: none;
}

.inline-table tr td input[type="checkbox"] {
    vertical-align: text-bottom;
    width: 33px;
}

tr:nth-child(even),
tr:nth-child(even) .errorlist,
tr:nth-child(odd)+.row-form-errors,
tr:nth-child(odd)+.row-form-errors .errorlist {
    /* background: transparent; */
}

.object-tools a:link,
.object-tools a:visited {
    /* background: transparent; */
    /* color: #41464b; */
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
}

#changelist .paginator {
    background: #e9ecef2e;
    background: transparent;
}

.object-tools li {
    margin-left: 4px;
}

fieldset.fieldbox-float-none .fieldBox {
    float: none;
}

.object-tools a:focus,
.object-tools a:hover {
    /* background-color: #dee2e6; */
}

.table-cell-w100 .inline-table tr td .vTextField,
.table-cell-w100 .inline-table tr td .vUUIDField,
.table-cell-w100 .inline-table tr td .related-widget-wrapper,
.table-cell-w100 .inline-table tr td>select {
    /*Todo */
    width: 100%;
}

td .inline-deletelink {
    background-position: 0 7px;
    width: 16px;
    height: 25px;
    border: 0px none;
    margin: 0px 16px 6px;
    float: right;
}

td.delete>div {
    display: inline-flex;
}

.inline-group {
    padding: 0;
    margin: 0 0 0px;
}

.inline-table td.delete {
    text-align: center;
}

.inline-table tr.add-row td a {
    font-size: 0.8rem !important;
    font-weight: normal;
}

.inline-table tr.add-row td {
    padding: 0.5rem 1rem !important;
}

ul.messagelist li.warning {
    padding-left: 3rem !important;
}

.fields-width-ss .inline-table tr td input:not(.vTextField),
.fields-width-ss .inline-table tr td textarea {
    /* border: none !important; */
    outline: none !important;
    margin: 0;
    max-width: 5.5em;
}

.fields-width-ss .inline-table tr td input[type=file]:not(:disabled):not([readonly]) {
    cursor: pointer;
    min-width: 15rem !important;
}

.inline-table .form-row p.file-upload {
    max-width: 15rem;
}

.fields-width-ss .inline-related input:not(.vTextField),
.fields-width-ss .inline-related textarea {
    /* border: none !important; */
    outline: none !important;
    margin: 0;
    max-width: 5.5em;
}

.fields-width-ss .inline-related input[type=file]:not(:disabled):not([readonly]) {
    cursor: pointer;
    min-width: 15rem !important;
}

.inline-related .form-row p.file-upload {
    max-width: 15rem;
}

input [type=search] {
    outline-offset: initial;
    -webkit-appearance: textfield;
}

.inline-table tbody tr:hover * {
    /* background-color: #e9ecef !important; */
}

.inline-table tbody tr td:hover *,
.inline-table tbody tr td:focus-within *,
.inline-table tbody tr td:hover select {
    /* background-color: white !important; */
}

.tabular.inline-related.display-related-widget-wrapper-link-none .related-widget-wrapper-link:not(.custom-view) {
    display: none;
}
/* 
.form-row {
    font-size: 0.9742rem;
} */

.nav-item-label {
    /* color: #607d8b !important; */
    font-weight: 600 !important;
}

.nav-item a.link-dark {
    /* color: #607d8b !important; */
}

.form-row p,
form .button {
    font-size: 14px;
}


/* main,
.main {
background: #323540 !important;
color: white;
} */

#ws-app-models-list:not(.app-index) .ws-app-modules:hover {
    /* background-color: #e5e9ed !important; */
}

.d-original-none tr td.original,
.d-original-none tr th.original {
    display: none;
}

.inline-table tr td input:focus,
.inline-table tr td textarea:focus,
.inline-table tr td select:focus,
.inline-table tr td span:focus {
    /*border: none !important;*/
    /*outline: none !important;*/
    margin: 0;
}

.inline-related fieldset {
    overflow-x: auto;
    overflow-y: hidden;
}

@media (max-width: 1024px) {
    .inline-group {
        overflow: unset !important;
    }
}


/* ================= */


/*   admin sidebar */


/* ================= */

#nav-sidebar th,
#nav-sidebar td,
.nav-apps-list th,
.nav-apps-list td {
    font-weight: 400;
    font-size: 0.83rem;
}

#nav-sidebar .viewlink,
#nav-sidebar .addlink,
#nav-sidebar .changelink {
    background-position: 100% 4px;
}

#nav-sidebar tr:nth-child(even),
#app-models-list tr:nth-child(even) {
    background: var(--body-bg);
}

#nav-sidebar tr.current-model {
    /* background: #ffc; */
}

#nav-sidebar tr.current-model th,
#nav-sidebar tr.current-model td {
    /* background: #ffc; */
}

#nav-filter {
    width: 90%;
    box-sizing: border-box;
    padding: 5px 16px;
    margin: 5px 10px;
    border: none;
    outline: none;
    border-bottom: 1px solid lightgray;
}

#nav-filter:focus {
    box-shadow: none;
    /*0 0 0 0.25rem rgb(242 243 243)*/
}

.nav-apps-list tr:hover {
    /* background: #f8f9fa !important; */
}

.nav-apps-list tr:hover td {
    /* background-color: inherit !important; */
}

#nav-sidebar .module caption,
#app-models-list .module caption {
    font-size: 0.8rem;
}

#nav-sidebar {
    /* overflow: hidden; */
}

#nav-sidebar a.addlink,
#nav-sidebar a.changelink,
#nav-sidebar a.viewlink {
    font-size: 0.75rem;
}

#app-models-list {
    max-width: 500px;
}

a[aria-expanded="false"] .bi.bi-chevron-down {
    display: none;
}

a[aria-expanded="true"] .bi.bi-chevron-left,
a[aria-expanded="true"] .bi.bi-chevron-right {
    display: none;
}

button[aria-expanded="false"] .bi.bi-chevron-down {
    display: none;
}

button[aria-expanded="true"] .bi.bi-chevron-left,
button[aria-expanded="true"] .bi.bi-chevron-right {
    display: none;
}


/*===================*/


/* others  utils style  */


/*====================*/


/* ribbon  style */

.ribbon-box {
    position: relative;
}

.ribbon-box .ribbon {
    position: relative;
    clear: both;
    padding: 5px 12px;
    margin-bottom: 15px;
    -webkit-box-shadow: 2px 5px 10px rgba(71, 77, 86, 0.15);
    box-shadow: 2px 5px 10px rgba(71, 77, 86, 0.15);
    /* color: #fff; */
    font-size: 13px;
    font-weight: 600;
}

.ribbon-box .ribbon:before {
    content: " ";
    border-style: solid;
    border-width: 10px;
    display: block;
    position: absolute;
    bottom: -10px;
    left: 0;
    margin-bottom: -10px;
    z-index: 0;
}

[dir="rtl"] .ribbon-box .ribbon:before {
    right: 0;
    left: auto;
}

.ribbon-box .ribbon.float-start {
    margin-left: -30px;
    border-radius: 0 3px 3px 0;
}

[dir="rtl"] .ribbon-box .ribbon.float-start {
    margin-left: auto;
    margin-right: -30px;
}

.ribbon-box .ribbon.float-end {
    margin-right: -30px;
    border-radius: 3px 0 0 3px;
}

[dir="rtl"] .ribbon-box .ribbon.float-end {
    margin-right: auto;
    margin-left: -30px;
}

.ribbon-box .ribbon.float-end:before {
    right: 0;
}

[dir="rtl"] .ribbon-box .ribbon.float-end:before {
    left: 0;
    right: auto;
}

.ribbon-box .ribbon.float-center span {
    margin: 0 auto 20px auto;
}

.ribbon-box .ribbon-content {
    clear: both;
}

.ribbon-box .ribbon-primary {
    /* background: #3688fc; */
}

.ribbon-box .ribbon-primary:before {
    /* border-color: #1d79fc transparent transparent; */
}

.ribbon-box .ribbon-secondary {
    /* background: #919ca7; */
}

.ribbon-box .ribbon-secondary:before {
    /* border-color: #838f9c transparent transparent; */
}

.ribbon-box .ribbon-success {
    /* background: #42d29d; */
}

.ribbon-box .ribbon-success:before {
    /* border-color: #30ca92 transparent transparent; */
}

.ribbon-box .ribbon-info {
    /* background: #44badc; */
}

.ribbon-box .ribbon-info:before {
    /* border-color: #2fb2d8 transparent transparent; */
}

.ribbon-box .ribbon-warning {
    /* background: #f9bc0d; */
}

.ribbon-box .ribbon-warning:before {
    /* border-color: #e7ad06 transparent transparent; */
}

.ribbon-box .ribbon-danger {
    /* background: #fa6767; */
}

.ribbon-box .ribbon-danger:before {
    /* border-color: #f94e4e transparent transparent; */
}

.ribbon-box .ribbon-light {
    /* background: #eef2f7; */
}

.ribbon-box .ribbon-light:before {
    /* border-color: #dde5ef transparent transparent; */
}

.ribbon-box .ribbon-dark {
    /* background: #474d56; */
}

.ribbon-box .ribbon-dark:before {
    /* border-color: #3b4048 transparent transparent; */
}

.ribbon-box .ribbon-two {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 72px;
    height: 67px;
    text-align: right;
}

[dir="rtl"] .ribbon-box .ribbon-two {
    right: auto;
    left: -5px;
}

.ribbon-box .ribbon-two.vertical {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1;
    overflow: hidden;
    /*width: 40px;*/
    /*height: 100px;*/
    width: 53px;
    height: 120px;
    text-align: right;
}

[dir="rtl"] .ribbon-box .ribbon-two.vertical {
    right: auto;
    left: 0px;
}

.table-layout-fixed table {
    table-layout: fixed;
}

.ribbon-box .ribbon-two span {
    font-size: 13px;
    /* color: #fff; */
    text-align: center;
    line-height: 20px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 100px;
    display: block;
    -webkit-box-shadow: 0 0 8px 0 rgba(71, 77, 86, 0.08), 0 1px 0 0 rgba(71, 77, 86, 0.03);
    box-shadow: 0 0 8px 0 rgba(71, 77, 86, 0.08), 0 1px 0 0 rgba(71, 77, 86, 0.03);
    position: absolute;
    top: 19px;
    left: -21px;
    font-weight: 600;
}

.ribbon-box .ribbon-two.vertical span {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    /*top: 37px;*/
    /*left: -33px;*/
    top: 50px;
    left: -46px;
    line-height: 29px;
    width: 136px;
    /*top: 19px;*/
    /*left: -21px;*/
}

.ribbon-box .ribbon-two span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    z-index: -1;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.ribbon-box .ribbon-two span:after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

.select2-container--admin-autocomplete[dir="rtl"] .select2-selection--single .select2-selection__clear {
    /* margin-left: 1rem;
    margin-top: 0.25rem; */
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
    float: left;
    margin-left: 1rem;
}

.ribbon-box .ribbon-two-primary span {
    background: #3688fc;
}

.ribbon-box .ribbon-two-primary span:before {
    border-left: 3px solid #1d79fc;
    border-top: 3px solid #1d79fc;
}

.ribbon-box .ribbon-two.vertical.ribbon-two-primary span:before {
    border-left: none;
    border-top: none;
}

.ribbon-box .ribbon-two-primary span:after {
    border-right: 3px solid #1d79fc;
    border-top: 3px solid #1d79fc;
}

.ribbon-box .ribbon-two-secondary span {
    background: #919ca7;
    color: whitesmoke
}

.ribbon-box .ribbon-two-secondary span:before {
    border-left: 3px solid #838f9c;
    border-top: 3px solid #838f9c;
}

.ribbon-box .ribbon-two.vertical.ribbon-two-secondary span:before {
    border-left: none;
    border-top: none;
}

.ribbon-box .ribbon-two-secondary span:after {
    border-right: 3px solid #838f9c;
    border-top: 3px solid #838f9c;
}

.ribbon-box .ribbon-two-success span {
    background: #42d29d;
}

.ribbon-box .ribbon-two-success span:before {
    border-left: 3px solid #30ca92;
    border-top: 3px solid #30ca92;
}

.ribbon-box .ribbon-two.vertical.ribbon-two-success span:before {
    border-left: none;
    border-top: none;
}

.ribbon-box .ribbon-two-success span:after {
    border-right: 3px solid #30ca92;
    border-top: 3px solid #30ca92;
}

.ribbon-box .ribbon-two-info span {
    background: #44badc;
}

.ribbon-box .ribbon-two-info span:before {
    border-left: 3px solid #2fb2d8;
    border-top: 3px solid #2fb2d8;
}

.ribbon-box .ribbon-two.vertical.ribbon-two-info span:before {
    border-left: none;
    border-top: none;
}

.ribbon-box .ribbon-two-info span:after {
    border-right: 3px solid #2fb2d8;
    border-top: 3px solid #2fb2d8;
}

.ribbon-box .ribbon-two-warning span {
    background: #f9bc0d;
}

.ribbon-box .ribbon-two-warning span:before {
    border-left: 3px solid #e7ad06;
    border-top: 3px solid #e7ad06;
}

.ribbon-box .ribbon-two.vertical.ribbon-two-warning span:before {
    border-left: none;
    border-top: none;
}

.ribbon-box .ribbon-two-warning span:after {
    border-right: 3px solid #e7ad06;
    border-top: 3px solid #e7ad06;
}

.ribbon-box .ribbon-two-danger span {
    background: #fa6767;
}

.ribbon-box .ribbon-two-danger span:before {
    border-left: 3px solid #f94e4e;
    border-top: 3px solid #f94e4e;
}

.ribbon-box .ribbon-two.vertical.ribbon-two-danger span:before {
    border-left: none;
    border-top: none;
}

.ribbon-box .ribbon-two-danger span:after {
    border-right: 3px solid #f94e4e;
    border-top: 3px solid #f94e4e;
}

.ribbon-box .ribbon-two-light span {
    background: #eef2f7;
}

.ribbon-box .ribbon-two-light span:before {
    border-left: 3px solid #dde5ef;
    border-top: 3px solid #dde5ef;
}

.ribbon-box .ribbon-two.vertical.ribbon-two-light span:before {
    border-left: none;
    border-top: none;
}

.ribbon-box .ribbon-two-light span:after {
    border-right: 3px solid #dde5ef;
    border-top: 3px solid #dde5ef;
}

.ribbon-box .ribbon-two-dark span {
    background: #474d56;
}

.ribbon-box .ribbon-two-dark span:before {
    border-left: 3px solid #3b4048;
    border-top: 3px solid #3b4048;
}

.ribbon-box .ribbon-two.vertical.ribbon-two-dark span:before {
    border-left: none;
    border-top: none;
}

.ribbon-box .ribbon-two-dark span:after {
    border-right: 3px solid #3b4048;
    border-top: 3px solid #3b4048;
}


/*start-welcome-area*/

.welcome-area {
    /*-webkit-box-shadow: 1px 5px 24px 0 rgba(68, 102, 242, 0.05);*/
    /*        box-shadow: 1px 5px 24px 0 rgba(68, 102, 242, 0.05);*/
    /*background-color: #ffffff;*/
    /*border-radius: 5px;*/
    /*padding-right: 25px;*/
    /*margin-top: 20px;*/
    /*margin-bottom: 30px;*/
    /*background-color: #ffc;*/
}

.welcome-content h1 {
    font-size: 27px;
    font-weight: 600;
}

.welcome-content p {
    color: #646262;
    font-size: 16px;
}

.welcome-img {
    text-align: center;
    padding-top: 20px;
}

.welcome-img img {
    max-width: 100%;
    height: auto;
    width: 100%;
    /* transform: rotateY(180deg); */
}


/*end-welcome-area*/

#user-last_actions-content-related {
    position: fixed;
    left: 0;
    top: 47px;
    z-index: 100;
    transition: all 0.1s ease;
}

.inline-group div.add-row,
.inline-group .tabular tr.add-row td {
    /* background-color: white; */
    border-bottom: none;
}

.vertical-timeline {
    width: 100%;
    position: relative;
    padding: 1.5rem 0 1rem;
}

.vertical-timeline::after {
    content: "";
    display: table;
    clear: both;
}

.vertical-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    right: 67px;
    height: 100%;
    width: 4px;
    /* background: #e9ecef; */
    border-radius: 0.25rem;
}

.vertical-timeline-element {
    position: relative;
    margin: 0 0 1rem;
}

.vertical-timeline-element:after {
    content: "";
    display: table;
    clear: both;
}

.vertical-timeline-element:last-child {
    margin-bottom: 0;
}

.vertical-timeline-element-content {
    position: relative;
    margin-left: 90px;
    font-size: 0.8rem;
}

.vertical-timeline-element-content:after {
    content: "";
    display: table;
    clear: both;
}

.vertical-timeline-element-content .timeline-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    padding: 2px 0 0;
    font-weight: bold;
}

.vertical-timeline-element-content p {
    /* color: #6c757d; */
    margin: 0 0 0.5rem;
    padding-right: 10px;
    max-width: 16rem;
}

.timeline-title {
    max-width: 16rem;
}

.vertical-timeline-element-content .vertical-timeline-element-date {
    display: block;
    position: absolute;
    right: -90px;
    top: 0;
    padding-right: 10px;
    text-align: right;
    color: #adb5bd;
    font-size: 0.7619rem;
    white-space: nowrap;
}

.vertical-timeline-element-icon {
    position: absolute;
    top: -5px;
    right: 60px;
}

.vertical-timeline-element-icon .badge-dot-xl {
    box-shadow: 0 0 0 5px #fff;
}

.vertical-timeline-element--no-children .vertical-timeline-element-content {
    background: 0 0;
    box-shadow: none;
}

.vertical-timeline-element--no-children .vertical-timeline-element-content::before {
    display: none;
}

.vertical-without-time::before {
    right: 0px;
}

.vertical-without-time .vertical-timeline-element-content {
    margin-left: 36px;
}

.vertical-without-time .vertical-timeline-element-icon {
    right: 4px;
}

.vertical-time-icons {
    padding: 2rem 0 0;
}

.vertical-time-icons::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    height: 100%;
    width: 6px;
    background: #e9ecef;
    border-radius: 0.25rem;
}

.vertical-time-icons .vertical-timeline-element {
    margin-bottom: 1rem;
}

.vertical-time-icons .vertical-timeline-element-content {
    margin-left: 50px;
}

.vertical-time-icons .vertical-timeline-element-icon {
    width: 34px;
    height: 34px;
    left: 0;
    top: -7px;
}

.vertical-time-icons .vertical-timeline-element-icon .timeline-icon {
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50px;
    border-width: 2px;
    border-style: solid;
    box-shadow: 0 0 0 5px #fff;
    text-align: center;
    display: flex;
    align-items: center;
    align-content: center;
}

.vertical-time-icons .vertical-timeline-element-icon .timeline-icon i {
    display: block;
    font-size: 1.1rem;
    margin: 0 auto;
}

.vertical-time-icons .vertical-timeline-element-icon .timeline-icon svg {
    margin: 0 auto;
}

#user-last_actions-content-related {
    left: unset;
    right: -450px;
}

#user-last_actions-content-related.open {
    right: 0;
    left: unset;
}

[dir="rtl"] #user-last_actions-content-related {
    right: unset;
    left: -450px;
}

[dir="rtl"] #user-last_actions-content-related.open {
    left: 0;
    right: unset;
}


/*[dir='rtl'] .vertical-timeline::before {*/


/*    left: unset;*/


/*    right: 67px;*/


/*}*/


/*[dir='rtl'] .vertical-without-time::before {*/


/*    right: 11px;*/


/*    left: unset;*/


/*}*/


/*[dir='rtl'] .vertical-without-time .vertical-timeline-element-icon {*/


/*    right: 4px;*/


/*    left: unset;*/


/*}*/


/*[dir='rtl'] .vertical-timeline-element-icon {*/


/*    right: 60px;*/


/*    left: unset;*/


/*}*/


/*[dir='rtl'] .vertical-without-time .vertical-timeline-element-content {*/


/*    margin-left: 0px;*/


/*    margin-right: 36px;*/


/*}*/


/*[dir='rtl'] .vertical-timeline-element-content {*/


/*    margin-left: 0px;*/


/*    margin-right: 90px;*/


/*}*/

.fs-09 {
    font-size: 0.9rem;
}

.fs-08 {
    font-size: 0.8rem;
}

.fs-85 {
    font-size: 0.85rem;
}

.fs-07 {
    font-size: 0.7rem;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    color: #2a2a2a;
    background-color: transparent;
    background-color: #f8f9fa;
}

.notify-box {
    position: relative;
    font-size: 1rem;
}

#usernotify .nav-link .badge {
    position: absolute;
    top: -4px;
    left: -7px;
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 9px;
}

.popover,
svg *,
.apexcharts-theme-light,
.apexcharts-theme-light * {
    font-family: var(--bs-font-sans-serif-vazir) !important;
}

.apexcharts-legend {
    /*margin-top: -17px;*/
}

.revenue-summary-content h5 .text {
    display: inline-block;
    margin-left: 1px;
    position: relative;
    bottom: 1px;
    font-size: 12px;
}

.greetings-card-box .image {
    margin-right: 20px;
    margin-top: 60px;
}

img {
    max-width: 100%;
    height: auto;
}

.greetings-card-box .content {
    margin-left: 10px;
    text-align: center;
}

.greetings-card-box .content .icon {
    text-align: center;
    width: 65px;
    height: 65px;
    position: relative;
    border-radius: 50%;
    background-color: #fcdedf;
    color: #e1000a;
    font-size: 35px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    margin-left: auto;
    margin-right: auto;
}

.greetings-card-box .content h3 {
    margin-bottom: 10px;
    font-size: 25px;
    font-weight: 700;
}

.greetings-card-box .content p {
    color: #727e8c;
}

.ecommerce-stats-area {
    margin-bottom: 30px;
    -webkit-box-shadow: 1px 5px 24px 0 rgb(68 102 242 / 5%);
    box-shadow: 1px 5px 24px 0 rgb(68 102 242 / 5%);
    background-color: #ffffff;
    border-radius: 5px;
    padding: 30px 25px;
}

.ecommerce-stats-area.mini {
    padding: 22px;
}

.ecommerce-stats-area .row {
    margin-left: 0;
    margin-right: 0;
}

.ecommerce-stats-area .row .col-lg-3 {
    padding-left: 0;
    padding-right: 0;
}

.single-stats-card-box {
    padding-right: 90px;
    position: relative;
}

.single-stats-card-box.mini {
    padding-right: 84px;
}

.single-stats-card-box .icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #e1000a;
    position: absolute;
    right: 0;
    top: 46%;
    -webkit-transform: translateY(-46%);
    transform: translateY(-50%);
    text-align: center;
    font-size: 20px;
    color: #ffffff;
    padding-top: 6px;
}

/* ul.messagelist {
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    padding: 0px 10px;
} */

.single-stats-card-box.mini .icon {
    width: 32px;
    height: 32px;
    font-size: 19px;
}

.single-stats-card-box .sub-title {
    color: #a3a3a3;
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 400;
}

.single-stats-card-box.mini .sub-title {
    font-size: 14px;
}

.single-stats-card-box h3 {
    margin-bottom: 0;
    color: #e1000a;
    position: relative;
    font-size: 30px;
    font-weight: 700;
}

.single-stats-card-box.mini h3 {
    font-size: 15px;
}

.single-stats-card-box h3 .badge {
    line-height: initial;
    border-radius: 0;
    color: #13bb37;
    background-color: rgba(49, 203, 114, 0.18);
    padding: 2px 4px 1px;
    border-radius: 5px;
    position: relative;
    bottom: 3px;
    font-size: 11px;
    font-weight: 400;
}

@media (max-width: 767px) {
    .single-stats-card-box {
        margin-bottom: 25px;
        padding-left: 70px;
    }
}

/* #changelist-filter {
    height: 100vh;
    overflow-y: hidden;
} */

.activity-timeline-content ul {
    padding-left: 0;
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 0;
    margin-top: -20px;
}

[dir="rtl"] .activity-timeline-content ul {
    padding-right: 0;
    padding-left: unset;
}

.activity-timeline-content ul li {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    margin-top: 20px;
    font-size: 15px;
    color: #2a2a2a;
    padding-left: 55px;
    padding-right: 10px;
}

[dir="rtl"] .activity-timeline-content ul li {
    padding-right: 55px;
    padding-left: 10px;
}

.activity-timeline-content ul li::before {
    position: absolute;
    left: 25px;
    content: "";
    bottom: 0;
    width: 1px;
    height: 150%;
    background-color: #eeeeee;
}

[dir="rtl"] .activity-timeline-content ul li::before {
    left: unset;
    right: 25px;
}

.activity-timeline-content ul li:nth-child(1)::before {
    height: 100%;
}

.activity-timeline-content ul li:nth-child(2)::before {
    height: 100%;
}

.activity-timeline-content ul li i {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background-color: #e1000a;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
    font-size: 22px;
    position: absolute;
    left: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

[dir="rtl"] .activity-timeline-content ul li i {
    left: unset;
    right: 10px;
}

.activity-timeline-content ul li:nth-child(2) i {
    background-color: #13bb37;
}

.activity-timeline-content ul li:nth-child(3) i {
    background-color: #4788ff;
}

.activity-timeline-content ul li:nth-child(4) i {
    background-color: #ffc107;
}

.activity-timeline-content ul li span {
    display: block;
    font-size: 14px;
    color: #a3a3a3;
    margin-bottom: 2px;
}


/*.new-product-box {*/


/*  border-radius: 5px;*/


/*  margin-bottom: 25px;*/


/*  -webkit-box-shadow: 1px 5px 24px 0 rgba(68, 102, 242, 0.05);*/


/*          box-shadow: 1px 5px 24px 0 rgba(68, 102, 242, 0.05);*/


/*  background-color: #ffffff;*/


/*  padding: 21.5px 15px;*/


/*  text-align: center;*/


/*  color: #828D99;*/


/*  font-size: 16px;*/


/*  font-weight: 400;*/


/*}*/

.icon-box .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: relative;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 22px;
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    /*margin-bottom: 10px;*/
}

.icon-box .icon i {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: auto;
    margin-right: auto;
}

.icon-box .sub-text {
    color: #2a2a2a;
    margin-top: 3px;
    font-size: 17px;
}

.icon-box .icon.box-danger {
    background-color: #fbd8d7;
    color: #e1000a;
}

.icon-box .icon.box-success {
    background-color: #d0f1d7;
    color: #13bb37;
}

.icon-box .icon.box-primary {
    background-color: #dbe5f7;
    color: #4788ff;
}

.icon-box:hover .icon.box-danger {
    background-color: #e1000a;
    color: #ffffff;
}

.icon-box:hover .icon.box-success {
    background-color: #13bb37;
    color: #ffffff;
}

.icon-box:hover .icon.box-primary {
    background-color: #4788ff;
    color: #ffffff;
}

.congratulation-medal {
    position: absolute;
    top: 0;
    left: 37px;
}

.card-statistics .statistics-body {
    padding: 2rem 2.4rem !important;
}

.avatar {
    white-space: nowrap;
    background-color: #c3c3c3;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
}

.avatar .avatar-content {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.857rem;
}

.card-statistics .statistics-body .avatar .avatar-content {
    width: 48px;
    height: 48px;
}

.avatar.bg-light-primary {
    color: #7367f0 !important;
}

.avatar.bg-light-info,
.badge.badge-light-info {
    color: #00cfe8 !important;
}

.avatar.bg-light-danger {
    color: #ea5455 !important;
}

.avatar.bg-light-success {
    color: #28c76f !important;
}

.bg-light-success {
    background: rgba(40, 199, 111, 0.12) !important;
}

.bg-light-danger {
    background: rgba(234, 84, 85, 0.12) !important;
}

.bg-light-info {
    background: rgba(0, 207, 232, 0.12) !important;
}

.bg-light-primary {
    background: rgba(115, 103, 240, 0.12) !important;
}

.card-vision-logo {
    background: url(/media/share/vision.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-clip: border-box;
    background-origin: border-box;
}

.card-statistics .statistics-body .avatar .avatar-content .avatar-icon {
    width: 24px;
    height: 24px;
}

.last-actions-overly {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 99;
    background: #ececec00;
    cursor: pointer;
}

.btn-fill-light:hover,
.btn-light:hover,
.btn-light:active,
.btn-light:focus {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5 !important;
    outline: none;
    box-shadow: none !important;
}

.bootstrap-table .fixed-table-container .table.table-sm .th-inner {
    padding: inherit;
}

.bootstrap-table .table>tbody>tr.groupBy.expanded,
.bootstrap-table .table>tbody>tr.groupBy.collapsed {
    cursor: pointer;
    background-image: linear-gradient(to bottom, #fcfcfc, #dededd);
    border-bottom: 1px solid #fcfcfc;
}

.bootstrap-table.bootstrap5 .float-right {
    float: right;
    padding: 0rem 0.5rem;
}


/*TDE: demo test */

@media (min-width: 768px) {
    .form_view {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-flow: column nowrap;
        flex-flow: column nowrap;
        min-height: 100%;
        justify-content: center;
    }
}

.form_view .form_sheet_bg {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    background-color: #f6f7fa;
    background-color: #747474;
    background-color: #dee2e6;
    background-color: transparent;
    /* border-bottom: 1px solid #c9ccd2; */
    padding-bottom: 24px;
    /* padding-top: 12px; */
    /* fixed mobile scroll*/
    width: 100%;
}

.form_view .form_sheet_bg>.form_sheet {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    margin-right: auto;
    margin-left: auto;
    background-color: white;
    border: 1px solid #c9ccd2;
    box-shadow: 0 5px 20px -15px rgba(0, 0, 0, 0.4);
    margin: 4.8px auto;
    padding: 24px 0 0;
    padding-right: 16px;
    padding-left: 16px;
}

@media (min-width: 576px) {
    .form_view .form_sheet_bg>.form_sheet {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .form_view .form_sheet_bg>.form_sheet {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .form_view .form_sheet_bg>.form_sheet {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .form_view .form_sheet_bg>.form_sheet {
        max-width: 1240px;
    }
}

@media (min-width: 768px) {
    .form_view .form_sheet_bg>.form_sheet {
        margin: 12px auto;
    }
}

@media (min-width: 992px) and (max-width: 1533.98px) {
    .form_view .form_sheet_bg>.form_sheet {
        padding-right: 32px;
    }
}

@media (min-width: 992px) and (max-width: 1533.98px) {
    .form_view .form_sheet_bg>.form_sheet {
        padding-left: 32px;
    }
}

.fields-width-ss td.field-name {
    /* max-width: 120px !important; */
    overflow: hidden;
    text-overflow: ellipsis;
}

.bootstrap-table .fixed-table-toolbar .columns label {
    display: flex;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.4286;
    justify-content: flex-start;
    align-items: center;
}

.form-row>div {
    /* display: inline-flex; */
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
}

[class*="divider_tag"].readonly {
    min-width: 18rem;
    color: #6c757d !important;
    margin-top: .5rem;
}

.inline-group .tabular td.original p:not(.has-link) {
    /* display: none; */
}

.dropdown-item.dropdown-item-marker>span {
    display: flex;
    justify-content: flex-start;
    flex: auto;
    padding-right: 0.25rem;
}

.dropdown-item.dropdown-item-marker>input[type="checkbox"] {
    margin-top: 4px;
}

.fixed-table-toolbar {
    position: absolute;
    z-index: 1000;
    left: 0;
    top: -7px;
}

.select2-container--admin-autocomplete[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    margin-left: 5px;
    margin-right: 5px;
}

.select2-container--admin-autocomplete[dir="rtl"] .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin: 3px;
    position: absolute;
    left: 0;
    right: auto;
    color: var(--bs-orange);
}

fieldset.collapsed h2 i {
    display: inline;
}


/* fieldset[class*="col-"] {
margin-right: -0.75rem;
} */

fieldset[class*="row-"] {
    margin-left: 0.25rem;
}

[dir="rtl"] fieldset[class*="row-"] {
    margin-right: 0.25rem;
}


/* override dark style */

.admin-dark .module {
    border: none;
    margin-bottom: 30px;
    background: white;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="tel"],
textarea,
select,
.vTextField {
    /* background-color: white; */
    /* color: inherit; */
}

textarea {
    height: 68px;
}

pre {
    direction: ltr !important;
}

.inline-related fieldset {
    width: auto;
}

input:disabled:not([type="checkbox"]),
input.read-only:not([type="checkbox"]) {
    background-color: var(--bs-gray-100) !important;
    min-width: auto !important;
    color: initial;
}

input:disabled.w-100:not([type="checkbox"]),
input.read-only.w-100:not([type="checkbox"]) {
    min-width: 100% !important;
}


/* a:link,
a:visited {
color: inherit;
} */

#comments textarea {
    min-height: 31px;
    height: 31px !important;
    max-width: 100% !important;
}

.js-updated-comment {
    --bs-bg-opacity: 1;
    /* background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important; */
}

@media (max-width: 1024px) {
    fieldset .fieldBox+.fieldBox {
        border-top: none;
    }
}

.link-dark:focus,
.link-dark:hover {
    /* color: #1a1e21 !important; */
    /* background-color: #ffebda; */
}

i.las,
i.la {
    display: inline-block;
    font-size: 19px;
    line-height: 23px;
    vertical-align: middle;
    width: 20px;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.separator {
    display: block;
    height: 0;
    border-bottom: 1px solid var(--kt-border-color);
}

.separator.separator-dotted {
    border-bottom-style: dotted;
    border-bottom-color: var(--kt-border-dashed-color);
}

.separator.separator-dashed {
    border-bottom-style: dashed;
    border-bottom-color: var(--kt-border-dashed-color);
}

.separator.separator-content {
    display: flex;
    align-items: center;
    border-bottom: 0;
    text-align: center;
}

.separator.separator-content::before,
.separator.separator-content::after {
    content: " ";
    width: 50%;
    border-bottom: 1px solid var(--kt-border-color);
}

.separator.separator-content::before {
    margin-right: 1.25rem;
}

.separator.separator-content::after {
    margin-left: 1.25rem;
}

.separator.separator-content.separator-dotted::before,
.separator.separator-content.separator-dotted::after {
    border-bottom-style: dotted;
    border-bottom-color: var(--kt-border-dashed-color);
}

.separator.separator-content.separator-dashed::before,
.separator.separator-content.separator-dashed::after {
    border-bottom-style: dashed;
    border-bottom-color: var(--kt-border-dashed-color);
}

.separator.separator-content.border-white::before,
.separator.separator-content.border-white::after {
    border-color: #ffffff !important;
}

.separator.separator-content.border-light::before,
.separator.separator-content.border-light::after {
    border-color: #f8f6f2 !important;
}

.separator.separator-content.border-primary::before,
.separator.separator-content.border-primary::after {
    border-color: #4fc9da !important;
}

.separator.separator-content.border-secondary::before,
.separator.separator-content.border-secondary::after {
    border-color: #dad3c3 !important;
}

.separator.separator-content.border-success::before,
.separator.separator-content.border-success::after {
    border-color: #b8d935 !important;
}

.separator.separator-content.border-info::before,
.separator.separator-content.border-info::after {
    border-color: #4f55da !important;
}

.separator.separator-content.border-warning::before,
.separator.separator-content.border-warning::after {
    border-color: #e8c444 !important;
}

.separator.separator-content.border-danger::before,
.separator.separator-content.border-danger::after {
    border-color: #f06445 !important;
}

.separator.separator-content.border-dark::before,
.separator.separator-content.border-dark::after {
    border-color: #211f1c !important;
}

.td-border-0 .inline-table tr td {
    border: 0 !important;
}

.td-border-0 .inline-table tr td input {
    border-bottom: 1px solid #ddd !important;
}

@media (max-width: 1024px) {
    #changelist .actions label {
        display: inline-block;
    }
}

form .form-row .filer-dropzone {
    max-width: 300px;
}

#table-report tr:nth-child(even) {
    background: inherit;
}

button.select2-selection__choice__remove {
    border: none;
}

.inline-table .related-widget-wrapper-link:not(.custom-view) {
    /* display: none;
    visibility: hidden; */
}

/* .inline-table td .select2-container {
    max-width: 12em !important;
    min-width: 12em !important;
} */

/* .inline-table .form-row p {
    max-width: 10rem;
} */

[dir="rtl"] .filebrowser .navigator-table thead th,
[dir="rtl"] .filebrowser .navigator-table tbody td {
    text-align: right;
}

[dir="rtl"] .breadcrumb-min-width .filer-navigator-breadcrumbs-dropdown-container,
[dir="rtl"] .breadcrumb-min-width .navigator-breadcrumbs-name-dropdown-wrapper,
[dir="rtl"] .breadcrumb-min-width .navigator-breadcrumbs-folder-name-wrapper,
[dir="rtl"] .breadcrumb-min-width .breadcrumbs-container-wrapper,
[dir="rtl"] .breadcrumb-min-width .breadcrumbs-container,
[dir="rtl"] .breadcrumb-min-width .tools-container,
[dir="rtl"] .breadcrumb-min-width .filter-files-container,
[dir="rtl"] .breadcrumb-min-width .navigator-breadcrumbs,
[dir="rtl"] .breadcrumb-min-width .navigator-button-wrapper {
    display: inline-block;
    text-align: right;
}

[dir="rtl"] .filer-dropdown-menu {
    text-align: right;
}

.filer-dropdown-container.open .filer-dropdown-menu {
    display: block;
    padding: 0;
}

.b-rotate-180::before {
    transform: rotate(180deg);
}

.bg-gray-300,
.hover-bg-gray-300:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(209, 213, 219, var(--tw-bg-opacity)) !important;
}

.text-gray-400,
.hover-text-gray-400:hover {
    --tw-text-opacity: 1;
    color: rgba(156, 163, 175, var(--tw-text-opacity)) !important;
}

.bg-gray-900,
.hover-bg-gray-900:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(17, 24, 39, var(--tw-bg-opacity)) !important;
}

.text-gray-700,
.hover-text-gray-700:hover {
    --tw-text-opacity: 1;
    color: rgba(55, 65, 81, var(--tw-text-opacity)) !important;
}

.bg-gray-100,
.hover-bg-gray-100:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, var(--tw-bg-opacity)) !important;
}

.bg-indigo-900,
.hover-g-indigo-900:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(49, 46, 129, var(--tw-bg-opacity)) !important;
}

.text-indigo-300,
.hover-text-indigo-300:hover {
    --tw-text-opacity: 1;
    color: rgba(165, 180, 252, var(--tw-text-opacity)) !important;
}

.bg-gray-200,
.hover-bg-gray-200:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(229, 231, 235, var(--tw-bg-opacity)) !important;
}

.text-indigo-100,
.hover-text-indigo-100:hover {
    --tw-text-opacity: 1;
    color: rgba(224, 231, 255, var(--tw-text-opacity)) !important;
}

.bg-indigo-700,
.hover-bg-indigo-700:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(67, 56, 202, var(--tw-bg-opacity)) !important;
}

.bg-gray-700,
.hover-bg-gray-700:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(55, 65, 81, var(--tw-bg-opacity)) !important;
}

.text-gray-300,
.hover-text-gray-300:hover {
    --tw-text-opacity: 1;
    color: rgba(209, 213, 219, var(--tw-text-opacity)) !important;
}

.text-gray-200,
.hover-text-gray-200:hover {
    --tw-text-opacity: 1;
    color: rgba(229, 231, 235, var(--tw-text-opacity)) !important;
}

.bg-indigo-500,
.hover-bg-indigo-500:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(99, 102, 241, var(--tw-bg-opacity));
}

.nav-menu:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(209, 213, 219, var(--tw-bg-opacity)) !important;
}

.border-gray-300 {
    --tw-border-opacity: 1;
    border-color: rgba(209, 213, 219, var(--tw-border-opacity));
}

.border-gray-700 {
    --tw-border-opacity: 1;
    border-color: rgba(55, 65, 81, var(--tw-border-opacity));
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-40 {
    width: 10rem;
}

.h-8 {
    height: 2rem;
}

.w-8 {
    width: 2rem;
}

.h-full {
    height: 100%;
}

.w-40 {
    width: 10rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.h-12 {
    height: 3rem;
}

.w-12 {
    width: 3rem;
}

.w-full {
    width: 100%;
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.w-2 {
    width: 0.5rem;
}

.h-2 {
    height: .5rem;
}

.stroke-current {
    stroke: currentColor;
}

.scrollbar::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    visibility: visible;
    border-radius: 3px;
    background-color: rgba(159, 166, 188, 0.55);
}

.scrollbar::-webkit-scrollbar,
*::-webkit-scrollbar {
    visibility: visible;
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0)
}


/* .scrollbar::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
visibility: visible;
border-radius: 3px;
background-color: rgba(255, 255, 255, .4)
} */

/* .scrollbar,
* {
    scrollbar-color: rgba(159, 166, 188, 0.55) rgba(0, 0, 0, 0);
    scrollbar-width: thin
} */

span.menu-icon {
    display: block;
    position: relative;
    width: 15px;
    height: 2px;
    background-color: #1c273c;
    transition: all 0.2s ease-in-out;
}

span.menu-icon:before {
    content: '';
    position: absolute;
    right: 0;
    width: 20px;
    height: 2px;
    background-color: #1c273c;
    transition: all 0.2s ease-in-out;
    top: -6px;
}

span.menu-icon:after {
    content: '';
    position: absolute;
    right: 0;
    width: 20px;
    height: 2px;
    background-color: #1c273c;
    transition: all 0.2s ease-in-out;
    bottom: -6px;
}

span.menu-icon.menu-collapse {
    width: 20px;
}

span.menu-icon.menu-collapse::after,
span.menu-icon.menu-collapse::before {
    background-color: #6c757d;
    width: 10px;
}

#user-tools a,
#logout-form button {
    border: 0;
}

.offcanvas-size-xl {
    --bs-offcanvas-width: min(95vw, 600px) !important;
}

.offcanvas-size-xxl {
    --bs-offcanvas-width: min(95vw, 90vw) !important;
}

.offcanvas-size-md {
    /* add Responsivenes to default offcanvas */
    --bs-offcanvas-width: min(95vw, 400px) !important;
}

.offcanvas-size-sm {
    --bs-offcanvas-width: min(95vw, 250px) !important;
}

.offcanvas-collapse {
    position: fixed;
    top: 40px;
    /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    /* padding-right: 1rem;
padding-left: 1rem; */
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    background-color: #f2f7fb;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    z-index: 100000;
    overflow-x: hidden;
}

.offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
    z-index: 10000;
}

.bg-purple {
    background-color: #6f42c1;
}

.offcanvas-collapse .nav {
    --mdb-nav-link-padding-x: 1rem;
    --mdb-nav-link-padding-y: 0.5rem;
    --mdb-nav-link-color: var(--mdb-link-color);
    --mdb-nav-link-hover-color: var(--mdb-link-hover-color);
    --mdb-nav-link-disabled-color: #757575;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}

.offcanvas-collapse .nav-link {
    display: block;
    padding: var(--mdb-nav-link-padding-y) var(--mdb-nav-link-padding-x);
    font-size: var(--mdb-nav-link-font-size);
    font-weight: var(--mdb-nav-link-font-weight);
    color: var(--mdb-nav-link-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out
}

@media(prefers-reduced-motion:reduce) {
    .offcanvas-collapse .nav-link {
        transition: none
    }
}

.offcanvas-collapse .nav-link:focus,
.offcanvas-collapse .nav-link:hover {
    color: var(--mdb-nav-link-hover-color)
}

.offcanvas-collapse .nav-link.disabled {
    color: var(--mdb-nav-link-disabled-color);
    pointer-events: none;
    cursor: default
}

.offcanvas-collapse .nav-tabs {
    --mdb-nav-tabs-border-width: 1px;
    --mdb-nav-tabs-border-color: #e0e0e0;
    --mdb-nav-tabs-border-radius: 0.25rem;
    /* --mdb-nav-tabs-link-hover-border-color:#eee #eee #e0e0e0; */
    --mdb-nav-tabs-link-active-color: #3b71ca;
    --mdb-nav-tabs-link-active-bg: #fff;
    --mdb-nav-tabs-link-active-border-color: #3b71ca;
    border-bottom: var(--mdb-nav-tabs-border-width) solid var(--mdb-nav-tabs-border-color)
}

.offcanvas-collapse .nav-tabs .nav-link {
    margin-bottom: calc(var(--mdb-nav-tabs-border-width)*-1);
    background: none;
    border: var(--mdb-nav-tabs-border-width) solid transparent;
    border-top-left-radius: var(--mdb-nav-tabs-border-radius);
    border-top-right-radius: var(--mdb-nav-tabs-border-radius)
}

.offcanvas-collapse .nav-tabs .nav-link:focus,
.offcanvas-collapse .nav-tabs .nav-link:hover {
    isolation: isolate;
    border-color: var(--mdb-nav-tabs-link-hover-border-color)
}

.offcanvas-collapse .nav-tabs .nav-link.disabled,
.offcanvas-collapse .nav-tabs .nav-link:disabled {
    color: var(--mdb-nav-link-disabled-color);
    background-color: transparent;
    border-color: transparent
}

.offcanvas-collapse .nav-tabs .nav-item.show .nav-link,
.offcanvas-collapse .nav-tabs .nav-link.active {
    background-color: var(--mdb-nav-tabs-link-active-bg)
}

.offcanvas-collapse .nav-tabs .dropdown-menu {
    margin-top: calc(var(--mdb-nav-tabs-border-width)*-1);
    border-top-left-radius: 0;
    border-top-right-radius: 0
}

.offcanvas-collapse .nav-pills {
    --mdb-nav-pills-border-radius: 0.25rem;
    --mdb-nav-pills-link-active-color: #285192;
    --mdb-nav-pills-link-active-bg: #e3ebf7
}

.offcanvas-collapse .nav-pills .nav-link {
    background: none;
    border: 0;
    border-radius: var(--mdb-nav-pills-border-radius)
}

.offcanvas-collapse .nav-pills .nav-link:disabled {
    color: var(--mdb-nav-link-disabled-color);
    background-color: transparent;
    border-color: transparent
}

.offcanvas-collapse .nav-fill .nav-item,
.offcanvas-collapse .nav-fill>.nav-link {
    flex: 1 1 auto;
    text-align: center
}

.offcanvas-collapse .nav-justified .nav-item,
.offcanvas-collapse .nav-justified>.nav-link {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center
}

.offcanvas-collapse .nav-fill .nav-item .nav-link,
.offcanvas-collapse .nav-justified .nav-item .nav-link {
    width: 100%
}

.offcanvas-collapse .tab-content>.tab-pane {
    display: none
}

.offcanvas-collapse .tab-content>.active {
    display: block
}

.offcanvas-collapse .nav-tabs {
    border-bottom: 0
}

.offcanvas-collapse .nav-tabs .nav-link {
    --mdb-nav-tabs-link-font-weight: 500;
    --mdb-nav-tabs-link-font-size: 12px;
    --mdb-nav-tabs-link-color: rgba(0, 0, 0, 0.55);
    --mdb-nav-tabs-link-padding-top: 17px;
    --mdb-nav-tabs-link-padding-bottom: 16px;
    --mdb-nav-tabs-link-padding-x: 29px;
    --mdb-nav-tabs-link-hover-bgc: #f7f7f7;
    --mdb-nav-tabs-link-border-bottom-width: 2px;
    --mdb-nav-tabs-link-active-color: #3b71ca;
    --mdb-nav-tabs-link-active-border-color: #3b71ca;
    border-width: 0;
    border-bottom: var(--mdb-nav-tabs-link-border-bottom-width) solid transparent;
    border-radius: 0;
    text-transform: uppercase;
    line-height: 1;
    font-weight: var(--mdb-nav-tabs-link-font-weight);
    font-size: var(--mdb-nav-tabs-link-font-size);
    color: var(--mdb-nav-tabs-link-color);
    padding: var(--mdb-nav-tabs-link-padding-top) var(--mdb-nav-tabs-link-padding-x) var(--mdb-nav-tabs-link-padding-bottom) var(--mdb-nav-tabs-link-padding-x);
}

.offcanvas-collapse .nav-tabs .nav-link:hover {
    background-color: var(--mdb-nav-tabs-link-hover-bgc);
    border-color: transparent
}

.offcanvas-collapse .nav-tabs .nav-link:focus {
    border-color: transparent
}

.offcanvas-collapse .nav-tabs .nav-item.show .nav-link,
.offcanvas-collapse .nav-tabs .nav-link.active {
    color: var(--mdb-nav-tabs-link-active-color);
    border-color: var(--mdb-nav-tabs-link-active-border-color);
}

.offcanvas-collapse .nav-pills {
    margin-left: -.5rem
}

.offcanvas-collapse .nav-pills .nav-link {
    --mdb-nav-pills-link-border-radius: 0.25rem;
    --mdb-nav-pills-link-font-size: 12px;
    --mdb-nav-pills-link-padding-top: 17px;
    --mdb-nav-pills-link-padding-bottom: 16px;
    --mdb-nav-pills-link-padding-x: 29px;
    --mdb-nav-pills-link-line-height: 1;
    --mdb-nav-pills-link-hover-bg: #f7f7f7;
    --mdb-nav-pills-link-font-weight: 500;
    --mdb-nav-pills-link-color: rgba(0, 0, 0, 0.55);
    --mdb-nav-pills-margin: 0.5rem;
    border-radius: var(--mdb-nav-pills-link-border-radius);
    font-size: var(--mdb-nav-pills-link-font-size);
    text-transform: uppercase;
    padding: var(--mdb-nav-pills-link-padding-top) var(--mdb-nav-pills-link-padding-x) var(--mdb-nav-pills-link-padding-bottom) var(--mdb-nav-pills-link-padding-x);
    line-height: var(--mdb-nav-pills-link-line-height);
    background-color: var(--mdb-nav-pills-link-hover-bg);
    font-weight: var(--mdb-nav-pills-link-font-weight);
    color: var(--mdb-nav-pills-link-color);
    margin: var(--mdb-nav-pills-margin)
}

.offcanvas-collapse .nav-pills .nav-link.active,
.offcanvas-collapse .nav-pills .show>.nav-link {
    --mdb-nav-pills-link-active-bg: #e3ebf7;
    --mdb-nav-pills-link-active-color: #285192;
    background-color: var(--mdb-nav-pills-link-active-bg);
    color: var(--mdb-nav-pills-link-active-color)
}

.offcanvas-collapse .nav-fill .nav-item .nav-link,
.offcanvas-collapse .nav-justified .nav-item .nav-link {
    width: auto
}

/* .form-row.field-render_inline_actions {
    display: none !important;
} */

.form-row-block .form-row>div {
    display: block !important;
}

.wizard {
    color: #004473
}

.wizard a {
    padding: 4px 4px 4px;
    margin-left: 5px;
    /* background: #efefef; */
    background: var(--bs-border-color);
    position: relative;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
}

.wizard a:before {
    width: 0;
    height: 0;
    border-top: 14px inset transparent;
    border-bottom: 14px inset transparent;
    border-right: 14px solid #fff;
    position: absolute;
    content: "";
    top: 0;
    right: 0;
}

.wizard a:after {
    width: 0;
    height: 0;
    border-top: 14px inset transparent;
    border-bottom: 14px inset transparent;
    border-right: 14px solid #efefef;
    border-right: 14px solid var(--bs-border-color);
    position: absolute;
    content: "";
    top: 0;
    left: -14px;
    z-index: 2;
}

.wizard a:first-child:before,
.wizard a:last-child:after {
    border: none;
}

.wizard a:first-child {
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

.wizard a:last-child {
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.wizard .badge {
    margin: 0 15px 0 8px;
    position: relative;
    border: 1px solid;
    /* top: -1px; */
}

.wizard a:first-child .badge {
    margin-right: 0;
}

.wizard .current {
    background: #007ACC;
    color: #fff;
}

.wizard .current:after {
    border-right-color: #007ACC;
    border-right-color: inherit;
}

.form-row.field-ticket_wizard_steps>div {
    display: flex;
    justify-content: center;
}

.field-action_view_balance>div {
    display: flex;
    justify-content: end;
}

.ck-editor {
    width: 100%;
}

@media (max-width: 1024px) {
    .search-button span {
        display: none;
    }

    .search-button>* {
        white-space: nowrap;
    }
}

.search-button {
    /* background-color: transparent !important; */
    /* color: #607d8b; */
    display: inline;
}

.bd-callout {
    --bs-link-color-rgb: var(--bd-callout-link);
    --bs-code-color: var(--bd-callout-code-color);
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--bd-callout-color, inherit);
    background-color: var(--bd-callout-bg, var(--bs-gray-100));
    border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300))
}

[dir="rtl"] .bd-callout {
    border-right: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
    border-left: 0;
}

.bd-callout h4 {
    margin-bottom: .25rem
}

.bd-callout>:last-child {
    margin-bottom: 0
}

.bd-callout+.bd-callout {
    margin-top: -.25rem
}

.bd-callout .highlight {
    background-color: rgba(0, 0, 0, 0.05)
}

.bd-callout-info {
    --bd-callout-color: var(--bs-info-text-emphasis);
    --bd-callout-bg: var(--bs-info-bg-subtle);
    --bd-callout-border: var(--bs-info-border-subtle)
}

.bd-callout-warning {
    --bd-callout-color: var(--bs-warning-text-emphasis);
    --bd-callout-bg: var(--bs-warning-bg-subtle);
    --bd-callout-border: var(--bs-warning-border-subtle)
}

.bd-callout-danger {
    --bd-callout-color: var(--bs-danger-text-emphasis);
    --bd-callout-bg: var(--bs-danger-bg-subtle);
    --bd-callout-border: var(--bs-danger-border-subtle)
}

#advanced_filters_form {
    overflow-x: auto;
}

.ft-add-invoice-condation-textarea {
    padding: 10px;
    border-radius: 5px;
    background-color: #eceff1;
    color: var(--text-primary);
    font-size: 16px;
    border: 0;
    width: 100%;
    overflow-y: auto;
}

