/*
 * Styles of the components of the tree
 */
 #tree-container {
	position: absolute;
	left: 0px;
	width: 100%;
	background: rgba(235, 171, 88, 0.075);
	border: solid 1px rgba(160, 160, 160, 0.3);
	
}

.svgContainer {
	display: block;
    margin: auto;
	background: rgba(235, 171, 88, 0.075);
	border: solid 1px rgba(160, 160, 160, 0.3);
}

.node {
	cursor: pointer;
}

/* .node-rect {
} */

.node-rect-closed {
	stroke-width: 2px;
	stroke: tomato;
}

.link {
	fill: none;
	stroke: lightsteelblue;
	stroke-width: 2px;
}

.linkselected {
	fill: none;
	stroke: tomato;
	stroke-width: 2px;
}

.arrow {
	fill: lightsteelblue;
	stroke-width: 1px;
}

.arrowselected {
	fill: tomato;
	stroke-width: 3px;
}

.link text {
	font: 12px sans-serif;
	fill: #CC0000;
}

.wordwrap {
	white-space: pre-wrap; /* CSS3 */
	white-space: -moz-pre-wrap; /* Firefox */
	white-space: -pre-wrap; /* Opera <7 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* IE */
}

.legend-text {
	font: 10px;
	color: rgb(71, 38, 17);
	display: block;
 	padding: 5px;
}

.node-text {
	font: 10px sans-serif;
	color: white;
}

.tooltip-text-container {
    height: 100%;
	width: 100%;
}

.tooltip-text {
	visibility: hidden;
	font: 10px sans-serif;
	color: rgb(22, 12, 12);
	display: block;
 	padding: 5px;
}

.tooltip-box {
	background: rgba(37, 33, 33, 0.7);
	visibility: hidden;
	position: absolute;
	border-style: solid;
    border-width: 1px;
    border-color: black;
    border-top-right-radius: 0.5em;
}

p {
	display: inline;
}

.textcolored {
	color: orange;
}

a.exchangeName {
	color: orange;
}

.modal {
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%) scale(0);
		border: 1px solid black;
		background-color: whitesmoke;
		z-index: 10;
		width: 305px;
		/* display:grid;
		grid-template-areas: "hd hd"
					"memimage"
					"meminfo"; */
		
}

.modal.active{
	transform: translate(-50%,-50%) scale(1);
}

.modal-header {
	display:flex;
	flex-direction:column;
	height:30px;
	width:300px;
	border-bottom: 1px solid black;
	align-items: center;
	vertical-align:top;
}
.modal-header title{
	font-size: 1.25rem;
  	font-weight: bold;
}
.modal-header .close-button {
	line-height: normal;
	padding: 0 0 0 0;
	height:30px;
	width:300px;
	cursor:pointer;
	border: none;
	outline: none;
	background:none;
	font-size: 24pt;
	font-weight: bold;
	color: rgb(22, 12, 12);
	transform: translate(45deg);
}

.modal-content{
	/* grid-area:meminfo; */
	/* background-color: white; */
	/* padding:5px 5px;*/
	width:500px;
	height:450px; 
}


.modal-header .title{
	font-size: inherit;
	font-weight: bold;
}

#overlay{
	position: fixed;
	opacity: 0;
	transition: 200ms ease-in-out;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(37, 33, 33, 0.5);
	pointer-events: none;
		
}

#overlay.active{
	opacity:1;
	pointer-events: all;
}

