body,
html {
  width: 100%;
  height: 100%;
}

.bp3-dark .main-editor {
  background: url("/static/img/darker-node-bg.png");
}

.main-editor {
  z-index: 0;
  height: 200vh;
  top: 0px;
  left: 0px;
  background: url("/static/img/light-node-bg.png");
}

.wf-node-wrapper {
  width: 240px;
  height: auto;
  display: flex;
  user-select: none;
}

.wf-node {
  min-height: 140px;
  width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0px !important;
}

.wf-node-selected {
  box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.2), 0 0px 0px rgba(16, 22, 26, 0.2),
    0px 0px 5px 4px rgb(230, 141, 16) !important;
}

.wf-node-error {
  box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.2), 0 0px 0px rgba(16, 22, 26, 0.2),
    0px 0px 5px 4px #f54542 !important;
}

.wf-node-outgoing-ports-wrapper {
  width: 50%;
}

.wf-node-incoming-ports-wrapper {
  width: 50%;
}

.wf-node-body {
  margin-top: 16px;
  margin-bottom: 16px;
  height: 80%;
  display: flex;
  flex-direction: row;
}

.wf-node-port-in {
  background-color: rgba(1, 1, 1, 0) !important;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  flex-grow: 1;
}

.wf-node-port-out {
  background-color: rgba(1, 1, 1, 0) !important;
  width: 100%;
}

.wf-node-port-out-content-wrapper {
  display: flex;
  justify-content: flex-end;
}

.wf-node-port-in-content-wrapper {
  display: flex;
  justify-content: flex-start;
}

.wf-node-port-in:hover,
.wf-node-port-out:hover {
  background-color: rgba(138, 155, 168, 0.2) !important;
}

.wf-node-port-in > .bp3-icon,
.wf-node-port-out > .bp3-icon {
  opacity: 50% !important;
}

:focus:not(button, input) {
  outline: none !important;
}
