body {
    height: 100%;
    overflow: hidden;
}

.w-15 {
    width: 15% !important;
}

.w-30 {
    width: 30% !important;
}

.w-50 {
    width: 50% !important;
}

.w-70 {
    width: 70% !important;
}

.w-100 {
    width: 100% !important;
}

.mt-1 {
    margin-top: 4px;
}

.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-8 {
    margin-top: 32px;
}
.mr-1{
    margin-right:4px;
}

.mr-2 {
    margin-right: 8px;
}

.mr-4 {
    margin-right: 16px;
}

.mr-8 {
    margin-right: 32px;
}

.wh-24 {
    width: 24px !important;
    height: 24px !important;
}

.vh-60 {
    min-height: 60vh;
}
.vh-70 {
    min-height: 70vh;
}
.vh-80 {
    min-height: 80vh;
}

.typing-cursor {
    display: inline-block;
    animation: blink 1s steps(2, start) infinite;
    color: #888;
    font-weight: bold;
}

@keyframes blink {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}


.flex-col {
    display:flex;
    flex-direction: column;
    align-items: center;
    margin: 0px !important;
}

.hidden {
    display: none !important;
}

.dw-card-list-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    cursor: pointer;
    margin: .5em;
    min-height:80px;
}	
 
.brand-text {
    letter-spacing: .2rem;
    font-weight: 400;
    font-family: 'Roboto';
    margin-inline-start: 12px;
    font-size: 16px;
    user-select: none;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--accent-base-color);
}

.siteheader {
    border-bottom: calc(var(--stroke-width) * 2px) solid var(--accent-fill-rest);
    margin-bottom: 0 !important;
    color:white;
}

    .siteheader .logo {
        width: 108px;
        height: 23px;
        grid-column: 1;
    }

    .siteheader .links {
        padding-right: 10px;
        display: flex;
        align-items: center;
    }

    .siteheader .notifications {
        padding-right: 10px;
        display: flex;
        align-items: center;
    }

    .siteheader .settings {
        padding-right: 24px;
        display: flex;
        align-items: center;
    }

.body-stack {
    flex-direction: row;
}

.footer {
    display: flex !important;
    flex-direction: row !important;
    background: var(--neutral-layer-2);
    color: black !important;
    padding: 10px 10px;
    margin-top: 0px !important;
}

    .footer .version a {
        color: var(--neutral-foreground-rest);
        text-decoration: none;
    }

        .footer .version a:focus {
            outline: 1px dashed;
            outline-offset: 3px;
        }

        .footer .version a:hover {
            text-decoration: underline;
        }


nav.sitenav {
    /*background-color: var(--neutral-layer-1);*/
    padding: 1em 0rem;
    height: 100%;
    width: 18rem;
    overflow-y: auto;
    width: 100%;
}

nav h2 {
    font-size: var(--type-ramp-plus-1-font-size);
    line-height: var(--type-ramp-plus-1-line-height);
    padding: 15px 0;
    margin: 0;
    pointer-events: none;
}

nav h3 {
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-minus-1-line-height);
    padding: 10px 0;
    margin: 0;
    pointer-events: none;
}


nav fluent-anchor {
    width: 100%;
    color: var(--fill-color);
}

    nav fluent-anchor::part(control) {
        justify-content: start;
        background: var(--accent-fill-rest);
    }


.fluent-nav-link.notactive .fluent-nav-text {
    font-weight: 600 !important;
}



article {
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--neutral-stroke-divider-rest);
    margin: 0 0;
    overflow-x: hidden;
    transition: all 300ms ease-in-out;
    width: calc(100% - 18rem);
}

aside {
    padding: 1.5rem 1rem;
    top: 0px;
    height: 100vh;
    position: sticky;
    width: 18rem;
}

.nav-stack {
    height: calc(100dvh - 300px);
    padding: 0 0 0 0;
}

.nav-nav-menu {
    overflow: auto;
    height: calc(100dvh - 300px)
}

.nav-tree-item {
    overflow: hidden;
    margin-top: -1px;
}

.nav-tree-item-stack {
    margin-right: 15px;
}

.content {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 90px)
}

.container {
    display: flex;
    width: 100%;
}


.resizer {
    background-color: var(--accent-base-color);
    min-width: 1px;
}

.container__left {      
    min-width: 18%;
    max-width: 18%;
    /* Misc */
    align-items: center;
    display: flex;
    justify-content: center;
}


