/**
 * CSS for the main pages.
 */

/****************************************************************************
 * Redclared from /css/basic.css because without these the visualisations end
 * up very small, and it would be nice for this all to look Not Too Terrible
 * should that file move or not load.
 */
.colmask {
  float:left;
  width:100%;
}

/****************************************************************************
 * On with our textviz-specific CSS now.
 */

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}

button {
  cursor: pointer;
}

select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

hr {
  margin: 2em 0;
}

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.border {
  border: 1px solid #eee !important;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.ml-1 { margin-left: 1rem !important; }
.mr-1 { margin-right: 1rem !important; }

/* Visible to screen readers only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.emphasis {
	font-weight:bold;
	color: #9a1107;
}

.list-spaced li {
  margin-bottom: 1em;
}

.text-success {
  color: #090;
}
.text-error {
  color: #c00;
}
.text-disabled {
  color: #999;
}
.text-base {
  /* So we can override the above, if necessary. */
  color: #151414;
}

/* Some flexbox utilities, based on Bootstrap's */
.d-flex {
  display: flex;
}
.align-items-end {
  align-items: flex-end;
}
.justify-content-end {
  justify-content: flex-end;
}
.justify-content-between {
  justify-content: space-between;
}
.flex-grow-1 {
  flex-grow: 1;
}
.flex-wrap {
  flex-wrap: wrap;
}


.maincontent {
  padding-left: 15px;
  padding-right: 15px;
	padding-bottom: 20px;
	min-height: calc(100vh - 55px);
}
@media (min-width: 600px) {
  .maincontent {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.page-header {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.page-header .page-header-title {
  order: 2;
  margin-top: 0;
}
.page-header-nav {
  order: 1;
  margin-bottom: 0.5em;
}
/* Used beneath the nav on some pages. */
.maincontent .page-subtitle {
  margin-top: 0;
  margin-bottom: 1em;
}

.nav {
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0 0 1em 0;
  list-style-type: none;
  border-bottom: 1px solid #eee;
  margin-bottom: 1em;
}
.nav li {
  margin: 0 0.5em;
  white-space: nowrap;
}
.nav .nav-active {
  font-weight: bold;
}


.table {
  border-collapse: collapse;
  width: 100%;
}
.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: 0.2em 0.3em;
}
.td-left {
  text-align: left;
}
.td-center {
  text-align: center;
}
.td-right {
  text-align: right;
}
.table-striped tbody tr:nth-of-type(odd) {
   background-color: #eee;
}

@media (min-width: 600px) {
  /* Add two columns above a certain width. */
  .row {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .column {
    -ms-flex: 1 0 0px !important;
    flex: 1 0 0 !important;
    padding: 0 10px;
  }
}

/* Visualisation thumbnails. */
.thumbnail {
  margin: 0 0.5rem 1rem 0.5rem;
  text-align: center;
  width: 150px;
}

.button {
  background-color: white;
  border: 1px solid #9a1107;
  color: #9a1107;
  padding: 15px 20px 16px 20px;
  font-size: 100%;
  margin: 0;
}
.button:hover {
  background-color: #f6f6f6;
  text-decoration: none;
}
.button-sm {
  padding: 3px 6px 4px 6px;
  font-size: 11px;
}
.button-img {
  padding: 0;
  border: none;
  background-color: transparent;
}
.button-img:hover {
  background-color: transparent;
  text-decoration: underline;
}

#names {
	padding-top: 15px;
}

.entities-select {
  width: 100%;
  height: 12em;
}
.entities-select option:disabled {
  display: none;
}

/**
 * Make Safari/IE full-screen behave like Chrome and Firefox, by filling
 * the entire screen. Otherwise the svg stays the same size as on the page.
 */
:-webkit-full-screen {
	position: fixed;
	width: 100%;
	top: 0;
  height: 100%;
	background: none;
}
:-ms-fullscreen {
  width: auto;
  height: auto;
  margin: auto;
}

.checkbox-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checkbox-tree .checkbox-tree {
  margin-left: 1.5em;
}
.checkbox-tree li {
  margin: 0;
  padding: 0;
}

/**
 * Select2 form field customisations.
 */

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #9a1107;
}


/****************************************************************************
 * CSS Icons
 * From https://css.gg
 *
 * <a href="#" class="has-icon-right">
 *   Download
 *   <i class="gg gg-software-download"></i>
 * </a>
 */

.has-icon-left,
.has-icon-right{
  display: inline-flex;
  align-items: center;
}

.has-icon-left .gg {
  margin-right: 0.3rem;
}
.has-icon-right .gg {
  margin-left: 0.4rem;
}

.gg-software-download {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 16px;
    height: 6px;
    border: 2px solid;
    border-top: 0;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    margin-top: 8px
}
.gg-software-download::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 8px;
    height: 8px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
    left: 2px;
    bottom: 4px
}
.gg-software-download::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 2px;
    height: 10px;
    background: currentColor;
    left: 5px;
    bottom: 5px
}

