﻿:root {
    --level-1: #336e2e;
    --level-2: #9db48d;
    --level-3: #a8cf8d;
    --required-field: #f4f4df;
    --yes-no: #e0d678;
    --auditable: #dfedfa;
    --disabled: #f2f2f2;
    --section-background: #e9e9e9;
    --standalone: #d4d4d4;
    --border-radius: 10px;
    --level-1-ispop: #71381b;
    --level-2-ispop: #a2937f;
    --level-3-ispop: #b48872;
}

.mud-main-content {
    height: 100%;
    min-height: 100vh;
    display: flex;
}

.mud-chip.mud-chip-size-medium {
    font-size: var(--mud-typography-default-size) !important;
}

.mud-chip.mud-chip-size-small {
    font-size: var(--mud-typography-body2-size) !important;
}

.mud-chip {
    font-size: var(--mud-typography-default-size);
}

.mud-tabs {
    background-color: var(--mud-palette-surface);
}

.mud-input-control-margin-dense .mud-input > input.mud-input-root,
.mud-input-control-margin-dense div.mud-input-slot.mud-input-root {
    font-size: 0.90em;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: var(--mud-typography-default-size) !important;
}


.mud-simple-table table * tr > td, .mud-simple-table table * tr th {
    font-size: var(--mud-typography-default-size) !important;
}

.mud-expand-panel .mud-expand-panel-header {
    font-size: var(--mud-typography-default-size) !important;
}

.mud-button-year {
    font-size: var(--mud-typography-default-size) !important;
}

.mud-table p {
    font-size: 0.8rem !important;
}

.mud-table-cell {
    font-size: var(--mud-typography-default-size) !important;
}

.mud-table-dense .mud-table-cell {
    font-size: var(--mud-typography-body2-size) !important;
}


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

.mud-grid.readonly-grid > .mud-grid-item {
    border-bottom: 1px solid var(--mud-palette-table-lines);
    padding-bottom: 2px;
}

.mud-nav-link {
    white-space: normal !important;
}

.user-button {
    text-transform: none;
    background: rgba(var(--mud-palette-primary-rgb), 0.1)
}

.side-menu .mud-chip.mud-chip-size-small {
    font-size: 0.625rem;
    height: 1.125rem;
}

.mud-table.mud-data-grid .mud-toolbar {
    height: auto !important;
    padding: 1rem
}


.mud-table.mud-data-grid .mud-toolbar-gutters {
    height: auto !important;
    padding: 1rem
}

.mud-table.mud-data-grid .mud-table-toolbar {
    height: auto !important;
    padding: 1rem
}

.mud-table.mud-data-grid .mud-table-pagination-toolbar {
    height: auto !important;
    padding: 0rem !important;
}





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

.eko-configuration-panels {
    background-color: var(--mud-palette-background);
}

.detail-toolbar {
    box-shadow: var(--mud-elevation-4) !important;
    width: 100%;
    background-color: var(--mud-palette-primary);
    position: sticky;
    top: 5rem;
    z-index: 30;
}

    .detail-toolbar button {
        text-transform: none !important;
        font-weight: 500;
    }

.detail button:not(:disabled) span.mud-button-icon-start svg {
    color: var(--mud-palette-primary-text) !important;
}

.detail button:disabled span.mud-button-icon-start svg {
    color: var(--mud-palette-action-disabled) !important;
}

.mud-input {
    font-weight: normal !important;
}

.mud-input-control-boolean-input {
    align-items: center;
}

.eko-configuration-panels .mud-input-control-boolean-input {
    align-items: start;
}

/*QUEST FORM CUSTOM*/
.width-10 {
    width: 10%;
}

.width-12 {
    width: 12%;
}

.width-15 {
    width: 15%;
}

.width-20 {
    width: 20%;
}

.width-25 {
    width: 25%;
}

.width-50 {
    width: 50%;
}

