html {
    background-color: lightgrey;
}
body {
    margin: 0px;
    background-color: lightgrey;
}
.addingEdgeFormBox {
    position: absolute;
    border-radius: 1em;
    padding: .5em;
    background-color: lightgray;
}
.addingEdgeFormBox button {
    border-radius: .5em;
}


/* HTML Styles  */
.draggingVisualizable input[type=url] {
    border: 1em solid var(--input-border);
    border-color: red;
    border-style: dotted;

  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;

}
input[type=url]:hover {
    background-color: gold;
    border-style: dashed;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

.draggedChit {
    font-style: bold;
    position: absolute;
    border: 2px;
    border-color: black;
    background-color: lightblue;
    margin: 5px;
    border-radius: 1em;
    cursor: move;
    z-index: 1000;
}
.dropzone {
    border-width: 2px;
    border-color: green;
}


/* NEWS */
.NEWS {
    height: 1.5em;
    width: 1.5em;
    cursor: pointer;
    border-radius:inherit;
    z-index: 2000;
}

.PanelMenu,
.Visualizations,
.MainMenu,
.Replace,
.North,
.South,
.East,
.West {
    user-select: none;
    display: none;
    font-size: large;
    font-weight: bold;
    background-color: limegreen;
    position: absolute;
    height: 1.5em;
    width: 1.5em;
    cursor: pointer;
    border-radius: inherit;
    z-index: 2000;
}

.TopMenu {
    top: 0em;
    right: 3em;
}

.MainMenu {
    background-color: orange;
    top: 0px;
    text-align: center;
    width: auto;
    min-width: 1em;
    padding: .2em;
    padding-left: .4em;
    padding-right: .4em;
    border-bottom-right-radius:.5em;
    border-bottom-left-radius:.5em;
}

.VisibleMenu {
    display: block !important;
    z-index: 2000;
}

.TheMainMenu {
    display: none;
    position: absolute;
    top: 2.2em;
    right: 1em;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    font-family: Arial, sans-serif;

    ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    li {
        display: flex;
        align-items: center;
        padding: .1em .2e;
        transition: background-color 0.3s;
        
        &:hover {
            background-color: #e0e0e0;
            cursor: pointer;
        }
    }

    i {
        font-style: normal;
        font-size: 20px;
        width: 30px;
        text-align: center;
        margin-right: 10px;
    }
    
    span {
        font-size: 16px;
    }
    
    .CurrentUserItem {
        background-color: #d0d0d0;
        font-weight: bold;
    }
    
    .menudiv {
        height: 1px;
        background-color: #ccc;
        margin: 8px 0;
        padding: 0;
        
        &:hover {
            background-color: #ccc;
            cursor: default;
        }
    }

    .codeQuality::after {
        content: '';
    }
}
.MainMenu {
    display: inherit;
    right: 2em;
}

.PanelMenu {
    display: inherit;
    background-color: gray;
    top: 0em;
    width: auto;
    padding: .2em !important;
    border-radius:.5em;
    display: flex;
    justify-content: flex-start;
}

.Visualizations {
    display: none;
    background-color: lightblue;
    left: 8em;
    top: 0px;
    width: auto;
    /* padding-right: .4em; */
    border-bottom-left-radius:.5em;
    border-bottom-right-radius:.5em;
}
.Replace {
    text-align: center;
    margin-left: -0.75em;
    left:50%;
    margin-top: -0.75em;
    top:50%;
    border-radius:.5em;
}
.North {
    text-align: center;
    left:50%;
    margin-left: -0.75em;
    top:0px;
    border-bottom-left-radius:.5em;
    border-bottom-right-radius:.5em;
}
.East {
    text-align: center;
    top:50%;
    margin-top: -0.75em;
    right:0px;
    border-top-left-radius:.5em;
    border-bottom-left-radius:.5em;
}
.West {
    text-align: center;
    top:50%;
    margin-top: -0.75em;
    left:0px;
    border-top-right-radius:.5em;
    border-bottom-right-radius:.5em;
}
.South {
    text-align: center;
    left:50%;
    margin-left: -0.75em;
    bottom:0px;
    border-top-left-radius:.5em;
    border-top-right-radius:.5em;
}
.East,
.West {
    /* baseline shift */
}

.draggingVisualizable .Visualizations,
.draggingVisualizable .Replace,
.draggingVisualizable .East,
.draggingVisualizable .West,
.draggingVisualizable .North,
.draggingVisualizable .South {
  display: inherit;
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.draggingVisualizable .Visualizations:hover,
.draggingVisualizable .Replace:hover,
.draggingVisualizable .East:hover,
.draggingVisualizable .West:hover,
.draggingVisualizable .North:hover,
.draggingVisualizable .South:hover {
  scale: 2;
}

/* CORNERS */

.Actions,
.Close {
    height: 1.5em;
    width: 1.5em;
    cursor: pointer;

    z-index: 2000;
}
.Actions,
.Close {
    position: absolute;
    padding: .25em;
}

.Actions { /* BottomLeft */
    bottom:0px;
    left:0px;
    background-color:green;
    text-align:right;
    border-top-right-radius:1.5em;
    vertical-align:text-top;
    z-index:5004;
}
.Close { /* TopRight */
    background-color:lightcoral;
    top:0px;
    right:0px;
    border-bottom-left-radius:1.5em;
    vertical-align:text-bottom;
}
