html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

button, input[type=submit] {
  display: inline-block;
  border: none;
  margin: 0;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
}

textarea, select, input[type=date], input[type=checkbox], input[type=datetime], input[type=datetime-local], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], input[type=reset i] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-background-clip: padding;
  -moz-background-clip: padding;
  background-clip: padding-box;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -webkit-appearance: none;
  background-color: #fff;
  color: #000;
  outline: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: 1em;
  height: 1em;
  vertical-align: middle;
  border-style: none;
}

select, select, select {
  background: #fff url("data:image/png;base64,R0lGODlhDQAEAIAAAAAAAP8A/yH5BAEHAAEALAAAAAANAAQAAAILhA+hG5jMDpxvhgIAOw==");
  background-repeat: no-repeat;
  background-position: 97% center;
}

wpadminbar {
  display: none !important;
}

body {
  background-color: white;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

.item {
  /*opacity: 0.2;*/
  /*transition: opacity 0.2s ease-in-out;*/
  /*filter: saturate(0%);*/
  /*filter: url(#filter_red);*/
}

.item:not(.item-line) {
  cursor: pointer;
}

.item-source:not(.item-line) {
  filter: url(#filter_green) !important;
}

.item-line.item-source text {
  filter: url(#filter_green) !important;
  /*stroke: #e63c26;*/
}

.item-active:not(.item-line) {
  filter: url(#filter_red);
}

.item-line.item-active *:not(text) {
  stroke: #e63c26;
}

.item-line.item-active text {
  filter: url(#filter_red);
  /*stroke: #e63c26;*/
}

.item-secondary:not(.item-line) {
  filter: url(#filter_yellow);
}

.item-line.item-secondary *:not(text) {
  stroke: #FFAF9C;
}

.item-line.item-secondary text {
  filter: url(#filter_yellow);
  /*stroke: #e63c26;*/
}

.base-item:hover {
  /*opacity: 1;*/
}

.illustration {
  transition: transform 0.2s ease-in-out;
  transform-origin: 0% 50%;
}

.illustration svg {
  width: 100vw;
  height: 100vh;
}

.debug_overlay {
  font-family: monospace;
  font-size: 12px;
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 10px;
  z-index: 1000;
  background-color: #fafafa;
}
.debug_overlay.hidden {
  display: none;
}

.controls {
  position: fixed;
  top: 0;
  right: 0;
  padding: 10px;
  transition: right 0.2s ease-in-out;
}
.controls button {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: black;
  background: white;
  width: 1.45em;
  border-radius: 100px;
}
.controls button:hover {
  background-color: whitesmoke;
  border-color: transparent;
}
.controls button span {
  display: block;
  transform: translate(0%, -0.075em);
}

.iframe--illustration {
  position: absolute;
  top: 50px;
  left: 0;
  height: calc(100% - 50px);
  width: 100%;
  pointer-events: none;
}

.topbar {
  position: absolute;
  top: 0;
  height: 50px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.topbar .main {
  flex-grow: 1;
  background-color: #004e76;
  display: flex;
  flex-direction: row;
}
.topbar .main .title {
  flex-grow: 1;
  color: #FFF;
  font-size: 1.85em;
  font-weight: bold;
  line-height: 1.7em;
  text-align: center;
}
.topbar .main .info-btn {
  width: 50px;
  height: 50px;
  color: #FFF;
  text-decoration: none;
}
.topbar .main .info-btn .text {
  text-align: center;
  font-size: 0.65em;
  padding: 0.25em 0;
}
.topbar .main .info-btn img {
  height: 55%;
  width: auto;
  margin: auto;
  display: block;
}
.topbar .main .info-btn:hover {
  opacity: 0.7;
}
.topbar .logos {
  width: 350px;
  display: flex;
  flex-direction: row;
}
.topbar .logos .column .label {
  font-size: 0.65em;
  padding: 0.25em 0.5em;
}
.topbar .logos .column .images {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.topbar .logos .column .images a {
  padding: 0 0.25em;
}
.topbar .logos .column .images a img {
  height: 30px;
  width: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 5vw;
  right: 5vw;
  bottom: 5vw;
  background-color: white;
  z-index: 100;
  height: calc(100vh - 5vw);
  box-shadow: 0 0 1.5vw rgba(0, 0, 0, 0.15);
  transition: transform 0.85s ease-in-out;
}
.overlay .page {
  height: calc(100% - 100px);
  overflow-y: auto;
}
.overlay .inner {
  color: #323232;
  padding: 35px 20px;
  max-width: 700px;
  margin: auto;
  overflow-y: auto;
}
.overlay .inner h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 1em;
}
.overlay .inner img {
  margin-top: 1.5em;
  width: 100%;
  height: auto;
}
.overlay .inner p {
  margin-bottom: 0.5em;
  line-height: 135%;
}
.overlay .inner ul {
  margin-top: 2em;
  margin-bottom: 2em;
  margin-left: 2em;
  margin-right: 3em;
}
.overlay .inner ul li {
  margin-bottom: 1em;
  position: relative;
}
.overlay .inner ul li span.number {
  font-weight: bold;
  position: absolute;
  top: 0.1em;
  left: -1.25em;
}
.overlay .inner .low-res {
  background-color: #ffe6e6;
  border-radius: 5px;
  color: #aa0000;
  padding: 25px;
}
.overlay .inner .low-res h4 {
  font-weight: bold;
  font-size: 1.25em;
  margin-bottom: 0.25em;
}
@media screen and (min-width: 600px) {
  .overlay .inner .low-res {
    display: none;
  }
}
.overlay .launch {
  width: 100%;
  text-align: center;
}
.overlay .launch button {
  margin: auto;
  margin-top: 2em;
  border-radius: 5px;
  padding: 10px;
  background: #14ff14;
  color: black;
}

.info {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 350px;
  background-color: white;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translate(100%, 0%);
  opacity: 0;
  transition: all 0.2s ease-in-out;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}
.info .info--nav {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.info .info--nav a {
  padding: 15px;
  display: block;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.info .info--nav a:hover {
  color: black;
}
.info .info--title {
  font-size: 1.45em;
  padding: 15px;
}
.info .info--descr {
  line-height: 1.2em;
  padding: 0 15px 15px 15px;
}
.info .info--descr img {
  width: 100%;
  height: auto;
}
.info .info--secondary {
  transition: all 0.2s ease-in-out;
  opacity: 0;
  transform: translate(100%, 0%);
  background-color: #f2f2f2;
}

.tooltips {
  position: absolute;
  bottom: 0;
  background: #FFF;
  left: 0;
  display: flex;
  flex-direction: row;
  z-index: 100000;
}
.tooltips .tooltip {
  padding: 0.65em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tooltips .tooltip .text {
  text-align: center;
  font-size: 0.5em;
  padding-bottom: 0.25em;
}
.tooltips .tooltip img {
  display: block;
  height: 20px;
  width: auto;
  margin-bottom: 0.25em;
}

body.info--active .controls {
  right: 350px;
}
body.info--active .info {
  transform: translate(0%, 0%);
  opacity: 1;
}

body.info--active--secondary .info .info--secondary {
  transform: translate(0%, 0%);
  opacity: 1;
}

body.show_illustration .overlay {
  transform: translate(0%, -100%);
}
body.show_illustration .iframe--illustration {
  pointer-events: auto;
}
