.messageDataPlaceHolder {
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
}

#flowEditorHolder {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 1px;
  position: relative;
}

#flowEditorHolder .zoomButtons {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 0;
  margin: 0;
  font-size: 1em;
  opacity: 0.5;
  background-color: #181818;
  box-shadow: 0 0 6px 0 #000;
  border: 1px solid #000;
  border-radius: 6px;
  font-family: dripicons;
  transition: opacity ease 0.2s;
}

#flowEditorHolder .zoomButtons:hover {
  opacity: 0.9;
}

#flowEditorHolder .zoomButtons button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 2px 4px;
  width: auto;
  min-width: 20px;
  border: none;
  border-right: 1px solid #000;
  background-color: inherit;
  color: #ccc;
  cursor: pointer;
  font-family: inherit;
  display: block;
  float: left;
  border-radius: 0;
}

#flowEditorHolder .zoomButtons button:first-child {
  border-radius: 6px 0 0 6px;
}

#flowEditorHolder .zoomButtons button:last-child {
  border-right: none;
  border-radius: 0 6px 6px 0;
}

#flowEditorHolder .zoomButtons button:hover {
  background-color: #282828;
}

#flowEditorHolder .zoomButtons button:active,
#flowEditorHolder .zoomButtons button:focus {
  outline: 0;
}

#flowEditorHolder .menuButtons {
  position: absolute;
  left: 10px;
  /* top: 55px; */
  top: 10px;
  z-index: 1;
  padding: 0;
  margin: 0;
  font-size: 1em;
  opacity: 0.5;
  background-color: #181818;
  box-shadow: 0 0 6px 0 #000;
  border: 1px solid #000;
  border-radius: 6px;
  font-family: dripicons;
  transition: opacity ease 0.2s;
}

#flowEditorHolder .menuButtons:hover {
  opacity: 0.9;
}

#flowEditorHolder .menuButtons button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 2px 4px;
  width: auto;
  min-width: 20px;
  border: none;
  border-right: 1px solid #000;
  background-color: inherit;
  color: #ccc;
  font-size: inherit;
  cursor: pointer;
  font-family: inherit;
  display: block;
  float: left;
  border-radius: 0;
}

#flowEditorHolder .menuButtons button:hover {
  background-color: #282828;
}

#flowEditorHolder .menuButtons button:active,
#flowEditorHolder .menuButtons button:focus {
  outline: 0;
}

.snippet {
  display: none;
}
/* TABS */
.nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs li a {
  position: relative;
  display: block;
  padding: 10px 15px;
  border-radius: 4px 4px 0 0;
  text-decoration: none;
  color: black;
}


.nav-tabs li a:hover {
  background-color: #eee;
}

.nav-tabs a.active {
  border-radius: 4px 4px 0 0;
  border: 1px solid #dee2e6;
  border-bottom-color: transparent;
  background-color: #dee2e6;
  color: #555;
  cursor: default;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.tab-content>.tab-pane {
  display: none;
}

.tab-content>.active {
  display: block;
}

/* End of TABS */

#sub ul.tablist {
  margin-bottom: -10px;
}

#log {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 1;
}

#log>form {
  flex-grow: 0;
  padding: 0;
}

#log button {
  display: inline;
  width: auto;
  margin: 4px;
  padding: 6px 0;
}

#log ul {
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100%;
  position: relative;
  font-family: "Courier New", Courier, monospace;
}

#log ul:empty::after {
  display: block;
  content: "...";
  position: absolute;
  top: 20%;
  font-style: italic;
  width: 100%;
  text-align: center;
  color: #bbb;
}

#log ul::-webkit-scrollbar {
  width: 4px;
  background-color: #000;
}

#log ul::-webkit-scrollbar-thumb {
  width: 4px;
  background-color: #282828;
}

#log ul::-webkit-scrollbar-thumb:hover {
  width: 4px;
  background-color: #383838;
}

