﻿/*
    Defaults
*/

h1:focus {
    outline: none;
}

.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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.linear-progress {
    background: silver;
    height: 5px;
    width: 310px;
    left: calc(50vw - 105px);
    top: 0;
    overflow: hidden;
    position: relative;
}

    .linear-progress:after {
        content: '';
        position: absolute;
        inset: 0;
        background: #0A4A8E;
        scale: var(--blazor-load-percentage, 0%) 100%;
        transform-origin: left top;
        transition: scale ease-out 0.5s;
    }

td {
    max-width: 30vw;
}

table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem !important;
}

th {
    border-top: 1px solid #dee2e6;
    background-color: var(--mud-palette-surface) !important;
}

tr {
    border-bottom: 1px solid #dee2e6;
}

    tr:last-child {
        border-bottom: 0px;
    }

body {
    padding-top: 32px;
    min-height: calc(100vh-64px);
}

.dropdown-toggle {
    outline: 0;
}

.btn-toggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        color: rgba(0, 0, 0, .85);
        background-color: #d2f4ea;
    }

    .btn-toggle::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

    .btn-toggle[aria-expanded="true"] {
        color: rgba(0, 0, 0, .85);
    }

        .btn-toggle[aria-expanded="true"]::before {
            transform: rotate(90deg);
        }

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}

    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        background-color: #d2f4ea;
    }

.scrollarea {
    overflow-y: auto;
}

.sb-txt {
    font-size: 11px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-bg);
    background-color: inherit;
    border-left: 3px solid var(--bs-nav-pills-link-active-bg);
}

/* Mud controls overrides */

:root {
    --mud-typography-default-family: 'PL Mono', monospace !important;
    --mud-typography-h1-family: 'PL Mono', monospace !important;
    --mud-typography-h2-family: 'PL Mono', monospace !important;
    --mud-typography-h3-family: 'PL Mono', monospace !important;
    --mud-typography-h4-family: 'PL Mono', monospace !important;
    --mud-typography-h5-family: 'PL Mono', monospace !important;
    --mud-typography-h6-family: 'PL Mono', monospace !important;
    --mud-typography-body1-family: 'PL Mono', monospace !important;
    --mud-typography-body2-family: 'PL Mono', monospace !important;
    --mud-typography-subtitle1-family: 'PL Mono', monospace !important;
    --mud-typography-subtitle2-family: 'PL Mono', monospace !important;
    --mud-typography-button-family: 'PL Mono', monospace !important;
    --mud-palette-background: #F8F8F8 !important;
    --mud-typography-body1-size: 0.75rem !important;
    --mud-typography-body2-size: 0.75rem !important;
    --mud-typography-subtitle2-size: 0.7rem !important;
    --mud-typography-h1-size: 2.125rem !important;
    --mud-typography-h2-size: 2.000rem !important;
    --mud-typography-h3-size: 1.500rem !important;
    --mud-typography-h4-size: 1.250rem !important;
    --mud-typography-h5-size: 1.125rem !important;
    --mud-typography-h6-size: 1.000rem !important;
    --mud-typography-button-text-transform: none !important;
    --mud-palette-primary: #0A4A8E !important;
    --mud-palette-text-primary: #404040 !important;
    --mud-palette-error: #E7004C !important;
    --mud-palette-appbar-background: #0A4A8E !important;
    --mud-palette-appbar-text: #ffffff !important;
    --mud-appbar-height: 50px !important;
    --mud-palette-surface: #F8F8F8 !important;
}

.muudstrap-navbar .mud-button {
    text-transform: none;
}

.muudstrap-navbar .mud-expand-panel-header {
    padding: 0px;
    width: 100%;
    height: 100%;
    flex: none;
}

.mud-table-cell {
    overflow-wrap: anywhere;
    font-size: var(--mud-typography-body-size);
}

.mud-card-header {
    padding: 0 !important;
}

.mud-card-header-content > * {
    padding: 5px !important;
}

table > :not(caption) > * > * {
    padding: 0.2rem 0.2rem !important;
}

.mud-button-group-root > .mud-select .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin-top: 0 !important;
    width: 100px !important;
    margin-right: 5px;
    margin-left: 5px;
}

