﻿/* Virtual Tour
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.page--tour .wvu-masthead {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
@media screen and (min-width: 67.5em) {
  .page--tour .wvu-masthead-header__layout {
    width: auto;
    margin-left: 24rem;
  }
}

.tour {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 8rem);
}
@media screen and (min-width: 60em) {
  .tour {
    height: calc(100vh - 2rem);
    padding-top: 0;
  }
}
.tour__header {
  /*
  .section-header {
      padding-top: 1rem;
      padding-bottom: 1rem;
      font-size: 2rem;

      @media screen and (min-width: 30em) {
          padding-top: 2rem;
          padding-bottom: 2rem;
          font-size: 2.5rem;
      }
  }
      */
}
@media screen and (min-width: 67.5em) {
  .tour__header {
    flex: 0 0 auto;
  }
}
.tour__header .page-header-text {
  font-size: 2rem;
  font-weight: normal;
  width: 100%;
  line-height: 0.9;
  display: block;
  margin: 0;
}
@media screen and (min-width: 50em) {
  .tour__header .page-header-text {
    font-size: 3rem;
  }
}
.tour__container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
@media screen and (min-width: 67.5em) {
  .tour__container {
    flex-direction: row;
  }
}
.tour__map {
  position: relative;
  flex-grow: 1;
  /*iframe {
      width: 100%;
      height: 100%;
  }*/
}
@media screen and (min-width: 67.5em) {
  .tour__map {
    order: 1;
  }
}
.tour__iframe {
  /* This fixes the fluid height issue in iOS and older versions of Safari. */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.tour-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0.75rem 0 1.25rem -0.75rem rgba(0, 0, 0, 0.5);
  scroll-behavior: smooth;
}
@media screen and (min-width: 67.5em) {
  .tour-nav {
    flex: 0 0 25rem;
  }
}
.tour-nav__heading {
  flex: 0 0 auto;
  margin: 1.5rem 2rem;
  font-size: 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.375rem solid rgba(20, 124, 131, 0.5);
}
@media screen and (min-width: 50em) {
  .tour-nav__heading {
    margin: 2rem;
  }
}
.tour-nav__scroll-container {
  position: relative;
  flex-grow: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
@media screen and (min-width: 67.5em) {
  .tour-nav__scroll-container {
    overflow: auto;
  }
}
.tour-nav__items {
  display: inline-flex;
  padding-bottom: 1rem;
  padding-right: 1rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
@media screen and (min-width: 67.5em) {
  .tour-nav__items {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
  }
}
.tour-nav__item {
  scroll-snap-align: start;
  width: calc(100vw - 4rem);
  max-width: 20rem;
  margin: 0 1rem 1rem 2rem;
}
@media screen and (min-width: 67.5em) {
  .tour-nav__item {
    width: auto;
    max-width: none;
  }
}
.tour-nav__card {
  height: 100%;
}
.tour-nav__card.button.card {
  border: none;
  margin-bottom: 0;
}
.tour-nav__link {
  display: block;
  height: 100%;
  color: #004ca2;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  position: relative;
  border: 0.063rem solid rgba(20, 124, 131, 0.15);
  border-radius: 0.3rem;
}
@media screen and (min-width: 50em) {
  .tour-nav__link {
    padding: 1rem 1.5rem;
    font-size: 1.15rem;
  }
}
.tour-nav__link[aria-current=true] {
  color: white;
  background-color: #00236d;
  background-image: linear-gradient(123.75deg, transparent 0%, rgba(255, 255, 255, 0.03) 20%, transparent 20%, transparent 70%, rgba(0, 94, 184, 0.1) 70%, rgba(0, 94, 184, 0.24) 80%, rgba(0, 94, 184, 0.32) 80%, rgba(0, 107, 210, 0.36) 100%), linear-gradient(123.75deg, rgba(0, 27, 84, 0.32) 10%, rgba(0, 94, 184, 0.32) 100%);
  border-color: #00236d;
  text-shadow: 0 0.063rem 0.125rem #001022;
}
.tour-nav__summary {
  display: block;
  margin-top: 0.25rem;
  color: #006bd2;
  font-size: 0.85rem;
}
@media screen and (min-width: 50em) {
  .tour-nav__summary {
    font-size: 0.875rem;
  }
}
[aria-current=true] .tour-nav__summary {
  color: #ffc11e;
}
