/* DEVEX OVERRIDES - OK */
/* TODO - Eventualno maknuti boje zbog tema */

body {
    color: var(--base-text-color)
}

.dx-toolbar-menu-section .dx-toolbar-item-auto-hide {
    padding: 0 0 0 0px;
}

.dx-toolbar-after .dx-toolbar-item:first-child {
    /*padding-right: 5px !important;*/
}

.dx-field-label {
    padding: 8px 0px 9px 0;
    /*color: #514d6a;*/
}

.dx-field-value {
    float: left;
}

.dx-datagrid-content .dx-datagrid-table .dx-row .dx-command-select {
    padding: 0;
    width: 35px;
    min-width: 35px;
    max-width: 35px;
}

.dx-btn-lookup {
    /*color: #827ca1 !important;*/
    padding: 7px 16px !important;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.dx-textbox-lookup {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    width: 100% !important;
}

.dx-selected-row-color {
    /*color: white !important;*/
}

.dx-vertical-ceneter-label {
    line-height: 36px;
}

.dx-toolbar-items-container {
    margin-top: 5px;
}

.dx-icon {
    display: inline-flex !important;
}

.dx-popup-title .dx-toolbar-label {
    font-size: 16px !important;
}

.dx-single-column-item-content {
    max-width: 100%;
}

.dx-form-avatar {
    height: 200px;
    width: 200px;
    margin-right: 10px;
    border: 1px solid #d2d3d5;
    border-radius: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.dx-editor-right .dx-field-item-content > div {
    float: right;
}

.dx-toolbar-menu-section .dx-toolbar-hidden-button .dx-button .dx-button-content > span {
    color: #728e94 !important;
}

.dx-lookup-arrow {
    width: auto;
}

.dx-lookup-field {
    font-size: 14px;
}

.dx-popup-normal {
    z-index: 9999 !important;
}

.dx-data-row .dx-column-unicode {
    font-size: 23px !important;
}

.dx-tabs-header-hidden .dx-tabpanel-container {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

.gridCellMenu .dx-menu-item-content {
    padding: 0px !important;
}

.dx-texteditor.dx-editor-filled .dx-texteditor-input,
.dx-texteditor.dx-editor-outlined .dx-texteditor-input {
    padding: 10px 10px 9px;
}

.dx-texteditor.dx-editor-filled .dx-colorbox-input,
.dx-texteditor.dx-editor-outlined .dx-colorbox-input {
    padding: 10px 40px 9px !important;
}

.dx-searchbox.dx-editor-filled .dx-texteditor-input, .dx-searchbox.dx-editor-outlined .dx-texteditor-input, .dx-searchbox.dx-editor-filled .dx-placeholder:before, .dx-searchbox.dx-editor-outlined .dx-placeholder:before {
    padding: 8px;
    padding-left: 34px !important;
}

.dx-grid-card-bg {
    background-color: #e9ebee;
}

.dx-grid-card-header {
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5385;
}

.dx-texteditor.dx-editor-filled .dx-placeholder:before, .dx-texteditor.dx-editor-outlined .dx-placeholder:before {
    padding: 8px 35px 9px;
}

.dx-datagrid-rowsview .dx-row > .dx-master-detail-cell {
    padding-top: 5px;
}

.dx-list-card-view .dx-scrollview-content {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.dx-list-card-view .dx-list-search {
    background: white;
    margin: .625rem;
    border-radius: 4px;
}

    .dx-list-card-view .dx-list-search .dx-texteditor-container {
        border: 1px solid #e0e0e0;
    }

    .dx-list-card-view .dx-list-search.dx-state-hover {
        background-color: white !important;
    }

.dx-list-card-view {
    background-color: #f7f7f7 !important;
}

    .dx-list-card-view .dx-scrollview-content .dx-list-item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
        overflow: unset !important;
        -ms-text-overflow: unset !important;
        text-overflow: unset !important;
        white-space: unset !important;
        margin-bottom: 1.2rem;
    }

        .dx-list-card-view .dx-scrollview-content .dx-list-item .dx-list-item-content {
            overflow: unset !important;
            -ms-text-overflow: unset !important;
            text-overflow: unset !important;
            white-space: unset !important;
        }

@media (min-width:576px) {
    .dx-list-card-view .dx-scrollview-content .dx-list-item {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width:768px) {
    .dx-list-card-view .dx-scrollview-content .dx-list-item {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
}

.dx-scheduler-custom-toolbat-element {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    min-width: 240px;
}

.dx-lookup-arrow:before {
    margin-left: -25px;
}

.dx-custom-style-lookup {
    height: 50px !important;
}

    .dx-custom-style-lookup .dx-lookup-field {
        padding: 18px 12px 18px !important;
    }

.dx-card-grid .dx-freespace-row, .dx-card-grid .dx-datagrid-table {
    background: #e9ebee;
}

.dx-datagrid-edit-popup {
    z-index: 1050 !important;
}

.dx-diagram-content-wrapper .dx-toolbar-items-container {
    margin-top: 0px !important;
}

.dx-diagram-toolbox-popup .dx-toolbar-items-container {
    margin-top: 0px !important;
}

.dx-dropdowneditor-icon-corrector::before {
    position: relative !important;
}

.dx-tabs-header-hidden > .dx-tabpanel-tabs {
    display: none;
}

.dx-tabs-header-no-border.dx-state-focused .dx-tabpanel-container .dx-multiview-wrapper {
    border-color: #dedede;
}

.dx-tabs-header-no-border.dx-state-selected .dx-tabpanel-container .dx-multiview-wrapper {
    border-color: #dedede !important;
}

.dx-tabs-no-border .dx-multiview-wrapper {
    border: none;
}

.dx-tabs-header-hidden.dx-state-focused > .dx-tabpanel-container > .dx-multiview-wrapper {
    border-color: #dedede !important;
}

.dx-tabs-header-hidden.dx-state-selected > .dx-tabpanel-container > .dx-multiview-wrapper {
    border-color: #dedede;
}

.dx-tabs-header-hidden.dx-state-focused .dx-multiview-wrapper {
    border-color: #dedede;
}

.dx-tabs-header-hidden > .dx-tabpanel-container > .dx-multiview-wrapper {
    border: none;
}

.dx-tabs-header-hidden .dx-tabpanel-container {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

.dx-diagram-toolbox-popup {
    z-index: 1041 !important;
}

.dx-diagram.dx-diagram-fullscreen {
    z-index: 1040 !important;
}

.dx-diagram-properties-panel-hidden .dx-diagram-properties-panel-toolbar-container {
    display: none;
}

.dx-tab-select-box {
    border-color: transparent !important;
    background-color: rgba(60,186,178,.1) !important;
    border-left: 1px solid #dedede !important;
    border-top: 1px solid #dedede !important;
    border-right: 1px solid #dedede !important;
}

    .dx-tab-select-box .dx-texteditor-input {
        color: #3eb8b0;
        text-align: center;
        font-weight: bold;
        font-size: 15px;
    }

.dx-checkbox.dx-state-readonly .dx-checkbox-icon {
    border-color: #c6d1d0;
}

.dx-button-mode-text .dx-icon.dx-lkp-icon {
    color: #9e9e9e;
}
/* COLE - DEVEX - OVERRIDES */
/* DEVEX MASTER details GRID */
.devx-md-grid .dx-master-detail-cell {
    padding: 10px !important;
    padding-left: 36px !important;
    /*background-color: #d0d4d5 !important;*/
}

.dx-datagrid-group-closed, .dx-datagrid-group-opened {
    line-height: 37px;
}
/* DEVEX ADAPTIVE BUTTON FIX*/
.dx-command-adaptive {
    text-align: center !important;
    padding-top: 8px !important;
}
/* DX-TOOLTIP TEXT */
.dx-popup-content span {
    white-space: normal;
    word-wrap: break-word;
}

.dx-datagrid-table .dx-row .dx-command-expand.dx-datagrid-group-space {
    padding-top: 0px;
}
/* LOADER FIX */
.dx-loadpanel-wrapper {
    width: 100%;
    height: 100%;
    z-index: 1501;
}

.dx-mobile-grid .dx-datagrid-headers .dx-row td.dx-pointer-events-none,
.dx-mobile-grid .dx-datagrid-rowsview .dx-data-row td.dx-pointer-events-none,
.dx-mobile-grid .dx-datagrid-rowsview .dx-freespace-row td.dx-pointer-events-none,
.dx-mobile-grid .dx-datagrid-rowsview .dx-header-row td.dx-pointer-events-none,
.dx-mobile-grid .dx-datagrid-rowsview .dx-virtual-row td.dx-pointer-events-none {
    border: none;
}

.dx-mobile-grid .dx-column-lines > td {
    border: none;
}

.dx-mobile-grid .dx-row-select-box .dx-checkbox-icon {
    width: 22px;
    height: 22px;
}

.dx-selection .dx-button-dir i {
    color: white !important;
}

.dx-popup-title.dx-toolbar .dx-toolbar-items-container {
    height: 40px;
}

/* BUTTON SA KLASAMA OD DX-BUTTONA ZA GRID */
button.dx-button {
    padding: 0px !important;
    width: 34px;
    height: 34px;
}

    button.dx-button:disabled {
        opacity: 0.3;
        cursor: default;
    }

    button.dx-button:active {
        border: 0px none !important;
    }

.dx-disabled-focused-state .dx-state-focused {
    background-color: none !important;
}

@media (max-width:576px) {
    .dx-freespace-row {
        display: none;
    }
}

.dx-dashboard-designer-menu-header {
    z-index: 9999;
}

.dx-dashboard-edit-in-designer-button {
    margin: 0px 0px !important;
}

.dx-datagrid .dx-datagrid-headers .dx-row td.dx-pointer-events-none,
.dx-datagrid .dx-datagrid-rowsview .dx-data-row td.dx-pointer-events-none,
.dx-datagrid .dx-datagrid-rowsview .dx-freespace-row td.dx-pointer-events-none,
.dx-datagrid .dx-datagrid-rowsview .dx-header-row td.dx-pointer-events-none,
.dx-datagrid .dx-datagrid-rowsview .dx-virtual-row td.dx-pointer-events-none {
    border: none !important;
}

.dx-datagrid-headers {
    border-bottom: none !important;
}

.dx-datagrid-pager .dx-placeholder {
    display: none !important;
}

.page-nav .dx-scrollable-content {
    padding-right: 0px !important;
}

.flex-1 [dx-data-grid] {
    max-width: 100% !important;
}

.dx-grid-card-item {
    font-family: Segoe UI WestEuropean,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    box-shadow: none;
    color: var(--base-text-color);
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    *zoom: 1;
    position: relative;
    display: block;
    margin-top: 2px;
    margin-bottom: 2px;
    border-left: 3px solid;
    border-color: transparent;
}

.dx-card-item-selection-space {
    width: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.dx-card-item-data-space {
    width: 0px;
}

.dx-card-item-info-space {
    width: 100px;
}

.dx-card-item-info-button-space {
    height: auto;
    max-height: 25px;
}

.dx-card-item-button-space {
    width: 40px;
}

.dx-grid-card-item a {
    color: var(--theme-color)
}

.dx-grid-card-item-primaryText, .dx-grid-card-item-secondaryText, .dx-grid-card-item-tertiaryText {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block
}

.dx-grid-card-item-primaryText {
    color: var(--base-text-color);
    font-weight: 600;
    font-size: 13px;
    position: relative;
}

.dx-grid-card-item-secondaryText {
    font-weight: 400;
    font-size: 12px;
}

.dx-grid-card-item-tertiaryText {
    color: var(--secondary-text-color);
    font-weight: 300;
    font-size: 12px;
}

.dx-grid-card-item-metaText {
    font-weight: 300;
    font-size: 11px;
}

.dx-grid-card-item-image {
    height: 60px;
    width: 60px;
    background-color: #333
}

.dx-grid-card-item-image-area {
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    z-index: 0;
    width: 100%;
    top: 0;
    left: 0
}

.dx-grid-card-item-initials {
    color: #fff;
    font-size: 22px;
    font-weight: 100;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.dx-grid-card-item-action {
    color: #a6a6a6;
    display: inline-block;
    font-size: 15px;
    position: relative;
    text-align: center;
    top: 3px;
    cursor: pointer;
    height: 16px;
    width: 16px
}

    .dx-grid-card-item-action .ms-Icon {
        vertical-align: top
    }

    .dx-grid-card-item-action:hover {
        color: #666;
        outline: 1px solid transparent
    }

.dx-grid-card-item.unread {
    border-color: #0078d7;
}

.dx-grid-card-item-unread {
    border-right: 10px solid transparent;
    border-top: 10px solid #0078d7;
    left: -3px;
    position: absolute;
    top: 0;
}

.dx-grid-card-item-metaText, .dx-grid-card-item-secondaryText {
    color: var(--base-theme-color);
    font-weight: 600;
}


.dx-grid-card-item.selected {
    background-color: var(--base-select-bg) !important;
    cursor: pointer;
}

.dx-grid-card-item:hover {
    background-color: var(--base-hover-bg);
    cursor: pointer;
}

.dx-grid-card-item-action-button {
    height: 100%;
    padding: 0.4375rem 0.775rem;
    height: 100%;
    display: flex;
    position: absolute;
    align-items: center;
}

    .dx-grid-card-item-action-button i {
        font-weight: bold;
        font-size: 16px;
        padding-top: 9px;
    }

.dx-datagrid-header-panel .dx-toolbar {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.dx-border-top-success-color {
    border-top-color: var(--base-success);
}

.dx-border-top-danger-color {
    border-top-color: var(--base-danger);
}

[dx-command-bar] {
    border-bottom: 1px solid var(--base-bg-shade);
}

[dx-command-bar-srednja] {
    border-bottom: 1px solid var(--base-bg-shade);
}

.dx-widget {
    font-weight: normal;
    font-size: 14px;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serifsans-serif;
    line-height: 1.35715;
}


.dx-list-as-side-nav .dx-list-item,
.dx-list-as-side-nav.dx-list .dx-empty-message {
    border-top: none;
}

.dx-list-as-side-nav.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-list-item-selected {
    background-color: var(--base-theme-color-light);
    color: var(--base-theme-color-lighter);
    font-weight: 600;
}

.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-state-focused {
    background-color: transparent;
    color: var(--base-text-color);
}

.dx-list-as-side-nav.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-list-item-selected.dx-state-hover {
    background-color: var(--base-hover-bg) !important;
    color: var(--base-theme-color-lighter) !important;
}

.dx-list-as-side-nav.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-list-item-selected.dx-state-hover {
    background-color: var(--base-hover-bg) !important;
    color: var(--base-theme-color-lighter) !important;
}

/*.dx-list-as-side-nav .dx-list-item-content,
.dx-list-as-side-nav.dx-list .dx-empty-message {
    padding: 3px 10px;
}*/

/*.dx-list-item-svg {
    width: 20px;
    display: inline-block;
    background: black;
    mask-size: cover;
}
.dx-list-item-svg-calendar {
    -webkit-mask: url('../Content/images/svg-icons/calendar.svg');
    mask: url('../Content/images/svg-icons/calendar.svg');
}*/

.dx-list-as-side-nav .dx-list-item {
    font-size: 14px;
}

    .dx-list-as-side-nav .dx-list-item i {
        position: relative;
        display: inline-block;
        width: auto;
        width: 20px;
        font-size: 20px;
        padding-top: 2px;
    }

/*.dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    font-weight: 600;
}*/

/*.dx-datagrid-headers .dx-texteditor.dx-editor-filled .dx-texteditor-input,
.dx-datagrid-headers .dx-texteditor.dx-editor-outlined .dx-texteditor-input {
    padding: 10px 10px 9px;
}*/

.dx-datagrid-focus-overlay {
    /*border-width:1px;
    margin-top:-1px;*/
    border: none;
    background-color: var(--base-theme-color-transparent-20)
}

.dx-button-header-close .dx-button-content {
    padding: 0.5rem !important;
}

.dx-button-header-close i {
    width: 12px !important;
    height: 12px !important;
    background-position: 0px 0px;
    background-size: 12px 12px !important;
    padding: 0px;
    font-size: 12px !important;
    text-align: center;
    line-height: 12px !important;
    margin-right: 0;
    margin-left: 0;
    align-items: center;
}

.dx-datebox-calendar .dx-dropdowneditor-icon {
    font-family: 'FabricMDL2Icons' !important;
}

    .dx-datebox-calendar .dx-dropdowneditor-icon::before {
        content: "\ED28";
    }

.dx-dropdowneditor-icon {
    font-family: 'FabricMDL2Icons' !important;
}

    .dx-dropdowneditor-icon::before {
        content: "\E70D";
    }

.dx-texteditor.dx-editor-filled:not(.dx-datagrid .dx-texteditor.dx-editor-filled) {
    /* Vraćeno zbog linije na Androidu */
    background: var(--base-bg-transparent-05) !important;
    border: 1px solid;
    border-color: var(--base-shadow-color);
    border-radius: 2px;
}

.dx-dropdowneditor-input-wrapper .dx-texteditor.dx-state-readonly {
    border-style: none !important;
}

.dx-texteditor.dx-editor-filled.dx-state-hover {
    border-color: var(--base-theme-color-transparent-40) !important;
}

.dx-texteditor.dx-editor-filled.dx-state-hover {
    /* border-color: transparent !important; */
    background-color: var(--base-theme-color-transparent-10) !important;
}

.dx-texteditor.dx-state-focused.dx-editor-filled, .dx-texteditor.dx-state-focused.dx-editor-underlined, .dx-texteditor.dx-state-focused.dx-editor-outlined, .dx-texteditor.dx-state-active.dx-editor-filled, .dx-texteditor.dx-state-active.dx-editor-underlined, .dx-texteditor.dx-state-active.dx-editor-outlined {
    border-color: var(--base-theme-color) !important;
}

.dx-texteditor.dx-state-readonly {
    border-style: dashed !important;
}

.dx-border-right {
    border-right: 1px solid var(--base-bg-shade);
}

.dx-border-left {
    border-left: 1px solid var(--base-bg-shade);
}

.dx-border-bottom {
    border-bottom: 1px solid var(--base-bg-shade);
}

.dx-border-top {
    border-top: 1px solid var(--base-bg-shade);
}

.dx-border {
    border: 1px solid var(--base-bg-shade);
}

.dx-datagrid-header-panel .dx-toolbar {
    margin-bottom: 4px;
}

.dx-tabs-modern {
    border: none;
}

    .dx-tabs-modern .dx-tab {
        background-color: transparent;
    }

    .dx-tabs-modern .dx-tab-selected::after {
        border-right: none;
        border-left: none;
        border-top: none;
        border-bottom: 3px solid var(--base-theme-color);
    }

    .dx-tabs-modern .dx-tab-selected {
        font-weight: 600;
    }

.dx-tabs-item-badge {
    margin-left: 7px;
    margin-top: -4px;
}

/*.dx-button-mode-outlined:not(.dx-buttongroup-wrapper .dx-button-mode-outlined) {
    border-color: var(--base-shadow-color);
    color: var(--base-text-color);
}

    .dx-button-mode-outlined:not(.dx-buttongroup-wrapper .dx-button-mode-outlined) i {
        color: var(--base-theme-color);
    }

    .dx-button-mode-outlined:not(.dx-buttongroup-wrapper .dx-button-mode-outlined):hover {
        background-color: var(--base-theme-color-light);
        border-color: var(--base-theme-color);
    }*/

.dx-button-sm .dx-button-content {
    display: flex;
    align-items: center;
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

.dx-light-text {
    font-weight: 100;
}

.dx-bold-text {
    font-weight: 600;
}

.dx-popup-custom-close-button {
    margin-top: -12px;
    margin-right: -15px;
}

.dx-datagrid-mobile .dx-toolbar-items-container {
    display: flex;
}

.dx-datagrid-mobile .dx-toolbar-before, .dx-datagrid-mobile .dx-toolbar-after {
    position: relative;
    padding-left: 0px;
}

.dx-datagrid-mobile .dx-toolbar-after {
    display: flex;
    flex: 1;
}

.dx-datagrid-mobile .dx-toolbar-before {
    width: 38px;
    padding-right: 1px;
}


.dx-datagrid-mobile .dx-toolbar-after .dx-toolbar-button.dx-toolbar-menu-container {
    margin-left: auto !important;
}

.dx-datagrid-mobile .dx-toolbar-after .dx-item.dx-toolbar-item.dx-toolbar-button {
    flex: 1;
    padding: 0px;
}

.dx-datagrid-mobile .dx-datagrid-search-panel {
    width: auto !important;
    margin-left: 0px;
}

@media only screen and (min-width: 668px) {
    .dx-datagrid-mobile .dx-datagrid-search-panel {
        width: 320px !important;
        float: right;
    }
}

.dx-datagrid-pager.dx-pager {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}


.nav-subitem-tree-view .dx-treeview-search.dx-texteditor.dx-editor-filled {
    border-color: transparent !important;
    background-color: var(--base-theme-color-transparent-10) !important;
}

.nav-subitem-tree-view .dx-treeview-search {
    border-radius: 5px !important;
}

.nav-subitem-tree-view .dx-treeview .dx-scrollable {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-subitem-tree-view .dx-treeview-item {
    color: var(--base-foreground-color);
    opacity: 0.95;
    font-size: 13px;
}

    .nav-subitem-tree-view .dx-treeview-item i.fa {
        color: var(--base-theme-color);
        padding-top: 3px;
        width: 22px;
    }

    .nav-subitem-tree-view .dx-treeview-item i.ic-fluent {
        color: var(--base-theme-color);
        padding-top: 3px;
        width: 22px;
    }

    .nav-subitem-tree-view .dx-treeview-item i.dx-icon {
        color: var(--base-theme-color);
        padding-top: 3px;
        width: 22px;
    }

    .nav-subitem-tree-view .dx-treeview-item i.icomoon {
        color: var(--base-theme-color);
        padding-top: 3px;
        width: 22px;
    }

    .nav-subitem-tree-view .dx-treeview-item.dx-state-hover {
        background-color: var(--base-bg-shade-transparent-50);
        box-shadow: 0 8px 10px 0 rgba(0, 0, 0, .1);
        transition: border-color .15s linear,box-shadow .15s linear;
    }

.nav-subitem-tree-view .dx-treeview-item {
    min-height: 35px;
    display: flex;
    align-items: center;
}

.nav-subitem-tree-view .dx-treeview-item-without-checkbox.dx-state-selected > .dx-treeview-item {
    background-color: var(--base-theme-color-light);
    color: var(--base-theme-color-lighter);
    font-weight: 600;
}

.mobile-nav-subitem-tree-view .dx-treeview-toggle-item-visibility {
    right: 5px;
    left: auto;
}

.mobile-nav-subitem-tree-view .dx-treeview-item i {
    width: 22px;
    display: inline-block;
    text-align: center;
    line-height: 22px;
    height: 22px;
}

.mobile-nav-subitem-tree-view .dx-treeview-item .mobile-nav-label {
    line-height: 22px;
}

.mobile-nav-subitem-tree-view .dx-treeview-item i.fa {
    padding-top: 0px;
    font-size: 15px;
}

.mobile-nav-subitem-tree-view .dx-treeview-item i.ic-fluent {
    font-size: 18px;
    padding-top: 5px;
    height: 18px;
}

.mobile-nav-subitem-tree-view ul:first-child > li {
    padding-left: 0px;
}

.mobile-nav-subitem-tree-view ul li i, .mobile-nav-subitem-tree-view ul li img {
    font-size: 20px;
    width: 20px;
}

/*.dx-popup-wrapper > .dx-overlay-content {
    border: 1px solid var(--base-bg-shade);
    background: var(--base-bg);
    -webkit-box-shadow: 0 6px 12px var(--base-shadow-color);
    box-shadow: 0 6px 12px var(--base-shadow-color);
    border-radius: 4px;
    -webkit-transition: all .25s ease !important;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease !important;
    transform-origin: top left;
    -webkit-animation-duration: .25s;
    animation-duration: .25s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
}*/
.dx-treeview-toggle-item-visibility::before {
    font-family: FluentSystemIcons-Resizable !important;
    content: "\e371";
    display: flex;
    align-items: center;
    padding-top: 2px;
}

.dx-treeview-toggle-item-visibility.dx-treeview-toggle-item-visibility-opened::before {
    font-family: FluentSystemIcons-Resizable !important;
    content: "\e36d";
    display: flex;
    align-items: center;
    padding-top: 2px;
}

.dx-accordion-item-title::before {
    font-weight: normal;
    color: var( --base-label-color);
    font-size: 18px;
    margin: 0px;
    height: 100%;
    font-family: FluentSystemIcons-Resizable !important;
    content: "\e36d";
    display: flex;
    align-items: center;
    padding-top: 2px;
}

.dx-accordion-item-opened > .dx-accordion-item-title::before {
    content: "\e373";
}

.dx-popup-title .dx-closebutton .dx-icon {
    width: 14px;
    height: 14px;
    background-position: 0px 0px;
    background-size: 14px 14px;
    padding: 0px;
    font-size: 14px;
    line-height: 14px;
}

#templateeditpopupaccordion .dx-accordion-item-title {
    padding: 9px 12px;
    font-size: 16px;
    font-weight: 300;
    color: var(--base-foreground-color);
    opacity: 0.95;
}

#templateeditpopupaccordion .dx-accordion-body-row {
    min-height: 34px;
    max-height: 34px;
    border-bottom: 1px solid var(--base-bg-shade);
    margin-bottom: 0px;
}

#templateeditpopupaccordion .dx-accordion-body-label {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    border-right: 1px solid var(--base-bg-shade);
    -ms-flex: 0 0 37%;
    flex: 0 0 37%;
    max-width: 37%;
    padding-right: 0px !important;
    color: var(--base-text-color) !important;
    background-color: var(--base-bg-shade);
    border-bottom: 1px solid var(--base-bg);
    font-size: 12px;
}

#templateeditpopupaccordion .dx-accordion-body-content .dx-texteditor-input {
    font-size: 13px;
}

#templateeditpopupaccordion .dx-accordion-body-content [detail-lookup-btn] {
    display: none;
}

#templateeditpopupaccordion .dx-accordion-body-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0px;
    padding-right: 0px;
    -ms-flex: 0 0 63%;
    flex: 0 0 63%;
    max-width: 63%;
}

#templateeditpopupaccordion .dx-accordion-item-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

    #templateeditpopupaccordion .dx-accordion-item-body .dx-texteditor-input {
        padding: 7px 9px 8px;
    }

#templateeditpopupaccordion .dx-accordion-body-content > div, #templateeditpopupaccordion .dx-accordion-body-content > dx-custom-lookup {
    width: 100%;
    min-height: 34px;
    max-height: 34px;
}

    #templateeditpopupaccordion .dx-accordion-body-content > div, #templateeditpopupaccordion .dx-accordion-body-content > dx-custom-lookup > div {
        border: none;
        min-height: 34px;
        max-height: 34px;
    }

#templateeditpopupaccordion .dx-accordion-body-content > [dx-check-box] {
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
}

    #templateeditpopupaccordion .dx-accordion-body-content > [dx-check-box] .dx-checkbox-container {
        width: auto;
    }

    #templateeditpopupaccordion .dx-accordion-body-content > [dx-check-box] .dx-checkbox-icon {
        border: 1px solid var(--base-select-bg);
    }