.mud-button-group-root > .mud-select .mud-input-control > .mud-input-control-input-container > .mud-input.mud-input-underline:before {
    border-bottom: none !important;
}

.mud-input {
    font-size: var(--mud-typography-body2-size);
}

.mud-table-pagination-select .mud-input .mud-input-root {
    font-size: var(--mud-typography-body2-size);
}

.mud-button-group-root.mud-button-group-outlined-size-small .mud-button-root {
    font-size: var(--mud-typography-body2-size);
}

.mud-list-item-text {
    font-size: var(--mud-typography-body2-size);
}

.mud-icon-size-medium {
    font-size: 1.25rem !important;
}

.mud-icon-size-large {
    font-size: 1.5rem !important;
}

td .mud-input.mud-input-underline:after, td .mud-input.mud-input-underline:before {
    border-bottom: 0 !important;
}

td .mud-input-root-text:focus {
    border-bottom: 1px solid var(--mud-palette-lines-inputs);
}

.mud-tab {
    text-transform: none !important;
    min-height: 30px !important;
    padding: 0px 5px !important;
    justify-content: left !important;
}

/* Monaco Editor overrides */
#log-viewer .monaco-editor {
    height: calc(100vh - 125px) !important;
    width: 100% !important;
}

#log-viewer {
    width: 100% !important;
    min-height: calc(100vh - 200px) !important;
}

/* Monaco Editor overrides */
.m-edit .monaco-editor {
    height: calc(100vh - 320px) !important;
    width: 100% !important;
}

.m-edit {
    width: 100% !important;
    min-height: calc(100vh - 320px) !important;
}

/* Loading Animation */

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: var(--mud-palette-appbar-background);
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

/* Slider */
/*.rs-container {
    font-family: 'PL Mono', monospace !important;
}

    .rs-container .rs-scale span ins {
        font-size: 11px;
    }
*/
/* Custom */

.row-highlight {
    background-color: var(--mud-palette-table-hover);
}

.full-height-aside {
    min-height: calc(100vh - 90px) !important;
    margin-bottom: 10px;
}

.full-height-main {
    min-height: calc(100vh - 60px) !important;
    margin-bottom: 10px;
}

.no-margin .mud-input :not(.mud-select-input) {
    margin: 0 !important;
}

.search-text .mud-input-text {
    margin-top: 0 !important;
}

.tab-hl-top .mud-tab-slider-horizontal {
    bottom: unset !important;
    top: 0 !important;
    border-bottom: 1px solid #fff !important;
}

.tab-hl-bottom .mud-tab-slider-horizontal {
    bottom: 0 !important;
    top: unset !important;
}

.mud-tabs-header.mud-tabs-header-after {
    display: none !important;
}

.mud-tabs-toolbar .mud-tabs-toolbar-inner {
    min-height: 30px !important;
}

.mud-tabs-tabbar .mud-tabs-tabbar-inner {
    min-height: 30px !important;
}

.mud-menu .mud-button {
    color: var(--mud-palette-primary-text) !important;
}

.mud-treeview-item-arrow {
    width: auto;
    margin: 0 !important;
}

.mud-treeview-group {
    border-left: 1px solid var(--mud-palette-lines-default) !important;
}

.mud-treeview-item-content:has(.mud-treeview-item-arrow) {
    padding: 0 !important;
}

.mud-treeview-item-content:has(.mud-treeview-item-arrow:empty) {
    padding-left: 22px !important;
}

.mud-treeview-item-icon {
    width: unset !important;
}

.mud-treeview-item .mud-icon-button {
    padding: 1px !important;
}

.bdr-x {
    border-left: 1px solid var(--mud-palette-lines-default) !important;
    border-right: 1px solid var(--mud-palette-lines-default) !important;
}

.bdr-y {
    border-top: 1px solid var(--mud-palette-lines-default) !important;
    border-bottom: 1px solid var(--mud-palette-lines-default) !important;
}

.bdr-left {
    border-left: 1px solid var(--mud-palette-lines-default) !important;
}

.bdr-right {
    border-right: 1px solid var(--mud-palette-lines-default) !important;
}

