@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.required-caption:after {
    content: '  *';
    color: var(--bs-danger);
    margin-left: 0.15rem;
}

.sidebar-kapitola-tabs > .dxbl-tabs-tablist {
    width: 100%;
}

.sidebar-kapitola-tabs .dxbl-tabs-item {
    width: 100% !important;
    max-width: 100% !important;
}

    .sidebar-kapitola-tabs .dxbl-tabs-item .dxbl-text {
        font-size: 0.9rem !important;
    }

.fw-semibold {
    font-weight: 500;
}

.typ-zapisu-buttons {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    justify-content: space-between;
}

.typ-zapisu-prehled-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    overflow: auto;
    align-content: start;
    height: 88%;
}

.typ-zapisu-tile {
    background-color: rgb(244, 245, 249) !important;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    border-radius: 0.35rem;
    border-color: #0000002b;
    height: 140px;
}


.typ-zapisu-thumbnail {
    width: 100px;
    display: block;
    border-right: solid;
    border-width: 1px;
    border-color: #0000002b;
}

.typ-zapisu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    background: #f5f5f5b3;
    backdrop-filter: blur(3px);
}

.dxbl-popup {
    border: 0 !important;
}

.grid-button {
    color: #dedede;
    background-color: var(--bs-primary);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
}

    .grid-button:hover {
        color: white;
    }

.align-center-form-item {
    align-items: center !important;
}


.treeview-button {
    font-size: 0.75rem;
}

.dxbl-fl.dxbl-fl-loading {
    opacity: 1 !important;
}

.dxbl-pager-container {
    --dxbl-pager-container-padding-x: 0.25rem !important;
    --dxbl-pager-container-padding-y: 0.25rem !important;
}

.dxbl-row {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
}

.page-title {
    font-weight: 600 !important;
}

