.modelerNode {
  font-size: 1em;
  position: absolute;
  border: 0;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.modelerNode.draggingFrame {
  border: 2px solid #cdcdcd;
  z-index: 8;
}

.modelerNode .assigneeFrame,.modelerNode .pictureFrame {
  position: absolute;
  top: -30%;
  z-index: 5;
  left: 80%;
  height: 60%;
  border-radius: 50%;
}

.swimlaneAssigneeIcon {
  font-size: unset; /* Needed for Firefox to remove the global override in GlobalStyles.css */
  margin-left: 0.75em;
  height: calc(1em + 4px);
  max-height: 80%;
}

.modelerNode .fitParentContainer,.modelerNode .ifmFrame,.modelerNode .eventsFrame,.modelerNode .frame
  {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline;
}

.modelerNode .frame {
  /* Note that IE11 doesn't support the CSS filter property */
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.15))
}

.integration_logo {
  position: relative;
  max-width: 55%;
  max-height: 62.5%;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.modelerNode .eventsFrame {
  z-index: 3;
}

.modelerNode .ifmFrame {
  z-index: 4; /* We want the monitoring borders to be on top of the event nodes */
}

.modelerNode .outerFrame {
  position: absolute;
  z-index: 2;
  display: none;
}

.modelerNode .selectionFrame {
  position: absolute;
  z-index: 8;
  display: none;
}

div.showNodeAnchor img.nodeAnchor,
div.showOtherAnchor img.nodeAnchor,
div.showOtherAnchor img.otherAnchor {
  display: block;
}

img.nodeAnchor,
img.otherAnchor {
  display: none;
}

.printFlow textarea.modelerNodeLabel,
.modelerNode textarea.modelerNodeLabel {
  font-size: 1em;
  line-height: 1.3;
  position: absolute;
  overflow: hidden;
  text-align: center;
  z-index: 2;
  margin: 0;
  background: none transparent repeat 0% 0%;
  border: 1px solid transparent; /* Prevents text from jumping to the right on focus. */
}

textarea.fixedHeightLabel {
  /* IE and Safari need to specifically set a textarea height, otherwise it will not account for line-height.
   * IE will cut off text at the bottom and Safari will show too much text. Value is calculated from the 
   * line height of 1.3 multiplied by 2 rows plus a small buffer */
  height: 2.7em;
}

.printFlow textarea.modelerNodeLabel {
  display: block;
  position: static;
}
.printFlow.nodeLabelFocus textarea.modelerNodeLabel {
  overflow-y: auto;
}
.printFlow.nodeLabelFocus textarea.modelerNodeLabel,
.modelerNode.nodeLabelFocus textarea.modelerNodeLabel {
  background: white;
  margin: 0;
  border: 1px solid black;
  border-radius: 2px;
  outline: none; /* Disable browser default focus outline. */
}

/* SmartNodes, LogicNodes & EventNodes */ /* Reference Container */
.modelerNode.smartNode {
  width: 60px;
  height: 40px;
}

.modelerNode.logicNode {
  width: 34px;
  height: 34px;
}

.modelerNode.eventNode {
  width: 28px;
  height: 28px;
}

.modelerNode.smartNode textarea.modelerNodeLabel {
  left: -50%;
  top: 110%; /* Push the label 10% lower to reserve space for the exceptionFrame, escalationFrame, and mniFrame */
  width: 200%;
}

.modelerNode.eventNode textarea.modelerNodeLabel {
  left: -162%;
  top: 110%; /* Push the label 10% lower to reserve space for the exceptionFrame, escalationFrame, and mniFrame */
  width: 428%;
}

.modelerNode.logicNode textarea.modelerNodeLabel {
  left: -118%;
  top: 110%; /* Push the label 10% lower to reserve space for the exceptionFrame, escalationFrame, and mniFrame */
  width: 332%;
}

/* Start indicator icons */

.modelerNode .exceptionFrame {
  position: absolute;
  left: 7%; /* first column */
  top: 78%;
  width: 25%;
  height: 37.5%; /* need a height here because this is a div wrapper around the actual icon */
  z-index: 7;
  display: inline;
}

.modelerNode .smartNodeSubProcessFrame,
.modelerNode .mniFrame,
.modelerNode .loopFrame {
  position: absolute;
  left: 37%; /* second column */
  top: 78%;
  width: 25%;
  z-index: 4;
  display: inline;
}

.modelerNode .eventNodeSubProcessFrame {
  position: absolute;
  left: 24%;
  top: 63%;
  width: 53%;
  height: 53%;
  z-index: 4;
  display: inline;
}

.modelerNode .escalationFrame,
.modelerNode .quickTaskFrame {
  position: absolute;
  left: 67%; /* third column */
  top: 78%;
  width: 25%;
  z-index: 4;
  display: inline;
}

/* End indicator icons */

.modelerNode .smartNodeAnchor0,.modelerNode .smartNodeAnchor1,.modelerNode .smartNodeAnchor2,.modelerNode .smartNodeAnchor3
  {
  position: absolute;
  width: 15%;
  height: 22.5%;
  z-index: 7;
}

.modelerNode .smartNodeAnchor0 {
  left: 43.5%;
  top: -10%;
}

.modelerNode .smartNodeAnchor1 {
  right: -6%;
  top: 40%;
}

.modelerNode .smartNodeAnchor2 {
  left: 43.5%;
  bottom: -10%;
}

.modelerNode .smartNodeAnchor3 {
  left: -6%;
  top: 40%;
}

.modelerNode .eventNodeAnchor0,.modelerNode .eventNodeAnchor1,.modelerNode .eventNodeAnchor2,.modelerNode .eventNodeAnchor3
  {
  position: absolute;
  width: 25%;
  height: 25%;
  z-index: 7;
}

.modelerNode .eventNodeAnchor0 {
  left: 40%;
  top: -8%;
}

.modelerNode .eventNodeAnchor1 {
  right: -8%;
  top: 40%;
}

.modelerNode .eventNodeAnchor2 {
  left: 40%;
  bottom: -8%;
}

.modelerNode .eventNodeAnchor3 {
  left: -8%;
  top: 40%;
}

.modelerNode .nodestats {
  position: absolute;
  background: #f5f5f5;
  display: none;
  width: 300%;
  border: 1px solid #b4b4b4;
  top: 185%;
  left: -5%;
}

.modelerNode .nodestats table {
  font-size: 0.8em;
}

.modelerNode .nodestats td {
  padding: 2px 4px;
  font-size: 1em;
}

.modelerNode .logicNodeAnchor0,.modelerNode .logicNodeAnchor1,.modelerNode .logicNodeAnchor2,.modelerNode .logicNodeAnchor3
  {
  position: absolute;
  width: 25%;
  height: 25%;
  z-index: 7;
}

.modelerNode .logicNodeAnchor0 {
  left: 40%;
  top: -8%;
}

.modelerNode .logicNodeAnchor1 {
  right: -6%;
  top: 40%;
}

.modelerNode .logicNodeAnchor2 {
  left: 40%;
  bottom: -8%;
}

.modelerNode .logicNodeAnchor3 {
  left: -6%;
  top: 40%;
}

.modelerNode.smartNodeSelected .outerFrame {
  left: -6%;
  top: -9%;
  width: 112%;
  height: 118%;
  display: inline;
}

.exceptionFrame .outerFrame,.modelerNode.eventNodeSelected .outerFrame {
  left: -14.5%;
  top: -14.5%;
  width: 129%;
  height: 129%;
  display: inline;
}

.modelerNode.logicNodeSelected .outerFrame {
  left: -12%;
  top: -12%;
  width: 124%;
  height: 124%;
  display: inline;
}

.modelerNode.straightSelect .selectionFrame {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline;
}

#zoomButton {
  width: 31px;
  height: 15px;
  border: none;
}

#zoomButton.inactive {
  background-color: #eeeeee;
}

#zoomButton.active {
  background-color: #ffffff;
  margin: 0;
  border: 1px solid black;
}

.hideFlowsWhileZooming .modelerNode,.hideFlowsWhileZooming textarea.modelerNodeLabel,.hideFlowsWhileZooming img.chainIndicator,.hideFlowsWhileZooming .flow
  {
  display: none;
}

.normalAnnotation textarea,.selectedAnnotation textarea {
  font-size: 1em;
}