#sub #log li {
  color: #eee;
  font-weight: 400;
  font-size: 0.9em;
  white-space: pre;
}

#sub #log li .date {
  display: block;
  color: #bbb;
  margin-right: 5px;
}

#sub #log li::before {
  display: block;
  content: "";
  margin: 1px 6px 1px 2px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background-color: silver;
  float: left;
}

#sub #log li.green::before {
  background-color: lime;
}

#sub #log li.blue::before {
  background-color: darkturquoise;
}

#sub #log li.red::before {
  background-color: red;
}

#sub #log li.orange::before {
  background-color: darkorange;
}

.stats div {
  position: relative;
  height: 100px;
}

.stats canvas {
  display: block;
  width: 100%;
  height: 50%;
}

.stats label {
  display: block;
  float: left;
  position: relative;
  font-size: 0.8em;
  margin: 4px 4px 0;
}

.stats label::before {
  margin: 3px 4px 4px;
  display: block;
  float: left;
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

#heapUsed::before {
  background-color: rgb(230, 74, 107);
}

#heapTotal::before {
  background-color: rgb(29, 137, 210);
}

#rss::before {
  background-color: rgb(230, 181, 61);
}

#cpu::before {
  background-color: rgb(50, 167, 167);
}

#delay::before {
  background-color: purple;
}

/* .editor.buttons button::before {
  font-family: awesome;
  display: block;
  content: "\f04b";
  margin-bottom: 6px;
}

#xibleFlowDeployButton {
  flex: 0 1 100%;
}

#xibleFlowStartButton {
  clear: left;
}

#xibleFlowDeployButton::before {
  content: "\f063";
}

#xibleFlowStartButton::before {
  content: "\f04b";
}

#xibleFlowStopButton::before {
  content: "\f04d";
}

#xibleFlowSaveButton::before {
  content: "\f019";
}

#xibleFlowSaveButton::before {
  content: "\f019";
} */

/* #flowUpdateJSONInDB::before {
  content: "\f01b";
}

#flowExportJSONButton::before {
  content: "\f045";
} */

@media (max-height: 820px) and (min-height: 1px) {
  .stats div {
    height: 80px;
  }

  .editor.buttons button::before {
    display: inline;
    margin: 0 6px 0 0;
  }
}

@media (max-height: 680px) and (min-height: 1px) {
  .stats div {
    height: 60px;
  }
}

@media (max-width: 1023px) and (min-width: 1px) and (max-height: 820px) {
  .editor.buttons button::before {
    display: none;
  }
}

.nodeList {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.xible {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 1);
  border-top-left-radius: 4px;
  position: relative;
  flex: 1 1 100%;
  overflow: hidden;
  background-color: #292929;
  background-size: 50px 50px;
  background-image: linear-gradient(0deg,
      transparent 24%,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.05) 26%,
      transparent 27%,
      transparent 74%,
      rgba(255, 255, 255, 0.05) 75%,
      rgba(255, 255, 255, 0.05) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.05) 26%,
      transparent 27%,
      transparent 74%,
      rgba(255, 255, 255, 0.05) 75%,
      rgba(255, 255, 255, 0.05) 76%,
      transparent 77%,
      transparent);
  font-size: 0.7em;
}

.xible.panning {
  cursor: all-scroll;
}

.xible.panning * {
  cursor: all-scroll !important;
}

/* area selector */

.xible .area {
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #45679e;
  background-color: rgba(255, 255, 255, 0.07);
  z-index: 10;
}