.toast:not(.showing):not(.show) {
    display: none !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.dxbl-treeview .dxbl-navigation-filter {
    margin-bottom: 0 !important;
    margin-top: 1rem !important;
    margin-left: 0.8rem !important;
    width: 280px !important;
}

:root {
    --bs-primary: rgb(0, 43, 89) !important;
    --dxbl-tabs-tab-selected-bg: #f4f5f963 !important;
}

.btn-primary {
    background-color: rgb(0, 43, 89) !important;
    border-color: rgb(0, 43, 89) !important;
}

html, body {
    font-family: Roboto, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/*GRID COMMON*/
.dxbl-grid-search-box-container {
    padding: 0.25rem !important;
}

.dxbl-grid-search-box-container {
    background-color: #f4f5f9 !important;
}

.dxbl-grid .dxbl-grid-table > thead .dxbl-grid-header-row > th:not(.dxbl-grid-empty-cell)::before {
    background-color: unset !important;
}

.dxbs-cmd-cell > .dxbl-btn-link {
    padding-left: 0;
    padding-right: 0;
}

.column-chooser-element-container {
    padding-bottom: 0;
    padding-top: 0;
}

.grid-document-viewer-controls-container {
    background-color: #f4f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-bottom: 0;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    height: 1.85em;
}

.dxbs-gridview > .card > .card-body {
    padding-left: 0.5em !important;
    padding-right: 0.5em !important;
    padding-top: 0.25em !important;
    padding-bottom: 0.25em !important;
}

.column-chooser-element-checkbox {
    font-size: 0.8em;
}

.column-chooser-header {
    display: none !important;
}

.grid-file-link {
    text-decoration: underline;
    cursor: pointer;
    color: inherit;
}

.primary-grid {
    height: calc(100% - 45px) !important;
}

.grid-common .btn-sm {
    font-size: 0.8rem;
}

.grid-common {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    font-size: .8125rem !important;
    height: 100%;
}

.grid-common th {
    font-size: .85rem !important;
    font-weight: bolder !important;
}

.grid-common .dxbs-checkbox {
    font-size: 1rem;
}

.grid-common td {
    font-size: .8125rem !important;
    line-height: 1.3em !important;
}

.grid-common .pagination {
    margin-left: auto !important;
    margin-right: auto !important;
}

.grid-common h3 {
    margin-bottom: 1rem;
}

.grid-common .form-control-sm {
    height: calc(1.5em + .40625rem + 2px);
    padding: .20313rem .5rem;
    font-size: .8125rem;
    line-height: 1.5;
    border-radius: .15rem;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-selected-row:not(.dxbl-grid-focused-row):not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell) {
    z-index: 1;
}

.dxbs-toggle-cell, .dxbs-select-cell, .dxbs-cmd-cell {
    z-index: 8 !important;
}

.grid-common .form-check-input:checked {
    background-color: rgba(40, 167, 69, 0.7);
    border-color: rgba(40, 167, 69, 1);
}

.grid-common .form-check-input:disabled {
    opacity: 1;
}

.grid-hide-toolbar .dxbl-grid-toolbar-container {
    display: none;
}

.card.dxgvCSD.dxbs-grid-vsd.dxbs-grid-hsd {
    position: relative;
}

.dxbl-grid > .dxbl-grid-top-panel > .dxbl-grid-group-panel-container > * {
    font-weight: 600;
}

.dxbl-grid {
    --dxbl-grid-font-size: 0.813rem !important;
/*    --dxbl-btng: none !important;*/
    --dxbl-grid-group-panel-container-padding-y: 0 !important;
    --dxbl-grid-toolbar-container-min-height: unset !important;
}

.dxbl-grid-detail-cell {
    padding: 0 !important;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-detail-cell {
    padding: 0.25rem;
}

.dxbl-grid-toolbar-container {
    padding: 0.25rem !important;
}

.grid-header-template {
    border: none !important;
}

.dxbl-toolbar-btn {
    font-size: 0.8rem !important;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-selected-row:not(.dxbl-grid-focused-row):not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) > td:not(.dxbl-grid-empty-cell):not(.dxbl-grid-indent-cell)::before {
    background-color: rgb(41 86 200 / 39%) !important;
    opacity: 100% !important;
}

/*Fix for bottom border for last row missing on scrollable grids*/
.grid-scrollable .table-bordered > :not(caption) > * > * {
    border-width: 1px !important;
}

.grid-nonscrollable .table-bordered > :not(caption) > * > * {
    border-width: 0 !important;
}

.grid-pdf-preview {
    width: 850px;
    border-bottom-right-radius: 0.25rem;
    min-width: 0;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.rz-slider {
    height: 8px !important;
}

.rz-slider-range {
    background-color: rgba(17, 81, 243, 0.14) !important;
}

.rz-slider-handle:before {
    display: none !important;
}

.rz-slider-handle {
    border-radius: 0.25rem !important;
    height: 20px !important;
    width: 10px !important;
    background-color: var(--bs-primary) !important;
}

.rz-slider.rz-state-disabled .rz-slider-handle {
    background-color: rgba(211, 217, 219, 0.5) !important;
    border: solid 1px rgba(211, 217, 219, 0.3) !important;
}

.rz-slider.rz-state-disabled .rz-slider-range {
    background-color: rgba(211, 217, 219, 0.1) !important;
    border: solid 1px #dadfe2 !important;
}

/*Grid restyle*/
.dxbl-grid .dxbl-grid-table .dxbl-grid-detail-cell {
    padding: 0.25rem;
}

.dxbs-group-panel-container, .dxbl-grid-toolbar-container, .dxbs-th, .dxbl-grid-group-panel-container, .dxbl-grid-header, .dxbl-grid-header-indent-cell {
    background-color: #f4f5f9 !important;
}

.dxbl-grid-toolbar-container {
    padding: 0.25rem;
}

h3 {
    font-weight: 700 !important;
}

tr:nth-child(even),
tr:nth-child(even) .dxbl-grid-command-cell,
tr:nth-child(even) .dxbl-grid-selection-cell,
tr:nth-child(even) .dxbl-grid-expand-button-cell,
tr:nth-child(even) .dxbl-grid .dxbl-grid-table > tbody > tr > td.dxbl-grid-fixed-cell {
    background-color: #f7f8fb !important;
}

tr:nth-child(odd),
tr:nth-child(odd) .dxbl-grid-command-cell,
tr:nth-child(odd) .dxbl-grid-selection-cell,
tr:nth-child(odd) .dxbl-grid-expand-button-cell,
tr:nth-child(odd) .dxbl-grid .dxbl-grid-table > tbody > tr > td.dxbl-grid-fixed-cell {
    background-color: white;
}



/*.page-link {
    background-color: #e9eaed !important;
}*/
.dxbl-toolbar-btn, .dxbl-btn-last {
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 8%) !important;
}

.dxbl-toolbar-btn {
    font-size: 0.8rem !important;
}

.text-start {
    color: #3b3b3b;
}

.dxbs-fixed-header-content {
    color: rgb(38, 37, 38);
}

/*KZP DETAIL VIEW*/
.dx-pager {
    justify-content: center;
}

.detail-attachment-description {
    font-size: 0.75em;
    margin-left: 0.2em;
}

.detail-content-section {
    font-size: 0.95em;
}

.detail-content-section ul {
    overflow: auto;
    max-height: 10em;
}

.detail-content-section li:not(:first-child) {
    margin-top: 0.5em;
}

.state-grid {
}

.attachments-photo-grid th {
    font-size: .85rem;
    font-weight: bolder !important;
}

.attachments-photo-grid td {
    font-size: .8125rem;
    line-height: 1.3em;
}

/*GRID DETAIL VIEW*/
.detail-head-text {
    font-size: .85rem;
    font-weight: bold;
    margin-bottom: 0.3em;
}

.detail-info {
    font-size: 0.9em;
    padding-left: 0.5em;
    margin-bottom: 0;
}

.detail-content {
    padding-left: 0.5em;
}

.detail-small-head-text {
    margin-bottom: 0.5em;
    font-weight: 500;
    color: black;
}

/*GRID GENERAL*/
.dxbs-group-panel-container {
    padding: 0 !important;
    font-size: 0.8em !important;
}

.dxbs-gridview .dxbs-fixed > thead > tr > th, .dxbs-gridview .dxbs-fixed > tbody > tr > td, .dxbs-gridview .dxbs-fixed > tfoot > tr > td {
    white-space: normal !important;
}

.table-active {
    background-color: rgba(17, 81, 243, 0.14) !important;
    color: black !important;
    transition: all 0.1s linear;
}

.grid-inline-button {
    font-size: 1.1em;
    color: inherit;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: inherit;
    border-radius: 0.25em;
    transition: all 0.1s linear;
    padding: 0.2em;
}


.grid-inline-button:disabled {
    pointer-events: none;
    opacity: .50;
}

.grid-inline-button-edit, .btn:disabled .grid-inline-button-edit {
    background-color: rgb(233, 234, 237) !important;
    color: rgb(55 55 55) !important;
}

.grid-inline-button-delete, .btn:disabled .grid-inline-button-delete {
    background-color: var(--bs-danger) !important;
    color: white !important;
}

.grid-inline-button-confirm {
    /*    background-color: var(--bs-success);
    color: white;*/
}

.grid-inline-button-cancel {
/*    background-color: var(--bs-danger);
    color: white;*/
}

.grid-inline-button-edit:hover {
    background-color: #e0e1e4;
    color: #262526;
}

.grid-inline-button-delete:hover {
    background-color: #c82333;
    color: white;
}

/*GRID FILL REMAINING HEIGHT*/
.grid-fill-height-regular {
    height: calc(100% - 45px);
}

/*MISC*/
.button-info-text {
    font-size: 0.8em;
}

a {
    text-decoration: none;
}

.validation-error-border {
    border: 1px solid #dc3545 !important;
    border-radius: 0.15rem !important;
}

.validation-error-border-login {
    border: 1px solid #dc3545 !important;
    border-radius: 0.15rem 0 0 0.15rem !important;
}

.alert {
    height: 3em;
    line-height: 15px;
    font-size: 1rem;
}

.kv-combobox {
    width: 200px !important;
}

.kv-combobox-margin {
    margin-right: 5px;
}

.dxbs-dropdown-body {
    font-size: 0.8rem;
}

/*CUSTOM POPUP*/
.custom-popup-header {
    background-color: var(--bs-primary) !important;
    border-radius: 0.25rem 0.25rem 0 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 0.3em;
    padding-top: 0.3em;
    display: flex;
}

.custom-popup-header-text {
    color: white !important;
    font-size: 14px !important;
    font-weight: bold;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 1rem;
}

.custom-popup-header-close-icon {
    color: white;
    font-size: 20px !important;
}

.custom-popup-content {
    padding: 1em;
}

button, input[type="submit"], input[type="reset"] {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.modal-footer {
    background-color: #fff !important;
}

.custom-popup-content .dxbs-pager {
    justify-content: center;
}

/*SPECIFICATION MENU*/
.menu-specification-combo-box input[type="text"] {
    height: 25px !important;
}

.menu-specification-combo-box .form-control-sm {
    min-height: unset !important;
}

.menu-specification-combo-box {
    min-width: 400px;
}

.menu-specification-title {
    font-size: 0.9em;
    font-weight: bold;
}

/*SPECIFICATION COMBOBOX*/
.specification-combo-box input[type="text"] {
    height: 20px !important;
}

.specification-combo-box .form-control-sm {
    min-height: unset !important;
}

.specification-combo-box {
    max-width: 200px;
}

/*FILE UPLOAD*/
.photo-upload-icon {
    font-size: 2.5em;
}

.file-drop-zone {
    border: 2px dashed #999;
    cursor: pointer;
    text-align: center;
    padding: 1em;
    margin-bottom: 0;
    background-color: #e9ecef;
}

.attachments-photo-grid .pagination {
    margin-left: auto !important;
    margin-right: auto !important;
}

/*HEADER*/
.account-dropdown-toggle {
    color: black !important;
}

/*DASHBOARD*/
.notifikace-by-module-item {
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 8%);
    background: #f8f9fb;
    width: 90%;
    min-width: 850px;
}

.notifikace-by-module-container {
    overflow-y: auto;
    height: 100%;
}

.dxbl-accordion-group-body {
    height: 100%;
    min-height: 100%;
}

.dxbl-group > .dxbl-group-header::before {
    background-color: unset;
}

.dxbl-accordion-group-header {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 0.25rem !important;
    background-color: #f4f5f9 !important;
}

.dxbl-group.dxbl-accordion-group.expanded.dxbl-accordion-item {
    overflow: hidden !important;
}
.dxbl-accordion-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dxbl-accordion-items-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Accordion should fill the parent */
.full-height-accordion {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* prevent accordion itself from overflowing */
}

    /* Make accordion content scrollable */
    .full-height-accordion .dx-accordion-item-content {
        overflow-y: auto;
        flex-grow: 1; /* fill available space */
    }

.notifikace-nastenka-status-columns .notifikace-nastenka-column:nth-child(1) {
    flex: 2;
}

.notifikace-nastenka-status-columns .notifikace-nastenka-column:nth-child(2) {
    flex: 2;
}

.notifikace-nastenka-status-columns .notifikace-nastenka-column:nth-child(3) {
    flex: 2;
}

.board-status-columns {
    display: flex;
    width: 100%;
}
    .board-status-columns .notifikace-nastenka-column {
        min-width: 340px;
        max-width: none;
    }

.notifikace-nastenka-wrapper {
    width: 100%;
    height: calc(100vh - 170px);
    overflow-x: auto;
    overflow-y: hidden;
}

.notifikace-nastenka-columns {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 8px;
    overflow: auto;
    height: 100%;
}

.notifikace-nastenka-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f8f9fb;
    border-radius: 8px;
    border: 1px solid #e0e3e8;
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 8%);
}

.notifikace-nastenka-column-header {
    font-weight: 600;
    padding-top: 0.35em !important;
    padding-bottom: 0.35em !important;
    font-weight: bold;
    background-color: #d6d9db;
    color: black;
    border-radius: 0.25rem 0.25rem 0 0;
    display: flex;
    font-weight: bold;
    background-color: #eaebef !important;
    font-size: 0.8rem;
}

.notifikace-nastenka-column-content {
    padding: 8px;
    overflow-y: auto;
    flex-grow: 1;
    height: 100%;
    min-height: 125px;
}

.notification-badge {
    text-shadow: 0px 1px 1px black;
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
    margin: 0 !important;
}

.notifications-window {
    border-color: #dee2e6;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.25rem;
    background-color: #f4f5f93b;
    height: calc(100% - 40px);
}

.notifications-container {
    overflow-y: auto;
    min-height: 0;
    align-content: start;
    display: grid !important;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr)) !important;
}

