.node {
	cursor: pointer;
}

.node.unselected {
	opacity: .3;
	transition: .5s;
	-moz-transition: .5s;
	-webkit-transition: .5s;
	/* stroke: rgba(0,0,0,1);
				stroke-width: 2; */
}

.node:hover {
	opacity: 1;
	transition: .3s;
	-moz-transition: .3s;
	-webkit-transition: .3s;
}

.node:hover text {
	transition: .5s;
	-moz-transition: .5s;
	-webkit-transition: .5s;
}

.node text {
	font-size: 12px;
	font-family: arial, helvetica, sans-serif;
}

.program {
	cursor: pointer;
}

.edge {
	stroke: rgb(200, 200, 200);
	stroke-width: 1
}

.edge path {
	fill: none;
}

.Adhara rect {
	fill: red;
}

.Alpha-Lyrae rect {
	fill: blue;
}

.Alpha-Zentradi rect {
	fill: light blue;
}

.Betelgeuse rect {
	fill: tan;
}

.Canopus rect {
	fill: orange;
}

.Deathstar rect {
	fill: green;
}

.Denebola rect {
	fill: yellow;
}

.Hamal rect {
	fill: purple;
}

.Procyan rect {
	fill: peach;
}

.Mira rect {
	fill: gray;
}

.Capella rect {
	fill: pink;
}

.Regulus rect {
	fill: brown;
}

#legend {
	position: absolute;
	background-color: rgba(247, 247, 247, .8);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-ms-border-radius: 3px;
	bottom: 15px;
	left: 15px;
	z-index: 1;
}

#legend h3 {
	margin: 0;
	padding: 5px 10px;
	font-size: 12px;
	border-bottom: 1px solid #eee;
}

#legend svg {
	height: 20px;
	width: 120px;;
}

#legend ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#legend li {
	list-style: none;
	padding: 1px 10px;
}

#legend li .node text {
	font-size: 10px;
}

#legend li:hover {
	background-color: rgba(0, 0, 0, .05);
}

#selectionContainer {
	position: absolute;
	right: 20px;
}

.menulabel {
	display: inline;
}

#selectionContainer select {
	margin-bottom: 5px;
}

#selectionContainer .menulabel {
	padding-top: 1px;
}

@media only screen and (max-height: 610px) {
	#legend { display: none; }
}

@media only screen and (max-width: 480px) {
	#legend { display: none; }
	.toolbar { display: none; }
}