.container__right {
    /* Take the remaining width */
    flex: 1;
    /* Misc */
    align-items: center;
    display: flex;
    justify-content: center;
    max-width: 100%;
}


.filter-container {
    max-width: 300px;
}

.dataview-content {
    /*flex-grow: 1;*/
    /*background-color: green;*/
}

.dataview-header {
    /*flex-grow: 0;*/
    margin-top: 20px;
    display:flex;
    /*background-color: red;*/
}

.dataview-footer {
    /*flex-grow: 0;*/
    display: flex;
    align-items: center;
    /*background-color: blue;*/
}

.column-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .12);
    padding: 0.3rem;
}
.notification-header {
    display: flex;
    margin-bottom: 10px
}
.notification-dismiss {
    align-self: flex-end;
}
.notification-title {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.notification-message {
    margin-bottom: 5px;
    margin-top: 5px
}

.notification-box {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .12);
    padding: 5px;
}


.notification-content {
    display: flex;
}
    
.notification-link {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
    flex:1;
}

.notification-date {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 5px;
    flex: 1;
}

.schedule-hourly-list {
    min-width: 80px;
    max-width: 80px;
}

.draggable-item {
    transition: transform 0.2s ease;
}

.dragging {
    opacity: 0.5;
    transform: scale(1.05); /* Aggiungi un effetto di espansione per evidenziare l'elemento in drag */
}

.editable-container {
    max-height: 85vh;
    overflow: auto;
    
}
.editable-container .card {
    margin-bottom:20px;
}

iframe {
    display: block; /* iframes are inline by default */
    background: #000;
    border: none; /* Reset default border */
    height: 100vh; /* Viewport-relative units */
    width: 80vw;
}



.diagram-container {
    width: 100%;
    height: calc(100% - 52px);
}

.floating.alert {
    position: absolute;
    top: 62px;
    right: 8px;
    max-width: 400px;
}

.custom-node.selected, .custom-node.selected .diagram-port {
    border: 1px solid #6e9fd4;
}

.custom-node:hover .diagram-port {
    visibility: visible;
}
.custom-node {
    will-change: transform;
}

.custom-node .diagram-port {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: 1px solid #d4d4d4;
    cursor: pointer;
    visibility: hidden;
}

    .custom-node .diagram-port:hover, .diagram-node > .card .diagram-port.has-links {
        visibility: visible;
        background-color: black;
    }

    .custom-node .diagram-port.bottom {
        position: absolute;
        bottom: -10px;
        left: 115px;
    }

    .custom-node .diagram-port.top {
        position: absolute;
        top: -10px;
        left: 115px;
    }

.diagram-canvas.grid {
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgb(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgb(0, 0, 0, 0.05) 1px, transparent 1px);
}

.colored-node {
    border: 2px solid black;
    text-align: center;
}

    .colored-node.selected {
        border-color: blue;
    }

    .colored-node .diagram-port {
        width: 30px;
        height: 30px;
    }

        .colored-node .diagram-port.blue {
            background-color: blue;
        }

        .colored-node .diagram-port.red {
            background-color: red;
        }
 

div.diagram-group:not(.default) {
    outline: 2px solid black;
    background-color: #6fbb6e;
}

    div.diagram-group:not(.default) > span.title {
        padding: 20px;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #eee;
        border: 2px solid black;
        border-radius: 50%;
        background-color: #6fbb6e;
        font-weight: bold;
        text-transform: uppercase;
    }

g.diagram-group:not(.default) rect {
    outline: 2px solid black;
}

g.diagram-group:not(.default) text {
    text-anchor: middle;
    dominant-baseline: middle;
}

.mud-custom-grid-header .column-header {
    font-size: 12px !important;
    display: block !important;
    text-align: center !important;
    background-color: #f5f7fa !important;
    color: #2d3a4a !important;
    font-weight: 400 !important;    
    padding: 8px !important;
    border-bottom: 1px solid #d8dee9 !important;
    justify-content: center !important;
}

.mudblazor-landingpage-scaled-menu {
    transform: scale(1.0);
    transform-origin: 0 0;
    box-shadow: 0 13px 27px -5px rgba(50,50,93,0.25),0 8px 16px -8px rgba(0,0,0,0.3) !important;
}

.content-content {
    display: flex;
    margin-top:30px;
    flex-direction: column;
    height: 100vh;
}

.content-toolbar {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.content-breadcrumb {
}

.card-image-left-box {
    display: flex;
    min-width: 40px
}
.card-item {
    width: calc(25% - 3em);
}
 