.xible .editor {
  transform-origin: 0 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* double click to add new node */

/* .xible:has(.editor:empty)::before { */

.xible .editor:empty::before {
  display: block;
  text-align: center;
  content: 'Click the "+" button in the left top corner to create a new flow.';
  white-space: pre;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.xible[data-flow] .editor:empty::before {
  text-align: center;
  content: 'Double click anywhere on the canvas to add a node.\AYou may want to start with a "cbot.start" node.\A\AHold down the scroll wheel to move around.\A Alternatively hold down shift and the left mouse button to pan around.';
}

.xible .editor>.connector {
  z-index: 1;
  display: block;
  position: absolute;
  -webkit-filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 2px #000);
  filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 2px #000);
  pointer-events: none;
}

.xible .editor>.connector.global {
  z-index: 2;
}

.xible .editor>.connector.global.highlight {
  z-index: 3;
}

.xible .editor>.connector>path {
  stroke: #fff;
  stroke-width: 3px;
  fill: none;
  pointer-events: all;
}

.xible .editor>.connector.global>path {
  stroke-width: 20px;
  opacity: 0.4;
}

.xible .editor>.connector.global.highlight>path {
  opacity: 0.8;
}

.xible .editor>.connector.selected>path {
  stroke: gold;
}

.xible .editor>.connector.nodirect {
  opacity: 0.1;
}

.xible .editor>.connector.splice>path {
  stroke-dasharray: 10, 10;
}

.xible .node {
  border-top-right-radius: 5px !important;
  border-top-left-radius: 5px !important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  position: absolute;
  background-color: #fff;
  width: 200px;
  min-height: 10px;
  color: #24292e;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 6 !important;
  text-align: center;
  box-shadow: inset 0 0 0 -3px #e1e4e8, 0 4px 10px rgba(100, 100, 100, 1);
  margin-bottom: 80px;
  max-width: 384px;
  z-index: 1;
}

.xible .node.fail {
  border: 2px solid #f00;
  background-color: rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 10px 4px rgba(255, 0, 0, 0.4);
}

.xible .node.splice {
  background-color: rgba(30, 30, 30, 0.6);
}

.xible .node.splice * {
  opacity: 0.6;
}

.xible .node:hover {
  z-index: 6;
}

.xible .node.selected {
  border-color: gold !important;
  border-right: solid;
  border-bottom: solid;
  z-index: 5;
}

.xible .node.debugpath {
  background-color: gold !important;
  z-index: 5;
}

.xible .node.nodirect {
  opacity: 0.2;
}

.xible .node .headerContainerDiv {
  width: 100%;
  background-color: #efefef !important;
  border-bottom: 1px dashed #707070 !important;
}

.xible .node .nodeHeaderDiv {
  width: 75%;
}

.xible .node .iconDiv {
  width: 25%;
}

.row {
  display: flex;
  /* equal height of the children */
}

.col-1 {
  flex: 1;
  /* additionally, equal width */
}

.col-2 {
  flex: 2;
}

.col-3 {
  flex: 3;
}

.headerContainerDiv {
  padding: 5px 0;
}

.userinput-icon {
  background: #38006b;
}

.start-node-icon {
  background: #90cc00;
}

.node-icon {
  background: #1e88e5;
}

.match-icon {
  background: #ffb300;
}

.stop-icon {
  background: #dd2c00;
}

.start-node-border {
  border: 1px solid #90cc00;
}

.node-border {
  border: 1px solid #1e88e5;
}

.match-border {
  border: 1px solid #ffb300;
}

.stop-border {
  border: 1px solid #dd2c00;
}

.deleteMessageTypeButton,
.deleteMessageTypeButton:hover,
.deleteMessageTypeButton:visited,
.deleteSubDescription,
.deleteSubDescription:hover,
.deleteSubDescription:visited,
.deleteTableComponentTitle,
.deleteTableComponentTitle:hover,
.deleteTableComponentTitle:visited,
.deleteTableComponentRow,
.deleteTableComponentRow:hover,
.deleteTableComponentRow:visited,
.deleteMessageTypeListSection,
.deleteMessageTypeListSection:hover,
.deleteMessageTypeListSection:visited {
  color: #ffffff !important;
  border: none;
  font-size: 1em !important;
}

.deleteMessageType,
.deleteMessageType:hover,
.deleteMessageType:visited {
  color: #dd2c00 !important;
  border: none;
  font-size: 1em !important;
}

.editMessageType:visited,
.editMessageType:hover,
.editMessageType {
  color: #484848 !important;
  border: none;
  font-size: 1em !important;
}

.messageDataPlaceHolder table.pure-table {
  border: none;
}

.iconContainer {
  box-shadow: 2px 4px 7px #292929;
  border: 1px;
  border-radius: 50%;
  width: 90%;
  height: 50px;
  margin-right: 22px;
  color: #fff;
  height: 42px;
  font-family: dripicons;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iconDiv span {
  line-height: 44px;
  font-weight: normal;
  font-size: 2em;
  font-family: dripicons;
  color: #fff;
  margin-left: 1px;
}

/* .formHeaderWrapper .iconContainer {
  display: inline-block;
  width: 20%;
  border-radius: 0;
  margin-left: 10px;
  font-size: 1.5em;
  margin-top: 0px;
  border: 2px solid #212121;
}
.formHeaderWrapper .iconContainer,
.formHeaderWrapper h1 {
  margin: 12px;
  float: left;
}
.formHeaderWrapper .iconContainer span.nodeicon {
  display: table;
  margin: 0 auto;
  line-height: 1.5em;
} */

.headerPlaceHolder .iconContainer,
.formHeaderWrapper .iconContainer {
  display: inline-block;
  width: 20%;
  border-radius: 0;
  margin-left: 10px;
  font-size: 1.5em;
  margin-top: 0px;
  border: 2px solid #212121;
}

.headerPlaceHolder .iconContainer,
.headerPlaceHolder h1,
.formHeaderWrapper .iconContainer,
.formHeaderWrapper h1 {
  margin: 12px;
  /* float: left; */
}

.headerPlaceHolder .iconContainer span.nodeicon,
.formHeaderWrapper .iconContainer span.nodeicon {
  display: table;
  margin: 0 auto;
  line-height: 1.2em !important;
  font-size: 1.4em;
}

.modal hr {
  clear: both;
  background: #e1e4e8;
}

.xible .node .nodeHeaderDiv>h1 {
  text-align: left;
  padding: 3px;
  padding-left: 6px !important;
  /* font-size: 1em; */
  font-weight: 400 !important;
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* cursor: pointer; */
  overflow: hidden;
}

.xible .node .nodeHeaderDiv>h1.nodeType {
  text-transform: uppercase;
  font-size: 0.8em !important;
  color: #333333;
}

.xible .node .nodeHeaderDiv>h1.nodeName {
  padding-bottom: 0 !important;
  font-weight: bold !important;
  color: #000 !important;
  padding: 4px !important;
  font-size: 1.3em !important;
  font-weight: 400 !important;
}

/* .nodeName {
  padding-bottom: 0 !important;
  font-size: 1em !important;
  font-weight: bold !important;
  color: #000 !important;
  padding: 4px !important;
} */

.nodeType .xible .node.fail>h1 {
  background-color: rgba(255, 0, 0, 0.3);
}

.xible .node>.io {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #efefef !important;
}

.xible .node>.io>ul {
  width: 50%;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 10px;
  box-sizing: border-box;
  float: left;
  display: block;
}

.xible .node>.io>ul.input {
  text-align: left;
}

.xible .node>.io>ul.output {
  top: 0;
  text-align: right;
}

.xible .node>.io>ul>li {
  display: block;
  padding: 0 2px;
  border-width: 0;
  cursor: default;
  white-space: nowrap;
  position: relative;
}

.xible .node>.io>ul>li>div {
  overflow: hidden;
  text-overflow: ellipsis;
}

.xible .node>.io>.input>li {
  border-left: 3px solid #000;
}

.xible .node>.io>.output>li {
  border-right: 3px solid #000;
}

.xible .node>.io>ul>.global::after {
  display: block;
  content: "";
  width: 30px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(35px);
  background-image: linear-gradient(to right,
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0));
  pointer-events: none;
}

.xible .node>.io>.input>.global::after {
  left: 0;
  right: auto;
  transform: translateX(-35px);
  background-image: linear-gradient(to left,
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0));
}

.xible .node>.io>ul>.trigger {
  border-color: white;
}

.xible .node>.content {
  box-sizing: border-box;
  width: 100%;
  padding: 3px 6px 6px;
  clear: left;
  position: relative;
  text-align: left;
  /* overflow: hidden; */
}

/*
.xible .node>.content {
  padding: 3px 6px 6px;
}

.xible .node>.content:has(> [style*="display:none"]) { {
  display:none;
}
*/

/*
.xible .node>.content>[style*="none"] + :not([style*="none"]) {
  margin-bottom:6px;
}
*/

.xible .node>.statuses,
.xible .node>.tracker {
  box-sizing: border-box;
  position: absolute;
  color: #fff;
  width: 100%;
  font-size: 0.9em;
  text-align: left;
}

.xible .node>.tracker {
  top: 0;
  padding: 2px;
  margin: -1px 0 0 0;
  overflow: hidden;
  transform: translatey(-100%);
  background-image: linear-gradient(to top,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3) 70%,
      transparent);
}

