﻿
html, body, #app {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    user-select: none; /* Standard syntax */
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
    margin: 0;
}

@keyframes udmProgressBarAnimation {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}

/*body {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}*/

.no-click {
    pointer-events: none;
}


.dxbl-window {
    box-shadow: 0px 0px 13px 2px #00000066;
    border-radius: 10px;
}

.dxbl-window-dialog {
    border-radius: 10px;
}

.dxbl-window-header {
    border-radius: 10px;
}



/*  Anpassungen für DevExpress Blazor Komponenten, damit 
    die Dialoge konsistenter angezeigt werden. Ohne diese
    Übersteuerung hätten einige der DevExpress-Elemente negative
    margins, was zu großen Problemen im Zusammespiel mit
    anderen UI-Elementen führt!
*/
.dxbl-fl-tab-content {
    padding: 0 !important;
}

.dxbl-fl {
    padding: 0 !important;
    margin: 0 !important;
}

.dxbl-fl-group {
    margin: 0 !important;
    padding: 0.25rem !important;
}

.dxbl-group-body-content {
    padding: 0.25rem !important;
}

.dxbl-fl-item {
    margin: 0 !important;
    padding: 0.25rem !important;
}

.dxbl-row {
    margin: 0 !important;
}




.udm-image-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .udm-image-container img {
        width: 100%; /* Volle Breite des Containers */
        height: auto; /* Beibehaltung des Seitenverhältnisses */
        object-fit: contain; /* Kein Zuschneiden, Seitenverhältnis bleibt */
        display: block; /* Entfernt mögliche Whitespace-Lücken */
    }


.dxbl-modal-back {
    background-color: #00000044 !important;
}

.target-with-dot {
    position: relative;
    width: 100%;
    height: 100%;
}


/* === Basiszustand (unsichtbar / inaktiv) === */
.grow-dot2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 9999px;
    background: rgb(251 153 0 / 70%);
    box-shadow: 0px 0px 16px 0px rgb(0 0 0 / 50%);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3000 !important;
}

.grow-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgb(130 130 130 / 15%);
    box-shadow: 0px 0px 16px 0px rgb(0 0 0 / 50%);
    pointer-events: none;
    opacity: 0;
    border: 3px red solid;
    transition: opacity 0.25s ease;
    z-index: 1500 !important;
}

    /* === Aktiviert: Wachsen + Pulsieren === */
    .grow-dot.is-active {
        opacity: 1;
        /*animation: dot-in 0.4s cubic-bezier(.1, .7, .2, 1) forwards, dot-pulse 2s ease-in-out 0.4s infinite;*/
    }