.width-100 {
    width: 100%;
}

.label-cell {
    display: flex;
    align-items: center;
}

.label-cell-tabbed {
    display: flex;
    align-items: center;
    padding-left: 1.5rem !important;
}

.label-cell-validated {
    display: flex;
    align-items: start;
    padding-top: 17px !important;
}

.label-cell-validated-in-required-section {
    display: flex;
    align-items: start;
    padding-top: 13px !important;
}

.label-cell-tabbed-validated {
    display: flex;
    align-items: start;
    padding-left: 1.5rem !important;
    padding-top: 17px !important;
}

.label-cell-tabbed-validated-in-required-section {
    display: flex;
    align-items: start;
    padding-left: 1.5rem !important;
    padding-top: 13px !important;
}

.button-cell {
    display: flex !important;
    align-items: start !important;
    padding-left: 0.4rem;
    padding-top: 3px !important;
}

.button-cell-first {
    padding-left: 0 !important;
}

.rounded-corners {
    border-radius: var(--border-radius);
}

.form-section input[type="number"],
.form-section input[inputmode="decimal"] {
    text-align: right;
}

.form-section-default {
    background-color: var(--section-background);
    border-radius: var(--border-radius);
    border: 1px solid #b2b2b2;
}

.sub-section {
    padding: 0.35rem 0.7rem;
    background-color: var(--level-2);
    gap: 0;
    min-height: 2.5rem;
    display: flex !important;
    justify-content: center;
}

    .sub-section p {
        font-size: 0.9rem;
    }

.sub-section-content {
    padding-left: 20px !important;
}

.section-border {
    border: 1px solid #898686;
}

.section-in-section {
    padding: 0.5rem;
    border: 1px solid #898686;
    border-radius: var(--border-radius);
    margin: 0.25rem 0;
}

.panels-align-left .mud-tab-panel {
    justify-content: flex-start;
    justify-content: flex-start;
    font-size: 0.7rem;
    padding: 0px 7px;
    min-height: 35px;
    text-transform: none;
}

    .panels-align-left .mud-tab-panel .mud-badge-root {
        margin-top: 10px
    }

    .panels-align-left .mud-tab-panel svg {
        width: 20px;
    }

.panels-align-left .mud-tab-active {
    background-color: var(--level-3) !important;
    color: black !important;
}

    .panels-align-left .mud-tab-active:hover {
        background-color: var(--level-3) !important;
    }

.panels-align-right .mud-tab-panel {
    justify-content: flex-end;
}

    .panels-align-right .mud-tab-panel .mud-badge-root {
        margin-top: 10px
    }

.colored-inputs .mud-input-outlined {
    background-color: var(--required-field) !important;
    border-radius: var(--border-radius) !important;
}

    .colored-inputs .mud-input-outlined fieldset {
        border-radius: var(--border-radius) !important;
    }

.colored-inputs-no-radius .mud-input-outlined {
    background-color: var(--required-field) !important;
    border-radius: 0px !important;
}

.colored-inputs .mud-disabled.mud-input-outlined {
    background-color: var(--disabled) !important;
}

.no-border-radius-inputs .mud-input-outlined-border {
    border-radius: 0px !important;
}

    .no-border-radius-inputs .mud-input-outlined-border fieldset {
        border-radius: 0px !important;
    }

.footnote p,
.footnote span {
    font-size: 0.75rem;
}

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

.text-italic {
    font-style: italic;
}

.text-small {
    font-size: 0.75rem;
}

.text-bold {
    font-weight: 500 !important;
}

.text-bolder {
    font-weight: bold;
}

.font-normal {
    font-weight: 400 !important;
}

.no-gap {
    gap: 0 !important;
}

