.flow-viz-player h1, .flow-viz-player h2, .flow-viz-player h3, .flow-viz-player h4, .flow-viz-player h5, .flow-viz-player h6, .flow-viz-player p, .flow-viz-player dl, .flow-viz-player dt, .flow-viz-player dd, .flow-viz-player ol, .flow-viz-player ul, .flow-viz-player li, .flow-viz-player fieldset, .flow-viz-player form, .flow-viz-player table, .flow-viz-player caption, .flow-viz-player tbody, .flow-viz-player tfoot, .flow-viz-player thead, .flow-viz-player tr, .flow-viz-player th, .flow-viz-player td, .flow-viz-chart h1, .flow-viz-chart h2, .flow-viz-chart h3, .flow-viz-chart h4, .flow-viz-chart h5, .flow-viz-chart h6, .flow-viz-chart p, .flow-viz-chart dl, .flow-viz-chart dt, .flow-viz-chart dd, .flow-viz-chart ol, .flow-viz-chart ul, .flow-viz-chart li, .flow-viz-chart fieldset, .flow-viz-chart form, .flow-viz-chart table, .flow-viz-chart caption, .flow-viz-chart tbody, .flow-viz-chart tfoot, .flow-viz-chart thead, .flow-viz-chart tr, .flow-viz-chart th, .flow-viz-chart td {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
}

.flow-viz-player article, .flow-viz-player aside, .flow-viz-player details, .flow-viz-player figcaption, .flow-viz-player figure, .flow-viz-player footer, .flow-viz-player header, .flow-viz-player menu, .flow-viz-player nav, .flow-viz-player section, .flow-viz-chart article, .flow-viz-chart aside, .flow-viz-chart details, .flow-viz-chart figcaption, .flow-viz-chart figure, .flow-viz-chart footer, .flow-viz-chart header, .flow-viz-chart menu, .flow-viz-chart nav, .flow-viz-chart section {
  display: block;
}

.flow-viz-player svg, .flow-viz-chart svg {
  display: block;
}

.flow-viz-player ol, .flow-viz-player ul, .flow-viz-chart ol, .flow-viz-chart ul {
  list-style: none;
}

.flow-viz-player blockquote, .flow-viz-player q, .flow-viz-chart blockquote, .flow-viz-chart q {
  quotes: none;
}

.flow-viz-player blockquote:before, .flow-viz-player blockquote:after, .flow-viz-player q:before, .flow-viz-player q:after, .flow-viz-chart blockquote:before, .flow-viz-chart blockquote:after, .flow-viz-chart q:before, .flow-viz-chart q:after {
  content: none;
}

.flow-viz-player table, .flow-viz-chart table {
  border-collapse: collapse;
  border-spacing: 0;
}

