#canvas {
  position: relative;
}

.byline {
  font-size: 22px;
  /*margin-bottom: 20px;*/
  font-weight: normalnv;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 0;
  z-index: 1;
}
.glance {
  font-weight: normal;
  font-size: 16px;
}
.byline span {
}
.byline span.move-from-google-to-government,
.legend .google {
  color: #fe5455;
  font-weight: bold;
}
.byline span.move-from-government-to-google,
.legend .government {
  color: #4d77fd;
  font-weight: bold;
}
.updated {
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
}

.instructions {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 20px;
}
.instructions span {
  font-weight: 300;
}

.outline {
  fill: none;
  stroke: #888888;
  stroke-width: 1px;
}

#tooltip {
  font-size: 10pt;
  font-weight: 900;
  fill: #000000;
  stroke: #ffffff;
  stroke-width: 0.25px;
}
#tooltip.white-background {
  fill: #fff;
  stroke: #fff;
  stroke-width: 5px;
}

.node {
  stroke: #ffffff;
  stroke-weight: 1px;
}

.link {
  fill: none;
  stroke: #888888;
  stroke-width: 2px;
  stroke-opacity: 0.5;
}
.faded-link {
  display: none;
}
.link.bolded,
.link.clicked-red,
.link.clicked-blue {
  stroke-opacity: 1;
  /*stroke: #000;*/
}
/*.link.clicked-red {
    stroke: #cb8081;
}
.link.clicked-blue {
    stroke: #3182BD;
}*/
.link.type1 {
  stroke: #fc383f;
}
.link.type2 {
  stroke: #fa0007;
}
.link.type3 {
  stroke: #d10005;
}
.link.type4 {
  stroke: #a90003;
}
.link.type5 {
  stroke: #7b0002;
}
.link.type6 {
  stroke: #3a57ff;
}
.link.type7 {
  stroke: #1c32ee;
}
.link.type8 {
  stroke: #1125c5;
}
.link.type9 {
  stroke: #0d1b8e;
}
.link.type10 {
  stroke: #000d4e;
}
.link.type11 {
  stroke: #3a57ff;
}
.link.type12 {
  stroke: #000d4e;
}

.highlight {
  stroke: red;
  stroke-weight: 4px;
  stroke-opacity: 1;
}

.arced-text {
  font-size: 14px;
}

.boxes {
}
#googleBox,
#googleTriangle {
  fill: #fc383f;
}
.dept-box-1 {
  fill: #fc383f;
}
.dept-box-2 {
  fill: #fa0007;
}
.dept-box-3 {
  fill: #d10005;
}
.dept-box-4 {
  fill: #a90003;
}
.dept-box-5 {
  fill: #7b0002;
}
#governmentBox,
#governmentTriangle {
  fill: #3a57ff;
}
.dept-box-6 {
  fill: #3a57ff;
}
.dept-box-7 {
  fill: #1c32ee;
}
.dept-box-8 {
  fill: #1125c5;
}
.dept-box-9 {
  fill: #0d1b8e;
}
.dept-box-10 {
  fill: #000d4e;
}
.dept-box-11 {
  fill: #3a57ff;
}
.dept-box-12 {
  fill: #000d4e;
}

#arrowhead {
  fill: #cb8081;
}
#arrowheadup {
  fill: #02195f;
}

.boxText {
  fill: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 30px;
}
.boxText.department {
  font-size: 17px;
}

#middleBox {
  fill: none;
  stroke: #1125c5;
  stroke-width: 1px;
  stroke-opacity: 1;
}
#middleBoxText tspan {
  font-size: 15px;
  fill: #757575;
}
#middleBoxText tspan:nth-child(1) {
  font-size: 20px;
  cursor: pointer;
  fill: #558aea;
  font-weight: bold;
}
#middleBoxText tspan:nth-child(2) {
}
#middleBoxText tspan.to-from-label {
  font-size: 17px;
  fill: #000;
  font-weight: bold;
}

