.button-overlay {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 10;
}

.button-overlay button {
  display: block;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 10px;
  /*border: none;*/
  box-shadow: none;
  color: #fff;
  font-size: 20px;
  background-color: darkorange;
}

.button-overlay button:hover:not(:disabled) {
  /*border: 4px solid #b03911;*/
  border-radius: 5px;
  margin: -4px;
  margin-bottom: 11px;
}

.button-overlay button:disabled {
  -webkit-filter: brightness(70%);
  filter: brightness(70%);
}

.fc-node {
  z-index: 1;
}

.innerNode {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  word-wrap: normal;
  border-radius: 8px;
  background-color: maroon;
  color: #fff;
  font-size: 16px;
  text-wrap: normal;
  min-width: 350px;
  /*border: 3px solid;*/
  /*border-color: #3d3d3d;*/
  border-radius: 15px;
  padding: 5px;
}

.fc-node.fc-hover {
  -webkit-filter: brightness(70%);
  filter: brightness(70%);
  z-index: 90;
}

.fc-node.fc-selected {
  -webkit-filter: brightness(70%);
  filter: brightness(70%);
}

.fc-node.fc-dragging {
  z-index: 10;
}

.fc-node p {
  padding: 5px 5px 5px 5px;
  text-align: center;
}

.fc-topConnectors, .fc-bottomConnectors {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  z-index: -10;
}

.fc-topConnectors {
  top: -22px;
}

.fc-bottomConnectors {
  bottom: -22px;
}

.fc-magnet {
  display: flex;
  flex-grow: 1;
  height: 40px;
  justify-content: center;
}

.fc-topConnectors .fc-magnet {
  align-items: flex-end;
}

.fc-bottomConnectors .fc-magnet {
  align-items: flex-start;
}

.fc-connector {
  width: 33px;
  height: 33px;
  /*border: 3px solid;*/
  -moz-background-clip: padding; /* Firefox 3.6 */
  -webkit-background-clip: padding; /* Safari 4? Chrome 6? */
  background-clip: padding-box;
  border-radius: 50% 50%;
  background-color: #a9a9a9;
  color: #808080;
}

.skyblueConnector {
  background-color: #a2e8c6;
}

.yellowConnector {
  background-color: #ffe399;
}

.redConnector {
  background-color: #ff7f7f;
}

.fc-connector.fc-hover {
  background-color: #1e1e1e;
}

.fc-connector-label {
  color: #1e1e1e;
  padding: 5px 5px 5px 5px;
}

@keyframes dash {
  from {
    stroke-dashoffset: 500;
  }
}

.fc-edge {
  stroke: #808080;
  stroke-width: 5;
  fill: transparent;
}

.fc-edge.fc-hover {
  stroke: #686868;
  stroke-width: 6;
  fill: transparent;
}


.fc-edge.fc-selected {
  stroke: #585858;
  stroke-width: 6;
  fill: transparent;
}

.fc-edge.fc-active {
  animation: dash 3s linear infinite;
  stroke-dasharray: 20;
}

.fc-edge.fc-dragging {
  pointer-events: none;
}

.edge-endpoint {
  fill: darkgrey;
}

.fc-nodedelete {
  display: none;
}

.fc-selected .fc-nodedelete {
  display: block;
  position: absolute;
  right: -10px;
  top: -10px;
  /*border: solid 2px white;*/
  border-radius: 50%;
  font-weight: 600;
  font-size: 20px;
  height: 27px;
  width: 27px;
  padding-top: 0px;
  background: red;
  color: #272727;
  text-align: center;
  vertical-align: bottom;
  cursor: pointer;
}

.fc-nodeedit {
  display: none;
}

.fc-selected .fc-nodeedit {
  display: block;
  position: absolute;
  right: -10px;
  top: 18px;
  /*border: solid 2px white;*/
  border-radius: 50%;
  font-weight: 600;
  font-size: 20px;
  height: 27px;
  width: 27px;
  padding-top: 0px;
  background: yellow;
  color: #555555;
  text-align: center;
  vertical-align: bottom;
  cursor: pointer;
}

.fc-node-name {
  color: #fff;
  padding: 5px 5px 5px 5px;
}

/* Tooltip container */
.fc-tooltip {
  position: relative;
  display: inline-block;
  /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.fc-tooltip .fc-tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #1e1e1e;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.fc-tooltip:hover .fc-tooltiptext {
  visibility: visible;
  min-width: 200%;
  opacity: 0.6;
}
