html {
  color:#000;
  margin:0;
  padding:30px;
  position: relative;
  font-family: 'Space Mono',sans-serif;
  background-color: #4a57a1;
}

h1, p {
  margin: 0;
  padding: 0 0 5px 0;
  font-weight: normal;
}

a {
  color:#fff;
}

svg {
  margin:0 auto;
  display: block;
}

.header {
  color:#fff;
  width:240px;
  position: absolute;
}

.header h1 {
  font-size: 36px;
  padding-bottom: 20px;
  line-height: 1.15;
}

.header p {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.7;
}

.axis path {
  stroke:#fff;
  fill:none;
  opacity: 0.5;
  stroke-dasharray: 1 2;
}

.tick {
  font-size: 10px;
  fill:#fff;
  opacity: 0.5;
}

.is-active .node__bg, .person.is-active, .episode.is-active {
  stroke:#fff;
  stroke-width: 2;
}

.node__bg {
/*  fill:#471D97;*/
}
.node__bg.has-no-guests {
}
.label {
  text-anchor: middle;
  fill:#F3F4F4;
  font-size: 10px;
}
.link {
  fill:none;
  stroke-width:2;
  stroke:#383E82;
  opacity: 0.8;
}
.link__highlight {
  stroke-width:1.5;
  opacity: 0.8;
  fill:none;
}
.link__person {
  fill:none;
  stroke:#fff;
  opacity: 0.25;
}
.person__connection {
  stroke:#fff;
  stroke-width:2;
  opacity: 0.5;
}
.person--gender-f {
  fill:#FFEB75;
}

.person--gender-m {
  fill:#FFF;
}
.host { 
  fill:none;
}
.host--gender-m {
  stroke:#96E0FF;
}

.d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  border-radius: 2px;
  pointer-events: none;
  max-width: 300px;
  padding-bottom: -5px;
}

.d3-tip h1 {
  font-size: 14px;
  padding-bottom: 5px;
  line-height: 1.3;
}

.d3-tip p {
  font-size: 12px;
  color:#aaa;
  line-height: 1.5;
}


/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0,0,0,0.8);
  position: absolute;
  pointer-events: none;
}

/* Northward tooltips */
.d3-tip.n:after {
  content: "\25BC";
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
  text-align: center;
}

/* Eastward tooltips */
.d3-tip.e:after {
  content: "\25C0";
  margin: -4px 0 0 0;
  top: 50%;
  left: -8px;
}

/* Southward tooltips */
.d3-tip.s:after {
  content: "\25B2";
  margin: 0 0 1px 0;
  top: -8px;
  left: 0;
  text-align: center;
}

/* Westward tooltips */
.d3-tip.w:after {
  content: "\25B6";
  margin: -4px 0 0 -1px;
  top: 50%;
  left: 100%;
}