.editable-table-without-exit-button.mud-table-bordered .mud-table-container .mud-table-root .mud-table-body .mud-table-row .mud-table-cell:nth-last-child(1),
.editable-table-without-exit-button.mud-table-bordered .mud-table-container .mud-table-root .mud-table-head .mud-table-row .mud-table-cell:nth-last-child(1),
.editable-table-without-exit-button.mud-table-bordered .mud-table-container .mud-table-root .mud-table-foot .mud-table-row .mud-table-cell:nth-last-child(1) {
    display: none;
}

.editable-table.mud-table-bordered .mud-table-container .mud-table-root .mud-table-body .mud-table-row .mud-table-cell:nth-last-child(2),
.editable-table.mud-table-bordered .mud-table-container .mud-table-root .mud-table-head .mud-table-row .mud-table-cell:nth-last-child(2),
.editable-table.mud-table-bordered .mud-table-container .mud-table-root .mud-table-foot .mud-table-row .mud-table-cell:nth-last-child(2) {
    border-right: none !important;
}

.mud-input-control.mud-input-control-margin-dense {
    margin: 0;
}

.align-bottom {
    display: flex;
    align-items: end;
}

.radio-bool .mud-radio-group {
    gap: 0.5rem;
}

.mud-table-row th,
.mud-table-head th {
    font-weight: bold !important;
    border-right: 1px solid var(--mud-palette-table-lines) !important;
}

.mud-data-grid .mud-table-head th {
    border-right: none !important;
}

.mud-table-head th,
.mud-table-head th .tooltip-icon-container,
.custom-mud-table-head th,
.custom-mud-table-head th .tooltip-icon-container {
    text-align: center;
    justify-content: center;
    background-color: var(--level-3);
}

    .mud-table-head th:first-child,
    .mud-table-head th:first-child .tooltip-icon-container,
    .custom-mud-table-head th:first-child .tooltip-icon-container {
        text-align: left !important;
        background-color: var(--level-3);
    }

.mud-table-head tr:first-child th:first-child,
.mud-table-head thead tr:first-child th:first-child .tooltip-icon-container,
.custom-mud-table .custom-mud-table-head:first-child th:first-child,
.custom-mud-table .custom-mud-table-head:first-child th:first-child .tooltip-icon-container {
    border-top-left-radius: var(--border-radius);
}

.mud-table-head tr:first-child th:last-child,
.mud-table-head tr:first-child th:last-child .tooltip-icon-container,
.custom-mud-table-head .custom-mud-table-head:first-child th:last-child,
.custom-mud-table-head .custom-mud-table-head:first-child th:last-child .tooltip-icon-container {
    border-top-right-radius: var(--border-radius);
}

.border-bottom-left-radius {
    border-bottom-left-radius: var(--border-radius);
}

.border-bottom-right-radius {
    border-bottom-right-radius: var(--border-radius);
}

.table-cell-center,
.table-cell-center .tooltip-icon-container {
    text-align: center;
    justify-content: center !important;
}

.table-cell-tabbed {
    padding-left: 1.5rem !important;
}

.custom-mud-table table {
    width: 100%;
    border-collapse: collapse;
}

.custom-mud-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--mud-palette-table-lines);
    border-right: 1px solid var(--mud-palette-table-lines);
}

.custom-mud-table th {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--mud-palette-table-lines);
    border-right: 1px solid var(--mud-palette-table-lines);
    font-size: 0.875rem;
}

.mud-table p {
    font-size: 0.875rem !important;
}

.custom-mud-table tr td:last-child,
.custom-mud-table tr th:last-child {
    border-right: none !important;
}

.custom-mud-table tr:last-child td {
    border-bottom: none !important;
}

.custom-mud-table .mud-table-dense .mud-table-cell,
.custom-mud-table .mud-table-dense .mud-table-cell p {
    font-size: var(--mud-typography-body2-size) !important;
}

