﻿:root {
    --tile-width: 20em;
    --tile-height: 11em;
    --folded-tile-fold-size: 2.5em;
    --folded-tile-backside-color: #dcdad8;
    --folded-tile-surrounding-color: #fff;
}


.my-component {
    border: 2px dashed red;
    padding: 1em;
    margin: 1em 0;
    background-image: url('background.png');
}



.fullcontentheight {
    height: calc(100vh - 90px);
}

.fullheight-minus-headline {
    height: calc(100vh - 80px);
}

.clip-y {
    overflow-y: hidden;
}

.clip-x {
    overflow-x: hidden;
}


.rotated-centered--90 {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    -o-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.rotated--90 {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.sidepanelgrip:hover {
    background-color: #f5f5f5;
}


.BackButton {
    color: black;
}

a:hover {
    text-decoration: none;
}


.Tile {
    width: var(--tile-width);
    height: var(--tile-height);
    margin: 0.6em;
    padding: 0.6em;
    background-color: #163D58;
    border-radius: 0.2em 0.2em 0.2em 0.2em;
    box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.3), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
}

    .Tile:hover {
        background-color: gray;
        text-decoration: none;
    }

        .Tile:hover a {
            text-decoration: none;
        }

        .Tile:hover .TileHeadline1 {
            color: white;
            font-size: 1.5em;
        }

        .Tile:hover .TileHeadline2 {
            color: white;
            font-size: 0.7em;
        }

    .Tile .TileHeadline1 {
        color: white;
        font-size: 1.5em;
    }

    .Tile .TileHeadline2 {
        color: white;
        font-size: 0.7em;
    }

    .Tile a {
        text-decoration: none !important;
    }

        .Tile a:hover {
            text-decoration: none !important;
        }

    .Tile .ImageStyleClass {
        color: white;
        width: 50px;
    }

    .Tile .TileCount {
        color: white;
        font-size: 4em;
        font-weight: bold;
        text-align: center;
    }

    .Tile .TileCountSecondary {
        vertical-align: bottom;
        padding-top:.3em;
        margin-left: .3em;
        font-size: .7em;
        opacity: .8;
    }

    .Tile .TileIcon {
        right:0;
        bottom:0;
        color:cadetblue;
    }

    .Tile.FolderTile {
        position: relative;

        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

        .Tile.FolderTile:before {
            content: "";
            position: absolute;

            top: 0;
            left: 0;

            width: var(--tile-width);
            height: calc(var(--tile-height) - var(--folded-tile-fold-size));
            margin-top: var(--folded-tile-fold-size);

            border-radius: 0.2em 0.2em 0.2em 0.2em;
            box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.3), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
        }

        .Tile.FolderTile:after {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            
            border-bottom: var(--folded-tile-fold-size) solid var(--folded-tile-backside-color);
            border-right: var(--folded-tile-fold-size) solid var(--folded-tile-surrounding-color);
            
            -webkit-box-shadow: -2px 2px 2px rgba(0,0,0,0.2);
            -moz-box-shadow: -2px 2px 2px rgba(0,0,0,0.2);
            box-shadow: -2px 2px 2px rgba(0,0,0,0.2);

            /* Firefox 3.0 damage limitation */
            display: block;
            width: 0;
            height: 0;
        }

    .Tile.FolderTile.rounded:before {
        /*border-width: 6px;
        border-color: #f00 #fff transparent transparent;
        -moz-border-radius: 0 0 0 5px;
        border-radius: 0 0 0 5px;*/
    }

    .Tile.PlugInTile {
        -moz-border-radius: 0 0 5em 0;
        border-radius: 0 0 5em 0;
    }

    .PlugInTileOwnerImage {
        position: absolute;
        bottom: 0.75em;
        right: 1.5em;
        width: 3em;
        height: 2em;
        text-align: center;
    }

        .PlugInTileOwnerImage img {
            max-height: 2em;
            max-width: 3em;
        }


.ToolTip.beak {
    position: relative;
    width: 0;
    height: 0;
    border-left: 1em solid transparent;
    border-right: 1em solid transparent;
    border-top: 1em solid white
}


.popover-wrapper {
    margin: 50px;
    border-radius: 3px;
    position: absolute;
    z-index: 3;
    box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);
}