.gg-arrow-left {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 22px;
    height: 22px
}
.gg-arrow-left::after,
.gg-arrow-left::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    left: 3px
}
.gg-arrow-left::after {
    width: 8px;
    height: 8px;
    border-bottom: 2px solid;
    border-left: 2px solid;
    transform: rotate(45deg);
    bottom: 7px
}
.gg-arrow-left::before {
    width: 16px;
    height: 2px;
    bottom: 10px;
    background: currentColor
}

.gg-arrow-right {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 22px;
    height: 22px
}
.gg-arrow-right::after,
.gg-arrow-right::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    right: 3px
}
.gg-arrow-right::after {
    width: 8px;
    height: 8px;
    border-top: 2px solid;
    border-right: 2px solid;
    transform: rotate(45deg);
    bottom: 7px
}
.gg-arrow-right::before {
    width: 16px;
    height: 2px;
    bottom: 10px;
    background: currentColor
}

.gg-maximize-alt {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 14px;
    height: 14px;
    box-shadow:
        -6px -6px 0 -4px,
        6px 6px 0 -4px,
        6px -6px 0 -4px,
        -6px 6px 0 -4px
}
.gg-maximize-alt::after,
.gg-maximize-alt::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 22px;
    height: 2px;
    border-left: 8px solid;
    border-right: 8px solid;
    transform: rotate(-45deg);
    bottom: 6px;
    left: -4px
}
.gg-maximize-alt::before {
    transform: rotate(45deg)
}


/****************************************************************************
 * Loading spinner
 * From https://tobiasahlin.com/spinkit/
 */

.sk-fading-circle {
  margin: 100px auto;
  width: 40px;
  height: 40px;
  position: relative;
}

.sk-fading-circle .sk-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-fading-circle .sk-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #151414;
  border-radius: 100%;
  -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
          animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
.sk-fading-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg);
}
.sk-fading-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
      -ms-transform: rotate(60deg);
          transform: rotate(60deg);
}
.sk-fading-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
.sk-fading-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
      -ms-transform: rotate(120deg);
          transform: rotate(120deg);
}
.sk-fading-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
      -ms-transform: rotate(150deg);
          transform: rotate(150deg);
}
.sk-fading-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.sk-fading-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
      -ms-transform: rotate(210deg);
          transform: rotate(210deg);
}
.sk-fading-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
      -ms-transform: rotate(240deg);
          transform: rotate(240deg);
}
.sk-fading-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
          transform: rotate(270deg);
}
.sk-fading-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
      -ms-transform: rotate(300deg);
          transform: rotate(300deg); 
}
.sk-fading-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
      -ms-transform: rotate(330deg);
          transform: rotate(330deg); 
}
.sk-fading-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s; 
}
.sk-fading-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s; 
}
.sk-fading-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s; 
}
.sk-fading-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s; 
}
.sk-fading-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s; 
}
.sk-fading-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s; 
}
.sk-fading-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s; 
}
.sk-fading-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
}
.sk-fading-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}
.sk-fading-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
}
.sk-fading-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

@keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; } 
}


/****************************************************************************
 * Animation used on the Word Chart.
 * From https://github.com/daneden/animate.css
 * Only use the styles we need, rather than include entire animate.css file.
 */

@-webkit-keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}


@-webkit-keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