.tooltip-dialog a {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.tooltip-dialog .mud-dialog-title {
    border-bottom: 1px solid var(--mud-palette-table-lines);
}

.tooltip-icon-container {
    display: flex !important;
    align-items: center;
    gap: 0.25rem !important;
    font-size: 0.875rem;
}

.eko-link a {
    color: var(--mud-palette-primary) !important;
}

/*COLORS*/

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

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

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

.color-section-headline {
    color: var(--level-1) !important;
    font-weight: bold;
}

.section-ispop .color-section-headline {
    color: var(--level-1-ispop) !important;
    font-weight: bold;
}

.color-subsection-background {
    color: var(--level-2) !important;
}

.color-table-headline-background {
    background-color: var(--level-3) !important;
}

.color-yes-no {
    background-color: var(--yes-no) !important;
}

.color-standalone {
    background-color: var(--standalone) !important;
}

.custom-validation-message {
    font-size: 0.8rem;
}

.overlay-print {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 2rem 3rem;
    border-radius: var(--border-radius);
    color: #FFFFFF !important;
}

    .overlay-print .mud-progress-circular {
        color: var(--mud-palette-primary) !important;
    }

.button-group-headline {
    padding: 5px 10px;
    color: white;
}

.navigation-menu-toggle-button-wrapper {
    width: 50px;
    margin-left: -25px;
    display: flex;
    justify-content: end;
    border: 1px solid lightgray;
    border-left: none;
    background-color: white;
}

.navigation-menu-toggle-button {
    margin-left: -1rem;
}

.level-1,
.level-1 th,
.level-1 .tooltip-icon-container {
    background-color: var(--level-1) !important;
}

.level-2,
.level-2 th,
.level-2 .tooltip-icon-container {
    background-color: var(--level-2) !important;
}

.level-3,
.level-3 th,
.level-3 .tooltip-icon-container {
    background-color: var(--level-3) !important;
}

input[inputmode=numeric] {
    text-align: end;
}

.auditable-field {
    background-color: var(--auditable) !important;
}

.auditable-field-legend {
    background-color: var(--auditable) !important;
    border: 1px solid #898686;
    width: 5rem;
    height: 2rem;
}

.input-text-bold input {
    font-weight: bold !important;
}

.disabled-highlighted input {
    color: slategrey !important;
}

.non-required-field .mud-input-outlined {
    background-color: white !important;
}

.centered-bigger-input input {
    text-align: center;
    font-size: 1.5rem !important; /* ~24px */
}

.mud-markdown-body :focus-visible {
    outline: none;
}

/*ISPOP*/
.form-ispop th,
.form-ispop th .tooltip-icon-container,
.form-ispop .mud-table-head th:first-child,
.form-ispop .mud-table-head th:first-child,
.form-ispop .mud-table-head th:first-child .tooltip-icon-container,
.form-ispop .custom-mud-table-head th:first-child .tooltip-icon-container {
    text-align: center !important;
    background-color: var(--level-3-ispop) !important;
    font-weight: bold !important;
}

    .form-ispop th:first-letter,
    .form-ispop th .tooltip-icon-container:first-letter,
    .form-ispop .mud-table-head th:first-child:first-letter,
    .form-ispop .mud-table-head th:first-child:first-letter,
    .form-ispop .mud-table-head th:first-child:first-letter .tooltip-icon-container:first-letter,
    .form-ispop .custom-mud-table-head th:first-child .tooltip-icon-container:first-letter,
    .form-ispop div:first-letter {
        text-transform: capitalize !important;
    }

.form-ispop td,
.form-ispop td .tooltip-icon-container {
    font-size: 0.875rem !important;
}

.border-top-left-radius {
    border-top-left-radius: var(--border-radius) !important;
}

.border-top-right-radius {
    border-top-right-radius: var(--border-radius) !important;
}

.not-required-field .mud-input-outlined {
    background-color: #FFFFFF !important;
}

.section-8 .mud-table-cell {
    padding: 0.5rem !important;
}

.section-8 .mud-table-cell input {
    font-size: 0.85rem !important;
}