/** Legend **/
.legend {
  overflow: hidden;
}
.legend .title {
  font-weight: 300;
  width: auto;
  margin-right: 1rem;
  margin-bottom: 8px;
}
.legend .sections {
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.legend .section {
  float: left;
  margin-right: 2%;
  width: 49%;
}
.legend .section.last {
  /*float: right;*/
  margin-right: 0;
}
.legend ul,
#content .content .legend ul {
  padding: 0;
}
.legend ul li {
  cursor: pointer;
  list-style: none;
  clear: both;
  font-weight: 500;
  display: inline-block;
  margin-right: 4px;
  font-size: 18px;
}
#content .content .legend ul li:before,
.legend ul li:before {
  content: none;
}
.legend li span {
  height: 20px;
  width: 20px;
  float: left;
  margin-right: 10px;
  margin-top: 5px;
}
.dept1 span {
  background-color: #fc383f;
}
.dept2 span {
  background-color: #fa0007;
}
.dept3 span {
  background-color: #d10005;
}
.dept4 span {
  background-color: #d10005;
}
.dept5 span {
  background-color: #7b0002;
}
.dept6 span {
  background-color: #3a57ff;
}
.dept7 span {
  background-color: #1c32ee;
}
.dept8 span {
  background-color: #1125c5;
}
.dept9 span {
  background-color: #0d1b8e;
}
.dept10 span {
  background-color: #000d4e;
}
.dept11 span {
  background-color: #3a57ff;
}
.dept12 span {
  background-color: #000d4e;
}

/* Buttons */
#buttons {
  /*top: 0;
    right: 0;
    position: absolute;*/
  float: right;
}
#buttons button {
  margin: 0;
  padding: 0;
  height: 40px;
  width: 40px;
  margin-left: 5px;
  border-radius: 100px;
  border: 1px solid #117cdf;
  color: #fff;
  font-size: 24px;
  font-weight: normal;
  line-height: 1.8;
  cursor: pointer;
  font-family: FontAwesome;
  background: #117cdf;
  text-align: center;
}
#buttons button:hover {
  background: #fff;
  color: #117cdf;
}
#buttons button:focus {
  outline: none;
}
#buttons #reset {
  width: auto;
  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
  padding: 0 15px;
}

.whiteline {
  stroke: #fff;
  stroke-width: 2;
}

/** Tipsy **/
.tipsy {
  font-size: 10px;
  position: absolute;
  padding: 5px;
  z-index: 100000;
}
.tipsy-inner {
  background-color: #000;
  color: #fff;
  max-width: 200px;
  padding: 5px 8px 4px 8px;
  text-align: center;
}

/* Rounded corners */
.tipsy-inner {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

/* Uncomment for shadow */
/*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/

.tipsy-arrow {
  position: absolute;
  width: 0;
  height: 0;
  line-height: 0;
  border: 5px dashed #000;
}

/* Rules to colour arrows */
.tipsy-arrow-n {
  border-bottom-color: #000;
}
.tipsy-arrow-s {
  border-top-color: #000;
}
.tipsy-arrow-e {
  border-left-color: #000;
}
.tipsy-arrow-w {
  border-right-color: #000;
}

.tipsy-n .tipsy-arrow {
  top: 0px;
  left: 50%;
  margin-left: -5px;
  border-bottom-style: solid;
  border-top: none;
  border-left-color: transparent;
  border-right-color: transparent;
}
.tipsy-nw .tipsy-arrow {
  top: 0;
  left: 10px;
  border-bottom-style: solid;
  border-top: none;
  border-left-color: transparent;
  border-right-color: transparent;
}
.tipsy-ne .tipsy-arrow {
  top: 0;
  right: 10px;
  border-bottom-style: solid;
  border-top: none;
  border-left-color: transparent;
  border-right-color: transparent;
}
.tipsy-s .tipsy-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-top-style: solid;
  border-bottom: none;
  border-left-color: transparent;
  border-right-color: transparent;
}
.tipsy-sw .tipsy-arrow {
  bottom: 0;
  left: 10px;
  border-top-style: solid;
  border-bottom: none;
  border-left-color: transparent;
  border-right-color: transparent;
}
.tipsy-se .tipsy-arrow {
  bottom: 0;
  right: 10px;
  border-top-style: solid;
  border-bottom: none;
  border-left-color: transparent;
  border-right-color: transparent;
}
.tipsy-e .tipsy-arrow {
  right: 0;
  top: 50%;
  margin-top: -5px;
  border-left-style: solid;
  border-right: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
.tipsy-w .tipsy-arrow {
  left: 0;
  top: 50%;
  margin-top: -5px;
  border-right-style: solid;
  border-left: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.stickyWrapper2 {
  height: 141px !important;
}
.eu .stickyWrapper2 {
  height: 41px !important;
}

.boxText {
  pointer-events: none;
}
