﻿.enable-gpu-acceleration {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

.surface-container {
    position: absolute;
    top: 0;
    left: 0;
}

viewport {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.logo-iknl {
    font-size: 32px;
    padding: 2px 8px;
}

.guide-tools {
    z-index: 997;
    position: absolute;
    top: 10px;
    right: 8px;
}

    .guide-tools ul {
        list-style: none;
        padding: 0px;
    }

        .guide-tools ul li {
            width: 36px;
            display: inline-block;
            vertical-align: middle;
            text-align: center;
            cursor: pointer;
            line-height: 46px !important;
            font-size: 24px !important;
            color: white !important;
        }

    .guide-tools li:hover, .guide-tools li.active {
        color: white;
    }

    .guide-tools i.disabled {
        color: white;
        opacity: 0.5;
        background: none !important;
        cursor: not-allowed;
    }

.viewport-container, .prediction-model {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}

.read-only .viewport-container {
    bottom: 0;
}

.viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;
    cursor: -webkit-grab;
}

.node {
    position: absolute;
    border-radius: 32px;
    z-index: 999;
    cursor: pointer;
    text-align: center;
    padding: 0 20px;
}

    .node .node-body {
        display: inline-block;
        vertical-align: middle;
        line-height: normal;
        margin: 4px 0;
    }

    .node.info {
        position: absolute;
        z-index: 999;
        text-align: center;
    }

    .node > .more-info-icon {
        position: absolute;
        left: 200px;
        top: 85px;
        font-size: 20px;
        border-radius: 10px;
    }


    .node.recommendation {
        border-radius: 0px;
        cursor: pointer;
    }

    .node.reference,
    .node.environment-reference,
    .node.nav-stack {
        border-radius: 8px;
        cursor: pointer;
    }

        .node.reference.bib {
            border-radius: 32px;
            background-color: white;
        }

.transitioning .node {
    cursor: grab;
    cursor: -webkit-grab;
}

.outlining {
    display: block;
    position: absolute;
    top: 25px;
    top: calc(50% - 20px);
    right: -20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-style: solid;
    border-width: 3px;
    font-size: 20px;
    cursor: pointer;
}

.transitioning .outlining {
    cursor: grab;
    cursor: -webkit-grab;
}

.outlining i {
    display: inline-block;
    vertical-align: 32px;
}

.node.disabled > .outlining {
    cursor: default;
}

g.highlight {
    stroke-width: 4;
}

g.enabled {
    stroke-width: 2;
}

g.disabled {
    stroke-width: 2;
}

.node.disabled, .connector.disabled {
    z-index: 0;
    cursor: default;
}

.connector-container {
    position: absolute;
    width: 40px;
    height: 40px;
    line-height: 40px;
    z-index: 999;
    border-radius: 50%;
}

    .connector-container:not(.readonly) {
        cursor: pointer;
    }

.transitioning .connector-container {
    cursor: default;
}

.disabled + .connector-container {
    cursor: default;
}

.connector {
    width: 20px;
    height: 20px;
    z-index: 999;
    border-radius: 50%;
}

.connector-label {
    min-width: 6px;
    position: absolute;
    padding-bottom: 2px;
    margin-bottom: 10px;
    text-align: center;
}

    .connector-label p {
        margin: 0;
        white-space: nowrap;
    }

.blocked:before {
    font-family: "Font Awesome 5 Pro";
    content: '\f05e';
    font-size: 24px;
    position: absolute;
    top: -10px;
    left: -2px;
}

.project-menu {
    top: 0;
    bottom: 40px;
    left: 0;
    right: 0;
    position: absolute;
}

.read-only .project-menu {
    bottom: 0;
}

.guideline-img {
    cursor: pointer;
}

.bab-popup {
    z-index: 1000;
    position: absolute;
    display: block;
    white-space: nowrap;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.bab-list {
    list-style-type: none;
    padding: 0;
    margin: 2px 8px;
}

.bab-list-item {
    border-bottom: 1px solid #dddddd;
    padding: 8px 8px;
    margin: 0;
    cursor: pointer;
}

    .bab-list-item:last-child {
        border-bottom: 0;
    }

.popover {
    cursor: default;
    max-width: none;
}

.popover-content {
    padding: 0;
    color: #246D8B;
    white-space: nowrap;
}

    .popover-content .list-group {
        margin: 0;
    }

        .popover-content .list-group .list-group-item {
            border-top: 0;
            border-left: 0;
            border-right: 0;
            border-bottom: 1px solid #dddddd;
            padding: 8px 8px;
            margin: 0;
            cursor: pointer;
        }

            .popover-content .list-group .list-group-item:last-child {
                border-bottom: 0;
            }

.app-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #246D8B;
    z-index: 9999;
}

    .app-loading div {
        position: absolute;
        top: 50%;
        top: calc(50% - 40px);
        left: 50%;
        left: calc(50% - 40px);
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

    .loading-screen div.sk-chasing-dots {
        position: absolute;
        top: 50%;
        top: calc(50% - 40px);
        left: 50%;
        left: calc(50% - 40px);
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }

    .loading-screen div.btn {
        position: absolute;
        top: 2px;
        right: 15px;
        color: white;
        font-size: 28px;
    }

.read-only-warning-container {
    z-index: 1031;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    /*width: unset;*/
}

.read-only-warning {
    max-width: 50%;
    position: relative;
    padding: 8px 32px 8px 12px;
    border-radius: 2px;
}

    .read-only-warning .text {
        font-weight: normal;
        color: #777;
        display: inline;
        line-height: 24px;
        vertical-align: text-bottom;
    }

.animate-switch.ng-animate {
    transition: all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.animate-switch.ng-leave.ng-leave-active,
.animate-switch.ng-enter {
    top: -50px;
}

    .animate-switch.ng-leave,
    .animate-switch.ng-enter.ng-enter-active {
        top: 0;
    }

.readonly .radio label, .checkbox label {
    cursor: default;
}

.close-right {
    position: absolute;
    right: 0;
    top: 6px;
}


.animate-show-out {
    text-align: center;
}
