body {
	font-family: Arial;
}

svg {
	max-width: 100%;
}

canvas {
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */
}

.vis-active {
    box-shadow: none !important;
}

.links line {
  stroke: #999;
  stroke-opacity: 0.6;
}

.nodes circle {
  stroke: #fff;
  stroke-width: 1.5px;
}

#network {
    width: 100%;
    height: 100vh;
}

rect {
	cursor: pointer;
}

#network-wrapper {
    position: relative;
}

ul.legend {
	padding: 10px 6px;
	margin: 0;
	list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.9);
    border: 3px solid #eaeaea;
    z-index: 19;
    display: none;
}

ul.legend li {
	text-align: center;
	font-size: 10px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

ul.legend li .shape {
	content: "\A";
	width: 25px;
	height: 25px;
	border-radius: 100%;
	display: block;
	margin: 0 auto;
}

ul.legend li .shape.triangle {
	border-radius: 0;
	width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid #808080;
}

#network {
	padding: 22px;
}

/* new css */
#loadingBar {
    position:fixed;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    background-color:rgba(200,200,200,0.8);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    opacity:1;
}
#wrapper {
    position:relative;
    width:900px;
    height:900px;
}

#text {
    position:absolute;
    top:8px;
    left:530px;
    width:30px;
    height:50px;
    margin:auto auto auto auto;
    font-size:22px;
    color: #000000;
}


div.outerBorder {
    position:relative;
    top:calc( 50% - 30px );
    width:600px;
    height:59px;
    margin:auto auto auto auto;
    border:8px solid rgba(0,0,0,0.1);
    background: rgb(252,252,252); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(252,252,252,1) 0%, rgba(237,237,237,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
    border-radius:72px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

#border {
    position:absolute;
    top:10px;
    left:10px;
    width:500px;
    height:23px;
    margin:auto auto auto auto;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
    border-radius:10px;
}

#bar {
    position:absolute;
    top:0px;
    left:0px;
    width:20px;
    height:20px;
    margin:auto auto auto auto;
    border-radius:11px;
    border:2px solid rgba(30,30,30,0.05);
    background: rgb(0, 173, 246); /* Old browsers */
    box-shadow: 2px 0px 4px rgba(0,0,0,0.4);
}
.selectors select{ width: 200px; }

/* Popup container */
.popup {
    padding: 20px;
    display: none;
    border: 2px solid #888;
    background-color: white;
    position: absolute;
    cursor: pointer;
    border-radius: 0;
    max-width: 300px;
    top: 5%;
    right: 5%;
    text-align: right;
    font-size: 13px;
    /*transform: translate(-50%, -50%);*/
}

.popup .text {
    font-weight: bold;
}
.popup img{
    max-width: 400px;
    max-height: 350px;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup.show {
    visibility: visible;
    -webkit-animation: fadeIn 2s;
    animation: fadeIn 2s;
    display: block;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}