.popover-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 3px;
}

.popover-arrow {
    position: absolute;
}

    .popover-arrow.arrow-north {
        right: calc(50% - -10px);
        top: -9px;
    }

    .popover-arrow.arrow-south {
        right: calc(50% - -10px);
        transform: rotate(-90deg);
        bottom: -9px;
    }

    .popover-arrow.arrow-east {
        left: -9px;
        top: calc(50% - -10px);
        transform: rotate(-90deg);
    }

    .popover-arrow.arrow-west {
        right: 11px;
        top: calc(50% - -10px);
        transform: rotate(-90deg);
    }

    .popover-arrow:before {
        display: block;
        position: absolute;
        width: 20px;
        height: 20px;
        transform: rotate(45deg);
        border-radius: 2px;
        content: "";
        background: #fff;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    }

    .popover-arrow:after {
        content: "";
        display: block;
        position: absolute;
        z-index: 1;
        left: auto;
        background: #fff;
        width: 20px;
        height: 20px;
        transform: rotate(45deg);
        border-radius: 2px;
    }




.toast:hover {
    cursor: pointer;
}

.toastProgressBar {
    width: 100%;
}

.bg-info-light {
    background-color: #f0f0ff;
}

.bg-success-light {
    background-color: #d0ffd0;
}

.bg-warning-light {
    background-color: #ffe0d0;
}

.bg-danger-light {
    background-color: #ffd0d0;
}

.colored-node {
    border: 2px solid black;
    text-align: center;
}

    .colored-node.selected {
        border-color: blue;
    }

    .colored-node .port {
        width: 30px;
        height: 30px;
    }

        .colored-node .port.blue {
            background-color: blue;
        }

        .colored-node .port.red {
            background-color: red;
        }

.group.custom {
    outline: 2px solid black;
    background-color: #6fbb6e;
}

    .group.custom > 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;
    }
/* ------------------------------------Blazor Diagrams Start----------------------------------------------------- */
.diagram-canvas {
    width: 100%;
    height: 100%;
    position: relative;
    outline: none;
    overflow: hidden;
    cursor: -webkit-grab;
    cursor: grab;
    touch-action: none;
}

.diagram-svg-layer, .diagram-html-layer {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    position: absolute;
    pointer-events: none;
    -webkit-transform-origin: 0px 0px;
    -ms-transform-origin: 0px 0px;
    transform-origin: 0px 0px;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.html-layer, .svg-layer {
    position: absolute;
    pointer-events: none;
    -webkit-transform-origin: 0px 0px;
    -ms-transform-origin: 0px 0px;
    transform-origin: 0px 0px;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.node {
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: move;
    pointer-events: all;
}

    .node.locked {
        cursor: pointer;
    }

.link {
    pointer-events: visiblePainted;
    cursor: pointer;
}

    .link path.selection-helper:hover {
        stroke-opacity: 0.05;
    }

.diagram-navigator {
    z-index: 10;
}

    .diagram-navigator .current-view {
        position: absolute;
        border: 2px solid black;
    }

.group {
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: move;
    pointer-events: all;
}

    .group .layer {
        position: absolute;
        overflow: visible;
        pointer-events: none;
    }

.link foreignObject {
    overflow: visible;
    pointer-events: none;
}

.default-node {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    background-color: #f5f5f5;
    border: 1px solid #e8e8e8;
    -webkit-box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0,0,0,.12);
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0,0,0,.12);
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

    .default-node.selected {
        border: 1px solid #6e9fd4;
    }

        .default-node.selected .port {
            border: 1px solid #6e9fd4;
        }

    .default-node .port, .default.group .port {
        width: 20px;
        height: 20px;
        margin: -10px;
        border-radius: 50%;
        background-color: #f5f5f5;
        border: 1px solid #d4d4d4;
        cursor: pointer;
        position: absolute;
    }

        .default-node .port:hover, .default-node .port.has-links, .default.group .port.has-links {
            background-color: black;
        }

        .default-node .port.bottom, .default.group .port.bottom {
            bottom: 0px;
            left: 50%;
        }

        .default-node .port.bottomleft, .default.group .port.bottomleft {
            bottom: 0px;
            left: 0px;
        }

        .default-node .port.bottomright, .default.group .port.bottomright {
            bottom: 0px;
            right: 0px;
        }

        .default-node .port.top, .default.group .port.top {
            top: 0px;
            left: 50%;
        }

        .default-node .port.topleft, .default.group .port.topleft {
            top: 0px;
            left: 0px;
        }

        .default-node .port.topright, .default.group .port.topright {
            top: 0px;
            right: 0px;
        }

        .default-node .port.left, .default.group .port.left {
            left: 0px;
            top: 50%;
        }

        .default-node .port.right, .default.group .port.right {
            right: 0px;
            top: 50%;
        }

.diagram-navigator.default {
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: 3px solid #9BA8B0;
    border-radius: 15px;
    padding: 20px;
    background-color: white;
}

.group.default {
    outline: 2px solid black;
    background: rgb(198, 198, 198);
}

    .group.default.selected {
        outline: 2px solid #6e9fd4;
    }

.link .link-label {
    display: inline-block;
    color: #fff;
    background-color: rgb(110, 159, 212);
    border-radius: 0.25rem;
    padding: 0.25rem;
    text-align: center;
    font-size: 0.875rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-width: 3rem;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loader {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
}

    .loader::before {
        content: "";
        box-sizing: border-box;
        position: absolute;
        inset: 0px;
        border-radius: 50%;
        border: 5px solid blue;
        animation: prixClipFix 2s linear infinite;
    }

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)
    }

    25% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)
    }

    50% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)
    }

    75% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)
    }

    100% {
        clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)
    }
}