.dx-checkbox.dx-state-hover .dx-checkbox-icon {
    border: 1px solid var(--grayed-base-theme-color) !important;
}

#templateeditpopupaccordion .dx-accordion-item-title::before {
    font-weight: normal;
    font-size: inherit !important;
    margin: 0px;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 2px;
    line-height: normal;
}

#templateeditpopupaccordion .dx-accordion-item-body {
    background: var(--base-bg-lighter)
}

#templateeditpopupaccordion .dx-accordion-item-opened .dx-accordion-item-title {
    background-color: var(--base-bg);
    color: var(--base-theme-color-lighter);
    font-weight: 600;
}

#templateeditpopupaccordion .dx-accordion-item-closed.dx-accordion-item {
    border-color: transparent !important;
}

#templateeditpopupaccordion .dx-state-focused.dx-accordion-item {
    border-color: transparent !important;
}

#templateeditpopupaccordion .dx-accordion-item-opened.dx-accordion-item {
    border-color: var(--base-theme-color) !important;
    border-left: 3px solid;
    border-right: none;
    border-top: none;
    border-bottom: none;
}

#templateeditpopupaccordion .dx-accordion-item-opened .dx-accordion-item-title {
    border-color: var(--base-theme-color-light);
}

#templateeditpopupaccordion .cell-info {
    background-color: #cbc3e5;
}

}