.filter-toolbar {
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
    background-color: #f4f5f9;
    border-color: #dee2e6;
    border-style: solid;
    border-radius: 0.25rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-width: 0;
    border-bottom-width: 1px;
}

.dashboard-module-filter-multiselect {
    height: 28px !important;
    font-size: 0.8rem !important;
    line-height: 0.9rem !important;
}

.notification-card{
    font-size: 0.7em;
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 8%);
}

    .notification-new {
        border-width: 1px;
        border-style: solid;
        border-color: var(--bs-primary);
    }

.notification-card .card-header {
    font-size: 0.7rem;
}

.notification-card .card-footer {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    font-size: 0.95em;
    text-align:right;
}

.notification-card .card-header {
    padding-top: 0.35em !important;
    padding-bottom: 0.35em !important;
    font-weight: bold;
    background-color: #d6d9db;
    color: black;
    border-radius: 0.25rem 0.25rem 0 0;
    display: flex;
    font-weight: bold;
    background-color: #f1efef !important;
}

.notification-goto-button {
    line-height: 0.9rem;
    font-size: 1em;
}

.notification-card .card-title {
    margin-bottom: 0.2rem;
    font-size: 1.4em;
}

.notification-card .card-body {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    background-color: white !important;
}

.notification-path {
    font-size: 0.9em;
    line-height: 1.2em;
}

