@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,500,600,700,800&display=swap);
/* Settings Area */

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

  /* Content Text */
  --content-text-max-width: 400px;
  --content-text-min-width: 280px;
  --content-text-color: #00000;
  --content-text-font-family: inherit;
  --content-text-font-size: 16px;
  --content-text-font-weight: 400;

  /* Content Text Header */
  --content-text-header-color: #004289;
  --content-text-header-font-family: inherit;
  --content-text-header-font-size: 22px;
  --content-text-header-font-weight: 700;
  --content-text-header-text-transform: uppercase;
}

/* 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: inherit;
  font-size: 36px;
  font-weight: 700;
}

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

.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 {
  opacity: 0.5;
  color: #004289;
  font-family: inherit;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
}

nav ul li.active {
  opacity: 1;
  font-weight: 500;
}

/* Main Tab Bar */

nav.main-tab-bar {
  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;
  font-weight: 400;
}

nav.main-tab-bar ul li.active {
  font-size: 24px;
  border-bottom: solid 2px #004289;
}

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

/* Slides Tab Bar */

nav.slides-tab-bar ul {
  background: #f9f9f9;
}

nav.slides-tab-bar ul li {
  height: 50px;
  padding: 0 8px;
  font-size: 17px;
}

/* Content */

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

.inner-content .slide-current {
  width: 360px;
  height: 360px;
  pointer-events: none;
}

.content-text {
  padding: 32px;
  color: var(--content-text-color);
  font-family: var(--content-text-font-family);
  font-size: var(--content-text-font-size);
  font-weight: var(--content-text-font-weight);
  flex-basis: 0;
  flex-grow: 1;
  max-width: 400px;
  min-width: 280px;
  box-sizing: border-box;
  line-height: 1.4;
}

.content-text-header {
  color: var(--content-text-header-color);
  font-family: var(--content-text-header-font-family);
  font-size: var(--content-text-header-font-size);
  font-weight: var(--content-text-header-font-weight);
  text-transform: var(--content-text-header-text-transform);
  flex-basis: 0;
  flex-grow: 1;
  letter-spacing: 0.9px;
}

/* 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: inherit;
  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: #004289;
  opacity: 0.5;
}

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

/*====================================
=            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;
}

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

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

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

.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 25px 25px 10px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

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

.d2v-subline {
  color: #000000;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.5;
}

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

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

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

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

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

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

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

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

.afp-footer .source {
  margin-left: 6px;
  font-size: 0.75rem;
}

.afp-footer .button {
  width: 16px;
  height: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  background: #231f20;
  color: #fff;
  border-radius: 100%;
  -webkit-transition: all 150ms ease;
  transition: all 150ms ease;
}

.afp-footer .infoIcon {
  cursor: pointer;
}

.afp-footer .backButton {
  flex-grow: 1;
  justify-content: flex-start;
}

.afp-footer .backButtonIcon {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.afp-footer .companyIcon {
  height: 20px;
}

.d2v-language-picker {
  margin: 0 5px;
  cursor: pointer;
  position: relative;
}

.d2v-language-picker ul {
  background: #eee;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  display: none;
}

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

.d2v-language-picker li {
  padding: 0.2rem 0.5rem;
}

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

.feedback-btn {
  background: none;
  border: none;
  color: #757575;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  font-style: italic;
  cursor: pointer;
  outline: none;
}

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

.d2v-option-picker {
  margin: 0 5px;
  cursor: pointer;
  position: relative;
}

.d2v-option-picker ul {
  background: white;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 4px;
  box-shadow: 0 0 1px black;
  display: none;
}

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

.d2v-option-picker li {
  padding: .2rem .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: #004289;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
}

.feedback-close-btn {
  width: 13px;
  height: 13px;
  margin-left: 10px;
  cursor: pointer;
}

.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: #004289;
  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: #004289;
}

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;
}

ul.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;
}

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

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

.inner-content {
  align-items: flex-start;
}

.inner-content .slide-current {
  margin: 32px 0;
}