.flow-viz-player .footer-right .fallback {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

.flow-viz-player, .flow-viz-chart {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.flow-viz-player .footer {
  background-color: #707173;
  background-image: -moz-linear-gradient(top, #828385, #707173);
  background-image: -webkit-linear-gradient(top, #828385, #707173);
  background-image: linear-gradient(to bottom, #828385, #707173);
}

.flow-viz-chart {
  font-family: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}

.flow-viz-chart .narrow-space {
  display: inline;
  font-size: 50%;
}

.flow-viz-chart .indicator {
  position: absolute;
  font-weight: bold;
  color: #2a5668;
  white-space: nowrap;
}

.flow-viz-chart .indicator.side-right {
  text-align: left;
}

.flow-viz-chart .indicator.side-left {
  text-align: right;
}

.flow-viz-chart .indicator.open {
  z-index: 100;
}

.flow-viz-chart .indicator-visualization, .flow-viz-chart .indicator-labels {
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
}

.flow-viz-chart .side-right .indicator-visualization, .flow-viz-chart .side-right .indicator-labels {
  text-align: left;
}

.flow-viz-chart .side-left .indicator-visualization, .flow-viz-chart .side-left .indicator-labels {
  text-align: right;
}

.flow-viz-chart .indicator-labels {
  border-radius: 4px;
  padding: 0 4px;
  text-align: left;
}

.flow-viz-chart .side-right .indicator-labels {
  margin-left: 3px;
}

.flow-viz-chart .side-left .indicator-labels {
  margin-right: 3px;
}

.flow-viz-chart .open .indicator-labels {
  background-color: #F0F0F0;
}

.flow-viz-chart .side-right .indicator-value-and-unit, .flow-viz-chart .side-right .indicator-short-label, .flow-viz-chart .side-right .indicator-tendency-arrow, .flow-viz-chart .side-right .indicator-tendency-percent {
  float: left;
  margin-right: 3px;
}

.flow-viz-chart .side-left .indicator-value-and-unit, .flow-viz-chart .side-left .indicator-short-label, .flow-viz-chart .side-left .indicator-tendency-arrow, .flow-viz-chart .side-left .indicator-tendency-percent {
  float: right;
  margin-left: 3px;
}

.flow-viz-chart .indicator-visualization > div, .flow-viz-chart .indicator-tendency-arrow > div {
  display: block;
}

.flow-viz-chart .indicator-value-and-unit .unit, .flow-viz-chart .indicator-value-and-unit .suffix, .flow-viz-chart .indicator-value-and-unit .separated-suffix {
  font-size: 90%;
}

.flow-viz-chart .indicator-value-and-unit .unit {
  margin-right: 2px;
}

.flow-viz-chart .indicator-value-and-unit .separated-suffix {
  margin-left: 2px;
}

.flow-viz-chart .indicator-tendency-percent {
  display: none;
  font-size: 90%;
  color: #12859C;
}

.flow-viz-chart .indicator-tendency-percent .narrow-space {
  font-size: 60%;
}

.flow-viz-chart .open .indicator-tendency-percent {
  display: block;
}

.flow-viz-chart .indicator-full-label-and-description {
  display: none;
  clear: both;
}

.flow-viz-chart .indicator-short-label, .flow-viz-chart .indicator-full-label, .flow-viz-chart .indicator-description {
  color: #2d2d2d;
}

.flow-viz-chart .open .indicator-short-label {
  display: none;
}

.flow-viz-chart .indicator-full-label {
  clear: both;
  padding: 4px 0 2px;
  text-transform: uppercase;
}

.flow-viz-chart .indicator-description {
  padding-bottom: 3px;
}

.flow-viz-chart .relation-labels {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  cursor: default;
  font-size: 11px;
  text-align: center;
}

@media screen and (min-width: 520px) {
  .flow-viz-chart .relation-labels {
    font-size: 12px;
  }
}

@media screen and (min-width: 800px) {
  .flow-viz-chart .relation-labels {
    font-size: 13px;
  }
}

.flow-viz-chart .relation-value-label, .flow-viz-chart .relation-description-label, .flow-viz-chart .relation-percentage-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 3px;
  background-color: rgba(255, 255, 255, 0.9);
}

.flow-viz-chart .relation-value-label {
  z-index: 2;
  line-height: 1.25;
}

.flow-viz-chart .relation-value-label .unit {
  margin-right: 1px;
}

@media screen and (max-width: 520px) {
  .flow-viz-chart .relation-value-label .value {
    font-weight: normal;
  }
}

@media screen and (min-width: 800px) {
  .flow-viz-chart .relation-value-label .value {
    font-size: 150%;
  }
}

.flow-viz-chart .relation-description-label {
  z-index: 2;
  line-height: 1.4;
}

.flow-viz-chart .relation-percentage-label {
  z-index: 1;
  font-size: 75%;
  line-height: 1.3;
}

.flow-viz-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: white;
  font-family: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}

.flow-viz-player .header {
  position: absolute;
  z-index: 1;
  padding: 5px 8px;
  max-width: 30%;
  line-height: 1.3;
  font-size: 10px;
}

@media screen and (min-width: 520px) {
  .flow-viz-player .header {
    font-size: 12px;
  }
}

@media screen and (min-width: 800px) {
  .flow-viz-player .header {
    font-size: 14px;
  }
}

@media screen and (min-width: 1000px) {
  .flow-viz-player .header {
    font-size: 16px;
  }
}

.flow-viz-player .header .title, .flow-viz-player .header .relation {
  background-color: white;
}

.flow-viz-player .header .title {
  font-size: 1.4em;
  font-weight: 600;
}

.flow-viz-player .header .relation {
  color: #999;
}

@media screen and (max-width: 300px) {
  .flow-viz-player .header .relation {
    display: none;
  }
}

.flow-viz-player .current-date {
  position: absolute;
  left: 0;
  bottom: 20px;
  padding-bottom: 5px;
  width: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 2px;
  color: #d5d5d5;
}

@media screen and (min-height: 350px) {
  .flow-viz-player .current-date {
    font-size: 25px;
  }
}

@media screen and (min-height: 500px) {
  .flow-viz-player .current-date {
    font-size: 30px;
  }
}

@media screen and (min-height: 600px) {
  .flow-viz-player .current-date {
    font-size: 35px;
  }
}

@media screen and (min-height: 700px) {
  .flow-viz-player .current-date {
    font-size: 42px;
  }
}

@media screen and (min-height: 800px) {
  .flow-viz-player .current-date {
    font-size: 45px;
  }
}

.flow-viz-player .flow-viz-chart {
  position: absolute;
  top: 0;
  bottom: 40px;
  left: 0;
  width: 100%;
}

@media screen and (min-height: 500px) {
  .flow-viz-player .flow-viz-chart {
    bottom: 45px;
  }
}

@media screen and (min-height: 700px) {
  .flow-viz-player .flow-viz-chart {
    bottom: 50px;
  }
}

.flow-viz-player .footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  font-size: 12px;
  line-height: 20px;
  color: white;
}

.flow-viz-player .footer a {
  color: white;
  text-decoration: none;
}

.flow-viz-player .footer-left {
  position: absolute;
  left: 0;
  padding-left: 52px;
}

.flow-viz-player .nav-play {
  display: block;
  position: absolute;
  left: 0;
  border-right: 1px solid silver;
  width: 50px;
  height: 20px;
  font-size: 0;
}

.flow-viz-player .nav-play:hover {
  background-color: #666;
}

.flow-viz-player .nav-play:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 50px;
  height: 20px;
  background-image: url("../images/play-button.png");
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: 20px 20px;
  background-size: 20px 20px;
}

.flow-viz-player .nav-play.stop:before {
  background-image: url("../images/stop-button.png");
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: 20px 20px;
  background-size: 20px 20px;
}

.flow-viz-player .nav-left, .flow-viz-player .nav-right {
  position: absolute;
  display: block;
  border-right: 1px solid silver;
  width: 25px;
  height: 20px;
  font-size: 20px;
  line-height: 17px;
  font-weight: bold;
  text-align: center;
}

.flow-viz-player .nav-left.enabled:hover, .flow-viz-player .nav-right.enabled:hover {
  background-color: #666;
}

.flow-viz-player .nav-left.disabled, .flow-viz-player .nav-right.disabled {
  color: silver;
}

.flow-viz-player .nav-left.disabled:hover, .flow-viz-player .nav-right.disabled:hover {
  cursor: default;
}

.flow-viz-player .nav-left {
  left: 0;
}

.flow-viz-player .nav-right {
  left: 26px;
}

.flow-viz-player .destination {
  margin-bottom: 5px;
  color: #8FD3F2;
  text-transform: uppercase;
}

.flow-viz-player .main-title, .flow-viz-player .sub-title {
  display: block;
  white-space: nowrap;
}

.flow-viz-player .sub-title {
  margin-top: 5px;
}

.flow-viz-player .keyframe-number {
  float: left;
  padding: 0 8px;
  white-space: nowrap;
  color: silver;
}

.flow-viz-player .dots {
  position: relative;
  float: left;
  padding-right: 8px;
}

.flow-viz-player .dots circle {
  cursor: pointer;
}

@media screen and (max-width: 300px) {
  .flow-viz-player .dots {
    display: none;
  }
}

.flow-viz-player .footer .title {
  float: left;
  padding-left: 8px;
  border-left: 1px solid silver;
  height: 20px;
  color: white;
  text-shadow: 1px 1px 1px #333;
}

@media screen and (max-width: 300px) {
  .flow-viz-player .footer .title {
    display: none;
  }
}

.flow-viz-player .footer-right {
  position: absolute;
  right: 0;
}

.flow-viz-player .footer-right a {
  position: relative;
  float: right;
  border-left: 1px solid silver;
  width: 25px;
  height: 20px;
}

.flow-viz-player .footer-right a:hover {
  background-color: #666;
}

.flow-viz-player .toggle-legend {
  text-align: center;
}

.flow-viz-player .toggle-legend:after {
  content: 'i';
  font-family: Consolas, Georgia, 'Times New Roman', serif;
  font-size: 125%;
  line-height: 24px;
}

.flow-viz-player .toggle-fullscreen {
  background-image: url("../images/fullscreen.png");
  -webkit-background-size: 20px 20px;
  background-size: 20px 20px;
  background-position: center;
}

.flow-viz-player .tooltip {
  position: absolute;
  bottom: 30px;
  left: 0;
  z-index: 200;
  display: none;
  background-color: #333;
  background-image: -moz-linear-gradient(top, #666, #333);
  background-image: -webkit-linear-gradient(top, #666, #333);
  background-image: linear-gradient(to bottom, #666, #333);
  text-align: left;
  font-size: 13px;
  line-height: 1;
  padding: 5px;
  white-space: nowrap;
}

.flow-viz-player .tooltip:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  height: 0;
  width: 0;
  background: transparent;
  margin-left: -10px;
  border-style: solid;
  border-color: #333 transparent;
  border-width: 8px 10px 0 10px;
}

.flow-viz-player .nav-left .tooltip {
  left: 3px;
}

.flow-viz-player .nav-left .tooltip:after {
  left: 15px;
}

.flow-viz-player .nav-right .tooltip {
  left: 2px;
}

.flow-viz-player .nav-right .tooltip:after {
  left: 15px;
}

.flow-viz-player .dots .tooltip {
  bottom: 35px;
}

.flow-viz-player .toggle-legend .tooltip {
  left: -20px;
}

.flow-viz-player .toggle-fullscreen .tooltip {
  left: auto;
  right: 0;
}

.flow-viz-player .toggle-fullscreen .tooltip:after {
  left: auto;
  right: 0;
}

.flow-viz-player .contextbox {
  display: none;
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 4px;
  padding: 0 10px;
  width: 200px;
  background-color: #f7f7f7;
  font-size: 12px;
  line-height: 1.2;
  color: #505050;
}

.flow-viz-player .contextbox.visible {
  display: block;
}

@media screen and (max-width: 300px) {
  .flow-viz-player .contextbox.visible {
    display: none;
  }
}

.flow-viz-player .contextbox p, .flow-viz-player .contextbox ul {
  margin: 10px 0;
}

.flow-viz-player .contextbox ul {
  list-style: circle;
  margin-left: 15px;
}

.flow-viz-player .legend {
  position: absolute;
  bottom: 30px;
  z-index: 100;
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.2;
}

.flow-viz-player .legend a {
  color: inherit;
}

.flow-viz-player .legend td {
  padding-bottom: 10px;
}

.flow-viz-player .legend tr:last-child td {
  padding-bottom: 0;
}

.flow-viz-player .legend img {
  vertical-align: top;
}

.flow-viz-player .legend__icon {
  width: 30px;
  padding-right: 10px;
  text-align: center;
  font-size: 16px;
}

.flow-viz-player .legend__source {
  font-weight: bold;
}

.flow-viz-player .legend__close {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.flow-viz-player .legend__toggle {
  float: right;
  text-decoration: none;
  color: #808080;
}

.flow-viz-player .legend__toggle:before {
  padding-right: 2px;
  font-size: 8px;
}

.flow-viz-player .legend__heading {
  margin-bottom: 10px;
  border-bottom: 1px solid;
  padding-bottom: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

.flow-viz-player .legend__sectionBody {
  padding-right: 10px;
}

.flow-viz-player .legend__magnet {
  float: left;
  margin-top: 3px;
  width: 50%;
  height: 12px;
}

.flow-viz-player .legend__relationArrow {
  float: left;
  position: relative;
  width: 20px;
  height: 10px;
  background-color: #e0e0e0;
}

.flow-viz-player .legend__relationArrow:after {
  content: '';
  display: block;
  position: absolute;
  left: 100%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px;
  border-color: transparent transparent transparent #e0e0e0;
}

.flow-viz-player .legend--closed {
  padding-left: 10px;
}

.flow-viz-player .legend--closed .legend__toggle:before {
  content: '\25BA';
}

.flow-viz-player .legend--closed .legend__long {
  display: none;
}

.flow-viz-player .legend--opened {
  padding: 10px;
  background-color: #f5f5f5;
  box-shadow: 1px 1px 5px #666;
}

.flow-viz-player .legend--opened .legend__toggle:before {
  content: '\25BC';
}

.flow-viz-player .legend--opened .legend__long {
  display: block;
}

.flow-viz-player .legend--opened .legend__section {
  margin-bottom: 15px;
}

.flow-viz-player .legend--opened .legend__section:last-child {
  margin-bottom: 0;
}

.flow-viz-player .legend--overlay {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: auto;
  max-width: 400px;
  max-height: 300px;
  overflow-y: auto;
}

.flow-viz-player .legend--overlay.legend--closed {
  display: none;
}

.flow-viz-player .legend--overlay .legend__close {
  display: block;
}

.flow-viz-player .legend--overlay .legend__toggle {
  display: none;
}
