h1 {
    text-rendering: optimizeLegibility;
    font-size: 64px;
    font-weight: 300;
    letter-spacing: -2px;
    margin: .3em 0 .1em 0;
}

.node {
    stroke: #fff;
    stroke-width: 2px;
    cursor: pointer;
}

.d3label {
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 10pt;
}

.link {
    opacity: 0.7;
    cursor: pointer;
}

.group {
    stroke: #fff;
    stroke-width: 1.5px;
    opacity: 0.2;
}

.overlay{
    cursor: default;
}

.graph-and-controls{
    /*position: absolute; top: 0; bottom: 0;*/
    height:100%;
    width: 100%;
    margin: 0; padding: 2em;
    display:flex; 
    font-family: sans-serif; font-size: 75%;
    padding-bottom: 1em;
}

.menu {
    width: 160px;
    box-shadow: 0 4px 5px 3px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.99);
    position: absolute;
    overflow-wrap: break-word;
    z-index: 1;
    display: none;
}

.menu.plotMenu {
    position:static;
}

.menu-options {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.menu-header{
    font-weight: 550;
    font-size: 12px;
    padding: 2px 5px 2px 3px;
    border-bottom: 1px solid darkgray;
    font-family: sans-serif; font-size: 75%;
    display:block;
}

.menu-header-details{
    font-weight: 400;
    font-size: 12px;
    padding: 2px 5px 2px 3px;
    font-family: sans-serif; font-size: 75%;
    display:block;
}

.menu-header-details-sepset{
    font-weight: 400;
    font-size: 16px;
    padding: 2px 5px 2px 3px;
    font-family: sans-serif; font-size: 100%;
    display:block;
}

.menu-option {
    font-weight: 600;
    font-size: 12px;
    padding: 7px 20px 7px 10px;
    cursor: pointer;
    display:block;
}

.menu-option.disabled{
  background: rgb(204, 204, 204);
  pointer-events: none;
}

.menu-option:hover {
    background: rgba(0, 0, 0, 0.2);
}

.network-div{
    flex-grow: 1;
    overflow: hidden;
}


div.d3tooltip {
    position: absolute;
    text-align: center;
    width: 800px;
    height: 600px;
    font: 12px sans-serif;
    background: #fff;
    box-sizing: content-box;
    border: 1px solid black;
    border-radius: 5px;	
    overflow: hidden;
    resize: both;
    min-width: 200px;
    min-height: 200px;
    max-width: 1800px;
    max-height: 2000px;
}

.d3tooltiptable{
    width: 100%;
    height: 25px;
    background: #E6E6E6;
    border-spacing: 2px 2px;
    border-collapse: separate;
}

.tooltipbuttons{
    max-height: 21px;
    position: relative;
    z-index:1;
}

.d3tooltipclosewrapper{
    width: 40px;
    font-size: 10px;
    vertical-align: middle;
    text-align: right;
}

.d3buttonWrapper{
    width: 200px;
    font-size: 10px;
    vertical-align: middle;
    text-align: right;
}

.d3tooltipcloseicon{
    opacity: .3;
    cursor: pointer;
}
.d3tooltipcloseicon:hover{
    opacity: .9;
}
div.d3tooltipheader {
    cursor: move;
    font-weight: 600;
}

div.tooltipplot {
    width: inherit;
    height: inherit;
    overflow: visible;
}

.zoom-button{
    position: absolute;
    top: 5px;
    left: 5px;
}

.d3loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.controls {
    flex: 0 0 180px;
    max-width: 180px;
    padding: 0 5px;
    overflow: auto;
}
.controls .force{
    /*background-color:#eee;*/
    border-radius: 3px;
    padding: 5px;
    margin: 5px 0;
}
.controls .details{
    background-color: #eee;
    border-radius: 3px;
    padding: 5px;
    margin: 5px 0;
    width: 90%;
    display:block;
    word-wrap:break-word;
}

text.shadow {
    stroke: white;
    stroke-width: 0.15px;
    opacity: 1;
}

.node.selected{
    stroke: #2d2a25;
}

#tooltipDivPlot .axistext {
    display: none;
}

.xtick {
    pointer-events:all;
}

/* Tooltip text */
.legendfulltext {
  display: none;
  background-color: white;
  color: black;
  text-align: center;
  max-width: 400px;
  font-family: sans-serif;
  font-size: 14pt;
  overflow-wrap: break-word;
  pointer-events: none;

 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

.controls .force p label, .details p label { margin-right: .5em; font-size: 120%; font-weight: bold;}
.controls .force p { margin-top: 0;}
.controls .force label { display: inline-block; }
.controls input[type="range"] { margin: 0 5% 0.5em 5%; width: 90%; }
.controls input[type="text"] { margin: 0 5% 0.5em 5%; width: 80%; }
.controls input[type="button"] { margin: 0 5% 0.5em 5%; width: 35%}
.controls input[type="file"] { margin: 0 5% 0.5em 5%; width: 90%}
/* alpha viewer */
.controls .alpha p { margin-bottom: .25em; }
.controls .alpha .alpha_bar { height: .5em; border: 1px #777 solid; border-radius: 2px; padding: 1px; display: flex; }
.controls .alpha .alpha_bar #alpha_value { background-color: #555; border-radius: 1px; flex-basis: 100% }
.controls .alpha .alpha_bar:hover { border-width: 2px; margin:-1px; }
.controls .alpha .alpha_bar:active #alpha_value { background-color: #222 }

@keyframes shake {
    0%   {transform: translate(5px,0px);}
    25%  {transform: translate(-5px,0px);}
    50%  {transform: translate(5px,0px);}
    75%  {transform: translate(-5px,0px);}
    100% {transform: translate(2.5px,0px);}
}
@keyframes noshake {
}
@keyframes d3loaderspin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
