@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?4uudsb");
  src:
    url("../fonts/icomoon.eot?4uudsb#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?4uudsb") format("truetype"),
    url("../fonts/icomoon.woff?4uudsb") format("woff"),
    url("../fonts/icomoon.svg?4uudsb#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-api-documentation:before {
  content: "\e90d";
}
.icon-order:before {
  content: "\e900";
}
.icon-preview:before {
  content: "\e901";
}
.icon-response:before {
  content: "\e902";
}
.icon-settings:before {
  content: "\e903";
}
.icon-update:before {
  content: "\e904";
}
.icon-upsert:before {
  content: "\e905";
}
.icon-where:before {
  content: "\e906";
}
.icon-concat:before {
  content: "\e907";
}
.icon-create:before {
  content: "\e908";
}
.icon-delete:before {
  content: "\e909";
}
.icon-field:before {
  content: "\e90a";
}
.icon-get:before {
  content: "\e90b";
}
.icon-group:before {
  content: "\e90c";
}
.icon-stack:before {
  content: "\e92e";
}
.icon-tree:before {
  content: "\e9bc";
}
.diagram-component {
  width: 100%;
  height: 81vh;
  background-image: url("../images/dottedbg.png");
  background-repeat: repeat;
}
.diagram-component:focus {
  border: none;
  outline: none;
}
.myDiagramDiv:focus {
  border: none;
  outline: none;
}

.diagram-header {
  display: flex;
  flex-direction: column;
  gap: 10;
  width: 250px;
}
.diagram-header .button-wrapper button {
  background: none;
  display: flex;
  align-items: center;
  border: 1px solid #d6d6d6;
  width: 90%;
  justify-content: space-between;
  margin-top: 5px;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.color-palette {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.color-palette label {
  color: #253858;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-palette .item {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: none;
  border: none;
  gap: 8px;
  cursor: pointer;
}
.color-palette .item span {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50%;
}
.color-palette .item p {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

.diagram-overview-component {
  width: 175px;
  height: 99px;
  position: absolute !important;
  border: 1px solid #ccc;
  background: rgb(255 255 255);
  /* bottom: 20px;
  right: 20px; */
  top: 0;
  left: 0;
  z-index: 10;
  border-radius: 4px;
}

.diagram-wrapper {
  position: relative;
  width: 100%;
}

.menu {
  width: 160px;
}

.sub-menu {
  width: 100px;
  background: #ccc;
}

.menu-item-color {
  display: block;
  width: 10px;
  height: 10px;
  float: left;
  margin-right: 7px;
  margin-left: 3px;
  border-radius: 50%;
  margin-top: 1px;
}

*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #f5f5f5;
}

*::-webkit-scrollbar-thumb {
  background-color: rgb(128, 130, 131);

  background-image: -webkit-gradient(
    linear,
    0 0,
    0 100%,
    color-stop(0.5, rgba(255, 255, 255, 0.2)),
    color-stop(0.5, transparent),
    to(transparent)
  );
}
