@import url('../js/vendor/photo-sphere/core/index.css');
@import url('../js/vendor/photo-sphere/markers-plugin/index.css');
:root {
  --bleu-ub: rgb(0, 157, 224);
  --bleu-ub-transp: rgba(0, 157, 224, 0.8);
  --marron-ub: rgb(99, 81, 65);
  --marron-ub-transp: rgb(99, 81, 65, 0.9);
  --fucshia-ub: rgba(185, 52, 139);
  --fucshia-ub-transp: rgba(185, 52, 139, 0.8);
  --vert-ub: rgb(118, 184, 42);
  --vert-ub-transp: rgba(118, 184, 42, 0.8);
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

h1 {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  padding: 0;
}

#viewer {
  margin: 0;
  font-family: sans-serif;
  flex: 1 1 auto;
  width: auto !important;
  height: auto !important;
  border: none !important;
  border-radius: 0 !important;
}

.psv-panel, .psv-tooltip {
  background: var(--marron-ub-transp);

  .psv-panel-content, .psv-tooltip-content {
    line-height: 1.3em;

    a:link, a:visited, a:hover, a:active {
      color: rgb(220, 220, 220);
    }
  }
}

.psv-navbar {
  background: var(--bleu-ub-transp);
}

.psv-caption {
  text-align: right;
  font-weight: bold;
  color: white;
}

.psv-tooltip {
  max-width: 300px;
}

.psv-scene-select-wrapper {
  padding: 0 0.5rem;
}

.scene-select {
  font-size: 0.85rem;
  padding: 0;
  border: none;
  background: #ffffff;
  color: #443A31;
}

.nea-credits {
  padding: 0.25rem 0.5rem 0.5rem;


  h2 {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 0.9rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: normal;
  }

  dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.2rem;
  }

  dt {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: normal;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    align-self: start;
  }

  dd {
    margin: 0;
    color: #f0ebe6;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  dt:last-of-type, dd:last-child {
    border-bottom: none;
  }

  dd {
    a {
      color: white !important;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }
  }
}

.footer {
  margin: 0;
  padding: 0;
  background: #eee;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  overflow: hidden;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  flex-shrink: 0;

  a:link, a:visited, a:hover, a:focus, a:active {
    color: var(--bleu-ub);
    text-decoration: none;
  }

  a:hover, a:focus, a:active {
    text-decoration: underline;
  }

  .credits {
    padding-left: 1rem
  }

  .ub {
    position: relative;
    top: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px 0 40px;
    margin: 0 4rem 0 0;
    background: none;
    overflow: visible;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      transform-origin: 0 100%;
      transform: skewX(-30deg);
      background: #443A31;
    }

    a {
      position: relative;
      right: 0;
      line-height: 24px;
      margin-right: 0;
      color: #fff;
      text-transform: uppercase;
      text-decoration: none;

      &:hover, &:focus, &:active {
        text-decoration: underline;
      }
    }

    &::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      left: 100%;
      width: 100px;
      bottom: 0;
      background: rgb(0, 158, 224);
      transform-origin: 0 100%;
      transform: skewX(-30deg);
    }
  }

  .spacer {

  }
}