.dx-edit-form-tab-panel .dx-tabpanel > .dx-tabpanel-tabs .dx-tab {
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .dx-edit-form-tab-panel .dx-tabpanel > .dx-tabpanel-tabs .dx-tab.dx-tab-selected {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.dx-edit-form-tab-panel .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dx-edit-form-tab-panel .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dx-edit-form-tab-panel .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tab {
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .dx-edit-form-tab-panel .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tab.dx-tab-selected {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.dx-edit-form-tab-panel .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dx-list-item-content .dx-toolbar-item-auto-hide .btn-command-bar {
    min-width: 140px;
}

.dx-list-item-content .dx-toolbar-item-auto-hide [uib-tooltip-popup] {
    display: none;
}

.dx-list-item-content::before {
    content: none !important;
}

.dx-command-bar {
    background-color: var(--base-bg-10) !important;
    max-width: 100%;
    width: 100%;
}

    .dx-command-bar .dx-toolbar-items-container {
        margin-top: 0px !important;
    }

    .dx-command-bar .dx-toolbar-after .dx-toolbar-item {
        padding: 0px;
    }

    .dx-command-bar [back] i {
        font-size: 2em;
        margin-top: -2px;
    }

.dx-list-search-decoration .dx-list-search {
    border-color: transparent !important;
    border: none !important;
    background-color: var(--base-theme-color-transparent-10) !important;
}

.dx-messages-list .dx-empty-message {
    text-align: center;
    font-weight: 600;
    border: none;
}

.dx-messages-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-state-hover {
    background-color: var(--base-theme-color-transparent-10);
    color: var(--base-text-color);
}

.dx-messages-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-state-active {
    background-color: var(--base-theme-color-transparent-10);
    color: var(--base-text-color);
}

.dx-message-list-user-img {
    border-left: 3px solid transparent;
}

.dx-message-list-content {
    flex: 1;
    overflow: auto;
}

.dx-message-list-commands .ic-fluent {
    font-size: 20px;
}

.dx-messages-list .notread .dx-message-list-user-img {
    border-color: var(--base-theme-color);
}

.dx-message-list-user-img img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 100%;
}

.dx-message-list-user-img .dx-message-user-initials {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 30px;
    color: white;
}

.dx-message-list-sender {
    font-family: "Segoe UI Web (West European)",Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
    font-weight: 600;
    color: var(--base-text-color);
    font-size: 12px;
    line-height: 14px;
}

.dx-message-list-title {
    font-family: "Segoe UI Web (West European)",Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
    color: var(--base-theme-color);
    font-size: 12px;
    font-weight: 400;
    align-items: stretch;
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
}

    .dx-message-list-title span {
        flex-flow: row nowrap;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.dx-message-list-date {
    min-width: 55px;
    max-width: 55px;
    font-size: 11px;
    line-height: 11px;
    font-weight: 600;
}

.dx-message-list-text {
    font-family: "Segoe UI Web (West European)",Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
    color: var(--secondary-text-color);
    font-size: 12px;
    line-height: 16px;
    align-items: stretch;
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
}

    .dx-message-list-text span {
        flex-flow: row nowrap;
        font-family: sans-serif;
        font-weight: 500;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.dx-font {
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serifsans-ser;
}

.dx-datagrid-mobile .dx-freespace-row {
    display: none !important;
}

.dx-datagrid-mobile .dx-show-hide-filter-row {
    display: none;
}

.dx-datagrid-mobile .dx-datagrid-borders .dx-datagrid-rowsview, .dx-datagrid-mobile .dx-datagrid-headers + .dx-datagrid-rowsview {
    border-top: none;
}

.dx-datagrid-pager .dx-texteditor.dx-editor-filled .dx-texteditor-input, .dx-datagrid-pager.dx-texteditor.dx-editor-outlined .dx-texteditor-input {
    padding: 5px 10px 5px;
    min-height: 30px !important;
}

.dx-datagrid-pager .dx-texteditor.dx-editor-filled, .dx-datagrid-pager.dx-texteditor.dx-editor-outlined {
    height: 32px;
}

.dx-datagrid-pager .dx-page-sizes .dx-dropdowneditor-icon::before {
    margin-top: -7px;
}

/*.dx-datagrid-filter-panel, .dx-datagrid-pager {
    zoom: 0.85;
}

.dx-datagrid-mobile .dx-datagrid-nodata {
    zoom:0.8;
}*/

.dx-toolbar-menu-section .dx-toolbar-hidden-button .dx-button {
    border: none;
    background: none;
    margin: 0;
    width: 100%;
    text-align: left;
    padding: 0px;
}

    .dx-toolbar-menu-section .dx-toolbar-hidden-button .dx-button .dx-button-content {
        padding: 0.5rem !important;
    }

.dx-overlay-wrapper.dx-popup-wrapper.dx-popover-wrapper.dx-dropdownmenu-popup-wrapper.dx-dropdownmenu-popup {
    position: absolute;
}

.dx-dropdownmenu-button .dx-overlay.dx-popup.dx-popover {
    display: none;
}

.dx-list-search {
    border: none !important;
    background: var(--base-bg-shade-transparent-50) !important;
}

.dx-todo-list .dx-checkbox-icon {
    border-radius: 100%;
}

.dx-todo-list .dx-checkbox-checked.dx-list-select-checkbox .dx-checkbox-icon {
    border: 1px solid var(--base-theme-color);
}

.dx-todo-edit-container {
    border-radius: 4px;
    /* box-shadow: 0px 0.3px 0.9px rgb(0 0 0 / 10%), 0px 1.6px 3.6px rgb(0 0 0 / 10%); */
    /*box-shadow: 0px 0.3px 0.9px var(--base-shadow-color),0px 1.6px 3.6px var(--base-shadow-color);*/
}

.dx-todo-edit-input {
    border: none !important;
    background-color: var(--base-bg-lighter) !important;
}

.dx-todo-edit-container-footer {
    height: 40px;
    background: var(--base-bg-shade-transparent-50) !important;
}

.dx-todo-edit-input .dx-placeholder:before {
    padding: 8px 8px 8px !important;
}

.dx-todo-btn {
    background-color: var(--base-bg-light);
}

    .dx-todo-btn .dx-button-content {
        padding: 4px 8px 4px !important;
    }

.dx-todo-list-editor {
    background-color: transparent !important;
    border: none !important;
    background: transparent !important;
}

.dx-grid-card-view .dx-datagrid-table tbody {
    display: flex;
    flex-wrap: wrap;
}

    .dx-grid-card-view .dx-datagrid-table tbody tr {
        flex: 1 0 350px;
        padding: 8px;
    }

    .dx-grid-card-view .dx-datagrid-table tbody > tr > td {
        width: 100%;
        display: block;
    }

    .dx-grid-card-view .dx-datagrid-table tbody > tr.hidden-flex-item {
        flex: 1 0 350px;
        visibility: hidden;
    }

.dx-avatar-user-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
}

.dx-project-list .dx-list-item,
.dx-project-list.dx-list .dx-empty-message {
    border-top: none;
}

.dx-project-list.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-list-item-selected {
    background-color: var(--base-theme-color-transparent-10);
    color: var(--base-text-color);
}

.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-state-focused {
    background-color: transparent;
    color: var(--base-text-color);
}

.dx-project-list.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-list-item-selected.dx-state-hover {
    background-color: var(--base-hover-bg) !important;
    color: var(--base-theme-color-lighter) !important;
}

.dx-project-list.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-list-item-selected.dx-state-hover {
    background-color: var(--base-hover-bg) !important;
    color: var(--base-theme-color-lighter) !important;
}

.dx-project-tabs .dx-tab-text {
    line-height: 15px;
}

.dx-datagrid-filter-panel-clear-filter {
    background-color: var(--base-bg-transparent-05);
    border: 1px solid var(--base-bg-shade);
    margin-left: 10px;
    padding: 0px 5px;
}

.dx-page-sizes [isreactcomponentwrapper] {
    min-width: 80px;
}

.dx-datagrid-mobile .dx-scrollable-wrapper > .dx-scrollable-container {
    overflow-x: hidden !important;
}

.dx-datagrid-mobile .dx-datagrid-pager {
    min-height: 48px;
    max-height: 48px;
    height: 48px;
}

.dx-calendar-navigator .dx-calendar-caption-button.dx-button .dx-button-content {
    padding: 6px;
}

.dx-calendar-navigator-previous-month .dx-button-content,
.dx-calendar-navigator-next-view .dx-button-content {
    padding: 8px;
}

.dx-document-uploader {
    border-color: #00000033 !important;
}

    .dx-document-uploader:hover {
        border-color: var(--base-theme-color-transparent-40) !important;
    }

.binary-grid .filesize-td {
    padding: 7px !important;
}

.binary-grid .dx-datagrid-filter-row .filesize-td {
    padding: 0px !important;
}

#dz-modal-grid-datoteke .filesize-td,
.binary-grid .filesize-td {
    padding: 7px !important;
}

/* VALIDATOR */
.dx-invalid.dx-texteditor,
.dx-invalid.dx-texteditor.dx-state-focused,
.dx-invalid.dx-texteditor.dx-state-hover {
    border-color: var(--base-danger) !important;
}

    .dx-invalid.dx-texteditor.dx-editor-filled.dx-state-focused,
    .dx-invalid.dx-texteditor.dx-editor-outlined.dx-state-focused,
    .dx-invalid.dx-texteditor.dx-editor-underlined.dx-state-focused {
        border-color: var(--base-danger) !important;
    }

    .dx-invalid.dx-texteditor.dx-editor-filled.dx-show-invalid-badge .dx-texteditor-input-container::after,
    .dx-invalid.dx-texteditor.dx-editor-underlined.dx-show-invalid-badge .dx-texteditor-input-container::after,
    .dx-invalid.dx-texteditor.dx-editor-outlined.dx-show-invalid-badge .dx-texteditor-input-container::after {
        right: 8px;
    }

/* GRID STATE MENU*/
.dx-dropdownmenu-popup-wrapper .dx-dropdownmenu-list {
    min-width: 200px !important;
}

.dx-widget .dx-button-text {
    font-size: 12px !important;
    margin-left: -0.5em;
}

.dx-widget .dx-icon {
    font-size: 14px !important;
}

.dx-pages {
    display: flex;
    align-items: center;
}

.user-buttons-activity-fix {
    margin-top: 27px;
    height: 40px !important;
}

    .user-buttons-activity-fix .dx-button-content {
        padding: 10px 18px 8px !important;
    }

.calendar-activity-button-fix {
    height: 37px;
}

    .calendar-activity-button-fix .dx-icon {
        float: left;
        font-size: 20px !important;
        line-height: 20px !important;
    }

.dx-widget .page-break-button {
    width: 28px !important;
    height: 28px !important;
    margin-right: 5px;
}

    .dx-widget .page-break-button .dx-button-content {
        padding: 5px;
    }

.page-break-input {
    padding-right: 4px;
}

.name-button-textbox .dx-button-content .dx-icon {
    color: var(--base-theme-color) !important;
}

.dx-widget .dx-icon.double-lookup-button-icon {
    font-size: 16px !important;
}

.dx-row.dx-data-row.dx-state-hover > td:not(.dx-inline-buttons) {
    background-color: var(--base-theme-color-transparent-30) !important;
}

.dx-row.dx-data-row.dx-selection.dx-state-hover > td {
    background-color: var(--base-theme-color) !important;
}

.green-hover .dx-treeview-node .dx-item:hover {
    background-color: var(--base-theme-color-transparent-50);
}

.green-hover.dx-treeview-node .dx-state-hover .dx-treeview-item {
    background-color: var(--base-theme-color-transparent-50);
}

.green-hover.dx-treeview-node .dx-state-selected .dx-state-hover .dx-treeview-item {
    background-color: var(--base-theme-color);
}

.green-hover.dx-treeview-node .dx-state-focused .dx-state-hover .dx-treeview-item {
    background-color: var(--base-theme-color);
}

.green-hover tr:hover {
    background-color: var(--base-theme-color-transparent-30) !important;
}

.dx-component-mobile .dx-datagrid-headers {
    display: none !important;
}

.dx-component-mobile .dx-toolbar-items-container {
    display: flex;
}

.dx-component-mobile .dx-toolbar-before, .dx-component-mobile .dx-toolbar-after {
    position: relative;
    padding-left: 0px !important;
}

.dx-component-mobile .dx-toolbar-after {
    display: flex;
    flex: 1;
    padding-right: 5px;
}

.dx-component-mobile .dx-toolbar-before {
    width: 38px;
    padding-right: 1px;
}


.dx-component-mobile .dx-toolbar-after .dx-toolbar-button.dx-toolbar-menu-container {
    margin-left: auto !important;
}

.dx-component-mobile .dx-toolbar-after .dx-item.dx-toolbar-item.dx-toolbar-button {
    flex: 1;
    padding: 0px;
}

.dx-component-mobile .dx-datagrid-search-panel {
    width: auto !important;
    margin-left: 0px;
}

.dx-component-mobile .dx-toolbar-items-container .dx-toolbar-item:not(.dx-search-toolbar-item) {
    display: none;
}

.dx-component-mobile .dx-datagrid-borders .dx-datagrid-rowsview,
.dx-component-mobile .dx-datagrid-headers + .dx-datagrid-rowsview {
    border-top: none !important;
}

.dx-component-mobile .dx-grid-card-item .table > tbody > tr > td {
    padding: 5px;
}

.dx-component-mobile .dx-grid-card-item {
    cursor: pointer !important;
}

    .dx-component-mobile .dx-grid-card-item.selected {
        background-color: rgba(35, 147, 136, 0.15) !important;
    }

    .dx-component-mobile .dx-grid-card-item:hover {
        background-color: rgba(35, 147, 136, 0.15) !important;
        cursor: pointer;
    }

@media only screen and (min-width: 668px) {
    .dx-component-mobile .dx-datagrid-search-panel {
        width: 320px !important;
        float: right;
    }
}

.dx-component-mobile .dx-datagrid-content-fixed {
    display: none !important;
}

.dx-component-mobile .dx-freespace-row {
    display: none !important;
}

.dx-component-mobile .dx-checkbox-grid-select-all {
    display: flex !important;
}

.dx-checkbox-grid-select-all {
    display: none !important;
}

.dx-datagrid-pager.dx-pager {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.dx-pages {
    display: flex;
    align-items: center;
}

.dx-pager .dx-page-sizes {
    display: flex;
    align-items: center;
}

.dx-component-mobile .dx-pages .dx-info:not(.dx-info-text) {
    width:0px;
    overflow:auto;
}

.dx-datagrid-rowsview .dx-select-checkboxes-hidden > tbody > tr > td > .dx-select-checkbox {
    display: block !important;
}

.dx-button-info {
    color: cornflowerblue;
}

.overflow-hidden-important {
    overflow: hidden !important;
}

.search-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 30px;
}