.graphLoadingAnimation {
    display: flex;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(255,255,255,0.3);
    justify-content: center;
    align-items: center;
}

.graphNodeCustom {
    transition: background-color 0.25s;
    background-color: #899499 !important;
    color: #fff !important;
}

    .graphNodeCustom:hover {
        background-color: #10A5F5;
    }

.tooltipIconNode {
    cursor: pointer;
}

.graphHeader {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.graphHeaderBtn {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    background-color: #008db9;
    border: none;
    margin-right: 20px;
    margin-top: 10px;
    transition: background-color 0.2s;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.contactNode {
    background-color: blue !important;
    border-radius: 25px;
    border: 1px solid;
}

.personNode {
    background-color: red !important;
    border-radius: 25px;
    border: 1px solid;
}

.rootNode {
    border: 3px solid #10ff00 !important;
}

    .graphHeaderBtn:hover {
        cursor: pointer;
        background-color: #10A5F5;
    }

/* ------------------------------------Blazor Diagrams End----------------------------------------------------- */


/* ------------------------------------TimeLine Start----------------------------------------------------- */


.Timeline {
    display: flex;
    flex-direction: row;
    height: clamp(10vh,15vh,20vh);
    width: 100%;
}

.TimeLineBubbleRow {
    transition: background-color 0.3s;
    border-bottom: 1px solid black;
    display: flex;
    flex-direction: column;
    height: 75%;
    width: 50px;
}


.TimeLineRow {
    height: 100%;
    display: flex;
    flex-flow: column;
    flex: 1 1 0px;
}


.InteractionBubble {
    height: clamp(5px,15px,30px);
    width: clamp(5px,15px,30px);
    margin: clamp(-10px,-15px,-30px);
    background-color: #78bbff;
    border-radius: 100%;
    position: relative;
    transition: background-color 0.3s;
}

    .InteractionBubble:hover {
        background-color: #0061c3;
        cursor: pointer;
    }

.TimeLineBubbleColumn {
    height: 75%;
    width: 100%;
    border-right: solid rgba(108,122,137,0.4) 1px;
    border-top: solid rgba(108,122,137,1) 1px;
    border-bottom: solid rgba(108,122,137,1) 2px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}


.TimeLineNumberColumn {
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25%;
    width: 100%;
    border-bottom: solid rgba(108,122,137,1) 1px;
}

.TimeLineRow:first-of-type{
    border-left: solid rgba(108,122,137,1) 1px;
}

.TimeLineRow:last-of-type {
    border-right: solid rgba(108,122,137,1) 1px;
}


.BubbleToolTip {
    height: 100%;
    width: 100%;
}

/* ------------------------------------TimeLine End-------------------------------------------------------- */