.slideOutUp {
  -webkit-animation-name: slideOutUp;
  animation-name: slideOutUp;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}


/****************************************************************************
 * Styles for Narrative Map.
 */

.map {
  width: 100%;
  /* Above this width, the map gets a sidebar, which we don't need: */
  max-width: 700px;
  height: calc(100vh - 180px);
}
.map > iframe {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.timeline {
  width: 100%;
}

.timeline-inner {
  width: 100%;
  position: relative;
  padding: 10px 0;
}

/* The vertical line. */
.timeline-inner::after {
  content: '';
  position: absolute;
  width: 1px;
  background-color: #a3a1a6;
  top: 0;
  bottom: 0;
  right: 20px;
}

.timeline h2 {
  font-size: 16px;
  margin: 1em 56px 0 21px;
  padding: 0;
}

/* The text lables. */
.timeline-item {
  width: 100%;
  padding: 10px 45px 10px 10px;
  position: relative;
  left: 0px;
}

/* The circles on the timeline */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #e2e0c8;
  border: 1px solid #a3a1a6;
  top: 23px;
  border-radius: 50%;
  z-index: 1;
  right: 12px;
}
/* The arrows pointing to the circles */
.timeline-item::before {
  content: " ";
  height: 0;
  position: absolute;
  z-index: 1;
  width: 0;
  top: 22px;
  right: 35px;
  border: 1px solid #ddddde;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #ddddde;
}

.timeline-item-inner {
  padding: 8px 10px 13px 10px;
  background-color: white;
  position: relative;
  border-radius: 5px;
  border: 1px solid #ddddde;
}
.timeline-item-inner p {
  margin-bottom: 0;
}


/* At wider widths, put timeline and map side-by-side */
@media screen and (min-width: 600px) {
  .map-timeline {
    display: flex;
  }

  .map {
    order: 2;
  }

  .timeline {
    order: 1;
    max-width: 200px;
    margin-right: 20px;
    height: calc(100vh - 180px);
    overflow: auto;
  }
}

/* Even wider... */
@media screen and (min-width: 1000px) {
  .timeline {
    max-width: 350px;
  }

  /**
   * All this commented-out stuff will make the labels alternate left and
   * right positions at wider widths.
  .timeline-inner::after {
    right: 50%;
  }

  .timeline h2 {
    margin-right: 21px;
  }

  .timeline-item {
    padding-left: 10px;
    padding-right: 30px;
    width: 50%;
  }

  .timeline-item-right {
    padding-left: 30px;
    padding-right: 10px;
    left: 50%;
  }

  .timeline-item-left::after {
    right: -8px;
  }
  .timeline-item-right::after {
    left: -9px;
  }
  .timeline-item-left::before {
    right: 20px;
  }
  .timeline-item-right::before {
    left: 20px;
    right: auto;
    border-width: 10px 10px 10px 0;
    border-color: transparent #ddddde transparent transparent;
  }
  */
}

/*
@media screen and (min-width: 1100px) {
  .timeline {
    max-width: 400px;
  }
}
@media screen and (min-width: 1200px) {
  .timeline {
    max-width: 500px;
  }
}
*/


/****************************************************************************
 * Styles for Word chart
 */

.wordchart {
  margin: 0;
  padding: 0;
  border-collapse: separate;
  border-spacing: 0 5px; 
  background: #fff;
  max-width: 65em;
}
.wordchart th,
.wordchart td {
  padding: 0 5px;
  line-height: 1.5em;
}

.wordchart tbody tr {
  background-color: #f6f6f6;
}

.wordchart .wordchart-position {
  padding-right: 15px;
}
/* The same width as an "=" symbol: */
.wordchart-position-padding {
  display: inline-block;
  width: 0.8em;
}
th.wordchart-word {
  padding-left: 10px;
}
td.wordchart-word {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  width: 100%;
}
/* The word itself: */
.wordchart-word-term {
  display: block;
  padding-left: 5px;
  /* Keep in front of the bar: */
  position: relative;
  z-index: 10;
}
.wordchart-word-bar {
  height: 1.5em;
  background: #cde;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.wordchart-contexts {
  list-style-type: none;
  line-height: 1.7em;
  margin: 0.5em 0;
  padding: 0;
  /* Keep beind the .word-inner element: */
  z-index: 1;
}
.wordchart-contexts li {
  margin: 0;
  padding: 0 0 0 1.5em;;
  text-indent: -1.5em;
}


