html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
body {
  font-family: Verdana;
  font-size: 14px;
}

button, 
input[type="submit"], 
.button {
  cursor: pointer;
  border-radius: 3px;
  border: 1px #CCC solid;
  background-color: #EEE;
  color: black;
  font-size: 14px;
  margin: 1px;
  padding: 0px 6px;
}
  button:active,
  input[type="submit"]:active, 
  .button:active {
    padding-left: 7px;
    padding-right: 5px;
  }

.plugins {
  position: absolute; 
  top: 10px; 
  left: 0px;
  z-index: 2;
}
  .plugins h1 {
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    margin: 10px 0 5px 0;
    padding: 0;
  }

.graph {
  position: relative;
}
.edges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}
.svg-edges {
}
  svg g.edge path {
    fill: none;
    stroke-linejoin: bevel;
  }
  g.edge path.edge-wire {
    stroke: #CCC;
    stroke-width: 10px;
  }
    g.edge path.edge-shadow {
      stroke: #AAA;
      stroke-width: 12px;
    }
  g.edge.highlight path.edge-wire {
    stroke: #AAA;
  }
  g.edge.highlight path.edge-shadow {
    stroke: #666;
  }
  g.edge.fade path.edge-wire,
  g.edge.fade path.edge-shadow {
    stroke: #EEE;
  }
.modal-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  background-color: rgba(255, 255, 255, 0.4);  
}
  .edge-edit-box {
    position:absolute;
    z-index: 9999;
    border: 1px black solid;
    background-color: rgba(255, 255, 255, 0.9);  
  }
.nodes {
  position: absolute;
  top: 0;
  left: 0;  
  z-index: 3;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.node {
  position: absolute;
  display: inline-block;
  width: 200px;
  border: 1px black solid;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 0;
}
  .node .outer {
    position: absolute;
    top:0;right:0;bottom:0;left:0;
    z-index: -1;
  }
    .node.ui-selected .outer {
      background-color: white;
    }
    .node.ui-selected .outer {
      border: 3px black solid;
      top:-3px;right:-3px;bottom:-3px;left:-3px;
    }
  .node.helper {
    border-style: dotted;
    background-color: rgba(255, 255, 255, 0.5);
  }
  .node h1 {
    cursor: move;
    font-size: 20px;
    font-weight: normal;
    margin: 0;
    padding: 0;
  }
  .node .controls {
  }
    .node .controls .delete {
      margin-right: 10px;
    }

.graph-controls {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 4;
}

.ins {
  text-align: left;
}
  .in .label {
    margin-left: 0.25em;
  }
.outs {
  text-align: right;
}
  .out .label {
    margin-right: 0.25em;
  }
.ports ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
  .ports .port {
    border: 1px gray solid;
    margin: 0;
    padding: 0;
  }
    .ports .port.droppable-hover {
      border-color: black;
    }
    .port .hole {
      cursor: pointer;
      width: 18px;
      height: 18px;
      display: inline-block;
      border: 1px black solid;
    }
    .port .plug {
      width: 20px;
      height: 20px;
      display: inline-block;
    }
      .port .plug.active,
      .port .plug.helper {
        cursor: pointer;
        background-color: #AAA;
      }

.helper{
  z-index: 9999;
}


.input-container {
  margin-left: 0.25em;
}
  .input-string, 
  .input-int, 
  .input-float, 
  .input-select {
    width: 4em;
    vertical-align: top;
  }
  .input-select {
    width: 5em;
  }
  .input-bang {
    vertical-align: top;
  }


/*jqui*/

.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 20px; height: 20px; right: -5px; bottom: -5px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
