svg.graphdiagram {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.tools {
    z-index: 100;
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 10px;
    background-color: #f7f7f7;
}

.diagram-title-wrapper {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 0;
}
.menu-btn {
  padding: 0 0 0 10px;
}
#diagram-title {
  outline: none !important;
  border: 0;
  border-radius: 0px;
  font-weight: 700;
  background: transparent;
  font-size: 1.2em;
  padding: 10px;
}

#tab-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9999;
  height: 100vh;
  width: 20vw;
  background: #eee;
  box-shadow: 2px 0 10px 2px rgba(0,0,0,0.2);
  display: none;
}

#tab-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ddd;
}

#tab-menu-list > li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  font-size: 1.1em;
}

#tab-menu-list > li:hover {
  background: #fff;
}

.tab-menu-title {
  margin: 0;
  padding: 0 10px;
  font-size: 1.1em;
}

#close-tab-menu-btn {
  display: block;
  text-align: right;
  font-size: 2em;
  color: grey;
  padding: 10px;
}

#new-tab-btn {
  margin: 20px;
  display: block;
  width: calc(100% - 40px);
  padding: 10px;
}

.modal.pop-up-editor.node {
    position: absolute;
}

.modal.export-markup {
    position: absolute;
    width: 800px;
    margin-left: -400px;
}

.modal.export-markup .modal-body {
    overflow: hidden;
    max-height: 70%;
}

p.button-row {
    text-align: right;
}

textarea.code {
    padding: 0;
    resize: none;
    width: 760px;
    border: none;
    box-shadow: none;
    font-family: Menlo, monospace;
    font-size: 10pt;
}

.top-right-btn-bar {
    padding: 14px 15px 15px;
    margin-bottom: 0;
    text-align: right;
}

.top-right-btn-bar .btn + .btn {
    margin-bottom: 0;
    margin-left: 5px;
}

circle.node.overlay:hover {
    fill: rgba(150, 150, 255, 0.5);
}

circle.node.ring:hover {
    stroke: rgba(150, 150, 255, 0.5);
}

path.relationship.overlay:hover {
    fill: rgba(150, 150, 255, 0.5);
    stroke: rgba(150, 150, 255, 0.5);
}