.notification-card .notification-new {
    border-color: var(--bs-warning);
}

.notification-card .notification-solved {
    opacity: 65%;
}

/*MENU*/
.nav-item .badge {
    margin-left: auto;
}

.sidebar > .dxbl-treeview > .dxbl-navigation-filter {
    width: 280px;
    margin-top: 1rem;
    margin-left: 0.8rem;
    margin-bottom: 0 !important;
}

.no-data-text {
    opacity: .5;
    font-size: .8125rem;
}

/*ADDRESSANT SELECTOR*/
.selected-addressants-container {
    font-size: 0.875rem;
    height: 100%;
    max-height: 50vh;
}

.addressant-icon {
    font-size: 1.9em;
}

.addressant-item {
    display: flex;
    align-items: center;
}

.addressant-item-text {
    display: flex;
    flex-flow: column;
    font-size: 0.82rem;
    line-height: 1.3em;
}

.addressant-empty-text {
    opacity: 0.65;
}

.addressant-roles {
    opacity: 0.65;
}

.addressant-listbox .custom-checkbox {
    padding-left: 0.5rem !important;
}

.addressant-listbox .dxbl-checkbox-check-element {
    align-self: center;
}

.addressant-listbox {
    border-top-width: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    max-height: 50vh;
}

.addressant-check-box-heading {
    font-size: 0.95em;
}