.bdr-top {
    border-top: 1px solid var(--mud-palette-lines-default) !important;
}

.bdr-bottom {
    border-bottom: 1px solid var(--mud-palette-lines-default) !important;
}

.tab-panel-border .mud-tabs-panels {
    border-top: 1px solid var(--mud-palette-lines-default) !important;
}

.small-app-bar {
    height: 20px !important;
    color: var(--mud-palette-text-primary);
}

    .small-app-bar .mud-icon-size-medium {
        font-size: 1rem;
    }

    .small-app-bar .mud-button {
        color: var(--mud-palette-text-primary) !important;
        font-size: var(--mud-typography-body1-size) !important;
    }

.user-name .mud-button {
    font-size: var(--mud-typography-body1-size) !important;
}

.mud-toolbar-appbar, .mud-toolbar-appbar .px-6 {
    padding-left: 3px !important;
    padding-right: 3px !important
}

.sub-menu {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.side-bar {
    min-width: 70px;
    max-width: 350px;
    margin-top: 30px;
}

.side-bar-icon {
    width: 70px;
}

    .side-bar-icon .mud-list-item {
        display: block !important;
        text-align: center;
    }

    .side-bar-icon .mud-list-item-gutters {
        padding-left: 8px;
        padding-right: 8px;
    }

    .side-bar-icon .mud-list-item-icon {
        min-width: unset !important;
    }

    .side-bar-icon .mud-list.mud-list-padding {
        padding-top: 2px;
        padding-bottom: 2px;
    }

.config-title {
    position: absolute;
    top: 40px;
    left: 0;
    padding-left: 5px;
}

.bg-white {
    background-color: #fff !important;
}

    .bg-white .mud-paper {
        background-color: #fff !important;
    }

    .bg-white .mud-tabs-toolbar {
        background-color: #fff !important;
    }

    .bg-white .mud-tabs-panels {
        background-color: #fff !important;
    }

    .bg-white .mud-table {
        background-color: #fff !important;
    }

.select-no-margin .mud-input-text {
    margin-top: 0 !important
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: 0.85rem !important;
}

.column-header {
    min-height: 26px;
}

.double-height .mud-input-slot {
    height: 22px !important;
}

.double-height .mud-input-control {
    margin-top: 0 !important;
}

.rotate-90 {
    transform: rotate(90deg);
}

.mud-button-group-text.mud-button-group-override-styles.mud-button-group-horizontal:not(.mud-button-group-rtl) .mud-button-root:not(:first-child), .mud-button-group-text.mud-button-group-override-styles.mud-button-group-horizontal:not(.mud-button-group-rtl) > :not(:first-child) .mud-button-root {
    border-left: 1px solid var(--mud-palette-lines-default) !important;
    padding-right: 4px;
    padding-left: 4px;
}

.mud-typography-h5 small {
    font-size: .75rem !important;
}

.bg-grey {
    background-color: var(--mud-palette-surface) !important;
}

.mud-snackbar {
    margin-top: 0 !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.mud-snackbar-location-top-center {
    top: 0 !important;
}
/*
.dynamic-tab {
    width:100%;
    margin-right:50px;
    border:1px solid blue;
}*/
/*
.dynamic-tab .mud-tab-slider-horizontal {
    display: none;
}
*/
.dynamic-tab .mud-tab.mud-tab-active {
    border-top: 1px solid var(--mud-palette-primary);
}

.dynamic-tab .mud-tabs-toolbar {
    width: calc(100vw - 375px) !important;
}

.dynamic-tab .mud-icon-button {
    padding: 0 !important;
    margin-top: 3px;
}


.text-light {
    color: #808383;
}

.login-form {
    width: 350px;
    margin: 10px 0;
    padding: 23px 25px;
    border: 1px solid #e5f0f5;
    color: inherit;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.mud-progress-linear.horizontal.mud-progress-linear-small {
    height: 2px !important;
}

.editor-visible {
    display: block;
    position: fixed;
    bottom: 100px;
    right: 100px;
    z-index: 1000;
    width: 100px;
    height: 100px;
}

.small-tabs .mud-tab {
    font-size: 0.75em;
}

.text-error {
    color: var( --mud-palette-error) !important;
}

table.pvtTable tbody tr th, table.pvtTable thead tr th {
    background-color: var(--mud-palette-surface) !important;
}

.pvtUi {
    width: 100%;
    max-width: 100%;
}

.pvtVertList, .pvtRows {
    width: 200px;
}

.pvtUi td {
    border-color: var(--mud-palette-lines-default) !important;
}

.pvtAxisContainer li {
    padding: 4px 4px;
}

.pvtAggregator, .pvtAttrDropdown {
    font-size: .875em;
    max-width: 200px;
}

.svg-container {
    position: unset !important;
}

.main-svg {
    position: unset !important;
}

.mud-chip.mud-chip-size-medium {
    height: unset !important;
    font-size: 0.75rem !important;
}

.pvtFilterBox button {
    margin: 5px;
    padding: 5px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 5px;
}

.pvtFilterBox input[type=text] {
    border: none;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

    .pvtFilterBox input[type=text]:focus {
        border: none;
        border-bottom: 2px solid var(--mud-palette-lines-default);
        outline: none;
    }

    .pvtFilterBox input[type=text]:focus-visible {
        border: none;
        border-bottom: 2px solid var(--mud-palette-lines-default);
        outline: none;
    }

    .pvtFilterBox input[type=text]:active {
        border: none;
        border-bottom: 2px solid var(--mud-palette-lines-default);
        outline: none;
    }

.radio-button .mud-icon-button {
    padding: 0;
    padding-left: 5px;
    padding-right: 5px;
}

.mud-button-group-root p {
    border-left: 1px solid var(--mud-palette-lines-default);
    padding-left: 3px;
}

    .mud-button-group-root p + button {
        border-left: none !important;
    }

.clear-bl {
    border-left: none !important;
}

.mud-icon-size-small {
    font-size: 1.25rem !important;
}

.small-icon {
    font-size: 15px !important;
}

.mud-table .mud-input {
    margin-top: unset !important;
}

.default-btn-group {
    background: #F5F5F5;
    border: 1px solid #EEE;
}

    .default-btn-group > .mud-button {
        border: 1px solid #EEE !important;
    }

.bdr-bottom {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.w-30p {
    width: 30%;
}

.w-40px {
    width: 40px;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: end;
}

.title-bar {
    padding-right: calc(100vw - env(titlebar-area-width, 100%));
    app-region: drag;
    -webkit-app-region: drag;
}

    .title-bar button {
        app-region: no-drag;
        -webkit-app-region: no-drag;
    }

.no-padding .mud-breadcrumbs {
    padding: 0 !important;
    color: #AAA;
}

.small-font {
    font-size: 11px !important
}

.mud-breadcrumb-separator {
    padding-left: 2px;
    padding-right: 4px;
    padding-top: 4px;
}

.monaco-editor {
    font-family: 'Noto Sans Mono' !important;
    --monaco-monospace-font: 'Noto Sans Mono' !important;
}

.column-header {
    text-wrap: nowrap;
}

.inner-scroll {
    width: calc(100vw - 355px);
    overflow: auto;
}

.tree-badge {
    padding-right: 10px;
}

    .tree-badge .mud-badge {
        background-color: var(--mud-palette-primary) !important;
        color: #fff !important;
        font-size: 9px !important;
        height: 12px !important;
        min-width: 12px !important;
        padding: 2px 3px !important;
    }




body .pwa-updater[b-pwa-updater] {
    --pwa-updater-bar-backcolor: #fec21e;
    --pwa-updater-bar-color: #444444;
}


.pwa-updater.align-bottom.visible[b-pwa-updater] {
    bottom:20px !important;
}

.highlight-item {
    color: var(--mud-palette-primary) !important;
    --mud-ripple-color: var(--mud-palette-primary) !important;
    background-color: var(--mud-palette-primary-hover) !important;
}

.mud-treeview.mud-treeview-selected-primary .mud-treeview-item-content.mud-treeview-item-selected {
    color: black !important;
    --mud-ripple-color: none !important;
    background-color: transparent !important;
}

.display-flex {
    display: flex;
}