@charset "UTF-8";

/* body:active {
	cursor: move;
} */

section#distributions {
	z-index: 50;
	left: var(--graph-shell-left);
	top: var(--graph-shell-top);
	width: 100vw;
	height: 100vh;
	position: absolute;
}

section#distributions>article.node {
	z-index: calc(500 + var(--graph-node-layer, 0) - var(--graph-node-inputs, 0));
	left: var(--graph-node-from-left, var(--graph-node-left));
	top: var(--graph-node-from-top, var(--graph-node-top));
	width: var(--graph-node-augmented, 100px);
	height: var(--graph-node-augmented, 100px);
	position: absolute;
	display: flex;
	cursor: grab;
	border-radius: 100%;
	-webkit-box-shadow: 0px 3px 12px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 3px 12px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 3px 12px 2px rgba(0, 0, 0, 0.1);
}

section#distributions>article.node.distribution {
	background-color: rgb(calc(140 + var(--graph-node-inputs) * 10), 110, 60);
}

section#distributions>article.node.member {
	background-color: rgb(calc(140 + var(--graph-node-inputs) * 10), 100, 70);
}

section#distributions>article.node:active {
	cursor: grabbing;
}

section#distributions>article.node>a:first-of-type {
	margin: auto;
	text-align: center;
	text-decoration: unset;
	font-weight: bold;
	cursor: pointer;
	color: black;
}

section#distributions>svg.edge {
	z-index: -500;
	position: absolute;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

section#distributions>svg.edge>line {
	stroke: #443225;
	stroke-width: 8px;
}
