@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
/* Settings Area */

:root {
  /* Graphic */
  --graphic-max-wdith: 1000px;
  --graphic-margin: auto;
  --graphic-overflow: auto;

  /* Default Theme */
  --theme-default-main-tabbar-background: #FFFFFF;
  --theme-default-main-tabbar-color: #000000;
  --theme-default-main-tabbar-tint: #025578;
  --theme-default-main-tabbar-underline: solid 3px #025578;
  --theme-default-main-tabbar-border-bottom: none;
  --theme-default-dropdown-button-background: #025578;
  --theme-default-slides-tabbar-background: #F9F9F9;
  --theme-default-slides-tabbar-color: #333333;
  --theme-default-slides-tabbar-tint: #025578;
  --theme-default-slides-tabbar-border-bottom: none;
  --theme-default-slide-image-margin: 32px 0;
  --theme-default-slide-image-width: 360px;
  --theme-default-slide-image-height: auto;
  --theme-default-content-header-color: #0078b1;
  --theme-default-content-header-font-family: Roboto;
  --theme-default-content-header-font-size: 22px;
  --theme-default-content-header-font-weight: 700;
  --theme-default-content-header-text-transform: uppercase;
  --theme-default-content-header-margin-bottom: 10px;
  --theme-default-content-text-max-width: 400px;
  --theme-default-content-text-min-width: 280px;
  --theme-default-content-text-max-height: 500px;
  --theme-default-content-text-color: #003b57;
  --theme-default-content-text-font-family: Roboto;
  --theme-default-content-text-font-size: 20px;
  --theme-default-content-text-font-weight: 400;

  /* RPZ Theme */
  --theme-rpz-main-tabbar-background: #025578;
  --theme-rpz-main-tabbar-color: #FFFFFF;
  --theme-rpz-main-tabbar-tint: #FFFFFF;
  --theme-rpz-main-tabbar-underline: solid 4px #FFFFFFCC;
  --theme-rpz-main-tabbar-border-bottom: none;
  --theme-rpz-dropdown-button-background: #00445F;
  --theme-rpz-slides-tabbar-background: #FFFFFF;
  --theme-rpz-slides-tabbar-color: #333333;
  --theme-rpz-slides-tabbar-tint: #025578;
  --theme-rpz-slides-tabbar-border-bottom: 3px solid #EEEEEE;
  --theme-rpz-slide-image-margin: 32px 0;
  --theme-rpz-slide-image-width: 360px;
  --theme-rpz-slide-image-height: auto;
  --theme-rpz-content-header-color: #00445F;
  --theme-rpz-content-header-font-family: Roboto;
  --theme-rpz-content-header-font-size: 22px;
  --theme-rpz-content-header-font-weight: 700;
  --theme-rpz-content-header-text-transform: uppercase;
  --theme-rpz-content-header-margin-bottom: 10px;
  --theme-rpz-content-text-max-width: 400px;
  --theme-rpz-content-text-min-width: 280px;
  --theme-rpz-content-text-max-height: 500px;
  --theme-rpz-content-text-color: #003b57;
  --theme-rpz-content-text-font-family: Roboto;
  --theme-rpz-content-text-font-size: 20px;
  --theme-rpz-content-text-font-weight: 400;

  /* NOZ Theme */
  --theme-noz-main-tabbar-background: #FFFFFF;
  --theme-noz-main-tabbar-color: #000000;
  --theme-noz-main-tabbar-tint: #000000;
  --theme-noz-main-tabbar-underline: solid 4px #000000;
  --theme-noz-main-tabbar-border-bottom: none;
  --theme-noz-dropdown-button-background: #FFFFFF;
  --theme-noz-slides-tabbar-background: #FFFFFF;
  --theme-noz-slides-tabbar-color: #333333;
  --theme-noz-slides-tabbar-tint: #000000;
  --theme-noz-slides-tabbar-border-bottom: 3px solid #EEEEEE;
  --theme-noz-slide-image-margin: 32px 0;
  --theme-noz-slide-image-width: 360px;
  --theme-noz-slide-image-height: auto;
  --theme-noz-content-header-color: #0078b1;
  --theme-noz-content-header-font-family: Roboto;
  --theme-noz-content-header-font-size: 22px;
  --theme-noz-content-header-font-weight: 700;
  --theme-noz-content-header-text-transform: uppercase;
  --theme-noz-content-header-margin-bottom: 10px;
  --theme-noz-content-text-max-width: 400px;
  --theme-noz-content-text-min-width: 280px;
  --theme-noz-content-text-max-height: 500px;
  --theme-noz-content-text-color: #000000;
  --theme-noz-content-text-font-family: Roboto;
  --theme-noz-content-text-font-size: 20px;
  --theme-noz-content-text-font-weight: 400;

  /* Theme (These properties will be overwritten by the theme set in config */
  --theme-main-tabbar-background: var(--theme-default-main-tabbar-background);
  --theme-main-tabbar-color: var(--theme-default-main-tabbar-color);
  --theme-main-tabbar-tint: var(--theme-default-main-tabbar-tint);
  --theme-main-tabbar-underline: var(--theme-default-main-tabbar-underline);
  --theme-main-tabbar-border-bottom: var(--theme-default-main-tabbar-border-bottom);
  --theme-dropdown-button-background: var(--theme-default-dropdown-button-background);
  --theme-slides-tabbar-background: var(--theme-default-slides-tabbar-background);
  --theme-slides-tabbar-color: var(--theme-default-slides-tabbar-color);
  --theme-slides-tabbar-tint: var(--theme-default-slides-tabbar-tint);
  --theme-slides-tabbar-border-bottom: var(--theme-default-slides-tabbar-border-bottom);
  --theme-slide-image-margin: var(--theme-default-slide-image-margin);
  --theme-slide-image-width: var(--theme-default-slide-image-width);
  --theme-slide-image-height: var(--theme-default-slide-image-height);
  --theme-content-header-color: var(--theme-default-content-header-color);
  --theme-content-header-font-family: var(--theme-default-content-header-font-family);
  --theme-content-header-font-size: var(--theme-default-content-header-font-size);
  --theme-content-header-font-weight: var(--theme-default-content-header-font-weight);
  --theme-content-header-text-transform: var(--theme-default-content-header-text-transform);
  --theme-content-header-margin-bottom: var(--theme-default-content-header-margin-bottom);
  --theme-content-text-max-width: var(--theme-default-content-text-max-width);
  --theme-content-text-min-width: var(--theme-default-content-text-min-width);
  --theme-content-text-max-height: var(--theme-default-content-text-max-height);
  --theme-content-text-color: var(--theme-default-content-text-color);
  --theme-content-text-font-family: var(--theme-default-content-text-font-family);
  --theme-content-text-font-size: var(--theme-default-content-text-font-size);
  --theme-content-text-font-weight: var(--theme-default-content-text-font-weight);
}

