svg {
  background-color: #FFF;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

svg:not(.active):not(.ctrl) {
  cursor: crosshair;
}

path.link {
  fill: none;
  stroke: #000;
  stroke-width: 4px;
  cursor: default;
  stroke-dasharray: 4,3;
}

svg:not(.active):not(.ctrl) path.link {
  cursor: pointer;
}

path.link.selected {
  stroke: red;
}


path.link.addToThis {
    stroke-dasharray: 10,0;
}

path.link.dragline {
  pointer-events: none;
}

path.link.hidden {
  stroke-width: 0;
}

circle.node {
  stroke-width: 1.5px;
  cursor: pointer;
}

circle.node {
      fill: rgb(255, 255, 255);
      stroke: rgb(255, 255, 255);
}

rect.node{
    fill: rgb(255, 255, 255);
    stroke: rgb(255, 255, 255);
}

/* Node labels */
text {
  font: 12px sans-serif;
  pointer-events: none;
}

text.node-label {
  text-anchor: middle;
  font-weight: bold;
}

/* background for info box */
 .info-box {
     color: #555;
     background: #fff none;
     border: 1px solid #ccc;
     border-radius: 4px;
     box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
 }

/* context menus */

 .d3-context-menu {
    position: absolute;
    display: none;
    background-color: #f2f2f2;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    min-width: 150px;
    border: 1px solid #d4d4d4;
    z-index: 1200;
 }
 .d3-context-menu ul {
    list-style-type: none;
    margin: 4px 0;
    padding: 0;
    cursor: default;
 }
 .d3-context-menu ul li {
    padding: 4px 16px;
 }
 .d3-context-menu ul li:hover {
    background-color: #4677f8;
    color: #fefefe;
 }

.d3-context-menu ul li.is-disabled,
.d3-context-menu ul li.is-disabled:hover {
	background-color: #f2f2f2;
	color: #888;
	cursor: not-allowed;
}

.d3-context-menu ul li.is-divider {
	padding: 0 0;
}

.d3-context-menu ul li.is-divider:hover {
	background-color: #f2f2f2;
}

.d3-context-menu ul hr {
	border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}