﻿canvas.emscripten {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    border: 0px none;
}

.sym3Framed {
    background-color: lightslategrey;
    height: calc(100vh - 100px);
}

.sym3FramedFullscreen {
    background-color: lightslategrey;
    height: calc(100vh - 55px);
}

.floatRight {
    float: right;
}

.logviewer-row-error {
    background-color: #FFBABA !important;
}
.logviewer-row-warn {
    background-color: #FBE2D5 !important;
}
.logviewer-row-info {
    background-color: #DAE9F8 !important;
}
.logviewer-row-debug {
    background-color: #DAF2D0 !important;
}
.logviewer-row-none {
    background-color: inherit;
}

@keyframes phaseIn {
    0% {
        opacity: 0; /* Adjust color and size as needed */
    }

    100% {
        opacity: 1;
    }
}

/* CSS class to apply the animation */
.logviewer-row-flash {
    animation: phaseIn 1s; /* Adjust '1s' to control the speed of the flash */
}

sym3-label {
    font-size: var(--mud-typography-body1-size);
    font-family: var(--mud-typography-body1-family);
    font-weight: var(--mud-typography-body1-weight);
    line-height: var(--mud-typography-body1-lineheight);
    letter-spacing: var(--mud-typography-body1-letterspacing);
    text-transform: var(--mud-typography-body1-text-transform);
    display:block;
}

sym3-label + .mud-input-control,
sym3-label + .mud-select{
    margin-bottom: 16px;
}

sym3-span {
    font-weight: 500;
    display: block;
}

sym3-span.for-tooltipped-checkbox {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Optional: adds ellipsis (...) for overflow text */
}

sym3-tooltip {
    font-weight: normal;
    font-size: 0.75rem;
    line-height: 0.9rem;
    display: block;
}

sym3-tooltip.for-checkbox {
    margin-left: 33px;
    margin-top: -12px;
}

sym3-tooltip.for-radio {
    margin-left: 38px;
    margin-top: -12px;
}

sym3-tooltip.for-switch {
    margin-left: 48px;
    margin-top: -8px;
}

.text-only-input .mud-input-numeric-spin {
    display: none !important;
}

.mud-button-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Optional: adds ellipsis (...) for overflow text */
}

.mud-dialog-title {
    padding-bottom: 0px !important;
}

.no-border {
    border: none !important;
    box-shadow: none !important;
}

.mud-input-control-input-container:has(.mud-checkbox) {
    margin-left: -15px !important;
}

.mud-input-control-input-container:has(.mud-radio-group) {
    margin-left: -4px !important;
}

.mud-badge {
    padding: 6px 3px !important;
}

.mud-badge-root .mud-badge-wrapper.mud-badge-top {
    top: 20px !important;
    width: 25px !important;
    height: 20px;
    width: 20px;
}

.sym3-disabled {
    pointer-events: none; /* Disable all interactions */
    opacity: 0.5; /* Make it look disabled */
}

.sym3-disabled .mud-button {
    pointer-events: none; /* Disable button interactions */
    opacity: 0.5; /* Make buttons look disabled */
}

.sym3-overlay-content {
    position: absolute;
    width: 100%;
    justify-content: center;
    text-align: center;
    z-index: 11;
    top: 125px;
    opacity: 1;
}

.non-selectable {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

.sym3replay-date-picker {
    width: 155px !important;
}

.sym3-mini-window-seletable {
    cursor: pointer;
    fill: var(--mud-palette-text-primary-lighten);
    fill-opacity: 0;
}

.sym3-mini-window-seletable:hover {
    fill: var(--mud-palette-text-primary);
    fill-opacity: 0.2;
}

.sym3-mini-window-non-seletable {
    fill: var(--mud-palette-text-primary);
    fill-opacity: 0;
}


.sym3-dark-mode .sym3-mini-window-seletable {
    cursor: pointer;
    fill: var(--mud-palette-text-primary-darken);
    fill-opacity: 0;
}

.replay-timeline-control-overlay {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100%);
    background-color: var(--mud-palette-overlay-light);
    z-index: 10;
}

.sym3-dark-mode .replay-timeline-control-overlay {
    background-color: rgba(50, 51, 61, 0.5); !important
}

.sym3-dark-mode .sym3-replay-position {
    stroke: var(--mud-palette-tertiary-lighten);
    fill: var(--mud-palette-tertiary-lighten);
}

.sym3-dark-mode .sym3-replay-palette-primary {
    stroke: #396529;
    fill: #396529;
}

.sym3-replay-palette-primary {
    stroke: #85C46E;
    fill: #85C46E;
}

.sym3-replay-minibrowser-primary {
    fill: #85C46E;
    stroke: #85C46E;
}

.sym3-dark-mode .sym3-replay-minibrowser-primary {
    fill: #396529;
    stroke: #396529;
}

.log-level-badge {
    padding: 2px;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
    min-width: 60px;
    text-align: center;
}
/*Alarm priorty display*/
.priority-badge {
    padding: 2px;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
    min-width: 80px;
    text-align: center;
}

/*All blink keyframes follow this naming convention:'blink-{style property}'*/
@keyframes blink-color {
    0%, 100% {
        color: var(--first-color);
    }

    50% {
        color: var(--second-color);
    }
}

@keyframes blink-background-color {
    0%, 100% {
        background-color: var(--first-background-color);
    }

    50% {
        background-color: var(--second-background-color);
    }
}

@keyframes blink-fill {
    0%, 100% {
        fill: var(--first-fill-color);
    }

    50% {
        fill: var(--second-fill-color);
    }
}

@keyframes blink-stroke {
    0%, 100% {
        stroke: var(--first-stroke-color);
    }

    50% {
        stroke: var(--second-stroke-color);
    }
}