/* http://meyerweb.com/eric/tools/css/reset/
   v5.0.1 | 20191019
   License: none (public domain)
*/

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, menu, 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,
main, 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, main, menu, nav, section {
	display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
    display: none;
}
body {
	line-height: 1;
}
menu, 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;
}

/*====================================
=            Base Styles             =
====================================*/

:root {
  --font-family: 'Source Sans Pro', sans-serif;
}

.graphic-wrapper {
  display: grid;
  max-width: 1000px;
  margin: auto;
  font-family: var(--font-family);
}

.graphic-wrapper.shutdown {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem;
}

.graphic-wrapper.shutdown.hzero {
  margin: 0;
  padding: 0;
  height: 0;
}

.shutdown-image {
  max-width: 128px;
  margin: 1rem;
}

.shutdown-message {
  margin: 1rem;
  text-align: center;
}

.error-message {
  box-sizing: border-box;
  padding: 4em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic-wrapper > * {
  grid-area: 1 / 1;
}

.graphic-wrapper a {
  color: #148bcb;
  text-decoration: none;
  background-color: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.graphic {
  min-height: 460px;
}

.flex-spacer {
  flex-grow: 1;
}

.component-fade {
  transition: opacity 0.25s ease-in;
}

.component-entering {
  opacity: 0;
}

.component-entered {
  opacity: 1;
}

/* .component-exiting {} */

.component-exited {
  opacity: 0;
}

/*====================================
=               Header               =
====================================*/

.d2v-header {
  padding: 25px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.d2v-headline {
  margin: 0;
  color: #000000;
  font-size: 24px;
  font-weight: 500;
}

.d2v-subline {
  color: #a5a5a5;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0;
}

/*====================================
=               Footer               =
====================================*/

.d2v-footer {
  display: flex;
  flex-direction: column;
  transition: opacity 1s;
  animation-fill-mode: forwards;
  opacity: 0;
  width: 100%;
  box-sizing: border-box;
}

.d2v-footer.visible {
  opacity: 1;
}

.d2v-footer .main-row {
  display: flex;
  align-items: center;
  transition: opacity 1s;
  padding: 12px 18px;
  animation-fill-mode: forwards;
}

.footer-spacer {
  flex-grow: 1;
}

.footer-divider {
  background: black;
  margin: 0 5px;
  width: 1px;
  align-self: stretch;
}

.d2v-footer a {
  color: #000;
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.d2v-footer .button,
.d2v-option-picker > span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  cursor: pointer;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
}

.d2v-footer .info-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #000000;
  width: 16px;
  height: 16px;
}

.d2v-footer .back-button {
  flex-grow: 1;
  justify-content: flex-start;
}

.d2v-footer .back-button img {
  width: 28px;
  height: 28px;
}

.d2v-footer .source {
  margin-left: 6px;
  font-size: 13px;
}

.d2v-footer .feedback-button {
  text-decoration: underline;
  color: #757575;
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
}

.d2v-footer .company-icon {
  height: 20px;
}

.d2v-footer .source-row {
  padding: 12px 18px;
  padding-top: 0;
}

/*====================================
=            Option Picker           =
====================================*/

.d2v-option-picker {
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.d2v-option-picker ul {
  display: none;
  position: absolute;
  right: 50%;
  bottom: 0;
  transform: translate(50%, 3px);
  z-index: 10;
  margin: 0;
  border-radius: 4px;
  box-shadow: 0 0 1px black;
  background: white;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.d2v-option-picker.active ul {
  display: block;
}

.d2v-option-picker li {
  padding: .25rem .5rem;
  white-space: nowrap;
}

.d2v-option-picker li:hover {
  background: lightblue;
}

.feedback-wrapper {
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  display: grid;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity ease 0.2s;
}

.feedback-wrapper.visible {
  pointer-events: all;
  opacity: 1;
}

.feedback-wrapper > * {
  grid-area: 1 / 1;
}

.feedback-box {
  border-radius: 6px;
  background-color: #ffffff;
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity ease 0.2s;
}

.feedback-box.visible {
  pointer-events: all;
  opacity: 1;
}

.feedback-box.info {
  max-width: 260px;
  align-items: center;
  padding: 14px;
}

.feedback-info-icon {
  margin: 6px;
  width: 32px;
  height: 32px;
}

.feedback-info-icon.processing {
  animation: spin 2s linear infinite;
}

.feedback-info-message {
  text-align: center;
  margin: 6px;
}

.feedback-info-message.error {
  background: #EEE;
  border-radius: 4px;
  padding: 0.4rem;
  font-family: monospace;
  font-weight: bold;
  color: darkred;
}

.feedback-header {
  color: #0084c3;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
}

.feedback-close-btn {
  flex-shrink: 0;
  margin: 0 0 0 10px;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 13px;
  height: 13px;
}

.feedback-box input {
  border: 1px solid #eaeaea;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 14px;
}

.feedback-text {
  border: 1px solid rgb(234, 234, 234);
  border-radius: 4px;
  padding: 14px;
  min-height: 45px;
  resize: vertical;
  margin-bottom: 18px;
  font-family: var(--font-family);
}

input.feedback-submit {
  background: #0084c3;
  margin-left: auto;
  min-width: 150px;
  border: none;
  border-radius: 4px;
  padding: 14px;
  color: white;
  cursor: pointer;
  margin-bottom: 0;
}

input.feedback-submit:hover {
  background: #0084c3d6;
}

input.feedback-submit:disabled {
  background: lightgray;
  cursor: not-allowed;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/*====================================
=            Credits Page            =
====================================*/

.credits {
  line-height: 1.15em;
  padding: 12px 18px;
}

.credits h1 {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 600;
}

.credits.no-bullets {
  list-style-type: none;
  padding: 0px;
}

.credits li {
  margin: 13px 0;
}

.credit-label {
  margin: 0 5px 0 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.credit-value {
  color: #575e62;
}

.credits-info-text {
  color: #1c2022;
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.15em;
}

.credits-last-updated {
  color: #575e62;
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 1.15em;
}



/* Developer Area */

.graphic-wrapper {
  max-width: var(--graphic-max-wdith);
  margin: var(--graphic-margin);
}

.graphic {
  overflow: var(--graphic-overflow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.graphic-header {
  padding: 25px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.graphic-headline {
  margin: 0;
  color: #000000;
  font-family: Roboto;
  font-size: 24px;
  font-weight: 500;
}

.graphic-subline {
  color: #a5a5a5;
  font-family: Roboto;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0;
}

.debug-info {
  background: orange;
  padding: 1rem;
}

.debug-info p {
  margin: 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */

.hide-scroll-bar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE and Edge */

.hide-scroll-bar {
  -ms-overflow-style: none;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  overflow-x: scroll;
  scroll-behavior: smooth;
}

nav ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}

/* Main Tab Bar */

nav.main-tab-bar {
  background: var(--theme-main-tabbar-background);
  padding: 0 1rem;
  display: flex;
}

nav.main-tab-bar ul {
  flex-grow: 1;
  position: relative;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
}

nav.main-tab-bar ul li {
  height: 60px;
  padding: 0 8px;
  font-size: 20px;
  color: var(--theme-main-tabbar-color);
}

nav.main-tab-bar ul li.active {
  font-size: 24px;
  font-weight: 500;
  color: var(--theme-main-tabbar-tint);
  border-bottom: var(--theme-main-tabbar-underline);
}

.tab-info-icon {
  margin-left: 12px;
}

/* Slides Tab Bar */

nav.slides-tab-bar ul {
  margin: 0 1rem;
  background: var(--theme-slides-tabbar-background);
  border-bottom: var(--theme-slides-tabbar-border-bottom);
}

nav.slides-tab-bar ul li {
  color: var(--theme-slides-tabbar-color);
  height: 50px;
  padding: 0 8px;
  font-size: 17px;
}

nav.slides-tab-bar ul li.active {
  color: var(--theme-slides-tabbar-tint);
}

/* Content */

.inner-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.inner-content .slide-current {
  margin: var(--theme-slide-image-margin);
  width: var(--theme-slide-image-width);
  height: var(--theme-slide-image-height);
  pointer-events: none;
}

.content-text {
  max-width: var(--theme-content-text-max-width);
  min-width: var(--theme-content-text-min-width);
  max-height: var(--theme-content-text-max-height);
  color: var(--theme-content-text-color);
  font-family: var(--theme-content-text-font-family);
  font-size: var(--theme-content-text-font-size);
  font-weight: var(--theme-content-text-font-weight);
  padding: 32px;
  flex-basis: 0;
  flex-grow: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.content-text-header {
  color: var(--theme-content-header-color);
  font-family: var(--theme-content-header-font-family);
  font-size: var(--theme-content-header-font-size);
  font-weight: var(--theme-content-header-font-weight);
  text-transform: var(--theme-content-header-text-transform);
  margin-bottom: var(--theme-content-header-margin-bottom);
  flex-basis: 0;
  flex-grow: 1;
}

.styled-text {
  white-space: pre-wrap;
  overflow-y: scroll;
}

.md-bold {
  font-weight: bold;
}

.md-italic {
  font-style: italic;
}

/* Info Popup */

.info-popup {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: scroll;
  padding: 20px;
  box-sizing: border-box;
}

/* Tool Bar */

.tool-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.tool-bar ul li {
  color: #707070;
  font-family: Roboto;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.tool-bar ul li svg {
  font-size: 1.7rem;
  color: #003b57;
  opacity: 0.5;
}

.tool-bar ul li span {
  margin-left: 12px;
}