.addressant-todo-check-box {
    margin-right: 1em;
}

.addressant-important-check-box {
    margin-left: auto;
    margin-right: 3.9em;
}

.selected-addressants-list {
    overflow-y: scroll;
}

.addressant-header {
    font-size: 0.875rem;
}

.search-box-icon {
    position: absolute;
    left: 10px;
    top: 3px;
    z-index: 999;
    opacity: 0.65;
}

.new-addressant-button {
    font-size: 0.82rem;
    margin-right: calc(var(--bs-gutter-x) * .01);
    height: 30px;
}

.addressant-search-box {
    min-width: 250px;
}

.addressant-listbox-button {
    position: absolute;
    right: 0;
}

.dxbs-listbox-item {
    position: relative;
}

.addressant-selected-item {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.addressant-email-input > .form-group {
    margin-bottom: 0 !important;
}

.connection-confirm-button {
    color: #fff !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.connection-confirm-button:hover {
    color: #fff !important;
    background-color: #22943c !important;
    border-color: #146c43 !important;
}

.connection-confirm-button:active {
    color: #fff !important;
    background-color: #146c43 !important;
    border-color: #13653f !important;
}

.connection-confirm-button:focus {
    color: #fff !important;
    background-color: #22943c !important;
    border-color: #146c43 !important;
}

.connection-cancel-button {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.connection-cancel-button:hover {
    color: #fff !important;
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
}

.connection-cancel-button:active {
    color: #fff !important;
    background-color: #b02a37 !important;
    border-color: #a52834 !important;
}

.connection-cancel-button:focus {
    color: #fff !important;
    background-color: #bb2d3b !important;
    border-color: #b02a37 !important;
}

/*STATE CHANGE CONVERSATION*/

.state-change-bubble {
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 8%);
    width: 600px;
    font-size: 0.8rem !important;
}

.state-change-bubble-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.state-change-bubble-right {
    border-top-right-radius: 0.15rem;
    margin-top: 0.7rem;
}

.state-change-bubble-left {
    border-top-left-radius: 0.15rem;
}

.state-change-bubble-container {

}

.state-change-bubble-left .card-header {
    border-top-right-radius: 1rem;
}

.state-change-bubble-right .card-header {
    border-top-left-radius: 1rem;
}

.state-change-bubble .card-header {
    padding-top: 0.25em !important;
    padding-bottom: 0.25rem !important;
    padding-bottom: 0.3rem;
    padding-top: 0.3rem;
    display: flex;
    background-color: #eaebef !important;
}

.state-change-bubble-selected .card-header {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    font-weight: bold;
    padding-bottom: 0.3rem;
    padding-top: 0.3rem;
    display: flex;
    background-color: var(--bs-primary) !important;
    color: white;
}

.state-change-bubble-body {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: #f4f5f9 !important;
}

.state-change-bubble-attachments-button {
    padding: 0 0.4rem !important;
}

.state-change-bubble-attachments-button-icon {

}

.state-change-bubble-attachments-button-icon-2 {
    font-size: 1.1rem;
}

.state-change-bubble-metadata {
    font-style: italic;
    font-weight: 400;
    font-size: 0.75rem;
}

.state-change-bubble-attachments {

}

/*HEADER*/
.mw-50px {
    min-width: 50px !important;
}

.combo-box-arrow {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.3);
    line-height: 0;
    margin-right: 8px;
    margin-left: 8px;
}

