/**
 * Core styles for the library
 */

.tag-element text {
  text-anchor: middle;
}

.row-drag {
  stroke-width: 2;
  stroke-dasharray: 2, 1;
  stroke: rgba(100, 100, 100, 0.3);
  transition: stroke 300ms ease;
  cursor: row-resize;
}

.row-drag-compact {
  cursor: default;
}

.row-drag:hover {
  stroke-dasharray: none;
  stroke: rgba(100, 100, 100, 0.8);
}

.word text {
  font-size: 16px;
  fill: black;
}

.word-cluster path,
.word path {
  stroke: #333;
  fill: none;
}

.word .word-text {
  cursor: pointer;
}

.word-cluster text,
.word .word-tag {
  font-size: 12px;
  cursor: text;
}

.word-cluster text,
.word .word-tag {
  fill: #333;
}

.word .syntax-tag {
  fill: rgb(208, 150, 143);
}

.toggle-syntax .syntax-tag,
.toggle-syntax .syntax-link {
  display: none;
}

.editing .word-tag,
.editing-text,
.editing text {
  fill: #fff !important;
}

.editing-rect,
.editing rect {
  fill: #a94442;
}

/**
 * Links and link lines (which are SVG Paths)
 */
.link {
  fill: #6590b4;
  stroke-width: 1.5px;
}

.link-main-label {
  font-weight: bold;
  font-size: 12px;
}

.link-arg-label {
  font-size: 11px;
}

.link-text-bg {
  fill: #fff;
}

.link.syntax-link {
  fill: #999;
}

.link:hover {
  stroke-width: 2.5px;
}

.link path {
  stroke: #6590b4;
  fill: none;
}

.syntax-link path {
  stroke: #999;
  fill: none;
}
