@font-face {
    font-family: 'EncodeSans';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('./fonts/EncodeSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'EncodeSans';
    font-style: normal;
    font-weight: 100;
    font-display: auto;
    src: url('./fonts/EncodeSans-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'EncodeSans';
    font-style: normal;
    font-weight: 200;
    font-display: auto;
    src: url('./fonts/EncodeSans-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'EncodeSans';
    font-style: normal;
    font-weight: 300;
    font-display: auto;
    src: url('./fonts/EncodeSans-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'EncodeSans';
    font-style: normal;
    font-weight: 500;
    font-display: auto;
    src: url('./fonts/EncodeSans-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'EncodeSans';
    font-style: normal;
    font-weight: 600;
    font-display: auto;
    src: url('./fonts/EncodeSans-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'EncodeSans';
    font-style: normal;
    font-weight: 700;
    font-display: auto;
    src: url('./fonts/EncodeSans-Bold.ttf') format('truetype');
}


:root {
    --myc-primary-font: 'EncodeSans';
    --bb-violet: var(--bs-primary);
    --bb-sidebar-background-color: #C4C4C4;
    --bb-sidebar-nav-item-text-active-color: var(--bs-secondary);
    --mud-typographym3-display-large-font: var(--myc-primary-font) !important;
    --mud-typographym3-display-medium-font: var(--myc-primary-font) !important;
    --mud-typographym3-display-small-font: var(--myc-primary-font) !important;
    --mud-typographym3-headline-large-font: var(--myc-primary-font) !important;
    --mud-typographym3-headline-medium-font: var(--myc-primary-font) !important;
    --mud-typographym3-headline-small-font: var(--myc-primary-font) !important;
    --mud-typographym3-title-large-font: var(--myc-primary-font) !important;
    --mud-typographym3-title-medium-font: var(--myc-primary-font) !important;
    --mud-typographym3-title-small-font: var(--myc-primary-font) !important;
    --mud-typographym3-body-large-font: var(--myc-primary-font) !important;
    --mud-typographym3-body-medium-font: var(--myc-primary-font) !important;
    --mud-typographym3-body-small-font: var(--myc-primary-font) !important;
    --mud-typographym3-label-large-font: var(--myc-primary-font) !important;
    --mud-typographym3-label-medium-font: var(--myc-primary-font) !important;
    --mud-typographym3-label-small-font: var(--myc-primary-font) !important;
}

.bb-top-row {
    background-color: var(--bs-body-bg);
    justify-content: normal;
    border-bottom: 1px solid var(--bs-body-bg);
}

.bb-sidebar-content, .mud-nav-link-text {
    text-transform: uppercase;
}

#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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5N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8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.clickable-icon {
    cursor:pointer;
}

.clickable-icon-primary {
    --bs-btn-hover-bg: #be5915;
    --bs-btn-hover-border-color: #b25414;
    cursor: pointer;
}

    .clickable-icon-primary:hover {
        color: var(--bs-btn-hover-bg) !important;
        border-color: var(--bs-btn-hover-border-color);
    }

.widget-header {
    font-weight: 700;
    text-transform: uppercase;
}

.scrollable-dropdown {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.card-body.widget {
    padding: 0.5rem
}

.carousel-control-prev.widget {
    justify-content: start;
    width:7.5%;
}

.carousel-control-next.widget {
    justify-content: end;
    width: 7.5%;
}

.carousel-indicators.widget {
    margin-bottom: 0rem;
}

.carousel-inner.widget {
    width: 85%;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}

.carousel-inner.widget .toast.show {
    width: 100%;
}

.carousel.widget {
    padding-bottom: 1.6rem;
}

.g2d-lbl-primary.vis-label {
    fill: var(--bs-primary);
}

.message-dropdown-icon .mud-badge-wrapper.mud-badge-top.right {
    top: 0.6rem;
    left: -0.6rem;
}

.mud-data-grid .mud-table-cell .dg-child-editable .mud-input-text {
    margin-top: 16px !important;
}

.corner-content {
    position: absolute;
}

.corner-content-bottom-right {
    bottom: 8px;
    right: 8px;
}

.corner-content-bottom-left {
    bottom: 8px;
    left: 8px;
}

.corner-content-top-right {
    top: 8px;
    right: 8px;
}

.corner-content-top-left {
    top: 8px;
    left: 8px;
}

.corner-content-bottom-right-dense {
    bottom: 4px;
    right: 4px;
}

.corner-content-bottom-left-dense {
    bottom: 4px;
    left: 4px;
}

.corner-content-top-right-dense {
    top: 4px;
    right: 4px;
}

.corner-content-top-left-dense {
    top: 4px;
    left: 4px;
}

.leader-line:hover {
    /*transition: color 250ms cubic-bezier(.4,0,.2,1) 0ms;
    color: wheat;*/
}

.leader-line:hover #leader-line-1-plug-marker-1 g use[style] {
        /*stroke: white*/
        /*fill: white !important;*/
}

.switch-m3-small {
    transform: scale(0.75);
    transform-origin: 0 center;
    -webkit-transform-origin: 0 center;
    -ms-transform-origin: 0 center;
    -moz-transform-origin: 0 center;
}

.border-primary {
    border-color: var(--mud-palette-primary);
    border-width: 3px;
}

.border-transparent {
    border-color: transparent;
    border-width: 3px;
}

.selectable-image-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px;
    width: 100%;
    opacity: 0.7
}

.selectable-image-badge-text {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px;
    width: 100%
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

.wh-100, .hw-100 {
    width: 100%;
    height: 100%;
}

.smiv-overlay-wrapper {
    height: 90vh;
    position: relative;
}
/* url(#leader-line-2-dropShadow) */

/* leader-line-1-plug-marker-1><g><use> */

.mud-table-row .mud-expand-panel {
    background-color: transparent; /*var(--mud-palette-table-hover);*/
}

.mud-table-row .mud-expand-panel-header {
    padding: 0px;
    min-height: 0px;
}

/*     border-bottom: 1px solid var(--mud-palette-table-lines); */
.required-badge .mud-badge.mud-badge-top.right {
    inset: auto auto calc(100% - 9px) calc(100% - 0px);
}

.required-badge .mud-badge.mud-badge-top.right.mud-badge-overlap {
    inset: auto auto calc(100% - 20px) calc(100% - 9px) !important;
}

.mud-badge.mud-badge-icon.small-badge {
    transform: scale(0.75);
    transform-origin: 0 center;
    -webkit-transform-origin: 0 center;
    -ms-transform-origin: 0 center;
    -moz-transform-origin: 0 center;
}

.mud-expand-panel-header-gutter-disable .mud-expand-panel-header {
    padding: 0px;
}

svg.leader-line {
    z-index:1299 !important;
}

.accordion-expand-down {
    opacity: 1;
    max-height: 100vh;
    overflow: hidden;
    transition: all;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
}

.accordion-expand-down-rev {
    max-height: 0;
    transition-timing-function: cubic-bezier(0, 1, 0, 1);
    transition-duration: 1s;
}

.accordion-expand-right {
    opacity: 1;
    overflow-x: hidden;
    max-width: 100%;
    transition: all;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
}

.accordion-expand-right-rev {
    max-width: 0;
    transition-duration: 0.4s;
}

.fade-custom {
    opacity: 1;
    transition: all;
    transition-duration:0.3s;
    transition-timing-function: ease-in-out;
}

.fade-custom-rev {
    opacity: 0;
    transition-duration: 0.6s;
    transition-timing-function: ease-in-out;
}

.mt-6p {
    margin-top: 6px;
}

.mt-2p {
    margin-top: 2px;
}

.img-dark-overlay-txt,
.ausstg-item-sw-yes {
    color: rgba(255, 255, 255, 0.8);
}

.bg-darken {
    background-image: linear-gradient(rgb(0 0 0/70%) 0 0);
}

.bg-darken-light-dark {
    background-image: linear-gradient(rgb(0 0 0/50%) 0 0);
}

.bg-darken-light {
    background-image: linear-gradient(rgb(0 0 0/3%) 0 0);
}

.ausstg-item-sw-no {
    color: black;
}

svg.yn-icon-select path {
    filter: brightness(0.8);
    transition: all ease 0.3s;
}

svg.yn-icon-select:hover path {
    filter: brightness(1);
    transition: all ease 0.3s;
}

svg.yn-icon-selected path {
    transition: all ease 0.3s;
}

svg.yn-icon-selected:hover path {
    filter: brightness(1.5);
    transition: all ease 0.3s;
}

video {
    width: 100% !important;
    height: auto !important;
}

.overlay-img-light {
    opacity: 0.2;
}

.overlay-img-dark {
    opacity: 0.35;
}

.fab-outlined-primary {
    background-color: rgba(0,0,0,0);
    border: 2px solid rgb(from var(--mud-palette-primary) r g b/var(--mud-palette-border-opacity));
    color: var(--mud-palette-primary);
}

.blz-groupbox {
    margin:0px;
    padding: 6px;
    border-radius: var(--mud-default-borderradius);
    border-width: 1.5px;
    border-style: solid;
    border-color: var(--mud-palette-lines-default);
}

.blz-groupbox-legend {
    padding: 2px;
}

/*.state-path-connectors-vert {
    flex-direction: column;
    position: relative;
    display: flex;
}
*/

/**** dark overlay in light mode ****/
/*.bg-darken-light .img-dark-overlay-txt .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol,
.bg-darken-light .img-dark-overlay-txt .mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root,
.bg-darken-light .img-dark-overlay-txt .mud-input > textarea.mud-input-root,
.bg-darken-light .img-dark-overlay-txt .mud-input,
.bg-darken-light .img-dark-overlay-txt .mud-button {
    color: rgba(255, 255, 255, 0.9);
}

.bg-darken-light .img-dark-overlay-txt .mud-button-root:disabled {
    color: rgba(255,255,255,0.25882352941176473) !important;
}

.bg-darken-light .img-dark-overlay-txt .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    color: rgba(255, 255, 255, 0.8);
}

.bg-darken-light .img-dark-overlay-txt .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol {
    color: var(--mud-palette-primary);
}*/