.xible .node>.statuses {
  top: 100%;
  padding: 0;
  margin: 1px 0 0 0;
  list-style-type: none;
}

.xible .node>.statuses>li {
  padding: 2px;
  display: block;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  border-bottom: 1px dotted #444;
  box-sizing: border-box;
  white-space: pre;
}

.xible .node>.statuses>li.bar>.holder {
  margin: 2px;
  padding: 1px;
  box-sizing: border-box;
  width: calc(100% - 4px);
  height: 4px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}

.xible .node>.statuses>li.bar>.holder>div {
  background-color: #00ff00;
  box-sizing: border-box;
  height: 2px;
  border-radius: 2px;
  width: 0;
}

.xible .node>.statuses>li:last-child {
  border-bottom: none;
  background-color: transparent;
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3) 70%,
      transparent);
}

.xible .node>.statuses>li:not(.bar)::before,
.xible .node>.tracker::before {
  display: block;
  content: "";
  margin: 3px 8px 2px 2px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: silver;
  float: left;
}

.xible .node>.statuses>li.green:not(.bar)::before,
.xible .node>.tracker.green::before {
  background-color: lime;
}

.xible .node>.statuses>li.blue:not(.bar)::before,
.xible .node>.tracker.blue::before {
  background-color: darkturquoise;
}

.xible .node>.statuses>li.red:not(.bar)::before,
.xible .node>.tracker.red::before {
  background-color: red;
}

.xible .node>.statuses>li.orange:not(.bar)::before,
.xible .node>.tracker.orange::before {
  background-color: darkorange;
}

.jsontree_child-nodes {
  padding-inline-start: 8px;
  margin-left: 5px;
}

textarea.jsonviewer {
  resize: both;
  border-radius: 6px;
  outline: none;
  height: auto;
}

#flowList {
  display: none;
}

#fakeSearchInput {
  right: 20px;
  top: 20px;
  width: 200px;
  z-index: 5;
  position: absolute;
}

#fakeSearchContainer {
  right: 20px;
  top: 60px;
  width: 200px;
  z-index: 5;
  position: absolute;
  max-height: 400px;
  overflow-y: scroll;
}

#fakeSearchContainer div {
  background: #eee;
  padding: 3px;
  color: black;
  border-bottom: 1px solid #ccc;
  user-select: none;
}

#fakeSearchContainer span.head{
  
}

#fakeSearchContainer span.content{
  font-size: 12px;
  color: rgb(48, 66, 12);
}

#fakeSearchContainer div:hover {
  background: #aaa;
}