.combo-box-arrow.combo-box-arrow-vertical {
    margin-right: 0;
    margin-left: 0;
    margin-top: 2px;
    margin-bottom: 2px;
}

.specification-multiselect {
    width: 250px;
    height: 22px !important;
    font-size: 0.75em !important;
    line-height: 16px !important;
    padding-right: 0 !important;
    padding-left: 0.75rem !important;
    padding-top: 0.15rem !important;
    padding-bottom: 0 !important;
}

.rz-multiselect-item {
    font-size: 0.85em !important;
}

.rz-multiselect-panel {
    margin-top: 3px;
}

.rz-multiselect-filter-container .rzi-search {
    font-size: 1.05rem !important;
}

.rz-multiselect-items li {
    padding: 0.25rem 0.625rem !important;
}

.rz-chkbox-box {
    border-radius: 0.25em !important;
}

    .rz-chkbox-box .rzi {
        width: 1em !important;
        height: 1em !important;
    }

.rz-chkbox {
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
}

.rz-multiselect-item:hover {
    background-color: #ececec !important;
    color: black !important;
}

.rz-chkbox-icon {
    font-size: 0.7em !important;
}

.rz-chkbox-box.rz-state-active {
    background-color: var(--bs-primary) !important;
}

.rz-dropdown-item.rz-state-highlight, 
.rz-state-highlight.rz-menuitem, 
.rz-state-highlight.rz-autocomplete-list-item, 
.rz-state-highlight.rz-multiselect-item, 
.rz-dropdown-items li.rz-state-highlight, 
.rz-autocomplete-items li.rz-state-highlight, 
.rz-multiselect-items li.rz-state-highlight {
    background-color: #ececec !important;
    color: black !important;
}

.rz-dropdown-clear-icon {
    font-size: 0.8rem !important;
}

.rz-multiselect-panel {
    width: unset !important;
}

/*TIPPY TOOLTIP*/
.tippy-box[data-theme~='validation-error'] {
    background-color: var(--bs-danger) !important;
    font-size: 0.9em;
}

.tippy-box[data-theme~='validation-error'] > .tippy-arrow::before {
    color: var(--bs-danger) !important;
}

/*LOGIN*/
.login-text-box-wrapper > .dxbl-text-edit {
    width: calc(75% - 36px);
}

.login-text-box-wrapper {
    justify-content: center;
}

.login-card {
    max-width: 30em;
    font-size: 0.8em;
    width: 24.4%;
    min-width: 360px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 8%);
}

    .login-card .card-header {
        padding-top: 0.5em !important;
        padding-bottom: 0.5em !important;
        background-color: #eaebef;
        color: black;
        border-radius: 0.25rem 0.25rem 0 0;
        display: flex;
        font-size: 1.2em;
        line-height: 1em;
    }

    .login-card .card-body, .login-card .card-footer {
        background-color: #f4f5f9;
    }