/****************************************************************************
 * Styles for all VISUALIZATION CHARTs.
 */

.chart {
  margin-bottom: 3em;
  background: #fff;
  border: 1px solid #eee;
  cursor: pointer;
}
.chart-settings-block {
  margin: 0 20px;
}
.chart-settings-title {
  margin: 0 ! important;
  padding: 0;
}
.chart-settings ul {
  padding: 0 0 0 1.5em;
}
.chart-settings p {
  margin: 1em 0;  
}
.chart-settings-block select {
  width: 100%;
}

/* Add coloured bullets to type list items. */
ul.chart-settings-type {
  padding: 0 0 0 1.3em;
  list-style: none;
  line-height: 1.4em;
}
ul.chart-settings-type li {
  margin: 0.1em 0;
}
ul.chart-settings-type li::before {
  content: "\2022";
  color: #151414;
  font-size: 26px;
  display: inline-block;
  width: 17px;
  margin-left: -17px;
  margin-top: -25px;
  vertical-align: sub;
}


ul.chart-settings-type li.type-action::before,
ul.chart-settings-type li.type-action li::before {        color: #8E541D; }

ul.chart-settings-type li.type-creativework::before,
ul.chart-settings-type li.type-creativework li::before {  color: #6F3E7d; }

ul.chart-settings-type li.type-event::before,
ul.chart-settings-type li.type-event li::before {         color: #6360AA; }

ul.chart-settings-type li.type-intangible::before,
ul.chart-settings-type li.type-intangible li::before {    color: #3E8D69; }

ul.chart-settings-type li.type-medicalentity::before,
ul.chart-settings-type li.type-medicalentity li::before { color: #E34B25; }

ul.chart-settings-type li.type-organization::before,
ul.chart-settings-type li.type-organization li::before {  color: #AE3919; }

ul.chart-settings-type li.type-person::before,
ul.chart-settings-type li.type-person li::before {        color: #205794; }

ul.chart-settings-type li.type-place::before,
ul.chart-settings-type li.type-place li::before {         color: #57992C; }

ul.chart-settings-type li.type-hilite::before,
ul.chart-settings-type li.type-hilite li::before {        color: #FFC508; }

/* Used in different charts for the circles/rects. */
.chart .entity-type-action {        fill: #8E541D !important; }
.chart .entity-type-creativework {  fill: #6F3E7d !important; }
.chart .entity-type-event {         fill: #6360AA !important; }
.chart .entity-type-intangible {    fill: #3E8D69 !important; }
.chart .entity-type-medicalentity { fill: #E34B25 !important; }
.chart .entity-type-organization {  fill: #AE3919 !important; }
.chart .entity-type-person {        fill: #205794 !important; }
.chart .entity-type-place {         fill: #57992C !important; }
.chart .entity-type-hilite {        fill: #FFC508 !important; }

.chart-tooltip {
  position: absolute;
  z-index: 10;
  background: #fff;
  border: 1px solid #eee;
  padding: 0.5em 10px 0.6em 10px;
  font-size: 11px;
  line-height: 1.4em;
  min-width: 100px;
  max-width: 200px;
  box-shadow: 1px 1px 3px rgba(102, 102, 102, 0.5);
}

@media (min-width: 800px) {
  /* Put the chart-settings-block's into columns.*/
  .chart-settings {
    display: flex;
  }
}

/* NOTE: If you change this width value, also change it in the chart Javascript
 * width calculations. */
@media (min-width: 1120px) {
  /* At wide widths, put settings in a column on the right. */
  .chart-settings {
    display: block;
    float: left;
    width: 190px;
    margin-right: 10px;
  }
  .chart-settings-block {
    margin: 0 0 2em 0;
  }
}


/****************************************************************************
 * Styles for Edge Bundling chart only.
 */

.chart-eb .node {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 11px;
  fill: #050a14;
}

.chart-eb .node:hover {
  fill: #000;
}

.chart-eb .link {
  stroke: #999;
  stroke-opacity: 0.1;
  fill: none;
  pointer-events: none;
}

.chart-eb .node-hover,
.chart-eb .node-click,
.chart-eb .node-selected-hover,
.chart-eb .node-selected-click {
  font-weight: 600;
}

.chart-eb .node-hover,
.chart-eb .node-click {
  fill: #d62728;
}

.chart-eb .link-hover,
.chart-eb .link-click {
  stroke-opacity: 1;
}

.chart .link-type-action {        stroke: #8E541D !important; }
.chart .link-type-creativework {  stroke: #6F3E7d !important; }
.chart .link-type-event {         stroke: #6360AA !important; }
.chart .link-type-intangible {    stroke: #3E8D69 !important; }
.chart .link-type-medicallink {   stroke: #E34B25 !important; }
.chart .link-type-organization {  stroke: #AE3919 !important; }
.chart .link-type-person {        stroke: #205794 !important; }
.chart .link-type-place {         stroke: #57992C !important; }


/****************************************************************************
 * Styles for Force Directed chart only.
 */

.chart-fdg .links line {
  fill: none;
}

.chart-fdg .node {
  cursor: move;
}

.chart-fdg .nodes text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 10px;
  text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
}


/****************************************************************************
 * Styles for Circle Packing chart only.
 */

.chart-cp .labels text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 12px;
  text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
}


/****************************************************************************
 * Styles for Overview chart only.
 */

.chart-overview {
  border: none;
}

.chart-overview .term {
  fill: #eee;
}

.chart-overview .term.hover {
  fill: #E09A8E!important;
}
.chart-overview .term.active {
  fill: #d62728 !important;
}
.chart-overview .term.feature {
  fill: #3333dd !important;
}

.chart-overview text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 10px;
}
.chart-overview text.title {
  font-weight: bold;
  font-size: 12px;
}


/****************************************************************************
 * Styles for Word Tree chart only.
 */

.chart-wt-container {
  /* Will be revealed by JS: */
  visibility: hidden;
}

.chart-wt-words-select {
  min-width: 20em;
}

.chart-wt {
  width: 100%;
  height: 90vh;
  padding-top: 20px;
}

.chart-wt g text {
  cursor: pointer;
}

.chart-wt #google-visualization-errors-all-1 * {
  font-size: 1em !important;
}

/****************************************************************************
 * Styles for Word Tree 2 chart only.
 */

.chart-wt2 path { fill: none; stroke: #666; stroke-width: .5px; }

.chart-wt2 text {
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.chart-wt2 svg:not(.hover) text:hover,
.chart-wt2 .hover tspan:hover {
  fill: #f99;
}
.chart-wt2 #vis {
  position: absolute;
  top: 20px;
  left: 10px;
  bottom: 0;
  right: 10px;
}
.chart-wt2 rect {
  fill: none;
  stroke: #ddd;
}
.chart-wt2 ect.page {
  fill: #ff9;
  stroke: #000;
  fill-opacity: .7;
  cursor: move;
}
.chart-wt2 line {
  stroke: #000;
}


/****************************************************************************
 * Styles for DoubleTree chart page only.
 */

.doubletree-container {
  position:relative;
  margin-top: 1em;
}

.doubletree-controls {
	position: absolute;
	left: 0;
}

.doubletree-suggestions {
  position: relative;
  top: -2.5ex;
}

.doubletree-suggestions ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0.1em;
	cursor: pointer;
  border: thin solid #ddd;
  background: #fff;
}

.doubletree-text {
  display: none;
}

.doubletree-chart .node text {
  font-family: "Lucida Grande","bitstream vera sans","trebuchet ms",sans-serif,verdana;
  font-size: 10px;
  font-weight: normal;
  fill: #151414;
  text-shadow: 0 2px 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff;
}

.doubletree-chart .node text.continuation {
  fill: #151414 !important;
  font-weight: bold;
}

.doubletree-chart .node circle {
  stroke: #151414 !important;
  stroke-width: 0.5px !important;
}

.doubletree-chart .link {
  stroke: #999 !important;
  stroke-width: 0.5px !important;
}