/* Wachsen beim Aktivieren */
@keyframes dot-in {
    to {
        width: 30px;
        height: 30px;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Pulsieren nach dem Wachsen */
@keyframes dot-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
}




.h-10 {
    height: 10%;
}

.h-20 {
    height: 20%;
}

.h-30 {
    height: 30%;
}

.h-40 {
    height: 40%;
}

.h-60 {
    height: 60%;
}

.h-70 {
    height: 70%;
}

.h-80 {
    height: 80%;
}

.h-90 {
    height: 90%;
}



.dxbl-group-header .dxbl-accordion-group-header {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.grid-hide-toolbar .dxbl-grid-toolbar-container {
    display: none;
}


.udm-page-loading-panel {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    justify-content: center;
    align-items: center;
    display: flex;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.25s, opacity 0.25s linear;
}

    .udm-page-loading-panel.isactive {
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.25s linear;
    }


    .udm-page-loading-panel::before {
        content: "";
        border: 16px solid #f3f3f3; /* Light grey */
        border-top: 16px solid #3498db; /* Blue */
        border-radius: 50%;
        width: 120px;
        height: 120px;
        animation: spin 2s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.udm-switch-container {
    border: 1px rgba(var(--bs-primary-rgb), 0.5) solid;
    display: inline-flex;
    padding: 0rem;
    cursor: pointer;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.udm-switch {
    padding: 0.2rem 0.75rem;
    color: var(--bs-gray-700) !important;
    text-wrap: nowrap;
}

.udm-caption-nowrap {
    flex-flow: nowrap !important;
}

.udm-main {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.udm-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}



.udm-info-area {
    padding: 0.25rem;
    background-color: #f4f4f4;
    text-align: center;
    border-bottom: 1px #e4e4e4 solid;
}


.udm-subdialog-card {
    width: 100%;
    margin-top: 0.5rem;
    line-height: 1.2;
}

    .udm-subdialog-card .active-header {
        background-color: rgba(var(--bs-primary-rgb), 0.75) !important;
        color: white;
    }

.udm-subdialog-card .active-body {
    background-color: rgba(var(--bs-primary-rgb), 0.2) !important;
}

.udm-subdialog-card:hover {
        border-color: var(--bs-primary);
        background-color: rgba(var(--bs-primary-rgb), 0.1) !important
    }

.udm-hover-button {
    visibility: hidden;
    opacity: 0;
}

.udm-subdialog-card:hover .udm-hover-button {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s;
}


#MapViewControl {
    height: 100%;
    width: 100%;
}

.udm-error-icon {
    color: red;
    --fa-secondary-opacity: 1.0 !important;
    --fa-primary-color: white !important;
    --fa-secondary-color: red !important;
}

.udm-icon-beat {
    --fa-beat-fade-opacity: 0.33;
    --fa-beat-fade-scale: 2;
}

.udm-toolbar-separator {
    width: 1px;
    height: 100%;
    background-color: rgba(var(--bs-primary-rgb), 0.3);
}

.udm-predefinedfilter-cbx {
    height: fit-content;
    align-self: center;
    margin-right: 0.25rem;
}

.notoggle svg {
    display: none;
}


.dxbl-list-box {
    height: fit-content;
    min-height: 100px;
    max-height: 400px;
}

/* Feldbezeichnung im Eingabeformular */
.dxbl-fl-cpt {
    font-weight: bold !important;
}


/* Beschriftung im Titelfeld einer Formular-Gruppe */
.dxbl-group-header {
    font-weight: bold !important;
}


.alert {
    border-radius: 0;
}


/* Angabe für das individuelle Filter-DropDown bei Comboboxen im Grid */
.dxbl-grid-filter-menu-dropdown {
    max-height: 700px;
    height: 400px;
}


.udm-toolbar-separator {
    height: 80%;
    width: 1px;
    margin: 0 0.25rem 0 0;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.dxbl-menu-bar {
    align-items: center;
}

.dxbl-fl-cpt {
    padding: 0;
}

.udm-dialog-toolbar {
    width: 100%;
    align-items: center;
    display: flex;
}


.udm-toolbar-card {
    width: 100%;
    align-items: center;
    display: flex;
    background-color: #f4f4f4;
    padding: 0.15rem;
}


.udm-admin-app-header {
    display: flex;
    height: 3rem;
    width: 100%;
    align-items: center;
    border-radius: 0;
    background-color: var(--bs-dark-bg-subtle);
}


.udm-admin-app-header-navigation {
    max-width: calc(100vh - 80px);
}


.dxbl-grid {
    height: 100%;
    overflow-y: auto;
    border-radius: 0;
}


.udm-main-card-title {
    font-size: medium;
    font-weight: 600;
}

.udm-main-cardicon {
    color: #2fa4e5;
}

.udm-main-card-description {
    font-size: larger;
    height: 40px;
    line-height: normal;
}

.udm-main-card-infotitle {
    font-size: larger;
    font-weight: 600;
    padding-right: 1rem;
}

.udm-main-card-infotext {
    font-size: larger;
}


.udm-maxwidth-md {
    width: 100%;
    max-width: 576px;
}

.udm-maxwidth-lg {
    width: 100%;
    max-width: 768px;
}

.udm-maxwidth-xl {
    width: 100%;
    max-width: 992px;
}


.dxbl-grid-toolbar-panel {
    padding: 0.5rem !important;
}

.dxbl-grid-toolbar-container {
    padding: 0 !important;
    align-items: center;
}


td {
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
}

.loading-panel-active {
    width: 100%;
    height: 100%;
}







.udm-listdetailview-detail {
    z-index: 9999;
    border-width: 1px;
    border-color: #c4c4c4;
    background-color: #6c9cd317;
}


.udm-appbar-menu-button {
    margin: 0.25rem;
    border: 0;
    background-color: transparent;
    padding: 0.5rem;
}

.udm-page-toolbar {
    background-color: #e3e3e3;
    height: 42px;
    padding-left: 0.5rem;
    align-items: center;
    display: flex;
}


.udm-page-toolbar-buttons {
    display: flex;
    justify-content: start;
    width: 100%;
}

.udm-page-toolbar-button {
    margin-right: 0.25rem;
    width: 38px;
    height: 38px;
    border-radius: 4px !important;
}


.udm-page-footer {
}

.udm-content-header-container {
    width: calc(100vw - 80px);
    align-self: center;
    justify-content: center;
}

.udm-content-header {
}

.udm-app-title {
    color: #444444;
    font-size: large;
    font-weight: 200;
}

.udm-navstack-title {
    display: flex;
    flex-direction: column;
    margin: 0rem 1rem;
}

.udm-navstack-pagetopic {
    font-size: smaller;
    font-weight: 600;
    color: var(--bs-primary);
}

.udm-navstack-pagename {
    margin-top: -0.25rem;
    color: var(--bs-body-color-rgb);
    font-size: small;
    font-weight: 400;
}

.udm-navstack-pageseparator {
}

.dxbl-popup-cell {
    /*z-index: 2000 !important;*/
}

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

.udm-card-title {
    font-size: 11pt;
    font-weight: 500;
    color: #0078d7;
}


.udm-card-content {
    background-color: #6c9cd317;
    padding: 0.5rem;
}

.udm-card-header {
    background-color: #cbd9ea;
    padding: 0.5rem;
}

.udm-element-height-300 {
    height: 300px;
}


.udm-icon-color {
    color: #4b596a;
    font-size: 20px;
    margin-left: -4px;
}

.udm-dialog-group-active {
    background-color: #cbd9ea88 !important;
    padding-bottom: 2px;
}

.udm-hidden {
    display: none;
}

.udm-dialogdesigner-item-badge {
    position: absolute;
    background-color: #cccccc;
    width: 20px;
    height: 20px;
    right: -10px;
    top: -10px;
    text-align: center;
    border-radius: 20px;
    z-index: 9999;
}

.udm-dialog-designer-container {
    height: calc(100vh - 70px);
}

.udm-dialogelement-rowseparator {
    flex-basis: 100%;
    height: 1px;
    background-color: #c4c4c4;
}

.udm-designer-sidebar {
    background-color: #cbd9ea88;
    border-left-style: solid;
    border-left-width: 1px;
    border-color: #00000044;
}

.udm-form {
    width: 100%;
    height: 100%;
}

.udm-form-tabcontrol {
    height: 100%;
}

.udm-form-tabpage {
    height: 100%;
}

.dxbl-modal-body {
    overflow-y: auto;
}


.udm-contextmenu-title {
    padding: 6px;
    text-align: center;
    font-weight: 600;
    color: #0078d7;
    background-color: #f4f4f4;
    font-size: 14px;
}

.udm-menu-item-icon {
    width: 32px;
    height: 32px;
    font-size: 18px;
    justify-content: center !important;
    align-items: center;
}

.udm-menu-item-large {
    padding: 0.1rem 1rem;
    margin: 0px;
    font-size: 16px;
}

.udm-menu-item-begin-group {
    border-top: #d4d4d4;
    border-top-width: 1px;
    border-top-style: solid;
}

.dxbl-grid .dxbl-grid-table > tbody > tr > td {
    white-space: nowrap;
}

.udm-login-header {
    background-color: #cbd9ea !important;
    font-size: x-large !important;
    font-weight: 200 !important;
}

.dxbl-accordion-group-header {
    color: var(--bs-primary) !important;
    padding: 0.5rem !important;
    border-bottom: 1px var(--bs-primary) solid !important;
    font-size: larger !important;
}


.nav-btn-wrapper {
    width: 100%;
    display: flex;
}


.udm_nav-item-title {
    font-size: larger;
    font-weight: 600;
    text-align: start;
    text-wrap: nowrap;
}

.udm_nav-item-subtitle {
    font-size: small;
    text-align: start;
    margin-top: -0.25rem;
    text-indent: 0rem;
}

.udm-appbar-menu {
    background-color: rgba(var(--bs-body-color-rgb), 1%);
}

.udm-appbar-popup {
    padding: 0.5rem;
    min-width: 150px;
}

.appbar-toolbar {
    width: 100%;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    background-color: #cacaca;
}

.appbar-menu-title {
    font-size: smaller;
    font-weight: bolder;
    color: var(--bs-primary);
    padding-right: 0.25rem;
}

.appbar-menu-subtitle {
    font-size: smaller;
    color: var(--bs-primary);
}

.udm_nav-item-title-2 {
    font-size: small;
    font-weight: 600;
    text-align: start;
    text-wrap: nowrap;
    padding-right: 0.25rem;
}

.udm_nav-item-subtitle-2 {
    font-size: small;
    text-align: start;
    text-indent: 0rem;
    text-wrap: wrap;
    margin-top: -0.2rem;
    line-height: normal;
}


.udm-nav-item {
    border-width: 0;
    border-radius: 0;
    border-top-width: 1px;
    border-top-color: #848484;
    border-bottom-width: 1px;
    border-bottom-color: #848484;
    width: 100%;
    padding: 0.5rem;
    padding-left: 0.75rem;
    margin: 0 0 0rem 0;
    font-size: medium;
    justify-content: start;
}

.udm-nav-item-root {
    background-color: transparent;
    border: none;
    margin: 0 0 0 0;
}

.udm-nav-item-child {
    flex-grow: 1;
    border: none;
    margin: 0;
    width: 100%;
    align-items: baseline;
    justify-content: start;
}

.udm-nav-item-child-active {
    border-left: solid;
    border-left-width: 4px;
    border-left-color: var(--bs-primary);
}

.udm-nav-item-child-close {
    background-color: transparent;
    border: none;
    color: #444444;
    font-size: 14px;
    width: 28px;
    height: 28px;
    margin-left: 0.4rem !important;
}

.udm-app-card-wrapper {
    height: 125px;
    min-width: 250px;
    max-width: 250px;
}

.udm-app-card {
    height: 100%;
}

    .udm-app-card:hover {
        border-color: var(--bs-primary);
        background-color: rgba(var(--bs-primary-rgb), 0.1) !important
    }

.udm-app-card-header {
    display: flex;
    padding: 0.35rem 0.25rem;
}

.udm-app-card-header-text {
    margin-left: 0.1rem;
    line-height: 1.2rem;
    font-size: small;
    font-weight: bold;
    overflow-wrap: anywhere;
}

.udm-app-card-body-text {
    font-size: small;
    padding: 0.4rem 0.6rem;
}

.h-inherit {
    height: inherit;
}

.udm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
}