.login-text-box-icon {
    font-size: 1.3em;
    border: 1px solid var(--bs-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.2rem;
    border-left: 0;
    width: 36px;
    background-color: var(--bs-primary);
    color: white;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.login-text-box {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 0;
}

.login-brand {
    font-size: 2rem;
    color: var(--bs-primary);
}

.login-logo {
    width: 56px;
    height: 56px;
}

/*DX LOGIN C;CKBOX ALIGNMENT FIX*/
.remember-login-dxbs-checkbox {
    line-height: 1.1;
    justify-content: end;
}

/*ICONS*/
.icon-inline-alignment {
    vertical-align: 0.125em;
}

/*DIALOG POPUP*/
.dialog-popup .modal-header {
    font-weight: bold;
}

.dialog-popup .dxbl-modal-header {
    padding: 0.3rem 1rem;
}

.dialog-popup .modal-body {
    padding: 0.8rem;
}

/*WORKFLOW*/
.workflow-diagram-button .port {
    opacity: 0%;
}

.workflow-diagram-button {
    font-weight: bold;
    transition: all 0.1s linear;
}

    .workflow-diagram-button:not(:disabled):hover, .workflow-diagram-button:not(:disabled):active {
        background-color: #e3e3e3;
    }

.workflow-diagram-button:disabled {
    opacity: 60%;
    cursor: default;
}

.workflow-container {
    height: 480px;
    width: 930px;
    background-size: 30px 30px;
    background-image: linear-gradient(to right, rgb(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgb(0, 0, 0, 0.05) 1px, transparent 1px);
}

.state-change-diagram-container {
    background-color: rgb(0 43 89 / 15%);
    border-right: 1px solid rgba(34,34,34,.125);
    border-left: 1px solid rgba(34,34,34,.125);
}

.state-change-diagram-container .diagram-canvas {
    cursor: default;
}

.workflow-designer-toolbar {
    background-color: #f4f5f9;
}

.workflow-designer-toolbar-wrapper {
    padding: 0.375rem !important;
}

.workflow-node {
    width: 150px !important;
    height: 90px !important;
}

.link .link-label {
    min-width: 6rem;
}

.btn-toolbar {

}

.workflow-designer-sidebar {
    height: 480px;
    overflow-y: scroll;
    background-color: #f4f5f9;
    border-left: 1px solid rgba(0, 0, 0, 0.125);
    border-right: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem;
    width: 360px;
}

.workflow-designer-wrapper {
}

.workflow-designer-page-card {
}

.workflow-sidebar-dxbs-checkbox {
    font-size: 0.95em;
}

.workflow-sidebar-prechody-listbox {
    height: 192px !important;
}

.workflow-sidebar-role-listbox {
    height: 192px !important;
}

.transition-popup .modal-header {
    font-weight: bold;
}

.transition-popup .dxbl-modal-header {
    padding: 0.3rem 1rem;
}

.initial-state-widget {
    background-color: aliceblue !important;
    font-style: italic;
}

.final-state-widget {
    background-color: #fff5f0 !important;
    font-style: italic;
}

/*MISC*/
.dxbs-tree ul.nav > .nav-item > .nav-link {
    padding: 0.05rem 0.625rem 0.05rem 0.05rem !important;
}

.sidebar > .dxbs-tree > .dxbl-navigation-filter {
    width: 280px;
    margin-top: 1rem;
    margin-left: 1.1rem;
    margin-bottom: 0 !important;
}

.navbar-brand {
    font-size: 1.25rem;
}

.dxbs-group-panel-empty {
    font-size: 0.75rem;
}

.dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio) .dxbl-checkbox-check-element {
    width: 17px !important;
    min-width: 0 !important;
    height: 17px !important;
    min-height: 0 !important;
}

.dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio).dxbl-checkbox-checked .dxbl-checkbox-check-element .dxbl-image {
    width: 11px !important;
    height: 11px !important;
}

td > .dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio).dxbl-disabled.dxbl-checkbox-checked .dxbl-checkbox-check-element {
    background-color: rgba(40, 167, 69, 0.7) !important;
    border-color: rgba(40, 167, 69, 1) !important;
    opacity: 1 !important;
}

td > .dxbl-checkbox.dxbl-disabled {
    opacity: 1 !important;
}

