﻿.zk-drawer-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.zk-drawer-scroll-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: var(--zk-space-4);
}

.zk-drawer-fixed {
    position: fixed !important;
    top: var(--zk-drawer-top-offset) !important;
    height: calc(100dvh - var(--zk-drawer-top-offset) - var(--zk-drawer-inset-y)) !important;
    max-height: calc(100vh - var(--zk-drawer-top-offset) - var(--zk-drawer-inset-y));
    overflow-x: hidden;
}

.zk-drawer-footer {
    flex: 0 0 auto;
    padding: var(--zk-space-3) var(--zk-space-4) var(--zk-space-4) 0;
}

.alarm-overlay {
    background-color: rgba(255, 0, 0, 0.5);
    /* cursor: pointer; */
    /* display: none; */
    position: absolute;
    opacity: 0;
    width: 99.5%;
    height: 99.5%;
    z-index: 2;
    pointer-events: none;
}

.floor-plan-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: solid;
    border-width: thin;
    color: #065C7E;
    margin: 20px;
    overflow: clip;
}

.map-view {
    outline: 1px solid;
    margin: 20px;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
}

.position-relative {
    position: relative !important;
}

.zone-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    pointer-events: none;
}

.drawing-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    pointer-events: none;
}

.mobileNodeIcon {
    position: relative;
    text-align: left;
    width: 20px;
    height: 20px;
    z-index: 30;
}

.blinking-border {
    border-style: solid;
    border-radius: 28px;
    border-width: 3px;
    padding: 3px 3px 3px 3px;
    margin: 6px;
    border-color: rgba(0,0,0,0);
    animation-name: blinkingBorderKeyframes;
    animation-duration: 1s;
    animation-iteration-count: 8;
}

.blinking-border-arrow {
    border-style: solid;
    border-radius: 28px;
    border-width: 3px;
    padding: 0px 3px 5px 3px;
    margin: 6px;
    border-color: rgba(0,0,0,0);
    animation-name: blinkingBorderKeyframes;
    animation-duration: 1s;
    animation-iteration-count: 8;
}

@keyframes blinkingBorderKeyframes {
    50% {
        border-color: var(--blinking-border-color);
    }
}

.mobileNodeIcon img {
    height: 14px;
    width: 14px;
    vertical-align: top;
    transform: translate(-50%, -50%);
}

.proximityAnchorIcon img {
    height: 30px;
    width: 30px;
    vertical-align: top;
    transform: translate(-50%, -50%);
}

.proximityAnchorConnectedIcon img {
    height: 40px;
    width: 40px;
    vertical-align: top;
    transform: translate(-50%, -50%);
}

.normalAnchorIcon img {
    height: 20px;
    width: 20px;
    vertical-align: top;
    transform: translate(-50%, -50%);
}

.mobileNodeInfo {
    margin: 0px;
    padding: 0px;
    position: absolute;
    z-index: 30 !important;
    pointer-events: all;
}

.mobileNodeInfoPopup {
    width: 230px;
    height: auto;
    font-size: 10px;
    position: absolute;
    border-width: 1px;
    border-radius: 6px;
    background-color: var(--mud-palette-background);
    z-index: var(--mud-zindex-drawer);
}

.mobileNodePopupText {
    font-size: 12px;
    padding: 0;
    margin: 0;
    overflow-wrap: break-word;
}

.mobileNodePopupImage
{
    object-fit: fill;
    width: 50px;
    height: 50px;
}

.move-to {
    position: absolute;
    height: 100%;
    width: 100%;
    /*animation: move @AnimationTime linear forwards;*/
    pointer-events: none;
    z-index: 1000;
}

.mt-150 {
    margin-top: 150px;
}

.border-container {
    outline: 3px solid var(--mud-palette-primary);
}

.draggable-container {
    position:relative;
    outline: 3px solid var(--mud-palette-primary);
}

.draggable-container-header {
    background-color: var(--mud-palette-primary);
    position: relative;
    top: -3px;
    outline: 3px solid var(--mud-palette-primary);
    color: white;
}

.previewGrid {
    aspect-ratio: 1 / 1;
}

.view-layout-container {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    position: relative;
    overflow: hidden;
}

@keyframes flashGreen {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: green;
    }

    100% {
        border-color: transparent;
    }
}

.flash-green-border {
    animation: flashGreen 1s infinite;
    border: 10px solid transparent;
}


@keyframes flashRed {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: red;
    }

    100% {
        border-color: transparent;
    }
}

.flash-red-border {
    animation: flashRed 1s infinite;
    border: 10px solid transparent;
}