.accordion-button:not(.collapsed) {
    color: #0c63e4;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    z-index: 3;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/*NAV MENU SCROLLBAR*/
/* WebKit browsers (Chrome, Safari) */
*::-webkit-scrollbar {
    width: 10px;
}

*::-webkit-scrollbar-track {
    border-radius: 15px;
    background-color: rgba(34,34,34,.03);
}

*::-webkit-scrollbar-thumb {
    background: #d6d9db;
    border-radius: 15px;
}

    *::-webkit-scrollbar-thumb:hover {
        background: #c4c7ca;
    }

/* Firefox */
@supports (-moz-appearance:none) {
    * {
        scrollbar-width: thin;
        scrollbar-color: #d6d9db rgba(34,34,34,.03);
    }
}

/*ADMINISTRACE SPRAVCEM STAVBY*/
.zatrizeni-treeview {
    width: 100%;
}

.zatrizeni-treeview {
    background-color: white;
}

/*KARTA KOMPLEXNOSTI DOKLADU*/
.kontrola-komplexnosti-treeview, .zatrizeni-treeview {
    overflow-y: scroll;
}

.kontrola-komplexnosti-treeview li:nth-child(even) > .dxbl-treeview-item-text-container, .zatrizeni-treeview li:nth-child(even) > .dxbl-treeview-item-text-container {
    background-color: #f7f8fb !important;
}

.kontrola-komplexnosti-treeview .nav-link, .zatrizeni-treeview .nav-link {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
    border-color: rgb(222, 226, 230) !important;
}

.kontrola-komplexnosti-btn {
    background-color: rgb(233, 234, 237);
    color: rgb(55 55 55);
    padding-right: 0.35rem;
    padding-left: 0.35rem;
}


.fancybox__content {
    height: -webkit-fill-available !important;
    padding: 0 !important;
}

.fancybox__slide.has-iframe {
    padding: 0 !important;
    padding-top: 45px !important;
    padding-bottom: 5px !important;
    padding-left: 140px !important;
    padding-right: 140px !important;
}

/*KONFIGURACE STAVEB*/
.tree-view-fill-height-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
}

.tree-view-fill-height-wrapper {
    flex: 1;
    overflow-y: auto;
    flex-direction: row;
}

/*ELEMENT FADE-IN*/
.fade-in {
    animation: fadeInAnimation ease 0.4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: #002b59;
    text-decoration: none;
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
    -o-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

/*DEVEXPRESS STYLE OVERRIDES*/
.dxbl-fl-cpt {
    --dxbl-fl-caption-font-weight: 500;
    color: black !important;
}

.dxbl-treeview .dxbl-scroll-viewer {
    padding-top: 0.5rem;
}

.dxbs-gridview-row-details {
    z-index: 9 !important;
}

.dxbl-tabs-item {
    --dxbl-text-font-size: 0.8rem;
}

.dxbl-btn {
    font-weight: 400;
}

.dxbl-grid {
    --dxbl-grid-font-size: 0.813rem !important;
}

/*MERENI CASTI PROTOKOLU DROPDOWN*/
.protokol-casti-dropdown {
    font-size: 13px !important;
}

/*USER DISPLAYER*/
@media (max-width: 1199.98px) {
    .account-name {
        display: none !important;
    }

    .dropdown-name {
        display: block !important;
    }

    .dropdown-signoff {
        display: block !important;
    }

    .dropdown-menu {
        padding: 0 0 0.5rem 0 !important;
    }
}

.account-dropdown-toggle {
    margin-right: 10px;
}

.show > .account-dropdown-toggle {
    color: #6c757d;
}

.account-dropdown-toggle:hover {
    color: #6c757d !important;
}

.dropdown-name {
    display: none;
    background: #002b59;
    border-radius: 0.25rem 0.25rem 0 0;
    color: white;
    font-weight: bold;
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 0.5rem;
}

.dark-mode-item {
    text-align: center;
}

.form-check .form-check-input {
    float: unset !important;
}

.dropdown-item, .dark-mode-item {
    font-size: 0.85em;
}

.custom-control-label {
    padding-top: 1px;
}

.dropdown-signoff {
    display: none;
}

.account-name {
    line-height: 10px;
    padding-top: 15px;
    padding-bottom: 5px;
    white-space: nowrap;
}

.sign-out {
    padding-top: 5px;
    font-weight: 400;
    color: #007bff !important;
    display: block;
    font-size: 11px;
    text-align: right;
}

    .sign-out:hover {
        cursor: pointer;
    }

    .sign-out:active {
        color: black !important;
    }

/*UTILITY*/
.min-w-0 {
    min-width: 0 !important;
}

.dxbl-modal > .dxbl-modal-root > .dxbl-popup > .dxbl-modal-content {
    border: none !important;
}

/*GRID WITH DOCUMENT PREVIEW*/
.document-loading-panel .dxbl-wait-indicator.dxbl-wait-indicator-spin > svg > g > circle {
    stroke: white !important;
    opacity: 0.8 !important;
}